| 1 |
// Copyright 2025 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 v4.24.4 |
| 19 |
// source: google/apps/script/type/script_manifest.proto |
| 20 |
|
| 21 |
package _type |
| 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 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// Authorization header sent in add-on HTTP requests |
| 40 |
type HttpAuthorizationHeader int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Default value, equivalent to `SYSTEM_ID_TOKEN` |
| 44 |
HttpAuthorizationHeader_HTTP_AUTHORIZATION_HEADER_UNSPECIFIED HttpAuthorizationHeader = 0 |
| 45 |
// Send an ID token for the project-specific Google Workspace add-ons system |
| 46 |
// service account (default) |
| 47 |
HttpAuthorizationHeader_SYSTEM_ID_TOKEN HttpAuthorizationHeader = 1 |
| 48 |
// Send an ID token for the end user |
| 49 |
HttpAuthorizationHeader_USER_ID_TOKEN HttpAuthorizationHeader = 2 |
| 50 |
// Do not send an Authentication header |
| 51 |
HttpAuthorizationHeader_NONE HttpAuthorizationHeader = 3 |
| 52 |
) |
| 53 |
|
| 54 |
// Enum value maps for HttpAuthorizationHeader. |
| 55 |
var ( |
| 56 |
HttpAuthorizationHeader_name = map[int32]string{ |
| 57 |
0: "HTTP_AUTHORIZATION_HEADER_UNSPECIFIED", |
| 58 |
1: "SYSTEM_ID_TOKEN", |
| 59 |
2: "USER_ID_TOKEN", |
| 60 |
3: "NONE", |
| 61 |
} |
| 62 |
HttpAuthorizationHeader_value = map[string]int32{ |
| 63 |
"HTTP_AUTHORIZATION_HEADER_UNSPECIFIED": 0, |
| 64 |
"SYSTEM_ID_TOKEN": 1, |
| 65 |
"USER_ID_TOKEN": 2, |
| 66 |
"NONE": 3, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x HttpAuthorizationHeader) Enum() *HttpAuthorizationHeader { |
| 71 |
p := new(HttpAuthorizationHeader) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x HttpAuthorizationHeader) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (HttpAuthorizationHeader) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_google_apps_script_type_script_manifest_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (HttpAuthorizationHeader) Type() protoreflect.EnumType { |
| 85 |
return &file_google_apps_script_type_script_manifest_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x HttpAuthorizationHeader) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use HttpAuthorizationHeader.Descriptor instead. |
| 93 |
func (HttpAuthorizationHeader) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_google_apps_script_type_script_manifest_proto_rawDescGZIP(), []int{0} |
| 95 |
} |
| 96 |
|
| 97 |
// Add-on configuration that is shared across all add-on host applications. |
| 98 |
type CommonAddOnManifest struct { |
| 99 |
state protoimpl.MessageState |
| 100 |
sizeCache protoimpl.SizeCache |
| 101 |
unknownFields protoimpl.UnknownFields |
| 102 |
|
| 103 |
// Required. The display name of the add-on. |
| 104 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 105 |
// Required. The URL for the logo image shown in the add-on toolbar. |
| 106 |
LogoUrl string `protobuf:"bytes,2,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` |
| 107 |
// Common layout properties for the add-on cards. |
| 108 |
LayoutProperties *LayoutProperties `protobuf:"bytes,3,opt,name=layout_properties,json=layoutProperties,proto3" json:"layout_properties,omitempty"` |
| 109 |
// The widgets used in the add-on. If this field is not specified, |
| 110 |
// it indicates that default set is used. |
| 111 |
AddOnWidgetSet *AddOnWidgetSet `protobuf:"bytes,4,opt,name=add_on_widget_set,json=addOnWidgetSet,proto3" json:"add_on_widget_set,omitempty"` |
| 112 |
// Whether to pass locale information from host app. |
| 113 |
UseLocaleFromApp bool `protobuf:"varint,5,opt,name=use_locale_from_app,json=useLocaleFromApp,proto3" json:"use_locale_from_app,omitempty"` |
| 114 |
// Defines an endpoint that will be executed in any context, in |
| 115 |
// any host. Any cards generated by this function will always be available to |
| 116 |
// the user, but may be eclipsed by contextual content when this add-on |
| 117 |
// declares more targeted triggers. |
| 118 |
HomepageTrigger *HomepageExtensionPoint `protobuf:"bytes,6,opt,name=homepage_trigger,json=homepageTrigger,proto3" json:"homepage_trigger,omitempty"` |
| 119 |
// Defines a list of extension points in the universal action menu which |
| 120 |
// serves as a setting menu for the add-on. The extension point can be |
| 121 |
// link URL to open or an endpoint to execute as a form |
| 122 |
// submission. |
| 123 |
UniversalActions []*UniversalActionExtensionPoint `protobuf:"bytes,7,rep,name=universal_actions,json=universalActions,proto3" json:"universal_actions,omitempty"` |
| 124 |
// An OpenLink action |
| 125 |
// can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, |
| 126 |
// the URL must also |
| 127 |
// [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the |
| 128 |
// prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS |
| 129 |
// is assumed. Notice that HTTP links are automatically rewritten to HTTPS |
| 130 |
// links. |
| 131 |
OpenLinkUrlPrefixes *structpb.ListValue `protobuf:"bytes,8,opt,name=open_link_url_prefixes,json=openLinkUrlPrefixes,proto3" json:"open_link_url_prefixes,omitempty"` |
| 132 |
} |
| 133 |
|
| 134 |
func (x *CommonAddOnManifest) Reset() { |
| 135 |
*x = CommonAddOnManifest{} |
| 136 |
if protoimpl.UnsafeEnabled { |
| 137 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[0] |
| 138 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 139 |
ms.StoreMessageInfo(mi) |
| 140 |
} |
| 141 |
} |
| 142 |
|
| 143 |
func (x *CommonAddOnManifest) String() string { |
| 144 |
return protoimpl.X.MessageStringOf(x) |
| 145 |
} |
| 146 |
|
| 147 |
func (*CommonAddOnManifest) ProtoMessage() {} |
| 148 |
|
| 149 |
func (x *CommonAddOnManifest) ProtoReflect() protoreflect.Message { |
| 150 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[0] |
| 151 |
if protoimpl.UnsafeEnabled && x != nil { |
| 152 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 153 |
if ms.LoadMessageInfo() == nil { |
| 154 |
ms.StoreMessageInfo(mi) |
| 155 |
} |
| 156 |
return ms |
| 157 |
} |
| 158 |
return mi.MessageOf(x) |
| 159 |
} |
| 160 |
|
| 161 |
// Deprecated: Use CommonAddOnManifest.ProtoReflect.Descriptor instead. |
| 162 |
func (*CommonAddOnManifest) Descriptor() ([]byte, []int) { |
| 163 |
return file_google_apps_script_type_script_manifest_proto_rawDescGZIP(), []int{0} |
| 164 |
} |
| 165 |
|
| 166 |
func (x *CommonAddOnManifest) GetName() string { |
| 167 |
if x != nil { |
| 168 |
return x.Name |
| 169 |
} |
| 170 |
return "" |
| 171 |
} |
| 172 |
|
| 173 |
func (x *CommonAddOnManifest) GetLogoUrl() string { |
| 174 |
if x != nil { |
| 175 |
return x.LogoUrl |
| 176 |
} |
| 177 |
return "" |
| 178 |
} |
| 179 |
|
| 180 |
func (x *CommonAddOnManifest) GetLayoutProperties() *LayoutProperties { |
| 181 |
if x != nil { |
| 182 |
return x.LayoutProperties |
| 183 |
} |
| 184 |
return nil |
| 185 |
} |
| 186 |
|
| 187 |
func (x *CommonAddOnManifest) GetAddOnWidgetSet() *AddOnWidgetSet { |
| 188 |
if x != nil { |
| 189 |
return x.AddOnWidgetSet |
| 190 |
} |
| 191 |
return nil |
| 192 |
} |
| 193 |
|
| 194 |
func (x *CommonAddOnManifest) GetUseLocaleFromApp() bool { |
| 195 |
if x != nil { |
| 196 |
return x.UseLocaleFromApp |
| 197 |
} |
| 198 |
return false |
| 199 |
} |
| 200 |
|
| 201 |
func (x *CommonAddOnManifest) GetHomepageTrigger() *HomepageExtensionPoint { |
| 202 |
if x != nil { |
| 203 |
return x.HomepageTrigger |
| 204 |
} |
| 205 |
return nil |
| 206 |
} |
| 207 |
|
| 208 |
func (x *CommonAddOnManifest) GetUniversalActions() []*UniversalActionExtensionPoint { |
| 209 |
if x != nil { |
| 210 |
return x.UniversalActions |
| 211 |
} |
| 212 |
return nil |
| 213 |
} |
| 214 |
|
| 215 |
func (x *CommonAddOnManifest) GetOpenLinkUrlPrefixes() *structpb.ListValue { |
| 216 |
if x != nil { |
| 217 |
return x.OpenLinkUrlPrefixes |
| 218 |
} |
| 219 |
return nil |
| 220 |
} |
| 221 |
|
| 222 |
// Card layout properties shared across all add-on host applications. |
| 223 |
type LayoutProperties struct { |
| 224 |
state protoimpl.MessageState |
| 225 |
sizeCache protoimpl.SizeCache |
| 226 |
unknownFields protoimpl.UnknownFields |
| 227 |
|
| 228 |
// The primary color of the add-on. It sets the color of toolbar. If no |
| 229 |
// primary color is set explicitly, the default value provided by the |
| 230 |
// framework is used. |
| 231 |
PrimaryColor string `protobuf:"bytes,1,opt,name=primary_color,json=primaryColor,proto3" json:"primary_color,omitempty"` |
| 232 |
// The secondary color of the add-on. It sets the color of buttons. |
| 233 |
// If primary color is set but no secondary color is set, the |
| 234 |
// secondary color is the same as the primary color. If neither primary |
| 235 |
// color nor secondary color is set, the default value provided by the |
| 236 |
// framework is used. |
| 237 |
SecondaryColor string `protobuf:"bytes,2,opt,name=secondary_color,json=secondaryColor,proto3" json:"secondary_color,omitempty"` |
| 238 |
} |
| 239 |
|
| 240 |
func (x *LayoutProperties) Reset() { |
| 241 |
*x = LayoutProperties{} |
| 242 |
if protoimpl.UnsafeEnabled { |
| 243 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[1] |
| 244 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 245 |
ms.StoreMessageInfo(mi) |
| 246 |
} |
| 247 |
} |
| 248 |
|
| 249 |
func (x *LayoutProperties) String() string { |
| 250 |
return protoimpl.X.MessageStringOf(x) |
| 251 |
} |
| 252 |
|
| 253 |
func (*LayoutProperties) ProtoMessage() {} |
| 254 |
|
| 255 |
func (x *LayoutProperties) ProtoReflect() protoreflect.Message { |
| 256 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[1] |
| 257 |
if protoimpl.UnsafeEnabled && x != nil { |
| 258 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 259 |
if ms.LoadMessageInfo() == nil { |
| 260 |
ms.StoreMessageInfo(mi) |
| 261 |
} |
| 262 |
return ms |
| 263 |
} |
| 264 |
return mi.MessageOf(x) |
| 265 |
} |
| 266 |
|
| 267 |
// Deprecated: Use LayoutProperties.ProtoReflect.Descriptor instead. |
| 268 |
func (*LayoutProperties) Descriptor() ([]byte, []int) { |
| 269 |
return file_google_apps_script_type_script_manifest_proto_rawDescGZIP(), []int{1} |
| 270 |
} |
| 271 |
|
| 272 |
func (x *LayoutProperties) GetPrimaryColor() string { |
| 273 |
if x != nil { |
| 274 |
return x.PrimaryColor |
| 275 |
} |
| 276 |
return "" |
| 277 |
} |
| 278 |
|
| 279 |
func (x *LayoutProperties) GetSecondaryColor() string { |
| 280 |
if x != nil { |
| 281 |
return x.SecondaryColor |
| 282 |
} |
| 283 |
return "" |
| 284 |
} |
| 285 |
|
| 286 |
// Options for sending requests to add-on HTTP endpoints |
| 287 |
type HttpOptions struct { |
| 288 |
state protoimpl.MessageState |
| 289 |
sizeCache protoimpl.SizeCache |
| 290 |
unknownFields protoimpl.UnknownFields |
| 291 |
|
| 292 |
// Configuration for the token sent in the HTTP Authorization header |
| 293 |
AuthorizationHeader HttpAuthorizationHeader `protobuf:"varint,1,opt,name=authorization_header,json=authorizationHeader,proto3,enum=google.apps.script.type.HttpAuthorizationHeader" json:"authorization_header,omitempty"` |
| 294 |
} |
| 295 |
|
| 296 |
func (x *HttpOptions) Reset() { |
| 297 |
*x = HttpOptions{} |
| 298 |
if protoimpl.UnsafeEnabled { |
| 299 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[2] |
| 300 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 301 |
ms.StoreMessageInfo(mi) |
| 302 |
} |
| 303 |
} |
| 304 |
|
| 305 |
func (x *HttpOptions) String() string { |
| 306 |
return protoimpl.X.MessageStringOf(x) |
| 307 |
} |
| 308 |
|
| 309 |
func (*HttpOptions) ProtoMessage() {} |
| 310 |
|
| 311 |
func (x *HttpOptions) ProtoReflect() protoreflect.Message { |
| 312 |
mi := &file_google_apps_script_type_script_manifest_proto_msgTypes[2] |
| 313 |
if protoimpl.UnsafeEnabled && x != nil { |
| 314 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 315 |
if ms.LoadMessageInfo() == nil { |
| 316 |
ms.StoreMessageInfo(mi) |
| 317 |
} |
| 318 |
return ms |
| 319 |
} |
| 320 |
return mi.MessageOf(x) |
| 321 |
} |
| 322 |
|
| 323 |
// Deprecated: Use HttpOptions.ProtoReflect.Descriptor instead. |
| 324 |
func (*HttpOptions) Descriptor() ([]byte, []int) { |
| 325 |
return file_google_apps_script_type_script_manifest_proto_rawDescGZIP(), []int{2} |
| 326 |
} |
| 327 |
|
| 328 |
func (x *HttpOptions) GetAuthorizationHeader() HttpAuthorizationHeader { |
| 329 |
if x != nil { |
| 330 |
return x.AuthorizationHeader |
| 331 |
} |
| 332 |
return HttpAuthorizationHeader_HTTP_AUTHORIZATION_HEADER_UNSPECIFIED |
| 333 |
} |
| 334 |
|
| 335 |
var File_google_apps_script_type_script_manifest_proto protoreflect.FileDescriptor |
| 336 |
|
| 337 |
var file_google_apps_script_type_script_manifest_proto_rawDesc = []byte{ |
| 338 |
0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x63, |
| 339 |
0x72, 0x69, 0x70, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 340 |
0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 341 |
0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, 0x72, |
| 342 |
0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 343 |
0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2f, 0x74, 0x79, 0x70, |
| 344 |
0x65, 0x2f, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73, |
| 345 |
0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 346 |
0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2f, 0x74, 0x79, 0x70, |
| 347 |
0x65, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, |
| 348 |
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 349 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, |
| 350 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x04, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, |
| 351 |
0x41, 0x64, 0x64, 0x4f, 0x6e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, |
| 352 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, |
| 353 |
0x65, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, |
| 354 |
0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x6f, 0x55, 0x72, 0x6c, 0x12, 0x56, 0x0a, 0x11, |
| 355 |
0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, |
| 356 |
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 357 |
0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, |
| 358 |
0x65, 0x2e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, |
| 359 |
0x65, 0x73, 0x52, 0x10, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, |
| 360 |
0x74, 0x69, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x6f, 0x6e, 0x5f, 0x77, |
| 361 |
0x69, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 362 |
0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, |
| 363 |
0x72, 0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x6e, 0x57, |
| 364 |
0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x65, 0x74, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x4f, 0x6e, 0x57, |
| 365 |
0x69, 0x64, 0x67, 0x65, 0x74, 0x53, 0x65, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x5f, |
| 366 |
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x70, 0x70, 0x18, |
| 367 |
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x75, 0x73, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x65, |
| 368 |
0x46, 0x72, 0x6f, 0x6d, 0x41, 0x70, 0x70, 0x12, 0x5a, 0x0a, 0x10, 0x68, 0x6f, 0x6d, 0x65, 0x70, |
| 369 |
0x61, 0x67, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, |
| 370 |
0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, |
| 371 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x48, 0x6f, 0x6d, 0x65, |
| 372 |
0x70, 0x61, 0x67, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, |
| 373 |
0x6e, 0x74, 0x52, 0x0f, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x54, 0x72, 0x69, 0x67, |
| 374 |
0x67, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x11, 0x75, 0x6e, 0x69, 0x76, 0x65, 0x72, 0x73, 0x61, 0x6c, |
| 375 |
0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, |
| 376 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, 0x72, |
| 377 |
0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x55, 0x6e, 0x69, 0x76, 0x65, 0x72, 0x73, |
| 378 |
0x61, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 379 |
0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x10, 0x75, 0x6e, 0x69, 0x76, 0x65, 0x72, 0x73, 0x61, |
| 380 |
0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4f, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x6e, |
| 381 |
0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, |
| 382 |
0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 383 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, |
| 384 |
0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, 0x6f, 0x70, 0x65, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x55, 0x72, |
| 385 |
0x6c, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x65, 0x73, 0x22, 0x60, 0x0a, 0x10, 0x4c, 0x61, 0x79, |
| 386 |
0x6f, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, |
| 387 |
0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01, |
| 388 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6c, |
| 389 |
0x6f, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, |
| 390 |
0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x63, |
| 391 |
0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x72, 0x0a, 0x0b, 0x48, |
| 392 |
0x74, 0x74, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x63, 0x0a, 0x14, 0x61, 0x75, |
| 393 |
0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, |
| 394 |
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 395 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2e, 0x74, 0x79, |
| 396 |
0x70, 0x65, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, |
| 397 |
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, |
| 398 |
0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2a, |
| 399 |
0x76, 0x0a, 0x17, 0x48, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, |
| 400 |
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x25, 0x48, 0x54, |
| 401 |
0x54, 0x50, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, |
| 402 |
0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 403 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, |
| 404 |
0x49, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x53, |
| 405 |
0x45, 0x52, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, |
| 406 |
0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x42, 0xa8, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, |
| 407 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x73, 0x63, 0x72, 0x69, |
| 408 |
0x70, 0x74, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 409 |
0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, |
| 410 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 411 |
0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2f, 0x74, 0x79, 0x70, |
| 412 |
0x65, 0xaa, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, |
| 413 |
0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0xca, 0x02, 0x17, 0x47, 0x6f, |
| 414 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 415 |
0x5c, 0x54, 0x79, 0x70, 0x65, 0xea, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, |
| 416 |
0x41, 0x70, 0x70, 0x73, 0x3a, 0x3a, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x3a, 0x3a, 0x54, 0x79, |
| 417 |
0x70, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 418 |
} |
| 419 |
|
| 420 |
var ( |
| 421 |
file_google_apps_script_type_script_manifest_proto_rawDescOnce sync.Once |
| 422 |
file_google_apps_script_type_script_manifest_proto_rawDescData = file_google_apps_script_type_script_manifest_proto_rawDesc |
| 423 |
) |
| 424 |
|
| 425 |
func file_google_apps_script_type_script_manifest_proto_rawDescGZIP() []byte { |
| 426 |
file_google_apps_script_type_script_manifest_proto_rawDescOnce.Do(func() { |
| 427 |
file_google_apps_script_type_script_manifest_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_script_type_script_manifest_proto_rawDescData) |
| 428 |
}) |
| 429 |
return file_google_apps_script_type_script_manifest_proto_rawDescData |
| 430 |
} |
| 431 |
|
| 432 |
var file_google_apps_script_type_script_manifest_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 433 |
var file_google_apps_script_type_script_manifest_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 434 |
var file_google_apps_script_type_script_manifest_proto_goTypes = []interface{}{ |
| 435 |
(HttpAuthorizationHeader)(0), // 0: google.apps.script.type.HttpAuthorizationHeader |
| 436 |
(*CommonAddOnManifest)(nil), // 1: google.apps.script.type.CommonAddOnManifest |
| 437 |
(*LayoutProperties)(nil), // 2: google.apps.script.type.LayoutProperties |
| 438 |
(*HttpOptions)(nil), // 3: google.apps.script.type.HttpOptions |
| 439 |
(*AddOnWidgetSet)(nil), // 4: google.apps.script.type.AddOnWidgetSet |
| 440 |
(*HomepageExtensionPoint)(nil), // 5: google.apps.script.type.HomepageExtensionPoint |
| 441 |
(*UniversalActionExtensionPoint)(nil), // 6: google.apps.script.type.UniversalActionExtensionPoint |
| 442 |
(*structpb.ListValue)(nil), // 7: google.protobuf.ListValue |
| 443 |
} |
| 444 |
var file_google_apps_script_type_script_manifest_proto_depIdxs = []int32{ |
| 445 |
2, // 0: google.apps.script.type.CommonAddOnManifest.layout_properties:type_name -> google.apps.script.type.LayoutProperties |
| 446 |
4, // 1: google.apps.script.type.CommonAddOnManifest.add_on_widget_set:type_name -> google.apps.script.type.AddOnWidgetSet |
| 447 |
5, // 2: google.apps.script.type.CommonAddOnManifest.homepage_trigger:type_name -> google.apps.script.type.HomepageExtensionPoint |
| 448 |
6, // 3: google.apps.script.type.CommonAddOnManifest.universal_actions:type_name -> google.apps.script.type.UniversalActionExtensionPoint |
| 449 |
7, // 4: google.apps.script.type.CommonAddOnManifest.open_link_url_prefixes:type_name -> google.protobuf.ListValue |
| 450 |
0, // 5: google.apps.script.type.HttpOptions.authorization_header:type_name -> google.apps.script.type.HttpAuthorizationHeader |
| 451 |
6, // [6:6] is the sub-list for method output_type |
| 452 |
6, // [6:6] is the sub-list for method input_type |
| 453 |
6, // [6:6] is the sub-list for extension type_name |
| 454 |
6, // [6:6] is the sub-list for extension extendee |
| 455 |
0, // [0:6] is the sub-list for field type_name |
| 456 |
} |
| 457 |
|
| 458 |
func init() { file_google_apps_script_type_script_manifest_proto_init() } |
| 459 |
func file_google_apps_script_type_script_manifest_proto_init() { |
| 460 |
if File_google_apps_script_type_script_manifest_proto != nil { |
| 461 |
return |
| 462 |
} |
| 463 |
file_google_apps_script_type_addon_widget_set_proto_init() |
| 464 |
file_google_apps_script_type_extension_point_proto_init() |
| 465 |
if !protoimpl.UnsafeEnabled { |
| 466 |
file_google_apps_script_type_script_manifest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 467 |
switch v := v.(*CommonAddOnManifest); i { |
| 468 |
case 0: |
| 469 |
return &v.state |
| 470 |
case 1: |
| 471 |
return &v.sizeCache |
| 472 |
case 2: |
| 473 |
return &v.unknownFields |
| 474 |
default: |
| 475 |
return nil |
| 476 |
} |
| 477 |
} |
| 478 |
file_google_apps_script_type_script_manifest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 479 |
switch v := v.(*LayoutProperties); i { |
| 480 |
case 0: |
| 481 |
return &v.state |
| 482 |
case 1: |
| 483 |
return &v.sizeCache |
| 484 |
case 2: |
| 485 |
return &v.unknownFields |
| 486 |
default: |
| 487 |
return nil |
| 488 |
} |
| 489 |
} |
| 490 |
file_google_apps_script_type_script_manifest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 491 |
switch v := v.(*HttpOptions); i { |
| 492 |
case 0: |
| 493 |
return &v.state |
| 494 |
case 1: |
| 495 |
return &v.sizeCache |
| 496 |
case 2: |
| 497 |
return &v.unknownFields |
| 498 |
default: |
| 499 |
return nil |
| 500 |
} |
| 501 |
} |
| 502 |
} |
| 503 |
type x struct{} |
| 504 |
out := protoimpl.TypeBuilder{ |
| 505 |
File: protoimpl.DescBuilder{ |
| 506 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 507 |
RawDescriptor: file_google_apps_script_type_script_manifest_proto_rawDesc, |
| 508 |
NumEnums: 1, |
| 509 |
NumMessages: 3, |
| 510 |
NumExtensions: 0, |
| 511 |
NumServices: 0, |
| 512 |
}, |
| 513 |
GoTypes: file_google_apps_script_type_script_manifest_proto_goTypes, |
| 514 |
DependencyIndexes: file_google_apps_script_type_script_manifest_proto_depIdxs, |
| 515 |
EnumInfos: file_google_apps_script_type_script_manifest_proto_enumTypes, |
| 516 |
MessageInfos: file_google_apps_script_type_script_manifest_proto_msgTypes, |
| 517 |
}.Build() |
| 518 |
File_google_apps_script_type_script_manifest_proto = out.File |
| 519 |
file_google_apps_script_type_script_manifest_proto_rawDesc = nil |
| 520 |
file_google_apps_script_type_script_manifest_proto_goTypes = nil |
| 521 |
file_google_apps_script_type_script_manifest_proto_depIdxs = nil |
| 522 |
} |