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.25.0 18// protoc v3.13.0 19// source: google/actions/sdk/v2/account_linking_secret.proto 20 21package sdk 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 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// This is a compile-time assertion that a sufficiently up-to-date version 40// of the legacy proto package is being used. 41const _ = proto.ProtoPackageIsVersion4 42 43// Information about the encrypted OAuth client secret used in account linking 44// flows (for AUTH_CODE grant type). 45type AccountLinkingSecret struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // Encrypted account linking client secret ciphertext. 51 EncryptedClientSecret []byte `protobuf:"bytes,1,opt,name=encrypted_client_secret,json=encryptedClientSecret,proto3" json:"encrypted_client_secret,omitempty"` 52 // The version of the crypto key used to encrypt the account linking client 53 // secret. 54 // Note that this field is ignored in push, preview, and version creation 55 // flows. 56 EncryptionKeyVersion string `protobuf:"bytes,2,opt,name=encryption_key_version,json=encryptionKeyVersion,proto3" json:"encryption_key_version,omitempty"` 57} 58 59func (x *AccountLinkingSecret) Reset() { 60 *x = AccountLinkingSecret{} 61 if protoimpl.UnsafeEnabled { 62 mi := &file_google_actions_sdk_v2_account_linking_secret_proto_msgTypes[0] 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 64 ms.StoreMessageInfo(mi) 65 } 66} 67 68func (x *AccountLinkingSecret) String() string { 69 return protoimpl.X.MessageStringOf(x) 70} 71 72func (*AccountLinkingSecret) ProtoMessage() {} 73 74func (x *AccountLinkingSecret) ProtoReflect() protoreflect.Message { 75 mi := &file_google_actions_sdk_v2_account_linking_secret_proto_msgTypes[0] 76 if protoimpl.UnsafeEnabled && x != nil { 77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 78 if ms.LoadMessageInfo() == nil { 79 ms.StoreMessageInfo(mi) 80 } 81 return ms 82 } 83 return mi.MessageOf(x) 84} 85 86// Deprecated: Use AccountLinkingSecret.ProtoReflect.Descriptor instead. 87func (*AccountLinkingSecret) Descriptor() ([]byte, []int) { 88 return file_google_actions_sdk_v2_account_linking_secret_proto_rawDescGZIP(), []int{0} 89} 90 91func (x *AccountLinkingSecret) GetEncryptedClientSecret() []byte { 92 if x != nil { 93 return x.EncryptedClientSecret 94 } 95 return nil 96} 97 98func (x *AccountLinkingSecret) GetEncryptionKeyVersion() string { 99 if x != nil { 100 return x.EncryptionKeyVersion 101 } 102 return "" 103} 104 105var File_google_actions_sdk_v2_account_linking_secret_proto protoreflect.FileDescriptor 106 107var file_google_actions_sdk_v2_account_linking_secret_proto_rawDesc = []byte{ 108 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 109 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 110 0x6c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, 0x70, 111 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x63, 0x74, 112 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x22, 0x84, 0x01, 0x0a, 0x14, 113 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x65, 114 0x63, 0x72, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x17, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 115 0x64, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 116 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 117 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x34, 0x0a, 0x16, 118 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 119 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 120 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 121 0x6f, 0x6e, 0x42, 0x72, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 122 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x76, 0x32, 0x42, 123 0x19, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x53, 124 0x65, 0x63, 0x72, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x6f, 125 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 126 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 127 0x70, 0x69, 0x73, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 128 0x76, 0x32, 0x3b, 0x73, 0x64, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 129} 130 131var ( 132 file_google_actions_sdk_v2_account_linking_secret_proto_rawDescOnce sync.Once 133 file_google_actions_sdk_v2_account_linking_secret_proto_rawDescData = file_google_actions_sdk_v2_account_linking_secret_proto_rawDesc 134) 135 136func file_google_actions_sdk_v2_account_linking_secret_proto_rawDescGZIP() []byte { 137 file_google_actions_sdk_v2_account_linking_secret_proto_rawDescOnce.Do(func() { 138 file_google_actions_sdk_v2_account_linking_secret_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_actions_sdk_v2_account_linking_secret_proto_rawDescData) 139 }) 140 return file_google_actions_sdk_v2_account_linking_secret_proto_rawDescData 141} 142 143var file_google_actions_sdk_v2_account_linking_secret_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 144var file_google_actions_sdk_v2_account_linking_secret_proto_goTypes = []interface{}{ 145 (*AccountLinkingSecret)(nil), // 0: google.actions.sdk.v2.AccountLinkingSecret 146} 147var file_google_actions_sdk_v2_account_linking_secret_proto_depIdxs = []int32{ 148 0, // [0:0] is the sub-list for method output_type 149 0, // [0:0] is the sub-list for method input_type 150 0, // [0:0] is the sub-list for extension type_name 151 0, // [0:0] is the sub-list for extension extendee 152 0, // [0:0] is the sub-list for field type_name 153} 154 155func init() { file_google_actions_sdk_v2_account_linking_secret_proto_init() } 156func file_google_actions_sdk_v2_account_linking_secret_proto_init() { 157 if File_google_actions_sdk_v2_account_linking_secret_proto != nil { 158 return 159 } 160 if !protoimpl.UnsafeEnabled { 161 file_google_actions_sdk_v2_account_linking_secret_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 162 switch v := v.(*AccountLinkingSecret); i { 163 case 0: 164 return &v.state 165 case 1: 166 return &v.sizeCache 167 case 2: 168 return &v.unknownFields 169 default: 170 return nil 171 } 172 } 173 } 174 type x struct{} 175 out := protoimpl.TypeBuilder{ 176 File: protoimpl.DescBuilder{ 177 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 178 RawDescriptor: file_google_actions_sdk_v2_account_linking_secret_proto_rawDesc, 179 NumEnums: 0, 180 NumMessages: 1, 181 NumExtensions: 0, 182 NumServices: 0, 183 }, 184 GoTypes: file_google_actions_sdk_v2_account_linking_secret_proto_goTypes, 185 DependencyIndexes: file_google_actions_sdk_v2_account_linking_secret_proto_depIdxs, 186 MessageInfos: file_google_actions_sdk_v2_account_linking_secret_proto_msgTypes, 187 }.Build() 188 File_google_actions_sdk_v2_account_linking_secret_proto = out.File 189 file_google_actions_sdk_v2_account_linking_secret_proto_rawDesc = nil 190 file_google_actions_sdk_v2_account_linking_secret_proto_goTypes = nil 191 file_google_actions_sdk_v2_account_linking_secret_proto_depIdxs = nil 192} 193