Debian Codegraph @

googleapis/actions/sdk/v2/files.pb.go

raw
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/files.proto
20
21 package sdk
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 // Wrapper for a list of files.
39 type Files struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Only one type of files can be sent to the server at a time, config files or
45 // data files.
46 //
47 // Types that are assignable to FileType:
48 //
49 // *Files_ConfigFiles
50 // *Files_DataFiles
51 FileType isFiles_FileType `protobuf_oneof:"file_type"`
52 }
53
54 func (x *Files) Reset() {
55 *x = Files{}
56 if protoimpl.UnsafeEnabled {
57 mi := &file_google_actions_sdk_v2_files_proto_msgTypes[0]
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 ms.StoreMessageInfo(mi)
60 }
61 }
62
63 func (x *Files) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*Files) ProtoMessage() {}
68
69 func (x *Files) ProtoReflect() protoreflect.Message {
70 mi := &file_google_actions_sdk_v2_files_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 // Deprecated: Use Files.ProtoReflect.Descriptor instead.
82 func (*Files) Descriptor() ([]byte, []int) {
83 return file_google_actions_sdk_v2_files_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (m *Files) GetFileType() isFiles_FileType {
87 if m != nil {
88 return m.FileType
89 }
90 return nil
91 }
92
93 func (x *Files) GetConfigFiles() *ConfigFiles {
94 if x, ok := x.GetFileType().(*Files_ConfigFiles); ok {
95 return x.ConfigFiles
96 }
97 return nil
98 }
99
100 func (x *Files) GetDataFiles() *DataFiles {
101 if x, ok := x.GetFileType().(*Files_DataFiles); ok {
102 return x.DataFiles
103 }
104 return nil
105 }
106
107 type isFiles_FileType interface {
108 isFiles_FileType()
109 }
110
111 type Files_ConfigFiles struct {
112 // List of config files. This includes manifest, settings, interaction model
113 // resource bundles and more.
114 ConfigFiles *ConfigFiles `protobuf:"bytes,1,opt,name=config_files,json=configFiles,proto3,oneof"`
115 }
116
117 type Files_DataFiles struct {
118 // List of data files. This includes image, audio file, cloud function
119 // source code.
120 DataFiles *DataFiles `protobuf:"bytes,2,opt,name=data_files,json=dataFiles,proto3,oneof"`
121 }
122
123 func (*Files_ConfigFiles) isFiles_FileType() {}
124
125 func (*Files_DataFiles) isFiles_FileType() {}
126
127 var File_google_actions_sdk_v2_files_proto protoreflect.FileDescriptor
128
129 var file_google_actions_sdk_v2_files_proto_rawDesc = []byte{
130 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
131 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72,
132 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
133 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67,
134 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76,
135 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72,
136 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69,
137 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f,
138 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x05, 0x46,
139 0x69, 0x6c, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66,
140 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
141 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
142 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x48, 0x00,
143 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x41, 0x0a,
144 0x0a, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
145 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
146 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x46, 0x69,
147 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x73,
148 0x42, 0x0b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x63, 0x0a,
149 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
150 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x46, 0x69, 0x6c, 0x65,
151 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
152 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
153 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
154 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x3b, 0x73,
155 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
156 }
157
158 var (
159 file_google_actions_sdk_v2_files_proto_rawDescOnce sync.Once
160 file_google_actions_sdk_v2_files_proto_rawDescData = file_google_actions_sdk_v2_files_proto_rawDesc
161 )
162
163 func file_google_actions_sdk_v2_files_proto_rawDescGZIP() []byte {
164 file_google_actions_sdk_v2_files_proto_rawDescOnce.Do(func() {
165 file_google_actions_sdk_v2_files_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_files_proto_rawDescData)
166 })
167 return file_google_actions_sdk_v2_files_proto_rawDescData
168 }
169
170 var file_google_actions_sdk_v2_files_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
171 var file_google_actions_sdk_v2_files_proto_goTypes = []interface{}{
172 (*Files)(nil), // 0: google.actions.sdk.v2.Files
173 (*ConfigFiles)(nil), // 1: google.actions.sdk.v2.ConfigFiles
174 (*DataFiles)(nil), // 2: google.actions.sdk.v2.DataFiles
175 }
176 var file_google_actions_sdk_v2_files_proto_depIdxs = []int32{
177 1, // 0: google.actions.sdk.v2.Files.config_files:type_name -> google.actions.sdk.v2.ConfigFiles
178 2, // 1: google.actions.sdk.v2.Files.data_files:type_name -> google.actions.sdk.v2.DataFiles
179 2, // [2:2] is the sub-list for method output_type
180 2, // [2:2] is the sub-list for method input_type
181 2, // [2:2] is the sub-list for extension type_name
182 2, // [2:2] is the sub-list for extension extendee
183 0, // [0:2] is the sub-list for field type_name
184 }
185
186 func init() { file_google_actions_sdk_v2_files_proto_init() }
187 func file_google_actions_sdk_v2_files_proto_init() {
188 if File_google_actions_sdk_v2_files_proto != nil {
189 return
190 }
191 file_google_actions_sdk_v2_config_file_proto_init()
192 file_google_actions_sdk_v2_data_file_proto_init()
193 if !protoimpl.UnsafeEnabled {
194 file_google_actions_sdk_v2_files_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
195 switch v := v.(*Files); i {
196 case 0:
197 return &v.state
198 case 1:
199 return &v.sizeCache
200 case 2:
201 return &v.unknownFields
202 default:
203 return nil
204 }
205 }
206 }
207 file_google_actions_sdk_v2_files_proto_msgTypes[0].OneofWrappers = []interface{}{
208 (*Files_ConfigFiles)(nil),
209 (*Files_DataFiles)(nil),
210 }
211 type x struct{}
212 out := protoimpl.TypeBuilder{
213 File: protoimpl.DescBuilder{
214 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
215 RawDescriptor: file_google_actions_sdk_v2_files_proto_rawDesc,
216 NumEnums: 0,
217 NumMessages: 1,
218 NumExtensions: 0,
219 NumServices: 0,
220 },
221 GoTypes: file_google_actions_sdk_v2_files_proto_goTypes,
222 DependencyIndexes: file_google_actions_sdk_v2_files_proto_depIdxs,
223 MessageInfos: file_google_actions_sdk_v2_files_proto_msgTypes,
224 }.Build()
225 File_google_actions_sdk_v2_files_proto = out.File
226 file_google_actions_sdk_v2_files_proto_rawDesc = nil
227 file_google_actions_sdk_v2_files_proto_goTypes = nil
228 file_google_actions_sdk_v2_files_proto_depIdxs = nil
229 }