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