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/conversation/prompt/suggestion.proto
20
21package conversation
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// Input suggestion to be presented to the user.
39type Suggestion struct {
40	state         protoimpl.MessageState
41	sizeCache     protoimpl.SizeCache
42	unknownFields protoimpl.UnknownFields
43
44	// Required. The text shown in the suggestion chip. When tapped, this text will be
45	// posted back to the conversation verbatim as if the user had typed it.
46	// Each title must be unique among the set of suggestion chips.
47	// Max 25 chars
48	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
49}
50
51func (x *Suggestion) Reset() {
52	*x = Suggestion{}
53	if protoimpl.UnsafeEnabled {
54		mi := &file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_msgTypes[0]
55		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56		ms.StoreMessageInfo(mi)
57	}
58}
59
60func (x *Suggestion) String() string {
61	return protoimpl.X.MessageStringOf(x)
62}
63
64func (*Suggestion) ProtoMessage() {}
65
66func (x *Suggestion) ProtoReflect() protoreflect.Message {
67	mi := &file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_msgTypes[0]
68	if protoimpl.UnsafeEnabled && x != nil {
69		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70		if ms.LoadMessageInfo() == nil {
71			ms.StoreMessageInfo(mi)
72		}
73		return ms
74	}
75	return mi.MessageOf(x)
76}
77
78// Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.
79func (*Suggestion) Descriptor() ([]byte, []int) {
80	return file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescGZIP(), []int{0}
81}
82
83func (x *Suggestion) GetTitle() string {
84	if x != nil {
85		return x.Title
86	}
87	return ""
88}
89
90var File_google_actions_sdk_v2_conversation_prompt_suggestion_proto protoreflect.FileDescriptor
91
92var file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDesc = []byte{
93	0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
94	0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
95	0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 0x75, 0x67, 0x67,
96	0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f,
97	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b,
98	0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
99	0x22, 0x22, 0x0a, 0x0a, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14,
100	0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
101	0x69, 0x74, 0x6c, 0x65, 0x42, 0x8b, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
102	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e,
103	0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
104	0x0f, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
105	0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
106	0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
107	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
108	0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
109	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
110	0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
111}
112
113var (
114	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescOnce sync.Once
115	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDesc
116)
117
118func file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescGZIP() []byte {
119	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescOnce.Do(func() {
120		file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescData)
121	})
122	return file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDescData
123}
124
125var file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
126var file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_goTypes = []interface{}{
127	(*Suggestion)(nil), // 0: google.actions.sdk.v2.conversation.Suggestion
128}
129var file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_depIdxs = []int32{
130	0, // [0:0] is the sub-list for method output_type
131	0, // [0:0] is the sub-list for method input_type
132	0, // [0:0] is the sub-list for extension type_name
133	0, // [0:0] is the sub-list for extension extendee
134	0, // [0:0] is the sub-list for field type_name
135}
136
137func init() { file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_init() }
138func file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_init() {
139	if File_google_actions_sdk_v2_conversation_prompt_suggestion_proto != nil {
140		return
141	}
142	if !protoimpl.UnsafeEnabled {
143		file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
144			switch v := v.(*Suggestion); i {
145			case 0:
146				return &v.state
147			case 1:
148				return &v.sizeCache
149			case 2:
150				return &v.unknownFields
151			default:
152				return nil
153			}
154		}
155	}
156	type x struct{}
157	out := protoimpl.TypeBuilder{
158		File: protoimpl.DescBuilder{
159			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
160			RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDesc,
161			NumEnums:      0,
162			NumMessages:   1,
163			NumExtensions: 0,
164			NumServices:   0,
165		},
166		GoTypes:           file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_goTypes,
167		DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_depIdxs,
168		MessageInfos:      file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_msgTypes,
169	}.Build()
170	File_google_actions_sdk_v2_conversation_prompt_suggestion_proto = out.File
171	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_rawDesc = nil
172	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_goTypes = nil
173	file_google_actions_sdk_v2_conversation_prompt_suggestion_proto_depIdxs = nil
174}
175