Debian Codegraph @

googleapis/actions/sdk/v2/conversation/list.pb.go

raw symbols SCIP
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. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v4.24.4
19 // source: google/actions/sdk/v2/conversation/prompt/content/list.proto
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 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // A card for presenting a list of options to select from.
39 type List struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Title of the list. Optional.
45 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
46 // Subtitle of the list. Optional.
47 Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
48 // min: 2 max: 30
49 Items []*List_ListItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
50 }
51
52 func (x *List) Reset() {
53 *x = List{}
54 if protoimpl.UnsafeEnabled {
55 mi := &file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59 }
60
61 func (x *List) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*List) ProtoMessage() {}
66
67 func (x *List) ProtoReflect() protoreflect.Message {
68 mi := &file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[0]
69 if protoimpl.UnsafeEnabled && x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use List.ProtoReflect.Descriptor instead.
80 func (*List) Descriptor() ([]byte, []int) {
81 return file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *List) GetTitle() string {
85 if x != nil {
86 return x.Title
87 }
88 return ""
89 }
90
91 func (x *List) GetSubtitle() string {
92 if x != nil {
93 return x.Subtitle
94 }
95 return ""
96 }
97
98 func (x *List) GetItems() []*List_ListItem {
99 if x != nil {
100 return x.Items
101 }
102 return nil
103 }
104
105 // An item in the list
106 type List_ListItem struct {
107 state protoimpl.MessageState
108 sizeCache protoimpl.SizeCache
109 unknownFields protoimpl.UnknownFields
110
111 // Required. The NLU key that matches the entry key name in the associated
112 // Type.
113 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
114 }
115
116 func (x *List_ListItem) Reset() {
117 *x = List_ListItem{}
118 if protoimpl.UnsafeEnabled {
119 mi := &file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[1]
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 ms.StoreMessageInfo(mi)
122 }
123 }
124
125 func (x *List_ListItem) String() string {
126 return protoimpl.X.MessageStringOf(x)
127 }
128
129 func (*List_ListItem) ProtoMessage() {}
130
131 func (x *List_ListItem) ProtoReflect() protoreflect.Message {
132 mi := &file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[1]
133 if protoimpl.UnsafeEnabled && x != nil {
134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135 if ms.LoadMessageInfo() == nil {
136 ms.StoreMessageInfo(mi)
137 }
138 return ms
139 }
140 return mi.MessageOf(x)
141 }
142
143 // Deprecated: Use List_ListItem.ProtoReflect.Descriptor instead.
144 func (*List_ListItem) Descriptor() ([]byte, []int) {
145 return file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescGZIP(), []int{0, 0}
146 }
147
148 func (x *List_ListItem) GetKey() string {
149 if x != nil {
150 return x.Key
151 }
152 return ""
153 }
154
155 var File_google_actions_sdk_v2_conversation_prompt_content_list_proto protoreflect.FileDescriptor
156
157 var file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDesc = []byte{
158 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
159 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
160 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
161 0x65, 0x6e, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22,
162 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73,
163 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
164 0x6f, 0x6e, 0x22, 0x9f, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74,
165 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c,
166 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,
167 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x47, 0x0a,
168 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67,
169 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64,
170 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
171 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52,
172 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x1c, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74,
173 0x65, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
174 0x03, 0x6b, 0x65, 0x79, 0x42, 0x85, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
175 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
176 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
177 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f,
178 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
179 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
180 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f,
181 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b,
182 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
183 0x6f, 0x74, 0x6f, 0x33,
184 }
185
186 var (
187 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescOnce sync.Once
188 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDesc
189 )
190
191 func file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescGZIP() []byte {
192 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescOnce.Do(func() {
193 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescData)
194 })
195 return file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDescData
196 }
197
198 var file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
199 var file_google_actions_sdk_v2_conversation_prompt_content_list_proto_goTypes = []interface{}{
200 (*List)(nil), // 0: google.actions.sdk.v2.conversation.List
201 (*List_ListItem)(nil), // 1: google.actions.sdk.v2.conversation.List.ListItem
202 }
203 var file_google_actions_sdk_v2_conversation_prompt_content_list_proto_depIdxs = []int32{
204 1, // 0: google.actions.sdk.v2.conversation.List.items:type_name -> google.actions.sdk.v2.conversation.List.ListItem
205 1, // [1:1] is the sub-list for method output_type
206 1, // [1:1] is the sub-list for method input_type
207 1, // [1:1] is the sub-list for extension type_name
208 1, // [1:1] is the sub-list for extension extendee
209 0, // [0:1] is the sub-list for field type_name
210 }
211
212 func init() { file_google_actions_sdk_v2_conversation_prompt_content_list_proto_init() }
213 func file_google_actions_sdk_v2_conversation_prompt_content_list_proto_init() {
214 if File_google_actions_sdk_v2_conversation_prompt_content_list_proto != nil {
215 return
216 }
217 if !protoimpl.UnsafeEnabled {
218 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
219 switch v := v.(*List); i {
220 case 0:
221 return &v.state
222 case 1:
223 return &v.sizeCache
224 case 2:
225 return &v.unknownFields
226 default:
227 return nil
228 }
229 }
230 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
231 switch v := v.(*List_ListItem); i {
232 case 0:
233 return &v.state
234 case 1:
235 return &v.sizeCache
236 case 2:
237 return &v.unknownFields
238 default:
239 return nil
240 }
241 }
242 }
243 type x struct{}
244 out := protoimpl.TypeBuilder{
245 File: protoimpl.DescBuilder{
246 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
247 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDesc,
248 NumEnums: 0,
249 NumMessages: 2,
250 NumExtensions: 0,
251 NumServices: 0,
252 },
253 GoTypes: file_google_actions_sdk_v2_conversation_prompt_content_list_proto_goTypes,
254 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_content_list_proto_depIdxs,
255 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_content_list_proto_msgTypes,
256 }.Build()
257 File_google_actions_sdk_v2_conversation_prompt_content_list_proto = out.File
258 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_rawDesc = nil
259 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_goTypes = nil
260 file_google_actions_sdk_v2_conversation_prompt_content_list_proto_depIdxs = nil
261 }