Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/termsofservicekind.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/v1/termsofservicekind.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 TermsOfService Kind.
38 type TermsOfServiceKind int32
39
40 const (
41 // Default value. This value is unused.
42 TermsOfServiceKind_TERMS_OF_SERVICE_KIND_UNSPECIFIED TermsOfServiceKind = 0
43 // Merchant Center application.
44 TermsOfServiceKind_MERCHANT_CENTER TermsOfServiceKind = 1
45 )
46
47 // Enum value maps for TermsOfServiceKind.
48 var (
49 TermsOfServiceKind_name = map[int32]string{
50 0: "TERMS_OF_SERVICE_KIND_UNSPECIFIED",
51 1: "MERCHANT_CENTER",
52 }
53 TermsOfServiceKind_value = map[string]int32{
54 "TERMS_OF_SERVICE_KIND_UNSPECIFIED": 0,
55 "MERCHANT_CENTER": 1,
56 }
57 )
58
59 func (x TermsOfServiceKind) Enum() *TermsOfServiceKind {
60 p := new(TermsOfServiceKind)
61 *p = x
62 return p
63 }
64
65 func (x TermsOfServiceKind) String() string {
66 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
67 }
68
69 func (TermsOfServiceKind) Descriptor() protoreflect.EnumDescriptor {
70 return file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_enumTypes[0].Descriptor()
71 }
72
73 func (TermsOfServiceKind) Type() protoreflect.EnumType {
74 return &file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_enumTypes[0]
75 }
76
77 func (x TermsOfServiceKind) Number() protoreflect.EnumNumber {
78 return protoreflect.EnumNumber(x)
79 }
80
81 // Deprecated: Use TermsOfServiceKind.Descriptor instead.
82 func (TermsOfServiceKind) EnumDescriptor() ([]byte, []int) {
83 return file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescGZIP(), []int{0}
84 }
85
86 var File_google_shopping_merchant_accounts_v1_termsofservicekind_proto protoreflect.FileDescriptor
87
88 var file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDesc = []byte{
89 0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
90 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
91 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x6f, 0x66, 0x73, 0x65,
92 0x72, 0x76, 0x69, 0x63, 0x65, 0x6b, 0x69, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
93 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
94 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
95 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2a, 0x50, 0x0a, 0x12, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66,
96 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x25, 0x0a, 0x21, 0x54,
97 0x45, 0x52, 0x4d, 0x53, 0x5f, 0x4f, 0x46, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f,
98 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
99 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45, 0x52, 0x43, 0x48, 0x41, 0x4e, 0x54, 0x5f, 0x43,
100 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x8a, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e,
101 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e,
102 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
103 0x73, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72,
104 0x76, 0x69, 0x63, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
105 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
106 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
107 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
108 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
109 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
110 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65,
111 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
112 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70,
113 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63,
114 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
115 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65,
116 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
117 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
118 }
119
120 var (
121 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescOnce sync.Once
122 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescData = file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDesc
123 )
124
125 func file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescGZIP() []byte {
126 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescOnce.Do(func() {
127 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescData)
128 })
129 return file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDescData
130 }
131
132 var file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
133 var file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_goTypes = []any{
134 (TermsOfServiceKind)(0), // 0: google.shopping.merchant.accounts.v1.TermsOfServiceKind
135 }
136 var file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_depIdxs = []int32{
137 0, // [0:0] is the sub-list for method output_type
138 0, // [0:0] is the sub-list for method input_type
139 0, // [0:0] is the sub-list for extension type_name
140 0, // [0:0] is the sub-list for extension extendee
141 0, // [0:0] is the sub-list for field type_name
142 }
143
144 func init() { file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_init() }
145 func file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_init() {
146 if File_google_shopping_merchant_accounts_v1_termsofservicekind_proto != nil {
147 return
148 }
149 type x struct{}
150 out := protoimpl.TypeBuilder{
151 File: protoimpl.DescBuilder{
152 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
153 RawDescriptor: file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDesc,
154 NumEnums: 1,
155 NumMessages: 0,
156 NumExtensions: 0,
157 NumServices: 0,
158 },
159 GoTypes: file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_goTypes,
160 DependencyIndexes: file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_depIdxs,
161 EnumInfos: file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_enumTypes,
162 }.Build()
163 File_google_shopping_merchant_accounts_v1_termsofservicekind_proto = out.File
164 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_rawDesc = nil
165 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_goTypes = nil
166 file_google_shopping_merchant_accounts_v1_termsofservicekind_proto_depIdxs = nil
167 }