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.25.0
18// 	protoc        v3.13.0
19// source: google/actions/sdk/v2/interactionmodel/type/class_reference.proto
20
21package _type
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// A reference to a class which is used to declare the type of a field or return
45// value. Enums are also a type of class that can be referenced using
46// ClassReference.
47type ClassReference struct {
48	state         protoimpl.MessageState
49	sizeCache     protoimpl.SizeCache
50	unknownFields protoimpl.UnknownFields
51
52	// Required. Name of a built-in type or custom type of the parameter. Examples:
53	// `PizzaToppings`, `actions.type.Number`
54	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
55	// Optional. Indicates whether the data type represents a list of values.
56	List bool `protobuf:"varint,2,opt,name=list,proto3" json:"list,omitempty"`
57}
58
59func (x *ClassReference) Reset() {
60	*x = ClassReference{}
61	if protoimpl.UnsafeEnabled {
62		mi := &file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_msgTypes[0]
63		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64		ms.StoreMessageInfo(mi)
65	}
66}
67
68func (x *ClassReference) String() string {
69	return protoimpl.X.MessageStringOf(x)
70}
71
72func (*ClassReference) ProtoMessage() {}
73
74func (x *ClassReference) ProtoReflect() protoreflect.Message {
75	mi := &file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_msgTypes[0]
76	if protoimpl.UnsafeEnabled && x != nil {
77		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78		if ms.LoadMessageInfo() == nil {
79			ms.StoreMessageInfo(mi)
80		}
81		return ms
82	}
83	return mi.MessageOf(x)
84}
85
86// Deprecated: Use ClassReference.ProtoReflect.Descriptor instead.
87func (*ClassReference) Descriptor() ([]byte, []int) {
88	return file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescGZIP(), []int{0}
89}
90
91func (x *ClassReference) GetName() string {
92	if x != nil {
93		return x.Name
94	}
95	return ""
96}
97
98func (x *ClassReference) GetList() bool {
99	if x != nil {
100		return x.List
101	}
102	return false
103}
104
105var File_google_actions_sdk_v2_interactionmodel_type_class_reference_proto protoreflect.FileDescriptor
106
107var file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDesc = []byte{
108	0x0a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
109	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
110	0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6c,
111	0x61, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72,
112	0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
113	0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
114	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65,
115	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
116	0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
117	0x6f, 0x22, 0x42, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
118	0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
119	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x04,
120	0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
121	0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x99, 0x01, 0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
122	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b,
123	0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d,
124	0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x13, 0x43, 0x6c, 0x61, 0x73, 0x73,
125	0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
126	0x5a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
127	0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
128	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
129	0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69,
130	0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x3b, 0x74, 0x79, 0x70,
131	0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
132}
133
134var (
135	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescOnce sync.Once
136	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDesc
137)
138
139func file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescGZIP() []byte {
140	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescOnce.Do(func() {
141		file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescData)
142	})
143	return file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDescData
144}
145
146var file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
147var file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_goTypes = []interface{}{
148	(*ClassReference)(nil), // 0: google.actions.sdk.v2.interactionmodel.type.ClassReference
149}
150var file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_depIdxs = []int32{
151	0, // [0:0] is the sub-list for method output_type
152	0, // [0:0] is the sub-list for method input_type
153	0, // [0:0] is the sub-list for extension type_name
154	0, // [0:0] is the sub-list for extension extendee
155	0, // [0:0] is the sub-list for field type_name
156}
157
158func init() { file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_init() }
159func file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_init() {
160	if File_google_actions_sdk_v2_interactionmodel_type_class_reference_proto != nil {
161		return
162	}
163	if !protoimpl.UnsafeEnabled {
164		file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
165			switch v := v.(*ClassReference); i {
166			case 0:
167				return &v.state
168			case 1:
169				return &v.sizeCache
170			case 2:
171				return &v.unknownFields
172			default:
173				return nil
174			}
175		}
176	}
177	type x struct{}
178	out := protoimpl.TypeBuilder{
179		File: protoimpl.DescBuilder{
180			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
181			RawDescriptor: file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDesc,
182			NumEnums:      0,
183			NumMessages:   1,
184			NumExtensions: 0,
185			NumServices:   0,
186		},
187		GoTypes:           file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_goTypes,
188		DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_depIdxs,
189		MessageInfos:      file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_msgTypes,
190	}.Build()
191	File_google_actions_sdk_v2_interactionmodel_type_class_reference_proto = out.File
192	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_rawDesc = nil
193	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_goTypes = nil
194	file_google_actions_sdk_v2_interactionmodel_type_class_reference_proto_depIdxs = nil
195}
196