Debian Codegraph @

shopping/merchant/accounts/apiv1beta/accountspb/accessright.pb.go

raw
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.35.2
18 // protoc v4.25.7
19 // source: google/shopping/merchant/accounts/v1beta/accessright.proto
20
21 package accountspb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // The access right.
38 type AccessRight int32
39
40 const (
41 // Default value. This value is unused.
42 AccessRight_ACCESS_RIGHT_UNSPECIFIED AccessRight = 0
43 // Standard access rights.
44 AccessRight_STANDARD AccessRight = 1
45 // Admin access rights.
46 AccessRight_ADMIN AccessRight = 2
47 // Users with this right have access to performance and insights.
48 AccessRight_PERFORMANCE_REPORTING AccessRight = 3
49 )
50
51 // Enum value maps for AccessRight.
52 var (
53 AccessRight_name = map[int32]string{
54 0: "ACCESS_RIGHT_UNSPECIFIED",
55 1: "STANDARD",
56 2: "ADMIN",
57 3: "PERFORMANCE_REPORTING",
58 }
59 AccessRight_value = map[string]int32{
60 "ACCESS_RIGHT_UNSPECIFIED": 0,
61 "STANDARD": 1,
62 "ADMIN": 2,
63 "PERFORMANCE_REPORTING": 3,
64 }
65 )
66
67 func (x AccessRight) Enum() *AccessRight {
68 p := new(AccessRight)
69 *p = x
70 return p
71 }
72
73 func (x AccessRight) String() string {
74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
75 }
76
77 func (AccessRight) Descriptor() protoreflect.EnumDescriptor {
78 return file_google_shopping_merchant_accounts_v1beta_accessright_proto_enumTypes[0].Descriptor()
79 }
80
81 func (AccessRight) Type() protoreflect.EnumType {
82 return &file_google_shopping_merchant_accounts_v1beta_accessright_proto_enumTypes[0]
83 }
84
85 func (x AccessRight) Number() protoreflect.EnumNumber {
86 return protoreflect.EnumNumber(x)
87 }
88
89 // Deprecated: Use AccessRight.Descriptor instead.
90 func (AccessRight) EnumDescriptor() ([]byte, []int) {
91 return file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescGZIP(), []int{0}
92 }
93
94 var File_google_shopping_merchant_accounts_v1beta_accessright_proto protoreflect.FileDescriptor
95
96 var file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDesc = []byte{
97 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
98 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
99 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73,
100 0x73, 0x72, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f,
101 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
102 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
103 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2a, 0x5f, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
104 0x52, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f,
105 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
106 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10,
107 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15,
108 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f,
109 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x42, 0x92, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e,
110 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
111 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
112 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x10, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
113 0x52, 0x69, 0x67, 0x68, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c,
114 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
115 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68,
116 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69,
117 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70,
118 0x62, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
119 0x6f, 0x74, 0x6f, 0x33,
120 }
121
122 var (
123 file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescOnce sync.Once
124 file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDesc
125 )
126
127 func file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescGZIP() []byte {
128 file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescOnce.Do(func() {
129 file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescData)
130 })
131 return file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDescData
132 }
133
134 var file_google_shopping_merchant_accounts_v1beta_accessright_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
135 var file_google_shopping_merchant_accounts_v1beta_accessright_proto_goTypes = []any{
136 (AccessRight)(0), // 0: google.shopping.merchant.accounts.v1beta.AccessRight
137 }
138 var file_google_shopping_merchant_accounts_v1beta_accessright_proto_depIdxs = []int32{
139 0, // [0:0] is the sub-list for method output_type
140 0, // [0:0] is the sub-list for method input_type
141 0, // [0:0] is the sub-list for extension type_name
142 0, // [0:0] is the sub-list for extension extendee
143 0, // [0:0] is the sub-list for field type_name
144 }
145
146 func init() { file_google_shopping_merchant_accounts_v1beta_accessright_proto_init() }
147 func file_google_shopping_merchant_accounts_v1beta_accessright_proto_init() {
148 if File_google_shopping_merchant_accounts_v1beta_accessright_proto != nil {
149 return
150 }
151 type x struct{}
152 out := protoimpl.TypeBuilder{
153 File: protoimpl.DescBuilder{
154 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
155 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDesc,
156 NumEnums: 1,
157 NumMessages: 0,
158 NumExtensions: 0,
159 NumServices: 0,
160 },
161 GoTypes: file_google_shopping_merchant_accounts_v1beta_accessright_proto_goTypes,
162 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_accessright_proto_depIdxs,
163 EnumInfos: file_google_shopping_merchant_accounts_v1beta_accessright_proto_enumTypes,
164 }.Build()
165 File_google_shopping_merchant_accounts_v1beta_accessright_proto = out.File
166 file_google_shopping_merchant_accounts_v1beta_accessright_proto_rawDesc = nil
167 file_google_shopping_merchant_accounts_v1beta_accessright_proto_goTypes = nil
168 file_google_shopping_merchant_accounts_v1beta_accessright_proto_depIdxs = nil
169 }