@google-cloud/discoveryengine 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +19 -0
  2. package/build/protos/google/cloud/discoveryengine/v1beta/assistant_service.proto +19 -0
  3. package/build/protos/protos.d.ts +406 -0
  4. package/build/protos/protos.js +1 -1
  5. package/build/protos/protos.json +64 -0
  6. package/build/src/v1/assistant_service_client.d.ts +2 -0
  7. package/build/src/v1/assistant_service_client.js +6 -4
  8. package/build/src/v1/cmek_config_service_client.js +9 -13
  9. package/build/src/v1/completion_service_client.js +10 -14
  10. package/build/src/v1/control_service_client.js +10 -10
  11. package/build/src/v1/conversational_search_service_client.js +21 -21
  12. package/build/src/v1/data_store_service_client.js +12 -16
  13. package/build/src/v1/document_service_client.js +15 -19
  14. package/build/src/v1/engine_service_client.js +12 -16
  15. package/build/src/v1/grounded_generation_service_client.js +6 -6
  16. package/build/src/v1/identity_mapping_store_service_client.js +16 -20
  17. package/build/src/v1/project_service_client.js +6 -10
  18. package/build/src/v1/rank_service_client.js +4 -4
  19. package/build/src/v1/recommendation_service_client.js +4 -4
  20. package/build/src/v1/schema_service_client.js +12 -16
  21. package/build/src/v1/search_service_client.js +9 -9
  22. package/build/src/v1/search_tuning_service_client.js +7 -11
  23. package/build/src/v1/serving_config_service_client.js +4 -4
  24. package/build/src/v1/session_service_client.js +10 -10
  25. package/build/src/v1/site_search_engine_service_client.js +24 -28
  26. package/build/src/v1/user_event_service_client.js +9 -13
  27. package/build/src/v1/user_license_service_client.js +9 -13
  28. package/build/src/v1alpha/acl_config_service_client.js +5 -5
  29. package/build/src/v1alpha/chunk_service_client.js +7 -7
  30. package/build/src/v1alpha/completion_service_client.js +8 -8
  31. package/build/src/v1alpha/control_service_client.js +10 -10
  32. package/build/src/v1alpha/conversational_search_service_client.js +20 -20
  33. package/build/src/v1alpha/data_store_service_client.js +12 -12
  34. package/build/src/v1alpha/document_service_client.js +14 -14
  35. package/build/src/v1alpha/engine_service_client.js +13 -13
  36. package/build/src/v1alpha/estimate_billing_service_client.js +4 -4
  37. package/build/src/v1alpha/evaluation_service_client.js +11 -11
  38. package/build/src/v1alpha/grounded_generation_service_client.js +4 -4
  39. package/build/src/v1alpha/project_service_client.js +6 -6
  40. package/build/src/v1alpha/rank_service_client.js +4 -4
  41. package/build/src/v1alpha/recommendation_service_client.js +4 -4
  42. package/build/src/v1alpha/sample_query_service_client.js +11 -11
  43. package/build/src/v1alpha/sample_query_set_service_client.js +10 -10
  44. package/build/src/v1alpha/schema_service_client.js +10 -10
  45. package/build/src/v1alpha/search_service_client.js +6 -6
  46. package/build/src/v1alpha/search_tuning_service_client.js +5 -5
  47. package/build/src/v1alpha/serving_config_service_client.js +8 -8
  48. package/build/src/v1alpha/session_service_client.js +13 -13
  49. package/build/src/v1alpha/site_search_engine_service_client.js +21 -21
  50. package/build/src/v1alpha/user_event_service_client.js +7 -7
  51. package/build/src/v1beta/acl_config_service_client.js +5 -5
  52. package/build/src/v1beta/assistant_service_client.d.ts +2 -0
  53. package/build/src/v1beta/assistant_service_client.js +13 -11
  54. package/build/src/v1beta/cmek_config_service_client.js +7 -7
  55. package/build/src/v1beta/completion_service_client.js +10 -10
  56. package/build/src/v1beta/control_service_client.js +10 -10
  57. package/build/src/v1beta/conversational_search_service_client.js +21 -21
  58. package/build/src/v1beta/data_store_service_client.js +10 -10
  59. package/build/src/v1beta/document_service_client.js +13 -13
  60. package/build/src/v1beta/engine_service_client.js +15 -15
  61. package/build/src/v1beta/evaluation_service_client.js +11 -11
  62. package/build/src/v1beta/grounded_generation_service_client.js +6 -6
  63. package/build/src/v1beta/identity_mapping_store_service_client.js +14 -14
  64. package/build/src/v1beta/license_config_service_client.js +11 -11
  65. package/build/src/v1beta/project_service_client.js +4 -4
  66. package/build/src/v1beta/rank_service_client.js +4 -4
  67. package/build/src/v1beta/recommendation_service_client.js +4 -4
  68. package/build/src/v1beta/sample_query_service_client.js +11 -11
  69. package/build/src/v1beta/sample_query_set_service_client.js +10 -10
  70. package/build/src/v1beta/schema_service_client.js +10 -10
  71. package/build/src/v1beta/search_service_client.js +9 -9
  72. package/build/src/v1beta/search_tuning_service_client.js +5 -5
  73. package/build/src/v1beta/serving_config_service_client.js +10 -10
  74. package/build/src/v1beta/session_service_client.js +10 -10
  75. package/build/src/v1beta/site_search_engine_service_client.js +22 -22
  76. package/build/src/v1beta/user_event_service_client.js +7 -7
  77. package/build/src/v1beta/user_license_service_client.js +8 -8
  78. package/build/src/v1beta/user_store_service_client.js +5 -5
  79. package/package.json +1 -1
@@ -63,6 +63,22 @@ message AssistUserMetadata {
63
63
  // [AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
64
64
  // method.
65
65
  message StreamAssistRequest {
66
+ // Specification of agents that are used to serve the request.
67
+ message AgentsSpec {
68
+ // Specification of an agent.
69
+ message AgentSpec {
70
+ // Required. ID to identify the agent resource serving the request.
71
+ //
72
+ // This field must conform to
73
+ // [RFC-1034](https://tools.ietf.org/html/rfc1034)
74
+ // with a length limit of 63 characters.
75
+ string agent_id = 1 [(google.api.field_behavior) = REQUIRED];
76
+ }
77
+
78
+ // Optional. Specification of agents that are used to serve the request.
79
+ repeated AgentSpec agent_specs = 1 [(google.api.field_behavior) = OPTIONAL];
80
+ }
81
+
66
82
  // Specification of tools that are used to serve the request.
67
83
  message ToolsSpec {
68
84
  // Specification of the Vertex AI Search tool.
@@ -167,6 +183,9 @@ message StreamAssistRequest {
167
183
  // Optional. Information about the user initiating the query.
168
184
  AssistUserMetadata user_metadata = 6 [(google.api.field_behavior) = OPTIONAL];
169
185
 
186
+ // Optional. Specification of agents that are used to serve the request.
187
+ AgentsSpec agents_spec = 22 [(google.api.field_behavior) = OPTIONAL];
188
+
170
189
  // Optional. Specification of tools that are used to serve the request.
171
190
  ToolsSpec tools_spec = 18 [(google.api.field_behavior) = OPTIONAL];
172
191
 
@@ -111,6 +111,22 @@ message AssistUserMetadata {
111
111
  // [AssistantService.StreamAssist][google.cloud.discoveryengine.v1beta.AssistantService.StreamAssist]
112
112
  // method.
113
113
  message StreamAssistRequest {
114
+ // Specification of agents that are used to serve the request.
115
+ message AgentsSpec {
116
+ // Specification of an agent.
117
+ message AgentSpec {
118
+ // Required. ID to identify the agent resource serving the request.
119
+ //
120
+ // This field must conform to
121
+ // [RFC-1034](https://tools.ietf.org/html/rfc1034)
122
+ // with a length limit of 63 characters.
123
+ string agent_id = 1 [(google.api.field_behavior) = REQUIRED];
124
+ }
125
+
126
+ // Optional. Specification of agents that are used to serve the request.
127
+ repeated AgentSpec agent_specs = 1 [(google.api.field_behavior) = OPTIONAL];
128
+ }
129
+
114
130
  // Specification of tools that are used to serve the request.
115
131
  message ToolsSpec {
116
132
  // Specification of the Vertex AI Search tool.
@@ -218,6 +234,9 @@ message StreamAssistRequest {
218
234
  // Optional. Information about the user initiating the query.
219
235
  AssistUserMetadata user_metadata = 6 [(google.api.field_behavior) = OPTIONAL];
220
236
 
237
+ // Optional. Specification of agents that are used to serve the request.
238
+ AgentsSpec agents_spec = 22 [(google.api.field_behavior) = OPTIONAL];
239
+
221
240
  // Optional. Specification of tools that are used to serve the request.
222
241
  ToolsSpec tools_spec = 18 [(google.api.field_behavior) = OPTIONAL];
223
242
 
@@ -4019,6 +4019,9 @@ export namespace google {
4019
4019
  /** StreamAssistRequest userMetadata */
4020
4020
  userMetadata?: (google.cloud.discoveryengine.v1.IAssistUserMetadata|null);
4021
4021
 
4022
+ /** StreamAssistRequest agentsSpec */
4023
+ agentsSpec?: (google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec|null);
4024
+
4022
4025
  /** StreamAssistRequest toolsSpec */
4023
4026
  toolsSpec?: (google.cloud.discoveryengine.v1.StreamAssistRequest.IToolsSpec|null);
4024
4027
 
@@ -4047,6 +4050,9 @@ export namespace google {
4047
4050
  /** StreamAssistRequest userMetadata. */
4048
4051
  public userMetadata?: (google.cloud.discoveryengine.v1.IAssistUserMetadata|null);
4049
4052
 
4053
+ /** StreamAssistRequest agentsSpec. */
4054
+ public agentsSpec?: (google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec|null);
4055
+
4050
4056
  /** StreamAssistRequest toolsSpec. */
4051
4057
  public toolsSpec?: (google.cloud.discoveryengine.v1.StreamAssistRequest.IToolsSpec|null);
4052
4058
 
@@ -4133,6 +4139,203 @@ export namespace google {
4133
4139
 
4134
4140
  namespace StreamAssistRequest {
4135
4141
 
4142
+ /** Properties of an AgentsSpec. */
4143
+ interface IAgentsSpec {
4144
+
4145
+ /** AgentsSpec agentSpecs */
4146
+ agentSpecs?: (google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec[]|null);
4147
+ }
4148
+
4149
+ /** Represents an AgentsSpec. */
4150
+ class AgentsSpec implements IAgentsSpec {
4151
+
4152
+ /**
4153
+ * Constructs a new AgentsSpec.
4154
+ * @param [properties] Properties to set
4155
+ */
4156
+ constructor(properties?: google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec);
4157
+
4158
+ /** AgentsSpec agentSpecs. */
4159
+ public agentSpecs: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec[];
4160
+
4161
+ /**
4162
+ * Creates a new AgentsSpec instance using the specified properties.
4163
+ * @param [properties] Properties to set
4164
+ * @returns AgentsSpec instance
4165
+ */
4166
+ public static create(properties?: google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec;
4167
+
4168
+ /**
4169
+ * Encodes the specified AgentsSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.verify|verify} messages.
4170
+ * @param message AgentsSpec message or plain object to encode
4171
+ * @param [writer] Writer to encode to
4172
+ * @returns Writer
4173
+ */
4174
+ public static encode(message: google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec, writer?: $protobuf.Writer): $protobuf.Writer;
4175
+
4176
+ /**
4177
+ * Encodes the specified AgentsSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.verify|verify} messages.
4178
+ * @param message AgentsSpec message or plain object to encode
4179
+ * @param [writer] Writer to encode to
4180
+ * @returns Writer
4181
+ */
4182
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.StreamAssistRequest.IAgentsSpec, writer?: $protobuf.Writer): $protobuf.Writer;
4183
+
4184
+ /**
4185
+ * Decodes an AgentsSpec message from the specified reader or buffer.
4186
+ * @param reader Reader or buffer to decode from
4187
+ * @param [length] Message length if known beforehand
4188
+ * @returns AgentsSpec
4189
+ * @throws {Error} If the payload is not a reader or valid buffer
4190
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4191
+ */
4192
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec;
4193
+
4194
+ /**
4195
+ * Decodes an AgentsSpec message from the specified reader or buffer, length delimited.
4196
+ * @param reader Reader or buffer to decode from
4197
+ * @returns AgentsSpec
4198
+ * @throws {Error} If the payload is not a reader or valid buffer
4199
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4200
+ */
4201
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec;
4202
+
4203
+ /**
4204
+ * Verifies an AgentsSpec message.
4205
+ * @param message Plain object to verify
4206
+ * @returns `null` if valid, otherwise the reason why it is not
4207
+ */
4208
+ public static verify(message: { [k: string]: any }): (string|null);
4209
+
4210
+ /**
4211
+ * Creates an AgentsSpec message from a plain object. Also converts values to their respective internal types.
4212
+ * @param object Plain object
4213
+ * @returns AgentsSpec
4214
+ */
4215
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec;
4216
+
4217
+ /**
4218
+ * Creates a plain object from an AgentsSpec message. Also converts values to other types if specified.
4219
+ * @param message AgentsSpec
4220
+ * @param [options] Conversion options
4221
+ * @returns Plain object
4222
+ */
4223
+ public static toObject(message: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
4224
+
4225
+ /**
4226
+ * Converts this AgentsSpec to JSON.
4227
+ * @returns JSON object
4228
+ */
4229
+ public toJSON(): { [k: string]: any };
4230
+
4231
+ /**
4232
+ * Gets the default type url for AgentsSpec
4233
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4234
+ * @returns The default type url
4235
+ */
4236
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4237
+ }
4238
+
4239
+ namespace AgentsSpec {
4240
+
4241
+ /** Properties of an AgentSpec. */
4242
+ interface IAgentSpec {
4243
+
4244
+ /** AgentSpec agentId */
4245
+ agentId?: (string|null);
4246
+ }
4247
+
4248
+ /** Represents an AgentSpec. */
4249
+ class AgentSpec implements IAgentSpec {
4250
+
4251
+ /**
4252
+ * Constructs a new AgentSpec.
4253
+ * @param [properties] Properties to set
4254
+ */
4255
+ constructor(properties?: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec);
4256
+
4257
+ /** AgentSpec agentId. */
4258
+ public agentId: string;
4259
+
4260
+ /**
4261
+ * Creates a new AgentSpec instance using the specified properties.
4262
+ * @param [properties] Properties to set
4263
+ * @returns AgentSpec instance
4264
+ */
4265
+ public static create(properties?: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec;
4266
+
4267
+ /**
4268
+ * Encodes the specified AgentSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec.verify|verify} messages.
4269
+ * @param message AgentSpec message or plain object to encode
4270
+ * @param [writer] Writer to encode to
4271
+ * @returns Writer
4272
+ */
4273
+ public static encode(message: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec, writer?: $protobuf.Writer): $protobuf.Writer;
4274
+
4275
+ /**
4276
+ * Encodes the specified AgentSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec.verify|verify} messages.
4277
+ * @param message AgentSpec message or plain object to encode
4278
+ * @param [writer] Writer to encode to
4279
+ * @returns Writer
4280
+ */
4281
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.IAgentSpec, writer?: $protobuf.Writer): $protobuf.Writer;
4282
+
4283
+ /**
4284
+ * Decodes an AgentSpec message from the specified reader or buffer.
4285
+ * @param reader Reader or buffer to decode from
4286
+ * @param [length] Message length if known beforehand
4287
+ * @returns AgentSpec
4288
+ * @throws {Error} If the payload is not a reader or valid buffer
4289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4290
+ */
4291
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec;
4292
+
4293
+ /**
4294
+ * Decodes an AgentSpec message from the specified reader or buffer, length delimited.
4295
+ * @param reader Reader or buffer to decode from
4296
+ * @returns AgentSpec
4297
+ * @throws {Error} If the payload is not a reader or valid buffer
4298
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4299
+ */
4300
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec;
4301
+
4302
+ /**
4303
+ * Verifies an AgentSpec message.
4304
+ * @param message Plain object to verify
4305
+ * @returns `null` if valid, otherwise the reason why it is not
4306
+ */
4307
+ public static verify(message: { [k: string]: any }): (string|null);
4308
+
4309
+ /**
4310
+ * Creates an AgentSpec message from a plain object. Also converts values to their respective internal types.
4311
+ * @param object Plain object
4312
+ * @returns AgentSpec
4313
+ */
4314
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec;
4315
+
4316
+ /**
4317
+ * Creates a plain object from an AgentSpec message. Also converts values to other types if specified.
4318
+ * @param message AgentSpec
4319
+ * @param [options] Conversion options
4320
+ * @returns Plain object
4321
+ */
4322
+ public static toObject(message: google.cloud.discoveryengine.v1.StreamAssistRequest.AgentsSpec.AgentSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
4323
+
4324
+ /**
4325
+ * Converts this AgentSpec to JSON.
4326
+ * @returns JSON object
4327
+ */
4328
+ public toJSON(): { [k: string]: any };
4329
+
4330
+ /**
4331
+ * Gets the default type url for AgentSpec
4332
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4333
+ * @returns The default type url
4334
+ */
4335
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4336
+ }
4337
+ }
4338
+
4136
4339
  /** Properties of a ToolsSpec. */
4137
4340
  interface IToolsSpec {
4138
4341
 
@@ -108032,6 +108235,9 @@ export namespace google {
108032
108235
  /** StreamAssistRequest userMetadata */
108033
108236
  userMetadata?: (google.cloud.discoveryengine.v1beta.IAssistUserMetadata|null);
108034
108237
 
108238
+ /** StreamAssistRequest agentsSpec */
108239
+ agentsSpec?: (google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec|null);
108240
+
108035
108241
  /** StreamAssistRequest toolsSpec */
108036
108242
  toolsSpec?: (google.cloud.discoveryengine.v1beta.StreamAssistRequest.IToolsSpec|null);
108037
108243
 
@@ -108060,6 +108266,9 @@ export namespace google {
108060
108266
  /** StreamAssistRequest userMetadata. */
108061
108267
  public userMetadata?: (google.cloud.discoveryengine.v1beta.IAssistUserMetadata|null);
108062
108268
 
108269
+ /** StreamAssistRequest agentsSpec. */
108270
+ public agentsSpec?: (google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec|null);
108271
+
108063
108272
  /** StreamAssistRequest toolsSpec. */
108064
108273
  public toolsSpec?: (google.cloud.discoveryengine.v1beta.StreamAssistRequest.IToolsSpec|null);
108065
108274
 
@@ -108146,6 +108355,203 @@ export namespace google {
108146
108355
 
108147
108356
  namespace StreamAssistRequest {
108148
108357
 
108358
+ /** Properties of an AgentsSpec. */
108359
+ interface IAgentsSpec {
108360
+
108361
+ /** AgentsSpec agentSpecs */
108362
+ agentSpecs?: (google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec[]|null);
108363
+ }
108364
+
108365
+ /** Represents an AgentsSpec. */
108366
+ class AgentsSpec implements IAgentsSpec {
108367
+
108368
+ /**
108369
+ * Constructs a new AgentsSpec.
108370
+ * @param [properties] Properties to set
108371
+ */
108372
+ constructor(properties?: google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec);
108373
+
108374
+ /** AgentsSpec agentSpecs. */
108375
+ public agentSpecs: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec[];
108376
+
108377
+ /**
108378
+ * Creates a new AgentsSpec instance using the specified properties.
108379
+ * @param [properties] Properties to set
108380
+ * @returns AgentsSpec instance
108381
+ */
108382
+ public static create(properties?: google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec;
108383
+
108384
+ /**
108385
+ * Encodes the specified AgentsSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.verify|verify} messages.
108386
+ * @param message AgentsSpec message or plain object to encode
108387
+ * @param [writer] Writer to encode to
108388
+ * @returns Writer
108389
+ */
108390
+ public static encode(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec, writer?: $protobuf.Writer): $protobuf.Writer;
108391
+
108392
+ /**
108393
+ * Encodes the specified AgentsSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.verify|verify} messages.
108394
+ * @param message AgentsSpec message or plain object to encode
108395
+ * @param [writer] Writer to encode to
108396
+ * @returns Writer
108397
+ */
108398
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.IAgentsSpec, writer?: $protobuf.Writer): $protobuf.Writer;
108399
+
108400
+ /**
108401
+ * Decodes an AgentsSpec message from the specified reader or buffer.
108402
+ * @param reader Reader or buffer to decode from
108403
+ * @param [length] Message length if known beforehand
108404
+ * @returns AgentsSpec
108405
+ * @throws {Error} If the payload is not a reader or valid buffer
108406
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
108407
+ */
108408
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec;
108409
+
108410
+ /**
108411
+ * Decodes an AgentsSpec message from the specified reader or buffer, length delimited.
108412
+ * @param reader Reader or buffer to decode from
108413
+ * @returns AgentsSpec
108414
+ * @throws {Error} If the payload is not a reader or valid buffer
108415
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
108416
+ */
108417
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec;
108418
+
108419
+ /**
108420
+ * Verifies an AgentsSpec message.
108421
+ * @param message Plain object to verify
108422
+ * @returns `null` if valid, otherwise the reason why it is not
108423
+ */
108424
+ public static verify(message: { [k: string]: any }): (string|null);
108425
+
108426
+ /**
108427
+ * Creates an AgentsSpec message from a plain object. Also converts values to their respective internal types.
108428
+ * @param object Plain object
108429
+ * @returns AgentsSpec
108430
+ */
108431
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec;
108432
+
108433
+ /**
108434
+ * Creates a plain object from an AgentsSpec message. Also converts values to other types if specified.
108435
+ * @param message AgentsSpec
108436
+ * @param [options] Conversion options
108437
+ * @returns Plain object
108438
+ */
108439
+ public static toObject(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
108440
+
108441
+ /**
108442
+ * Converts this AgentsSpec to JSON.
108443
+ * @returns JSON object
108444
+ */
108445
+ public toJSON(): { [k: string]: any };
108446
+
108447
+ /**
108448
+ * Gets the default type url for AgentsSpec
108449
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
108450
+ * @returns The default type url
108451
+ */
108452
+ public static getTypeUrl(typeUrlPrefix?: string): string;
108453
+ }
108454
+
108455
+ namespace AgentsSpec {
108456
+
108457
+ /** Properties of an AgentSpec. */
108458
+ interface IAgentSpec {
108459
+
108460
+ /** AgentSpec agentId */
108461
+ agentId?: (string|null);
108462
+ }
108463
+
108464
+ /** Represents an AgentSpec. */
108465
+ class AgentSpec implements IAgentSpec {
108466
+
108467
+ /**
108468
+ * Constructs a new AgentSpec.
108469
+ * @param [properties] Properties to set
108470
+ */
108471
+ constructor(properties?: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec);
108472
+
108473
+ /** AgentSpec agentId. */
108474
+ public agentId: string;
108475
+
108476
+ /**
108477
+ * Creates a new AgentSpec instance using the specified properties.
108478
+ * @param [properties] Properties to set
108479
+ * @returns AgentSpec instance
108480
+ */
108481
+ public static create(properties?: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec;
108482
+
108483
+ /**
108484
+ * Encodes the specified AgentSpec message. Does not implicitly {@link google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec.verify|verify} messages.
108485
+ * @param message AgentSpec message or plain object to encode
108486
+ * @param [writer] Writer to encode to
108487
+ * @returns Writer
108488
+ */
108489
+ public static encode(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec, writer?: $protobuf.Writer): $protobuf.Writer;
108490
+
108491
+ /**
108492
+ * Encodes the specified AgentSpec message, length delimited. Does not implicitly {@link google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec.verify|verify} messages.
108493
+ * @param message AgentSpec message or plain object to encode
108494
+ * @param [writer] Writer to encode to
108495
+ * @returns Writer
108496
+ */
108497
+ public static encodeDelimited(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.IAgentSpec, writer?: $protobuf.Writer): $protobuf.Writer;
108498
+
108499
+ /**
108500
+ * Decodes an AgentSpec message from the specified reader or buffer.
108501
+ * @param reader Reader or buffer to decode from
108502
+ * @param [length] Message length if known beforehand
108503
+ * @returns AgentSpec
108504
+ * @throws {Error} If the payload is not a reader or valid buffer
108505
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
108506
+ */
108507
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec;
108508
+
108509
+ /**
108510
+ * Decodes an AgentSpec message from the specified reader or buffer, length delimited.
108511
+ * @param reader Reader or buffer to decode from
108512
+ * @returns AgentSpec
108513
+ * @throws {Error} If the payload is not a reader or valid buffer
108514
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
108515
+ */
108516
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec;
108517
+
108518
+ /**
108519
+ * Verifies an AgentSpec message.
108520
+ * @param message Plain object to verify
108521
+ * @returns `null` if valid, otherwise the reason why it is not
108522
+ */
108523
+ public static verify(message: { [k: string]: any }): (string|null);
108524
+
108525
+ /**
108526
+ * Creates an AgentSpec message from a plain object. Also converts values to their respective internal types.
108527
+ * @param object Plain object
108528
+ * @returns AgentSpec
108529
+ */
108530
+ public static fromObject(object: { [k: string]: any }): google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec;
108531
+
108532
+ /**
108533
+ * Creates a plain object from an AgentSpec message. Also converts values to other types if specified.
108534
+ * @param message AgentSpec
108535
+ * @param [options] Conversion options
108536
+ * @returns Plain object
108537
+ */
108538
+ public static toObject(message: google.cloud.discoveryengine.v1beta.StreamAssistRequest.AgentsSpec.AgentSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
108539
+
108540
+ /**
108541
+ * Converts this AgentSpec to JSON.
108542
+ * @returns JSON object
108543
+ */
108544
+ public toJSON(): { [k: string]: any };
108545
+
108546
+ /**
108547
+ * Gets the default type url for AgentSpec
108548
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
108549
+ * @returns The default type url
108550
+ */
108551
+ public static getTypeUrl(typeUrlPrefix?: string): string;
108552
+ }
108553
+ }
108554
+
108149
108555
  /** Properties of a ToolsSpec. */
108150
108556
  interface IToolsSpec {
108151
108557