1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package prompt
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type StaticSimplePrompt struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46 Variants []*StaticSimplePrompt_Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"`
47 }
48
49 func (x *StaticSimplePrompt) Reset() {
50 *x = StaticSimplePrompt{}
51 if protoimpl.UnsafeEnabled {
52 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56 }
57
58 func (x *StaticSimplePrompt) String() string {
59 return protoimpl.X.MessageStringOf(x)
60 }
61
62 func (*StaticSimplePrompt) ProtoMessage() {}
63
64 func (x *StaticSimplePrompt) ProtoReflect() protoreflect.Message {
65 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[0]
66 if protoimpl.UnsafeEnabled && x != nil {
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 if ms.LoadMessageInfo() == nil {
69 ms.StoreMessageInfo(mi)
70 }
71 return ms
72 }
73 return mi.MessageOf(x)
74 }
75
76
77 func (*StaticSimplePrompt) Descriptor() ([]byte, []int) {
78 return file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescGZIP(), []int{0}
79 }
80
81 func (x *StaticSimplePrompt) GetVariants() []*StaticSimplePrompt_Variant {
82 if x != nil {
83 return x.Variants
84 }
85 return nil
86 }
87
88
89 type StaticSimplePrompt_Variant struct {
90 state protoimpl.MessageState
91 sizeCache protoimpl.SizeCache
92 unknownFields protoimpl.UnknownFields
93
94
95
96
97
98
99
100 Speech string `protobuf:"bytes,1,opt,name=speech,proto3" json:"speech,omitempty"`
101
102
103
104
105
106 Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
107 }
108
109 func (x *StaticSimplePrompt_Variant) Reset() {
110 *x = StaticSimplePrompt_Variant{}
111 if protoimpl.UnsafeEnabled {
112 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[1]
113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
114 ms.StoreMessageInfo(mi)
115 }
116 }
117
118 func (x *StaticSimplePrompt_Variant) String() string {
119 return protoimpl.X.MessageStringOf(x)
120 }
121
122 func (*StaticSimplePrompt_Variant) ProtoMessage() {}
123
124 func (x *StaticSimplePrompt_Variant) ProtoReflect() protoreflect.Message {
125 mi := &file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[1]
126 if protoimpl.UnsafeEnabled && x != nil {
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 if ms.LoadMessageInfo() == nil {
129 ms.StoreMessageInfo(mi)
130 }
131 return ms
132 }
133 return mi.MessageOf(x)
134 }
135
136
137 func (*StaticSimplePrompt_Variant) Descriptor() ([]byte, []int) {
138 return file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescGZIP(), []int{0, 0}
139 }
140
141 func (x *StaticSimplePrompt_Variant) GetSpeech() string {
142 if x != nil {
143 return x.Speech
144 }
145 return ""
146 }
147
148 func (x *StaticSimplePrompt_Variant) GetText() string {
149 if x != nil {
150 return x.Text
151 }
152 return ""
153 }
154
155 var File_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto protoreflect.FileDescriptor
156
157 var file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDesc = []byte{
158 0x0a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
159 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
160 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f,
161 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x70, 0x72,
162 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x67, 0x6f, 0x6f, 0x67,
163 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76,
164 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64,
165 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
166 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
167 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x12, 0x53,
168 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x6d, 0x70,
169 0x74, 0x12, 0x65, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20,
170 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
171 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
172 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
173 0x6d, 0x70, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65,
174 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x08,
175 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x1a, 0x3f, 0x0a, 0x07, 0x56, 0x61, 0x72, 0x69,
176 0x61, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x18, 0x01, 0x20,
177 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68,
178 0x12, 0x17, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
179 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x42, 0xa3, 0x01, 0x0a, 0x31, 0x63, 0x6f,
180 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
181 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
182 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42,
183 0x17, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x6f,
184 0x6d, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 0x6f, 0x67,
185 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
186 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
187 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32,
188 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65,
189 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x3b, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x62,
190 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
191 }
192
193 var (
194 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescOnce sync.Once
195 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDesc
196 )
197
198 func file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescGZIP() []byte {
199 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescOnce.Do(func() {
200 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescData)
201 })
202 return file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDescData
203 }
204
205 var file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
206 var file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_goTypes = []interface{}{
207 (*StaticSimplePrompt)(nil),
208 (*StaticSimplePrompt_Variant)(nil),
209 }
210 var file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_depIdxs = []int32{
211 1,
212 1,
213 1,
214 1,
215 1,
216 0,
217 }
218
219 func init() { file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_init() }
220 func file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_init() {
221 if File_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto != nil {
222 return
223 }
224 if !protoimpl.UnsafeEnabled {
225 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
226 switch v := v.(*StaticSimplePrompt); i {
227 case 0:
228 return &v.state
229 case 1:
230 return &v.sizeCache
231 case 2:
232 return &v.unknownFields
233 default:
234 return nil
235 }
236 }
237 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
238 switch v := v.(*StaticSimplePrompt_Variant); i {
239 case 0:
240 return &v.state
241 case 1:
242 return &v.sizeCache
243 case 2:
244 return &v.unknownFields
245 default:
246 return nil
247 }
248 }
249 }
250 type x struct{}
251 out := protoimpl.TypeBuilder{
252 File: protoimpl.DescBuilder{
253 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
254 RawDescriptor: file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDesc,
255 NumEnums: 0,
256 NumMessages: 2,
257 NumExtensions: 0,
258 NumServices: 0,
259 },
260 GoTypes: file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_goTypes,
261 DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_depIdxs,
262 MessageInfos: file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_msgTypes,
263 }.Build()
264 File_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto = out.File
265 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_rawDesc = nil
266 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_goTypes = nil
267 file_google_actions_sdk_v2_interactionmodel_prompt_static_simple_prompt_proto_depIdxs = nil
268 }
269
View as plain text