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 structpb "google.golang.org/protobuf/types/known/structpb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41
42
43 type Canvas struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48
49
50 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
51
52
53
54
55
56 Data []*structpb.Value `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
57
58 SuppressMic bool `protobuf:"varint,3,opt,name=suppress_mic,json=suppressMic,proto3" json:"suppress_mic,omitempty"`
59
60
61
62
63 EnableFullScreen bool `protobuf:"varint,8,opt,name=enable_full_screen,json=enableFullScreen,proto3" json:"enable_full_screen,omitempty"`
64 }
65
66 func (x *Canvas) Reset() {
67 *x = Canvas{}
68 if protoimpl.UnsafeEnabled {
69 mi := &file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73 }
74
75 func (x *Canvas) String() string {
76 return protoimpl.X.MessageStringOf(x)
77 }
78
79 func (*Canvas) ProtoMessage() {}
80
81 func (x *Canvas) ProtoReflect() protoreflect.Message {
82 mi := &file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_msgTypes[0]
83 if protoimpl.UnsafeEnabled && x != nil {
84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85 if ms.LoadMessageInfo() == nil {
86 ms.StoreMessageInfo(mi)
87 }
88 return ms
89 }
90 return mi.MessageOf(x)
91 }
92
93
94 func (*Canvas) Descriptor() ([]byte, []int) {
95 return file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescGZIP(), []int{0}
96 }
97
98 func (x *Canvas) GetUrl() string {
99 if x != nil {
100 return x.Url
101 }
102 return ""
103 }
104
105 func (x *Canvas) GetData() []*structpb.Value {
106 if x != nil {
107 return x.Data
108 }
109 return nil
110 }
111
112 func (x *Canvas) GetSuppressMic() bool {
113 if x != nil {
114 return x.SuppressMic
115 }
116 return false
117 }
118
119 func (x *Canvas) GetEnableFullScreen() bool {
120 if x != nil {
121 return x.EnableFullScreen
122 }
123 return false
124 }
125
126 var File_google_actions_sdk_v2_conversation_prompt_content_canvas_proto protoreflect.FileDescriptor
127
128 var file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDesc = []byte{
129 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
130 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
131 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
132 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
133 0x12, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
134 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
135 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
136 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
137 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x06, 0x43, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x12, 0x10, 0x0a,
138 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
139 0x2a, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
140 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
141 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x73,
142 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6d, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28,
143 0x08, 0x52, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x69, 0x63, 0x12, 0x2c,
144 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x73, 0x63,
145 0x72, 0x65, 0x65, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x6e, 0x61, 0x62,
146 0x6c, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x42, 0x87, 0x01, 0x0a,
147 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69,
148 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x76, 0x65,
149 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x43, 0x61, 0x6e, 0x76, 0x61, 0x73, 0x50,
150 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
151 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
152 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63,
153 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e,
154 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
155 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
156 }
157
158 var (
159 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescOnce sync.Once
160 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescData = file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDesc
161 )
162
163 func file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescGZIP() []byte {
164 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescOnce.Do(func() {
165 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescData)
166 })
167 return file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDescData
168 }
169
170 var file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
171 var file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_goTypes = []interface{}{
172 (*Canvas)(nil),
173 (*structpb.Value)(nil),
174 }
175 var file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_depIdxs = []int32{
176 1,
177 1,
178 1,
179 1,
180 1,
181 0,
182 }
183
184 func init() { file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_init() }
185 func file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_init() {
186 if File_google_actions_sdk_v2_conversation_prompt_content_canvas_proto != nil {
187 return
188 }
189 if !protoimpl.UnsafeEnabled {
190 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
191 switch v := v.(*Canvas); i {
192 case 0:
193 return &v.state
194 case 1:
195 return &v.sizeCache
196 case 2:
197 return &v.unknownFields
198 default:
199 return nil
200 }
201 }
202 }
203 type x struct{}
204 out := protoimpl.TypeBuilder{
205 File: protoimpl.DescBuilder{
206 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
207 RawDescriptor: file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDesc,
208 NumEnums: 0,
209 NumMessages: 1,
210 NumExtensions: 0,
211 NumServices: 0,
212 },
213 GoTypes: file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_goTypes,
214 DependencyIndexes: file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_depIdxs,
215 MessageInfos: file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_msgTypes,
216 }.Build()
217 File_google_actions_sdk_v2_conversation_prompt_content_canvas_proto = out.File
218 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_rawDesc = nil
219 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_goTypes = nil
220 file_google_actions_sdk_v2_conversation_prompt_content_canvas_proto_depIdxs = nil
221 }
222
View as plain text