| 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/actions/sdk/v2/account_linking.proto |
| 20 |
|
| 21 |
package sdk |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 29 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 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 |
// The type of Account Linking to perform. |
| 40 |
type AccountLinking_LinkingType int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Unspecified. |
| 44 |
AccountLinking_LINKING_TYPE_UNSPECIFIED AccountLinking_LinkingType = 0 |
| 45 |
// Google Sign In linking type. |
| 46 |
// If using this linking type, no OAuth-related fields need to be set below. |
| 47 |
AccountLinking_GOOGLE_SIGN_IN AccountLinking_LinkingType = 1 |
| 48 |
// OAuth and Google Sign In linking type. |
| 49 |
AccountLinking_OAUTH_AND_GOOGLE_SIGN_IN AccountLinking_LinkingType = 2 |
| 50 |
// OAuth linking type. |
| 51 |
AccountLinking_OAUTH AccountLinking_LinkingType = 3 |
| 52 |
) |
| 53 |
|
| 54 |
// Enum value maps for AccountLinking_LinkingType. |
| 55 |
var ( |
| 56 |
AccountLinking_LinkingType_name = map[int32]string{ |
| 57 |
0: "LINKING_TYPE_UNSPECIFIED", |
| 58 |
1: "GOOGLE_SIGN_IN", |
| 59 |
2: "OAUTH_AND_GOOGLE_SIGN_IN", |
| 60 |
3: "OAUTH", |
| 61 |
} |
| 62 |
AccountLinking_LinkingType_value = map[string]int32{ |
| 63 |
"LINKING_TYPE_UNSPECIFIED": 0, |
| 64 |
"GOOGLE_SIGN_IN": 1, |
| 65 |
"OAUTH_AND_GOOGLE_SIGN_IN": 2, |
| 66 |
"OAUTH": 3, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x AccountLinking_LinkingType) Enum() *AccountLinking_LinkingType { |
| 71 |
p := new(AccountLinking_LinkingType) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x AccountLinking_LinkingType) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (AccountLinking_LinkingType) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_google_actions_sdk_v2_account_linking_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (AccountLinking_LinkingType) Type() protoreflect.EnumType { |
| 85 |
return &file_google_actions_sdk_v2_account_linking_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x AccountLinking_LinkingType) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use AccountLinking_LinkingType.Descriptor instead. |
| 93 |
func (AccountLinking_LinkingType) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_google_actions_sdk_v2_account_linking_proto_rawDescGZIP(), []int{0, 0} |
| 95 |
} |
| 96 |
|
| 97 |
// The OAuth2 grant type Google uses to guide the user to sign in to your |
| 98 |
// App's web service. |
| 99 |
type AccountLinking_AuthGrantType int32 |
| 100 |
|
| 101 |
const ( |
| 102 |
// Unspecified. |
| 103 |
AccountLinking_AUTH_GRANT_TYPE_UNSPECIFIED AccountLinking_AuthGrantType = 0 |
| 104 |
// Authorization code grant. Requires you to provide both |
| 105 |
// authentication URL and access token URL. |
| 106 |
AccountLinking_AUTH_CODE AccountLinking_AuthGrantType = 1 |
| 107 |
// Implicit code grant. Only requires you to provide authentication |
| 108 |
// URL. |
| 109 |
AccountLinking_IMPLICIT AccountLinking_AuthGrantType = 2 |
| 110 |
) |
| 111 |
|
| 112 |
// Enum value maps for AccountLinking_AuthGrantType. |
| 113 |
var ( |
| 114 |
AccountLinking_AuthGrantType_name = map[int32]string{ |
| 115 |
0: "AUTH_GRANT_TYPE_UNSPECIFIED", |
| 116 |
1: "AUTH_CODE", |
| 117 |
2: "IMPLICIT", |
| 118 |
} |
| 119 |
AccountLinking_AuthGrantType_value = map[string]int32{ |
| 120 |
"AUTH_GRANT_TYPE_UNSPECIFIED": 0, |
| 121 |
"AUTH_CODE": 1, |
| 122 |
"IMPLICIT": 2, |
| 123 |
} |
| 124 |
) |
| 125 |
|
| 126 |
func (x AccountLinking_AuthGrantType) Enum() *AccountLinking_AuthGrantType { |
| 127 |
p := new(AccountLinking_AuthGrantType) |
| 128 |
*p = x |
| 129 |
return p |
| 130 |
} |
| 131 |
|
| 132 |
func (x AccountLinking_AuthGrantType) String() string { |
| 133 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 134 |
} |
| 135 |
|
| 136 |
func (AccountLinking_AuthGrantType) Descriptor() protoreflect.EnumDescriptor { |
| 137 |
return file_google_actions_sdk_v2_account_linking_proto_enumTypes[1].Descriptor() |
| 138 |
} |
| 139 |
|
| 140 |
func (AccountLinking_AuthGrantType) Type() protoreflect.EnumType { |
| 141 |
return &file_google_actions_sdk_v2_account_linking_proto_enumTypes[1] |
| 142 |
} |
| 143 |
|
| 144 |
func (x AccountLinking_AuthGrantType) Number() protoreflect.EnumNumber { |
| 145 |
return protoreflect.EnumNumber(x) |
| 146 |
} |
| 147 |
|
| 148 |
// Deprecated: Use AccountLinking_AuthGrantType.Descriptor instead. |
| 149 |
func (AccountLinking_AuthGrantType) EnumDescriptor() ([]byte, []int) { |
| 150 |
return file_google_actions_sdk_v2_account_linking_proto_rawDescGZIP(), []int{0, 1} |
| 151 |
} |
| 152 |
|
| 153 |
// AccountLinking allows Google to guide the user to sign-in to the App's web |
| 154 |
// services. |
| 155 |
// |
| 156 |
// For Google Sign In and OAuth + Google Sign In linking types, Google generates |
| 157 |
// a client ID identifying your App to Google ("Client ID issued by Google to |
| 158 |
// your Actions" on Console UI). This field is read-only and can be checked by |
| 159 |
// navigating to the Console UI's Account Linking page. |
| 160 |
// See: https://developers.google.com/assistant/identity/google-sign-in |
| 161 |
// |
| 162 |
// Note: For all account linking setting types (except for Google Sign In), you |
| 163 |
// must provide a username and password for a test account in |
| 164 |
// Settings.testing_instructions for the review team to review the app (they |
| 165 |
// will not be visible to users). |
| 166 |
type AccountLinking struct { |
| 167 |
state protoimpl.MessageState |
| 168 |
sizeCache protoimpl.SizeCache |
| 169 |
unknownFields protoimpl.UnknownFields |
| 170 |
|
| 171 |
// Required. If `true`, users are allowed to sign up for new accounts via voice. |
| 172 |
// If `false`, account creation is only allowed on your website. Select this |
| 173 |
// option if you want to display your terms of service or obtain user consents |
| 174 |
// during sign-up. |
| 175 |
// linking_type cannot be GOOGLE_SIGN_IN when this is `false`. |
| 176 |
// linking_type cannot be OAUTH when this is `true`. |
| 177 |
EnableAccountCreation bool `protobuf:"varint,1,opt,name=enable_account_creation,json=enableAccountCreation,proto3" json:"enable_account_creation,omitempty"` |
| 178 |
// Required. The linking type to use. |
| 179 |
// See https://developers.google.com/assistant/identity for further details on |
| 180 |
// the linking types. |
| 181 |
LinkingType AccountLinking_LinkingType `protobuf:"varint,2,opt,name=linking_type,json=linkingType,proto3,enum=google.actions.sdk.v2.AccountLinking_LinkingType" json:"linking_type,omitempty"` |
| 182 |
// Optional. Indicates the type of authentication for OAUTH linking_type. |
| 183 |
AuthGrantType AccountLinking_AuthGrantType `protobuf:"varint,3,opt,name=auth_grant_type,json=authGrantType,proto3,enum=google.actions.sdk.v2.AccountLinking_AuthGrantType" json:"auth_grant_type,omitempty"` |
| 184 |
// Optional. Client ID issued by your App to Google. |
| 185 |
// This is the OAuth2 Client ID identifying Google to your service. |
| 186 |
// Only set when using OAuth. |
| 187 |
AppClientId string `protobuf:"bytes,4,opt,name=app_client_id,json=appClientId,proto3" json:"app_client_id,omitempty"` |
| 188 |
// Optional. Endpoint for your sign-in web page that supports OAuth2 code or |
| 189 |
// implicit flows. |
| 190 |
// URL must use HTTPS. |
| 191 |
// Only set when using OAuth. |
| 192 |
AuthorizationUrl string `protobuf:"bytes,5,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` |
| 193 |
// Optional. OAuth2 endpoint for token exchange. |
| 194 |
// URL must use HTTPS. |
| 195 |
// This is not set when only using OAuth with IMPLICIT grant as the |
| 196 |
// linking type. |
| 197 |
// Only set when using OAuth. |
| 198 |
TokenUrl string `protobuf:"bytes,6,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` |
| 199 |
// Optional. List of permissions the user must consent to in order to use |
| 200 |
// your service. |
| 201 |
// Only set when using OAuth. |
| 202 |
// Make sure to provide a Terms of Service in the directory information in |
| 203 |
// LocalizedSettings.terms_of_service_url section if specifying this field. |
| 204 |
Scopes []string `protobuf:"bytes,7,rep,name=scopes,proto3" json:"scopes,omitempty"` |
| 205 |
// Optional. This is the web page on your service which describes the |
| 206 |
// permissions the user is granting to Google. |
| 207 |
// Only set if using OAuth and Google Sign In. |
| 208 |
// Make sure to provide a Terms of Service in the directory information in |
| 209 |
// LocalizedSettings.terms_of_service_url section if specifying this field. |
| 210 |
LearnMoreUrl string `protobuf:"bytes,8,opt,name=learn_more_url,json=learnMoreUrl,proto3" json:"learn_more_url,omitempty"` |
| 211 |
// Optional. If true, allow Google to transmit client ID and secret via HTTP |
| 212 |
// basic auth header. Otherwise, Google uses the client ID and secret inside |
| 213 |
// the post body. |
| 214 |
// Only set when using OAuth. |
| 215 |
// Make sure to provide a Terms of Service in the directory information in |
| 216 |
// LocalizedSettings.terms_of_service_url section if specifying this field. |
| 217 |
UseBasicAuthHeader bool `protobuf:"varint,9,opt,name=use_basic_auth_header,json=useBasicAuthHeader,proto3" json:"use_basic_auth_header,omitempty"` |
| 218 |
} |
| 219 |
|
| 220 |
func (x *AccountLinking) Reset() { |
| 221 |
*x = AccountLinking{} |
| 222 |
if protoimpl.UnsafeEnabled { |
| 223 |
mi := &file_google_actions_sdk_v2_account_linking_proto_msgTypes[0] |
| 224 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 225 |
ms.StoreMessageInfo(mi) |
| 226 |
} |
| 227 |
} |
| 228 |
|
| 229 |
func (x *AccountLinking) String() string { |
| 230 |
return protoimpl.X.MessageStringOf(x) |
| 231 |
} |
| 232 |
|
| 233 |
func (*AccountLinking) ProtoMessage() {} |
| 234 |
|
| 235 |
func (x *AccountLinking) ProtoReflect() protoreflect.Message { |
| 236 |
mi := &file_google_actions_sdk_v2_account_linking_proto_msgTypes[0] |
| 237 |
if protoimpl.UnsafeEnabled && x != nil { |
| 238 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 239 |
if ms.LoadMessageInfo() == nil { |
| 240 |
ms.StoreMessageInfo(mi) |
| 241 |
} |
| 242 |
return ms |
| 243 |
} |
| 244 |
return mi.MessageOf(x) |
| 245 |
} |
| 246 |
|
| 247 |
// Deprecated: Use AccountLinking.ProtoReflect.Descriptor instead. |
| 248 |
func (*AccountLinking) Descriptor() ([]byte, []int) { |
| 249 |
return file_google_actions_sdk_v2_account_linking_proto_rawDescGZIP(), []int{0} |
| 250 |
} |
| 251 |
|
| 252 |
func (x *AccountLinking) GetEnableAccountCreation() bool { |
| 253 |
if x != nil { |
| 254 |
return x.EnableAccountCreation |
| 255 |
} |
| 256 |
return false |
| 257 |
} |
| 258 |
|
| 259 |
func (x *AccountLinking) GetLinkingType() AccountLinking_LinkingType { |
| 260 |
if x != nil { |
| 261 |
return x.LinkingType |
| 262 |
} |
| 263 |
return AccountLinking_LINKING_TYPE_UNSPECIFIED |
| 264 |
} |
| 265 |
|
| 266 |
func (x *AccountLinking) GetAuthGrantType() AccountLinking_AuthGrantType { |
| 267 |
if x != nil { |
| 268 |
return x.AuthGrantType |
| 269 |
} |
| 270 |
return AccountLinking_AUTH_GRANT_TYPE_UNSPECIFIED |
| 271 |
} |
| 272 |
|
| 273 |
func (x *AccountLinking) GetAppClientId() string { |
| 274 |
if x != nil { |
| 275 |
return x.AppClientId |
| 276 |
} |
| 277 |
return "" |
| 278 |
} |
| 279 |
|
| 280 |
func (x *AccountLinking) GetAuthorizationUrl() string { |
| 281 |
if x != nil { |
| 282 |
return x.AuthorizationUrl |
| 283 |
} |
| 284 |
return "" |
| 285 |
} |
| 286 |
|
| 287 |
func (x *AccountLinking) GetTokenUrl() string { |
| 288 |
if x != nil { |
| 289 |
return x.TokenUrl |
| 290 |
} |
| 291 |
return "" |
| 292 |
} |
| 293 |
|
| 294 |
func (x *AccountLinking) GetScopes() []string { |
| 295 |
if x != nil { |
| 296 |
return x.Scopes |
| 297 |
} |
| 298 |
return nil |
| 299 |
} |
| 300 |
|
| 301 |
func (x *AccountLinking) GetLearnMoreUrl() string { |
| 302 |
if x != nil { |
| 303 |
return x.LearnMoreUrl |
| 304 |
} |
| 305 |
return "" |
| 306 |
} |
| 307 |
|
| 308 |
func (x *AccountLinking) GetUseBasicAuthHeader() bool { |
| 309 |
if x != nil { |
| 310 |
return x.UseBasicAuthHeader |
| 311 |
} |
| 312 |
return false |
| 313 |
} |
| 314 |
|
| 315 |
var File_google_actions_sdk_v2_account_linking_proto protoreflect.FileDescriptor |
| 316 |
|
| 317 |
var file_google_actions_sdk_v2_account_linking_proto_rawDesc = []byte{ |
| 318 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 319 |
0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, |
| 320 |
0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, |
| 321 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, |
| 322 |
0x6b, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 323 |
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, |
| 324 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x05, 0x0a, 0x0e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 325 |
0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x3b, 0x0a, 0x17, 0x65, 0x6e, 0x61, 0x62, |
| 326 |
0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, |
| 327 |
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x15, |
| 328 |
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, |
| 329 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, |
| 330 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, |
| 331 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, |
| 332 |
0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, |
| 333 |
0x6e, 0x67, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, |
| 334 |
0xe0, 0x41, 0x02, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, |
| 335 |
0x12, 0x60, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x74, |
| 336 |
0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 337 |
0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, |
| 338 |
0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, |
| 339 |
0x2e, 0x41, 0x75, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, |
| 340 |
0xe0, 0x41, 0x01, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, |
| 341 |
0x70, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| 342 |
0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, |
| 343 |
0x61, 0x70, 0x70, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x11, 0x61, |
| 344 |
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, |
| 345 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x61, 0x75, 0x74, |
| 346 |
0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, |
| 347 |
0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, |
| 348 |
0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x72, 0x6c, 0x12, |
| 349 |
0x1b, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, |
| 350 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0e, |
| 351 |
0x6c, 0x65, 0x61, 0x72, 0x6e, 0x5f, 0x6d, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x08, |
| 352 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x65, 0x61, 0x72, 0x6e, |
| 353 |
0x4d, 0x6f, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x36, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x5f, 0x62, |
| 354 |
0x61, 0x73, 0x69, 0x63, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, |
| 355 |
0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x75, 0x73, 0x65, |
| 356 |
0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, |
| 357 |
0x68, 0x0a, 0x0b, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, |
| 358 |
0x0a, 0x18, 0x4c, 0x49, 0x4e, 0x4b, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, |
| 359 |
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, |
| 360 |
0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x10, 0x01, |
| 361 |
0x12, 0x1c, 0x0a, 0x18, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x47, 0x4f, |
| 362 |
0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x09, |
| 363 |
0x0a, 0x05, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x03, 0x22, 0x4d, 0x0a, 0x0d, 0x41, 0x75, 0x74, |
| 364 |
0x68, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x55, |
| 365 |
0x54, 0x48, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 366 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, |
| 367 |
0x55, 0x54, 0x48, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, |
| 368 |
0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10, 0x02, 0x42, 0x6c, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, |
| 369 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, |
| 370 |
0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, |
| 371 |
0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, |
| 372 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 373 |
0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 374 |
0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, |
| 375 |
0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 376 |
} |
| 377 |
|
| 378 |
var ( |
| 379 |
file_google_actions_sdk_v2_account_linking_proto_rawDescOnce sync.Once |
| 380 |
file_google_actions_sdk_v2_account_linking_proto_rawDescData = file_google_actions_sdk_v2_account_linking_proto_rawDesc |
| 381 |
) |
| 382 |
|
| 383 |
func file_google_actions_sdk_v2_account_linking_proto_rawDescGZIP() []byte { |
| 384 |
file_google_actions_sdk_v2_account_linking_proto_rawDescOnce.Do(func() { |
| 385 |
file_google_actions_sdk_v2_account_linking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_account_linking_proto_rawDescData) |
| 386 |
}) |
| 387 |
return file_google_actions_sdk_v2_account_linking_proto_rawDescData |
| 388 |
} |
| 389 |
|
| 390 |
var file_google_actions_sdk_v2_account_linking_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 391 |
var file_google_actions_sdk_v2_account_linking_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 392 |
var file_google_actions_sdk_v2_account_linking_proto_goTypes = []interface{}{ |
| 393 |
(AccountLinking_LinkingType)(0), // 0: google.actions.sdk.v2.AccountLinking.LinkingType |
| 394 |
(AccountLinking_AuthGrantType)(0), // 1: google.actions.sdk.v2.AccountLinking.AuthGrantType |
| 395 |
(*AccountLinking)(nil), // 2: google.actions.sdk.v2.AccountLinking |
| 396 |
} |
| 397 |
var file_google_actions_sdk_v2_account_linking_proto_depIdxs = []int32{ |
| 398 |
0, // 0: google.actions.sdk.v2.AccountLinking.linking_type:type_name -> google.actions.sdk.v2.AccountLinking.LinkingType |
| 399 |
1, // 1: google.actions.sdk.v2.AccountLinking.auth_grant_type:type_name -> google.actions.sdk.v2.AccountLinking.AuthGrantType |
| 400 |
2, // [2:2] is the sub-list for method output_type |
| 401 |
2, // [2:2] is the sub-list for method input_type |
| 402 |
2, // [2:2] is the sub-list for extension type_name |
| 403 |
2, // [2:2] is the sub-list for extension extendee |
| 404 |
0, // [0:2] is the sub-list for field type_name |
| 405 |
} |
| 406 |
|
| 407 |
func init() { file_google_actions_sdk_v2_account_linking_proto_init() } |
| 408 |
func file_google_actions_sdk_v2_account_linking_proto_init() { |
| 409 |
if File_google_actions_sdk_v2_account_linking_proto != nil { |
| 410 |
return |
| 411 |
} |
| 412 |
if !protoimpl.UnsafeEnabled { |
| 413 |
file_google_actions_sdk_v2_account_linking_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 414 |
switch v := v.(*AccountLinking); i { |
| 415 |
case 0: |
| 416 |
return &v.state |
| 417 |
case 1: |
| 418 |
return &v.sizeCache |
| 419 |
case 2: |
| 420 |
return &v.unknownFields |
| 421 |
default: |
| 422 |
return nil |
| 423 |
} |
| 424 |
} |
| 425 |
} |
| 426 |
type x struct{} |
| 427 |
out := protoimpl.TypeBuilder{ |
| 428 |
File: protoimpl.DescBuilder{ |
| 429 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 430 |
RawDescriptor: file_google_actions_sdk_v2_account_linking_proto_rawDesc, |
| 431 |
NumEnums: 2, |
| 432 |
NumMessages: 1, |
| 433 |
NumExtensions: 0, |
| 434 |
NumServices: 0, |
| 435 |
}, |
| 436 |
GoTypes: file_google_actions_sdk_v2_account_linking_proto_goTypes, |
| 437 |
DependencyIndexes: file_google_actions_sdk_v2_account_linking_proto_depIdxs, |
| 438 |
EnumInfos: file_google_actions_sdk_v2_account_linking_proto_enumTypes, |
| 439 |
MessageInfos: file_google_actions_sdk_v2_account_linking_proto_msgTypes, |
| 440 |
}.Build() |
| 441 |
File_google_actions_sdk_v2_account_linking_proto = out.File |
| 442 |
file_google_actions_sdk_v2_account_linking_proto_rawDesc = nil |
| 443 |
file_google_actions_sdk_v2_account_linking_proto_goTypes = nil |
| 444 |
file_google_actions_sdk_v2_account_linking_proto_depIdxs = nil |
| 445 |
} |