Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/customerservice.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/customerservice.proto
20
21 package accountspb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 phone_number "google.golang.org/genproto/googleapis/type/phone_number"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
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 // Customer service information.
40 type CustomerService struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Optional. The URI where customer service may be found.
46 Uri *string `protobuf:"bytes,1,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
47 // Optional. The email address where customer service may be reached.
48 Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
49 // Optional. The phone number where customer service may be called.
50 Phone *phone_number.PhoneNumber `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
51 }
52
53 func (x *CustomerService) Reset() {
54 *x = CustomerService{}
55 mi := &file_google_shopping_merchant_accounts_v1_customerservice_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59
60 func (x *CustomerService) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*CustomerService) ProtoMessage() {}
65
66 func (x *CustomerService) ProtoReflect() protoreflect.Message {
67 mi := &file_google_shopping_merchant_accounts_v1_customerservice_proto_msgTypes[0]
68 if x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use CustomerService.ProtoReflect.Descriptor instead.
79 func (*CustomerService) Descriptor() ([]byte, []int) {
80 return file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *CustomerService) GetUri() string {
84 if x != nil && x.Uri != nil {
85 return *x.Uri
86 }
87 return ""
88 }
89
90 func (x *CustomerService) GetEmail() string {
91 if x != nil && x.Email != nil {
92 return *x.Email
93 }
94 return ""
95 }
96
97 func (x *CustomerService) GetPhone() *phone_number.PhoneNumber {
98 if x != nil {
99 return x.Phone
100 }
101 return nil
102 }
103
104 var File_google_shopping_merchant_accounts_v1_customerservice_proto protoreflect.FileDescriptor
105
106 var file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDesc = []byte{
107 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
108 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
109 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73,
110 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f,
111 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
112 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
113 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
114 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
115 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65,
116 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72,
117 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
118 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01,
119 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69,
120 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01,
121 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
122 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01,
123 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65,
124 0x2e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41,
125 0x01, 0x48, 0x02, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a,
126 0x04, 0x5f, 0x75, 0x72, 0x69, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42,
127 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x42, 0x87, 0x02, 0x0a, 0x28, 0x63, 0x6f,
128 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
129 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
130 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
131 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a,
132 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
133 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72,
134 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61,
135 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b,
136 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f,
137 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72,
138 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56,
139 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70,
140 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63,
141 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
142 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72,
143 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a,
144 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
145 }
146
147 var (
148 file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescOnce sync.Once
149 file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescData = file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDesc
150 )
151
152 func file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescGZIP() []byte {
153 file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescOnce.Do(func() {
154 file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescData)
155 })
156 return file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDescData
157 }
158
159 var file_google_shopping_merchant_accounts_v1_customerservice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
160 var file_google_shopping_merchant_accounts_v1_customerservice_proto_goTypes = []any{
161 (*CustomerService)(nil), // 0: google.shopping.merchant.accounts.v1.CustomerService
162 (*phone_number.PhoneNumber)(nil), // 1: google.type.PhoneNumber
163 }
164 var file_google_shopping_merchant_accounts_v1_customerservice_proto_depIdxs = []int32{
165 1, // 0: google.shopping.merchant.accounts.v1.CustomerService.phone:type_name -> google.type.PhoneNumber
166 1, // [1:1] is the sub-list for method output_type
167 1, // [1:1] is the sub-list for method input_type
168 1, // [1:1] is the sub-list for extension type_name
169 1, // [1:1] is the sub-list for extension extendee
170 0, // [0:1] is the sub-list for field type_name
171 }
172
173 func init() { file_google_shopping_merchant_accounts_v1_customerservice_proto_init() }
174 func file_google_shopping_merchant_accounts_v1_customerservice_proto_init() {
175 if File_google_shopping_merchant_accounts_v1_customerservice_proto != nil {
176 return
177 }
178 file_google_shopping_merchant_accounts_v1_customerservice_proto_msgTypes[0].OneofWrappers = []any{}
179 type x struct{}
180 out := protoimpl.TypeBuilder{
181 File: protoimpl.DescBuilder{
182 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
183 RawDescriptor: file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDesc,
184 NumEnums: 0,
185 NumMessages: 1,
186 NumExtensions: 0,
187 NumServices: 0,
188 },
189 GoTypes: file_google_shopping_merchant_accounts_v1_customerservice_proto_goTypes,
190 DependencyIndexes: file_google_shopping_merchant_accounts_v1_customerservice_proto_depIdxs,
191 MessageInfos: file_google_shopping_merchant_accounts_v1_customerservice_proto_msgTypes,
192 }.Build()
193 File_google_shopping_merchant_accounts_v1_customerservice_proto = out.File
194 file_google_shopping_merchant_accounts_v1_customerservice_proto_rawDesc = nil
195 file_google_shopping_merchant_accounts_v1_customerservice_proto_goTypes = nil
196 file_google_shopping_merchant_accounts_v1_customerservice_proto_depIdxs = nil
197 }