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/free_text_type.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// Type that matches any text if surrounding words context is close to provided
45// training examples.
46type FreeTextType struct {
47	state         protoimpl.MessageState
48	sizeCache     protoimpl.SizeCache
49	unknownFields protoimpl.UnknownFields
50
51	// Optional. Elements that will be displayed on the canvas once an entity is extracted
52	// from a query. Only relevant for canvas enabled apps.
53	Display *EntityDisplay `protobuf:"bytes,2,opt,name=display,proto3" json:"display,omitempty"`
54}
55
56func (x *FreeTextType) Reset() {
57	*x = FreeTextType{}
58	if protoimpl.UnsafeEnabled {
59		mi := &file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_msgTypes[0]
60		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61		ms.StoreMessageInfo(mi)
62	}
63}
64
65func (x *FreeTextType) String() string {
66	return protoimpl.X.MessageStringOf(x)
67}
68
69func (*FreeTextType) ProtoMessage() {}
70
71func (x *FreeTextType) ProtoReflect() protoreflect.Message {
72	mi := &file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_msgTypes[0]
73	if protoimpl.UnsafeEnabled && x != nil {
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		if ms.LoadMessageInfo() == nil {
76			ms.StoreMessageInfo(mi)
77		}
78		return ms
79	}
80	return mi.MessageOf(x)
81}
82
83// Deprecated: Use FreeTextType.ProtoReflect.Descriptor instead.
84func (*FreeTextType) Descriptor() ([]byte, []int) {
85	return file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescGZIP(), []int{0}
86}
87
88func (x *FreeTextType) GetDisplay() *EntityDisplay {
89	if x != nil {
90		return x.Display
91	}
92	return nil
93}
94
95var File_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto protoreflect.FileDescriptor
96
97var file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDesc = []byte{
98	0x0a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
99	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
100	0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x66, 0x72,
101	0x65, 0x65, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f,
102	0x74, 0x6f, 0x12, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f,
103	0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61,
104	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x1a,
105	0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
106	0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69,
107	0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x65, 0x6e, 0x74,
108	0x69, 0x74, 0x79, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
109	0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
110	0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
111	0x74, 0x6f, 0x22, 0x69, 0x0a, 0x0c, 0x46, 0x72, 0x65, 0x65, 0x54, 0x65, 0x78, 0x74, 0x54, 0x79,
112	0x70, 0x65, 0x12, 0x59, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20,
113	0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
114	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
115	0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70,
116	0x65, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42,
117	0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x42, 0x97, 0x01,
118	0x0a, 0x2f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74,
119	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x69, 0x6e, 0x74, 0x65,
120	0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x74, 0x79, 0x70,
121	0x65, 0x42, 0x11, 0x46, 0x72, 0x65, 0x65, 0x54, 0x65, 0x78, 0x74, 0x54, 0x79, 0x70, 0x65, 0x50,
122	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
123	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
124	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63,
125	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74,
126	0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x74, 0x79,
127	0x70, 0x65, 0x3b, 0x74, 0x79, 0x70, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
128}
129
130var (
131	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescOnce sync.Once
132	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescData = file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDesc
133)
134
135func file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescGZIP() []byte {
136	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescOnce.Do(func() {
137		file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescData)
138	})
139	return file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDescData
140}
141
142var file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
143var file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_goTypes = []interface{}{
144	(*FreeTextType)(nil),  // 0: google.actions.sdk.v2.interactionmodel.type.FreeTextType
145	(*EntityDisplay)(nil), // 1: google.actions.sdk.v2.interactionmodel.type.EntityDisplay
146}
147var file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_depIdxs = []int32{
148	1, // 0: google.actions.sdk.v2.interactionmodel.type.FreeTextType.display:type_name -> google.actions.sdk.v2.interactionmodel.type.EntityDisplay
149	1, // [1:1] is the sub-list for method output_type
150	1, // [1:1] is the sub-list for method input_type
151	1, // [1:1] is the sub-list for extension type_name
152	1, // [1:1] is the sub-list for extension extendee
153	0, // [0:1] is the sub-list for field type_name
154}
155
156func init() { file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_init() }
157func file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_init() {
158	if File_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto != nil {
159		return
160	}
161	file_google_actions_sdk_v2_interactionmodel_type_entity_display_proto_init()
162	if !protoimpl.UnsafeEnabled {
163		file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
164			switch v := v.(*FreeTextType); i {
165			case 0:
166				return &v.state
167			case 1:
168				return &v.sizeCache
169			case 2:
170				return &v.unknownFields
171			default:
172				return nil
173			}
174		}
175	}
176	type x struct{}
177	out := protoimpl.TypeBuilder{
178		File: protoimpl.DescBuilder{
179			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
180			RawDescriptor: file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDesc,
181			NumEnums:      0,
182			NumMessages:   1,
183			NumExtensions: 0,
184			NumServices:   0,
185		},
186		GoTypes:           file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_goTypes,
187		DependencyIndexes: file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_depIdxs,
188		MessageInfos:      file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_msgTypes,
189	}.Build()
190	File_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto = out.File
191	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_rawDesc = nil
192	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_goTypes = nil
193	file_google_actions_sdk_v2_interactionmodel_type_free_text_type_proto_depIdxs = nil
194}
195