| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/dialogflow/cx/v3beta1/session.proto |
| 20 |
|
| 21 |
package cxpb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
grpc "google.golang.org/grpc" |
| 26 |
codes "google.golang.org/grpc/codes" |
| 27 |
status "google.golang.org/grpc/status" |
| 28 |
) |
| 29 |
|
| 30 |
// This is a compile-time assertion to ensure that this generated file |
| 31 |
// is compatible with the grpc package it is being compiled against. |
| 32 |
// Requires gRPC-Go v1.32.0 or later. |
| 33 |
const _ = grpc.SupportPackageIsVersion7 |
| 34 |
|
| 35 |
const ( |
| 36 |
Sessions_DetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/DetectIntent" |
| 37 |
Sessions_ServerStreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/ServerStreamingDetectIntent" |
| 38 |
Sessions_StreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/StreamingDetectIntent" |
| 39 |
Sessions_MatchIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/MatchIntent" |
| 40 |
Sessions_FulfillIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/FulfillIntent" |
| 41 |
Sessions_SubmitAnswerFeedback_FullMethodName = "/google.cloud.dialogflow.cx.v3beta1.Sessions/SubmitAnswerFeedback" |
| 42 |
) |
| 43 |
|
| 44 |
// SessionsClient is the client API for Sessions service. |
| 45 |
// |
| 46 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 47 |
type SessionsClient interface { |
| 48 |
// Processes a natural language query and returns structured, actionable data |
| 49 |
// as a result. This method is not idempotent, because it may cause session |
| 50 |
// entity types to be updated, which in turn might affect results of future |
| 51 |
// queries. |
| 52 |
// |
| 53 |
// Note: Always use agent versions for production traffic. |
| 54 |
// See [Versions and |
| 55 |
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). |
| 56 |
DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) |
| 57 |
// Processes a natural language query and returns structured, actionable data |
| 58 |
// as a result through server-side streaming. Server-side streaming allows |
| 59 |
// Dialogflow to send [partial |
| 60 |
// responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) |
| 61 |
// earlier in a single request. |
| 62 |
ServerStreamingDetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (Sessions_ServerStreamingDetectIntentClient, error) |
| 63 |
// Processes a natural language query in audio format in a streaming fashion |
| 64 |
// and returns structured, actionable data as a result. This method is only |
| 65 |
// available via the gRPC API (not REST). |
| 66 |
// |
| 67 |
// Note: Always use agent versions for production traffic. |
| 68 |
// See [Versions and |
| 69 |
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). |
| 70 |
StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) |
| 71 |
// Returns preliminary intent match results, doesn't change the session |
| 72 |
// status. |
| 73 |
MatchIntent(ctx context.Context, in *MatchIntentRequest, opts ...grpc.CallOption) (*MatchIntentResponse, error) |
| 74 |
// Fulfills a matched intent returned by |
| 75 |
// [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. |
| 76 |
// Must be called after |
| 77 |
// [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], |
| 78 |
// with input from |
| 79 |
// [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. |
| 80 |
// Otherwise, the behavior is undefined. |
| 81 |
FulfillIntent(ctx context.Context, in *FulfillIntentRequest, opts ...grpc.CallOption) (*FulfillIntentResponse, error) |
| 82 |
// Updates the feedback received from the user for a single turn of the bot |
| 83 |
// response. |
| 84 |
SubmitAnswerFeedback(ctx context.Context, in *SubmitAnswerFeedbackRequest, opts ...grpc.CallOption) (*AnswerFeedback, error) |
| 85 |
} |
| 86 |
|
| 87 |
type sessionsClient struct { |
| 88 |
cc grpc.ClientConnInterface |
| 89 |
} |
| 90 |
|
| 91 |
func NewSessionsClient(cc grpc.ClientConnInterface) SessionsClient { |
| 92 |
return &sessionsClient{cc} |
| 93 |
} |
| 94 |
|
| 95 |
func (c *sessionsClient) DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) { |
| 96 |
out := new(DetectIntentResponse) |
| 97 |
err := c.cc.Invoke(ctx, Sessions_DetectIntent_FullMethodName, in, out, opts...) |
| 98 |
if err != nil { |
| 99 |
return nil, err |
| 100 |
} |
| 101 |
return out, nil |
| 102 |
} |
| 103 |
|
| 104 |
func (c *sessionsClient) ServerStreamingDetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (Sessions_ServerStreamingDetectIntentClient, error) { |
| 105 |
stream, err := c.cc.NewStream(ctx, &Sessions_ServiceDesc.Streams[0], Sessions_ServerStreamingDetectIntent_FullMethodName, opts...) |
| 106 |
if err != nil { |
| 107 |
return nil, err |
| 108 |
} |
| 109 |
x := &sessionsServerStreamingDetectIntentClient{stream} |
| 110 |
if err := x.ClientStream.SendMsg(in); err != nil { |
| 111 |
return nil, err |
| 112 |
} |
| 113 |
if err := x.ClientStream.CloseSend(); err != nil { |
| 114 |
return nil, err |
| 115 |
} |
| 116 |
return x, nil |
| 117 |
} |
| 118 |
|
| 119 |
type Sessions_ServerStreamingDetectIntentClient interface { |
| 120 |
Recv() (*DetectIntentResponse, error) |
| 121 |
grpc.ClientStream |
| 122 |
} |
| 123 |
|
| 124 |
type sessionsServerStreamingDetectIntentClient struct { |
| 125 |
grpc.ClientStream |
| 126 |
} |
| 127 |
|
| 128 |
func (x *sessionsServerStreamingDetectIntentClient) Recv() (*DetectIntentResponse, error) { |
| 129 |
m := new(DetectIntentResponse) |
| 130 |
if err := x.ClientStream.RecvMsg(m); err != nil { |
| 131 |
return nil, err |
| 132 |
} |
| 133 |
return m, nil |
| 134 |
} |
| 135 |
|
| 136 |
func (c *sessionsClient) StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) { |
| 137 |
stream, err := c.cc.NewStream(ctx, &Sessions_ServiceDesc.Streams[1], Sessions_StreamingDetectIntent_FullMethodName, opts...) |
| 138 |
if err != nil { |
| 139 |
return nil, err |
| 140 |
} |
| 141 |
x := &sessionsStreamingDetectIntentClient{stream} |
| 142 |
return x, nil |
| 143 |
} |
| 144 |
|
| 145 |
type Sessions_StreamingDetectIntentClient interface { |
| 146 |
Send(*StreamingDetectIntentRequest) error |
| 147 |
Recv() (*StreamingDetectIntentResponse, error) |
| 148 |
grpc.ClientStream |
| 149 |
} |
| 150 |
|
| 151 |
type sessionsStreamingDetectIntentClient struct { |
| 152 |
grpc.ClientStream |
| 153 |
} |
| 154 |
|
| 155 |
func (x *sessionsStreamingDetectIntentClient) Send(m *StreamingDetectIntentRequest) error { |
| 156 |
return x.ClientStream.SendMsg(m) |
| 157 |
} |
| 158 |
|
| 159 |
func (x *sessionsStreamingDetectIntentClient) Recv() (*StreamingDetectIntentResponse, error) { |
| 160 |
m := new(StreamingDetectIntentResponse) |
| 161 |
if err := x.ClientStream.RecvMsg(m); err != nil { |
| 162 |
return nil, err |
| 163 |
} |
| 164 |
return m, nil |
| 165 |
} |
| 166 |
|
| 167 |
func (c *sessionsClient) MatchIntent(ctx context.Context, in *MatchIntentRequest, opts ...grpc.CallOption) (*MatchIntentResponse, error) { |
| 168 |
out := new(MatchIntentResponse) |
| 169 |
err := c.cc.Invoke(ctx, Sessions_MatchIntent_FullMethodName, in, out, opts...) |
| 170 |
if err != nil { |
| 171 |
return nil, err |
| 172 |
} |
| 173 |
return out, nil |
| 174 |
} |
| 175 |
|
| 176 |
func (c *sessionsClient) FulfillIntent(ctx context.Context, in *FulfillIntentRequest, opts ...grpc.CallOption) (*FulfillIntentResponse, error) { |
| 177 |
out := new(FulfillIntentResponse) |
| 178 |
err := c.cc.Invoke(ctx, Sessions_FulfillIntent_FullMethodName, in, out, opts...) |
| 179 |
if err != nil { |
| 180 |
return nil, err |
| 181 |
} |
| 182 |
return out, nil |
| 183 |
} |
| 184 |
|
| 185 |
func (c *sessionsClient) SubmitAnswerFeedback(ctx context.Context, in *SubmitAnswerFeedbackRequest, opts ...grpc.CallOption) (*AnswerFeedback, error) { |
| 186 |
out := new(AnswerFeedback) |
| 187 |
err := c.cc.Invoke(ctx, Sessions_SubmitAnswerFeedback_FullMethodName, in, out, opts...) |
| 188 |
if err != nil { |
| 189 |
return nil, err |
| 190 |
} |
| 191 |
return out, nil |
| 192 |
} |
| 193 |
|
| 194 |
// SessionsServer is the server API for Sessions service. |
| 195 |
// All implementations should embed UnimplementedSessionsServer |
| 196 |
// for forward compatibility |
| 197 |
type SessionsServer interface { |
| 198 |
// Processes a natural language query and returns structured, actionable data |
| 199 |
// as a result. This method is not idempotent, because it may cause session |
| 200 |
// entity types to be updated, which in turn might affect results of future |
| 201 |
// queries. |
| 202 |
// |
| 203 |
// Note: Always use agent versions for production traffic. |
| 204 |
// See [Versions and |
| 205 |
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). |
| 206 |
DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) |
| 207 |
// Processes a natural language query and returns structured, actionable data |
| 208 |
// as a result through server-side streaming. Server-side streaming allows |
| 209 |
// Dialogflow to send [partial |
| 210 |
// responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) |
| 211 |
// earlier in a single request. |
| 212 |
ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error |
| 213 |
// Processes a natural language query in audio format in a streaming fashion |
| 214 |
// and returns structured, actionable data as a result. This method is only |
| 215 |
// available via the gRPC API (not REST). |
| 216 |
// |
| 217 |
// Note: Always use agent versions for production traffic. |
| 218 |
// See [Versions and |
| 219 |
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). |
| 220 |
StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error |
| 221 |
// Returns preliminary intent match results, doesn't change the session |
| 222 |
// status. |
| 223 |
MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error) |
| 224 |
// Fulfills a matched intent returned by |
| 225 |
// [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. |
| 226 |
// Must be called after |
| 227 |
// [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], |
| 228 |
// with input from |
| 229 |
// [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. |
| 230 |
// Otherwise, the behavior is undefined. |
| 231 |
FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error) |
| 232 |
// Updates the feedback received from the user for a single turn of the bot |
| 233 |
// response. |
| 234 |
SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error) |
| 235 |
} |
| 236 |
|
| 237 |
// UnimplementedSessionsServer should be embedded to have forward compatible implementations. |
| 238 |
type UnimplementedSessionsServer struct { |
| 239 |
} |
| 240 |
|
| 241 |
func (UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) { |
| 242 |
return nil, status.Errorf(codes.Unimplemented, "method DetectIntent not implemented") |
| 243 |
} |
| 244 |
func (UnimplementedSessionsServer) ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error { |
| 245 |
return status.Errorf(codes.Unimplemented, "method ServerStreamingDetectIntent not implemented") |
| 246 |
} |
| 247 |
func (UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error { |
| 248 |
return status.Errorf(codes.Unimplemented, "method StreamingDetectIntent not implemented") |
| 249 |
} |
| 250 |
func (UnimplementedSessionsServer) MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error) { |
| 251 |
return nil, status.Errorf(codes.Unimplemented, "method MatchIntent not implemented") |
| 252 |
} |
| 253 |
func (UnimplementedSessionsServer) FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error) { |
| 254 |
return nil, status.Errorf(codes.Unimplemented, "method FulfillIntent not implemented") |
| 255 |
} |
| 256 |
func (UnimplementedSessionsServer) SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error) { |
| 257 |
return nil, status.Errorf(codes.Unimplemented, "method SubmitAnswerFeedback not implemented") |
| 258 |
} |
| 259 |
|
| 260 |
// UnsafeSessionsServer may be embedded to opt out of forward compatibility for this service. |
| 261 |
// Use of this interface is not recommended, as added methods to SessionsServer will |
| 262 |
// result in compilation errors. |
| 263 |
type UnsafeSessionsServer interface { |
| 264 |
mustEmbedUnimplementedSessionsServer() |
| 265 |
} |
| 266 |
|
| 267 |
func RegisterSessionsServer(s grpc.ServiceRegistrar, srv SessionsServer) { |
| 268 |
s.RegisterService(&Sessions_ServiceDesc, srv) |
| 269 |
} |
| 270 |
|
| 271 |
func _Sessions_DetectIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 272 |
in := new(DetectIntentRequest) |
| 273 |
if err := dec(in); err != nil { |
| 274 |
return nil, err |
| 275 |
} |
| 276 |
if interceptor == nil { |
| 277 |
return srv.(SessionsServer).DetectIntent(ctx, in) |
| 278 |
} |
| 279 |
info := &grpc.UnaryServerInfo{ |
| 280 |
Server: srv, |
| 281 |
FullMethod: Sessions_DetectIntent_FullMethodName, |
| 282 |
} |
| 283 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 284 |
return srv.(SessionsServer).DetectIntent(ctx, req.(*DetectIntentRequest)) |
| 285 |
} |
| 286 |
return interceptor(ctx, in, info, handler) |
| 287 |
} |
| 288 |
|
| 289 |
func _Sessions_ServerStreamingDetectIntent_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 290 |
m := new(DetectIntentRequest) |
| 291 |
if err := stream.RecvMsg(m); err != nil { |
| 292 |
return err |
| 293 |
} |
| 294 |
return srv.(SessionsServer).ServerStreamingDetectIntent(m, &sessionsServerStreamingDetectIntentServer{stream}) |
| 295 |
} |
| 296 |
|
| 297 |
type Sessions_ServerStreamingDetectIntentServer interface { |
| 298 |
Send(*DetectIntentResponse) error |
| 299 |
grpc.ServerStream |
| 300 |
} |
| 301 |
|
| 302 |
type sessionsServerStreamingDetectIntentServer struct { |
| 303 |
grpc.ServerStream |
| 304 |
} |
| 305 |
|
| 306 |
func (x *sessionsServerStreamingDetectIntentServer) Send(m *DetectIntentResponse) error { |
| 307 |
return x.ServerStream.SendMsg(m) |
| 308 |
} |
| 309 |
|
| 310 |
func _Sessions_StreamingDetectIntent_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 311 |
return srv.(SessionsServer).StreamingDetectIntent(&sessionsStreamingDetectIntentServer{stream}) |
| 312 |
} |
| 313 |
|
| 314 |
type Sessions_StreamingDetectIntentServer interface { |
| 315 |
Send(*StreamingDetectIntentResponse) error |
| 316 |
Recv() (*StreamingDetectIntentRequest, error) |
| 317 |
grpc.ServerStream |
| 318 |
} |
| 319 |
|
| 320 |
type sessionsStreamingDetectIntentServer struct { |
| 321 |
grpc.ServerStream |
| 322 |
} |
| 323 |
|
| 324 |
func (x *sessionsStreamingDetectIntentServer) Send(m *StreamingDetectIntentResponse) error { |
| 325 |
return x.ServerStream.SendMsg(m) |
| 326 |
} |
| 327 |
|
| 328 |
func (x *sessionsStreamingDetectIntentServer) Recv() (*StreamingDetectIntentRequest, error) { |
| 329 |
m := new(StreamingDetectIntentRequest) |
| 330 |
if err := x.ServerStream.RecvMsg(m); err != nil { |
| 331 |
return nil, err |
| 332 |
} |
| 333 |
return m, nil |
| 334 |
} |
| 335 |
|
| 336 |
func _Sessions_MatchIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 337 |
in := new(MatchIntentRequest) |
| 338 |
if err := dec(in); err != nil { |
| 339 |
return nil, err |
| 340 |
} |
| 341 |
if interceptor == nil { |
| 342 |
return srv.(SessionsServer).MatchIntent(ctx, in) |
| 343 |
} |
| 344 |
info := &grpc.UnaryServerInfo{ |
| 345 |
Server: srv, |
| 346 |
FullMethod: Sessions_MatchIntent_FullMethodName, |
| 347 |
} |
| 348 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 349 |
return srv.(SessionsServer).MatchIntent(ctx, req.(*MatchIntentRequest)) |
| 350 |
} |
| 351 |
return interceptor(ctx, in, info, handler) |
| 352 |
} |
| 353 |
|
| 354 |
func _Sessions_FulfillIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 355 |
in := new(FulfillIntentRequest) |
| 356 |
if err := dec(in); err != nil { |
| 357 |
return nil, err |
| 358 |
} |
| 359 |
if interceptor == nil { |
| 360 |
return srv.(SessionsServer).FulfillIntent(ctx, in) |
| 361 |
} |
| 362 |
info := &grpc.UnaryServerInfo{ |
| 363 |
Server: srv, |
| 364 |
FullMethod: Sessions_FulfillIntent_FullMethodName, |
| 365 |
} |
| 366 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 367 |
return srv.(SessionsServer).FulfillIntent(ctx, req.(*FulfillIntentRequest)) |
| 368 |
} |
| 369 |
return interceptor(ctx, in, info, handler) |
| 370 |
} |
| 371 |
|
| 372 |
func _Sessions_SubmitAnswerFeedback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 373 |
in := new(SubmitAnswerFeedbackRequest) |
| 374 |
if err := dec(in); err != nil { |
| 375 |
return nil, err |
| 376 |
} |
| 377 |
if interceptor == nil { |
| 378 |
return srv.(SessionsServer).SubmitAnswerFeedback(ctx, in) |
| 379 |
} |
| 380 |
info := &grpc.UnaryServerInfo{ |
| 381 |
Server: srv, |
| 382 |
FullMethod: Sessions_SubmitAnswerFeedback_FullMethodName, |
| 383 |
} |
| 384 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 385 |
return srv.(SessionsServer).SubmitAnswerFeedback(ctx, req.(*SubmitAnswerFeedbackRequest)) |
| 386 |
} |
| 387 |
return interceptor(ctx, in, info, handler) |
| 388 |
} |
| 389 |
|
| 390 |
// Sessions_ServiceDesc is the grpc.ServiceDesc for Sessions service. |
| 391 |
// It's only intended for direct use with grpc.RegisterService, |
| 392 |
// and not to be introspected or modified (even as a copy) |
| 393 |
var Sessions_ServiceDesc = grpc.ServiceDesc{ |
| 394 |
ServiceName: "google.cloud.dialogflow.cx.v3beta1.Sessions", |
| 395 |
HandlerType: (*SessionsServer)(nil), |
| 396 |
Methods: []grpc.MethodDesc{ |
| 397 |
{ |
| 398 |
MethodName: "DetectIntent", |
| 399 |
Handler: _Sessions_DetectIntent_Handler, |
| 400 |
}, |
| 401 |
{ |
| 402 |
MethodName: "MatchIntent", |
| 403 |
Handler: _Sessions_MatchIntent_Handler, |
| 404 |
}, |
| 405 |
{ |
| 406 |
MethodName: "FulfillIntent", |
| 407 |
Handler: _Sessions_FulfillIntent_Handler, |
| 408 |
}, |
| 409 |
{ |
| 410 |
MethodName: "SubmitAnswerFeedback", |
| 411 |
Handler: _Sessions_SubmitAnswerFeedback_Handler, |
| 412 |
}, |
| 413 |
}, |
| 414 |
Streams: []grpc.StreamDesc{ |
| 415 |
{ |
| 416 |
StreamName: "ServerStreamingDetectIntent", |
| 417 |
Handler: _Sessions_ServerStreamingDetectIntent_Handler, |
| 418 |
ServerStreams: true, |
| 419 |
}, |
| 420 |
{ |
| 421 |
StreamName: "StreamingDetectIntent", |
| 422 |
Handler: _Sessions_StreamingDetectIntent_Handler, |
| 423 |
ServerStreams: true, |
| 424 |
ClientStreams: true, |
| 425 |
}, |
| 426 |
}, |
| 427 |
Metadata: "google/cloud/dialogflow/cx/v3beta1/session.proto", |
| 428 |
} |