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