Debian Codegraph @

shopping/merchant/accounts/apiv1beta/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/v1beta/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_v1beta_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_v1beta_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_v1beta_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_v1beta_customerservice_proto protoreflect.FileDescriptor
105
106 var file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDesc = []byte{
107 0x0a, 0x3e, 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, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f,
110 0x6d, 0x65, 0x72, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
111 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
112 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
113 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
114 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
115 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f,
116 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e,
117 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, 0x01, 0x0a, 0x0f,
118 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
119 0x1a, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
120 0x01, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x05, 0x65,
121 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
122 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x38, 0x0a, 0x05, 0x70,
123 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f,
124 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75,
125 0x6d, 0x62, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x02, 0x52, 0x05, 0x70, 0x68, 0x6f,
126 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x75, 0x72, 0x69, 0x42, 0x08, 0x0a,
127 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
128 0x65, 0x42, 0x96, 0x01, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
129 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
130 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
131 0x74, 0x61, 0x42, 0x14, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76,
132 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x63, 0x6c, 0x6f, 0x75,
133 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
134 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e,
135 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
136 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b,
137 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
138 0x6f, 0x33,
139 }
140
141 var (
142 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescOnce sync.Once
143 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescData = file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDesc
144 )
145
146 func file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescGZIP() []byte {
147 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescOnce.Do(func() {
148 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescData)
149 })
150 return file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDescData
151 }
152
153 var file_google_shopping_merchant_accounts_v1beta_customerservice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
154 var file_google_shopping_merchant_accounts_v1beta_customerservice_proto_goTypes = []any{
155 (*CustomerService)(nil), // 0: google.shopping.merchant.accounts.v1beta.CustomerService
156 (*phone_number.PhoneNumber)(nil), // 1: google.type.PhoneNumber
157 }
158 var file_google_shopping_merchant_accounts_v1beta_customerservice_proto_depIdxs = []int32{
159 1, // 0: google.shopping.merchant.accounts.v1beta.CustomerService.phone:type_name -> google.type.PhoneNumber
160 1, // [1:1] is the sub-list for method output_type
161 1, // [1:1] is the sub-list for method input_type
162 1, // [1:1] is the sub-list for extension type_name
163 1, // [1:1] is the sub-list for extension extendee
164 0, // [0:1] is the sub-list for field type_name
165 }
166
167 func init() { file_google_shopping_merchant_accounts_v1beta_customerservice_proto_init() }
168 func file_google_shopping_merchant_accounts_v1beta_customerservice_proto_init() {
169 if File_google_shopping_merchant_accounts_v1beta_customerservice_proto != nil {
170 return
171 }
172 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_msgTypes[0].OneofWrappers = []any{}
173 type x struct{}
174 out := protoimpl.TypeBuilder{
175 File: protoimpl.DescBuilder{
176 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
177 RawDescriptor: file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDesc,
178 NumEnums: 0,
179 NumMessages: 1,
180 NumExtensions: 0,
181 NumServices: 0,
182 },
183 GoTypes: file_google_shopping_merchant_accounts_v1beta_customerservice_proto_goTypes,
184 DependencyIndexes: file_google_shopping_merchant_accounts_v1beta_customerservice_proto_depIdxs,
185 MessageInfos: file_google_shopping_merchant_accounts_v1beta_customerservice_proto_msgTypes,
186 }.Build()
187 File_google_shopping_merchant_accounts_v1beta_customerservice_proto = out.File
188 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_rawDesc = nil
189 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_goTypes = nil
190 file_google_shopping_merchant_accounts_v1beta_customerservice_proto_depIdxs = nil
191 }