1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package conversation
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
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type Simple struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44
45
46
47
48 Speech string `protobuf:"bytes,1,opt,name=speech,proto3" json:"speech,omitempty"`
49
50
51
52
53
54 Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
55 }
56
57 func (x *Simple) Reset() {
58 *x = Simple{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_actions_sdk_v2_conversation_prompt_simple_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *Simple) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*Simple) ProtoMessage() {}
71
72 func (x *Simple) ProtoReflect() protoreflect.Message {
73 mi := &file_google_actions_sdk_v2_conversation_prompt_simple_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84
85 func (*Simple) Descriptor() ([]byte, []int) {
86 return file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *Simple) GetSpeech() string {
90 if x != nil {
91 return x.Speech
92 }
93 return ""
94 }
95
96 func (x *Simple) GetText() string {
97 if x != nil {
98 return x.Text
99 }
100 return ""
101 }
102
103 var File_google_actions_sdk_v2_conversation_prompt_simple_proto protoreflect.FileDescriptor
104
105 var file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDesc = []byte{
106 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
107 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
108 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x73, 0x69, 0x6d, 0x70,
109 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
110 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e,
111 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x34, 0x0a, 0x06,
112 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68,
113 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x12, 0x12,
114 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
115 0x78, 0x74, 0x42, 0x87, 0x01, 0x0a, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
116 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32,
117 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x53,
118 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f,
119 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
120 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
121 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f,
122 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b,
123 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
124 0x6f, 0x74, 0x6f, 0x33,
125 }
126
127 var (
128 file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescOnce sync.Once
129 file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDesc
130 )
131
132 func file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescGZIP() []byte {
133 file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescOnce.Do(func() {
134 file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescData)
135 })
136 return file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDescData
137 }
138
139 var file_google_actions_sdk_v2_conversation_prompt_simple_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
140 var file_google_actions_sdk_v2_conversation_prompt_simple_proto_goTypes = []interface{}{
141 (*Simple)(nil),
142 }
143 var file_google_actions_sdk_v2_conversation_prompt_simple_proto_depIdxs = []int32{
144 0,
145 0,
146 0,
147 0,
148 0,
149 }
150
151 func init() { file_google_actions_sdk_v2_conversation_prompt_simple_proto_init() }
152 func file_google_actions_sdk_v2_conversation_prompt_simple_proto_init() {
153 if File_google_actions_sdk_v2_conversation_prompt_simple_proto != nil {
154 return
155 }
156 if !protoimpl.UnsafeEnabled {
157 file_google_actions_sdk_v2_conversation_prompt_simple_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
158 switch v := v.(*Simple); i {
159 case 0:
160 return &v.state
161 case 1:
162 return &v.sizeCache
163 case 2:
164 return &v.unknownFields
165 default:
166 return nil
167 }
168 }
169 }
170 type x struct{}
171 out := protoimpl.TypeBuilder{
172 File: protoimpl.DescBuilder{
173 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
174 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDesc,
175 NumEnums: 0,
176 NumMessages: 1,
177 NumExtensions: 0,
178 NumServices: 0,
179 },
180 GoTypes: file_google_actions_sdk_v2_conversation_prompt_simple_proto_goTypes,
181 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_simple_proto_depIdxs,
182 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_simple_proto_msgTypes,
183 }.Build()
184 File_google_actions_sdk_v2_conversation_prompt_simple_proto = out.File
185 file_google_actions_sdk_v2_conversation_prompt_simple_proto_rawDesc = nil
186 file_google_actions_sdk_v2_conversation_prompt_simple_proto_goTypes = nil
187 file_google_actions_sdk_v2_conversation_prompt_simple_proto_depIdxs = nil
188 }
189
View as plain text