Debian Codegraph @

shopping/merchant/accounts/apiv1beta/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/v1beta/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_v1beta_termsofservicekind_proto_enumTypes[0].Descriptor()
71 }
72
73 func (TermsOfServiceKind) Type() protoreflect.EnumType {
74 return &file_google_shopping_merchant_accounts_v1beta_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_v1beta_termsofservicekind_proto_rawDescGZIP(), []int{0}
84 }
85
86 var File_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto protoreflect.FileDescriptor
87
88 var file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDesc = []byte{
89 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x74, 0x65, 0x72, 0x6d, 0x73,
92 0x6f, 0x66, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x6b, 0x69, 0x6e, 0x64, 0x2e, 0x70, 0x72,
93 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
94 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
95 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2a, 0x50, 0x0a,
96 0x12, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b,
97 0x69, 0x6e, 0x64, 0x12, 0x25, 0x0a, 0x21, 0x54, 0x45, 0x52, 0x4d, 0x53, 0x5f, 0x4f, 0x46, 0x5f,
98 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53,
99 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x45,
100 0x52, 0x43, 0x48, 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42,
101 0x99, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
102 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74,
103 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
104 0x42, 0x17, 0x54, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
105 0x4b, 0x69, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f,
106 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
107 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
108 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
109 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
110 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
111 0x74, 0x6f, 0x33,
112 }
113
114 var (
115 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescOnce sync.Once
116 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDesc
117 )
118
119 func file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescGZIP() []byte {
120 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescOnce.Do(func() {
121 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescData)
122 })
123 return file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDescData
124 }
125
126 var file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
127 var file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_goTypes = []any{
128 (TermsOfServiceKind)(0), // 0: google.shopping.merchant.accounts.v1beta.TermsOfServiceKind
129 }
130 var file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_depIdxs = []int32{
131 0, // [0:0] is the sub-list for method output_type
132 0, // [0:0] is the sub-list for method input_type
133 0, // [0:0] is the sub-list for extension type_name
134 0, // [0:0] is the sub-list for extension extendee
135 0, // [0:0] is the sub-list for field type_name
136 }
137
138 func init() { file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_init() }
139 func file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_init() {
140 if File_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto != nil {
141 return
142 }
143 type x struct{}
144 out := protoimpl.TypeBuilder{
145 File: protoimpl.DescBuilder{
146 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
147 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDesc,
148 NumEnums: 1,
149 NumMessages: 0,
150 NumExtensions: 0,
151 NumServices: 0,
152 },
153 GoTypes: file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_goTypes,
154 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_depIdxs,
155 EnumInfos: file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_enumTypes,
156 }.Build()
157 File_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto = out.File
158 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_rawDesc = nil
159 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_goTypes = nil
160 file_google_shopping_merchant_accounts_v1beta_termsofservicekind_proto_depIdxs = nil
161 }