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