| 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/homepage.proto |
| 20 |
|
| 21 |
package accountspb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 32 |
reflect "reflect" |
| 33 |
sync "sync" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
// The `Homepage` message represents a business's store homepage within the |
| 44 |
// system. |
| 45 |
// |
| 46 |
// A business's homepage is the primary domain where customers interact with |
| 47 |
// their store. |
| 48 |
// |
| 49 |
// The homepage can be claimed and verified as a proof of ownership and allows |
| 50 |
// the business to unlock features that require a verified website. For more |
| 51 |
// information, see [Understanding online store URL |
| 52 |
// verification](//support.google.com/merchants/answer/176793). |
| 53 |
type Homepage struct { |
| 54 |
state protoimpl.MessageState |
| 55 |
sizeCache protoimpl.SizeCache |
| 56 |
unknownFields protoimpl.UnknownFields |
| 57 |
|
| 58 |
// Identifier. The resource name of the store's homepage. |
| 59 |
// Format: `accounts/{account}/homepage` |
| 60 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 61 |
// Required. The URI (typically a URL) of the store's homepage. |
| 62 |
Uri *string `protobuf:"bytes,2,opt,name=uri,proto3,oneof" json:"uri,omitempty"` |
| 63 |
// Output only. Whether the homepage is claimed. See |
| 64 |
// https://support.google.com/merchants/answer/176793. |
| 65 |
Claimed bool `protobuf:"varint,3,opt,name=claimed,proto3" json:"claimed,omitempty"` |
| 66 |
} |
| 67 |
|
| 68 |
func (x *Homepage) Reset() { |
| 69 |
*x = Homepage{} |
| 70 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[0] |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
|
| 75 |
func (x *Homepage) String() string { |
| 76 |
return protoimpl.X.MessageStringOf(x) |
| 77 |
} |
| 78 |
|
| 79 |
func (*Homepage) ProtoMessage() {} |
| 80 |
|
| 81 |
func (x *Homepage) ProtoReflect() protoreflect.Message { |
| 82 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[0] |
| 83 |
if x != nil { |
| 84 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 85 |
if ms.LoadMessageInfo() == nil { |
| 86 |
ms.StoreMessageInfo(mi) |
| 87 |
} |
| 88 |
return ms |
| 89 |
} |
| 90 |
return mi.MessageOf(x) |
| 91 |
} |
| 92 |
|
| 93 |
// Deprecated: Use Homepage.ProtoReflect.Descriptor instead. |
| 94 |
func (*Homepage) Descriptor() ([]byte, []int) { |
| 95 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP(), []int{0} |
| 96 |
} |
| 97 |
|
| 98 |
func (x *Homepage) GetName() string { |
| 99 |
if x != nil { |
| 100 |
return x.Name |
| 101 |
} |
| 102 |
return "" |
| 103 |
} |
| 104 |
|
| 105 |
func (x *Homepage) GetUri() string { |
| 106 |
if x != nil && x.Uri != nil { |
| 107 |
return *x.Uri |
| 108 |
} |
| 109 |
return "" |
| 110 |
} |
| 111 |
|
| 112 |
func (x *Homepage) GetClaimed() bool { |
| 113 |
if x != nil { |
| 114 |
return x.Claimed |
| 115 |
} |
| 116 |
return false |
| 117 |
} |
| 118 |
|
| 119 |
// Request message for the `GetHomepage` method. |
| 120 |
type GetHomepageRequest struct { |
| 121 |
state protoimpl.MessageState |
| 122 |
sizeCache protoimpl.SizeCache |
| 123 |
unknownFields protoimpl.UnknownFields |
| 124 |
|
| 125 |
// Required. The name of the homepage to retrieve. |
| 126 |
// Format: `accounts/{account}/homepage` |
| 127 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 128 |
} |
| 129 |
|
| 130 |
func (x *GetHomepageRequest) Reset() { |
| 131 |
*x = GetHomepageRequest{} |
| 132 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[1] |
| 133 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 134 |
ms.StoreMessageInfo(mi) |
| 135 |
} |
| 136 |
|
| 137 |
func (x *GetHomepageRequest) String() string { |
| 138 |
return protoimpl.X.MessageStringOf(x) |
| 139 |
} |
| 140 |
|
| 141 |
func (*GetHomepageRequest) ProtoMessage() {} |
| 142 |
|
| 143 |
func (x *GetHomepageRequest) ProtoReflect() protoreflect.Message { |
| 144 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[1] |
| 145 |
if x != nil { |
| 146 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 147 |
if ms.LoadMessageInfo() == nil { |
| 148 |
ms.StoreMessageInfo(mi) |
| 149 |
} |
| 150 |
return ms |
| 151 |
} |
| 152 |
return mi.MessageOf(x) |
| 153 |
} |
| 154 |
|
| 155 |
// Deprecated: Use GetHomepageRequest.ProtoReflect.Descriptor instead. |
| 156 |
func (*GetHomepageRequest) Descriptor() ([]byte, []int) { |
| 157 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP(), []int{1} |
| 158 |
} |
| 159 |
|
| 160 |
func (x *GetHomepageRequest) GetName() string { |
| 161 |
if x != nil { |
| 162 |
return x.Name |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
// Request message for the `UpdateHomepage` method. |
| 168 |
type UpdateHomepageRequest struct { |
| 169 |
state protoimpl.MessageState |
| 170 |
sizeCache protoimpl.SizeCache |
| 171 |
unknownFields protoimpl.UnknownFields |
| 172 |
|
| 173 |
// Required. The new version of the homepage. |
| 174 |
Homepage *Homepage `protobuf:"bytes,1,opt,name=homepage,proto3" json:"homepage,omitempty"` |
| 175 |
// Optional. List of fields being updated. |
| 176 |
// |
| 177 |
// The following fields are supported (in both `snake_case` and |
| 178 |
// `lowerCamelCase`): |
| 179 |
// |
| 180 |
// - `uri` |
| 181 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 182 |
} |
| 183 |
|
| 184 |
func (x *UpdateHomepageRequest) Reset() { |
| 185 |
*x = UpdateHomepageRequest{} |
| 186 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[2] |
| 187 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 188 |
ms.StoreMessageInfo(mi) |
| 189 |
} |
| 190 |
|
| 191 |
func (x *UpdateHomepageRequest) String() string { |
| 192 |
return protoimpl.X.MessageStringOf(x) |
| 193 |
} |
| 194 |
|
| 195 |
func (*UpdateHomepageRequest) ProtoMessage() {} |
| 196 |
|
| 197 |
func (x *UpdateHomepageRequest) ProtoReflect() protoreflect.Message { |
| 198 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[2] |
| 199 |
if x != nil { |
| 200 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 201 |
if ms.LoadMessageInfo() == nil { |
| 202 |
ms.StoreMessageInfo(mi) |
| 203 |
} |
| 204 |
return ms |
| 205 |
} |
| 206 |
return mi.MessageOf(x) |
| 207 |
} |
| 208 |
|
| 209 |
// Deprecated: Use UpdateHomepageRequest.ProtoReflect.Descriptor instead. |
| 210 |
func (*UpdateHomepageRequest) Descriptor() ([]byte, []int) { |
| 211 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP(), []int{2} |
| 212 |
} |
| 213 |
|
| 214 |
func (x *UpdateHomepageRequest) GetHomepage() *Homepage { |
| 215 |
if x != nil { |
| 216 |
return x.Homepage |
| 217 |
} |
| 218 |
return nil |
| 219 |
} |
| 220 |
|
| 221 |
func (x *UpdateHomepageRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 222 |
if x != nil { |
| 223 |
return x.UpdateMask |
| 224 |
} |
| 225 |
return nil |
| 226 |
} |
| 227 |
|
| 228 |
// Request message for the `ClaimHomepage` method. |
| 229 |
type ClaimHomepageRequest struct { |
| 230 |
state protoimpl.MessageState |
| 231 |
sizeCache protoimpl.SizeCache |
| 232 |
unknownFields protoimpl.UnknownFields |
| 233 |
|
| 234 |
// Required. The name of the homepage to claim. |
| 235 |
// Format: `accounts/{account}/homepage` |
| 236 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 237 |
// Optional. When set to `true`, this option removes any existing claim on the |
| 238 |
// requested website from any other account to the account making the request, |
| 239 |
// effectively replacing the previous claim. |
| 240 |
Overwrite bool `protobuf:"varint,2,opt,name=overwrite,proto3" json:"overwrite,omitempty"` |
| 241 |
} |
| 242 |
|
| 243 |
func (x *ClaimHomepageRequest) Reset() { |
| 244 |
*x = ClaimHomepageRequest{} |
| 245 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[3] |
| 246 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 247 |
ms.StoreMessageInfo(mi) |
| 248 |
} |
| 249 |
|
| 250 |
func (x *ClaimHomepageRequest) String() string { |
| 251 |
return protoimpl.X.MessageStringOf(x) |
| 252 |
} |
| 253 |
|
| 254 |
func (*ClaimHomepageRequest) ProtoMessage() {} |
| 255 |
|
| 256 |
func (x *ClaimHomepageRequest) ProtoReflect() protoreflect.Message { |
| 257 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[3] |
| 258 |
if x != nil { |
| 259 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 260 |
if ms.LoadMessageInfo() == nil { |
| 261 |
ms.StoreMessageInfo(mi) |
| 262 |
} |
| 263 |
return ms |
| 264 |
} |
| 265 |
return mi.MessageOf(x) |
| 266 |
} |
| 267 |
|
| 268 |
// Deprecated: Use ClaimHomepageRequest.ProtoReflect.Descriptor instead. |
| 269 |
func (*ClaimHomepageRequest) Descriptor() ([]byte, []int) { |
| 270 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP(), []int{3} |
| 271 |
} |
| 272 |
|
| 273 |
func (x *ClaimHomepageRequest) GetName() string { |
| 274 |
if x != nil { |
| 275 |
return x.Name |
| 276 |
} |
| 277 |
return "" |
| 278 |
} |
| 279 |
|
| 280 |
func (x *ClaimHomepageRequest) GetOverwrite() bool { |
| 281 |
if x != nil { |
| 282 |
return x.Overwrite |
| 283 |
} |
| 284 |
return false |
| 285 |
} |
| 286 |
|
| 287 |
// Request message for the `UnclaimHomepage` method. |
| 288 |
type UnclaimHomepageRequest struct { |
| 289 |
state protoimpl.MessageState |
| 290 |
sizeCache protoimpl.SizeCache |
| 291 |
unknownFields protoimpl.UnknownFields |
| 292 |
|
| 293 |
// Required. The name of the homepage to unclaim. |
| 294 |
// Format: `accounts/{account}/homepage` |
| 295 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 296 |
} |
| 297 |
|
| 298 |
func (x *UnclaimHomepageRequest) Reset() { |
| 299 |
*x = UnclaimHomepageRequest{} |
| 300 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[4] |
| 301 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 302 |
ms.StoreMessageInfo(mi) |
| 303 |
} |
| 304 |
|
| 305 |
func (x *UnclaimHomepageRequest) String() string { |
| 306 |
return protoimpl.X.MessageStringOf(x) |
| 307 |
} |
| 308 |
|
| 309 |
func (*UnclaimHomepageRequest) ProtoMessage() {} |
| 310 |
|
| 311 |
func (x *UnclaimHomepageRequest) ProtoReflect() protoreflect.Message { |
| 312 |
mi := &file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[4] |
| 313 |
if x != nil { |
| 314 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 315 |
if ms.LoadMessageInfo() == nil { |
| 316 |
ms.StoreMessageInfo(mi) |
| 317 |
} |
| 318 |
return ms |
| 319 |
} |
| 320 |
return mi.MessageOf(x) |
| 321 |
} |
| 322 |
|
| 323 |
// Deprecated: Use UnclaimHomepageRequest.ProtoReflect.Descriptor instead. |
| 324 |
func (*UnclaimHomepageRequest) Descriptor() ([]byte, []int) { |
| 325 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP(), []int{4} |
| 326 |
} |
| 327 |
|
| 328 |
func (x *UnclaimHomepageRequest) GetName() string { |
| 329 |
if x != nil { |
| 330 |
return x.Name |
| 331 |
} |
| 332 |
return "" |
| 333 |
} |
| 334 |
|
| 335 |
var File_google_shopping_merchant_accounts_v1_homepage_proto protoreflect.FileDescriptor |
| 336 |
|
| 337 |
var file_google_shopping_merchant_accounts_v1_homepage_proto_rawDesc = []byte{ |
| 338 |
0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 339 |
0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 340 |
0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x2e, |
| 341 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 342 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 343 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, |
| 344 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, |
| 345 |
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 346 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 347 |
0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, |
| 348 |
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, |
| 349 |
0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 350 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, |
| 351 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 352 |
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 353 |
0x22, 0xc2, 0x01, 0x0a, 0x08, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, |
| 354 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, |
| 355 |
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, |
| 356 |
0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69, 0x88, |
| 357 |
0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, 0x64, 0x18, 0x03, 0x20, |
| 358 |
0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x65, |
| 359 |
0x64, 0x3a, 0x5a, 0xea, 0x41, 0x57, 0x0a, 0x23, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, |
| 360 |
0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 361 |
0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x61, 0x63, 0x63, |
| 362 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, |
| 363 |
0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x2a, 0x09, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, |
| 364 |
0x67, 0x65, 0x73, 0x32, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x42, 0x06, 0x0a, |
| 365 |
0x04, 0x5f, 0x75, 0x72, 0x69, 0x22, 0x55, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, |
| 366 |
0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, |
| 367 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 368 |
0x25, 0x0a, 0x23, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, |
| 369 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, |
| 370 |
0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xaa, 0x01, 0x0a, |
| 371 |
0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, |
| 372 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, |
| 373 |
0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 374 |
0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, |
| 375 |
0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, |
| 376 |
0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x68, |
| 377 |
0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, |
| 378 |
0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, |
| 379 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, |
| 380 |
0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, |
| 381 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x7a, 0x0a, 0x14, 0x43, 0x6c, 0x61, |
| 382 |
0x69, 0x6d, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 383 |
0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 384 |
0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 385 |
0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 386 |
0x63, 0x6f, 0x6d, 0x2f, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x04, 0x6e, 0x61, |
| 387 |
0x6d, 0x65, 0x12, 0x21, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, |
| 388 |
0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, |
| 389 |
0x77, 0x72, 0x69, 0x74, 0x65, 0x22, 0x59, 0x0a, 0x16, 0x55, 0x6e, 0x63, 0x6c, 0x61, 0x69, 0x6d, |
| 390 |
0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 391 |
0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, |
| 392 |
0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, |
| 393 |
0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 394 |
0x6d, 0x2f, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 395 |
0x32, 0xdd, 0x06, 0x0a, 0x0f, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, |
| 396 |
0x76, 0x69, 0x63, 0x65, 0x12, 0xaf, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x48, 0x6f, 0x6d, 0x65, |
| 397 |
0x70, 0x61, 0x67, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, |
| 398 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, |
| 399 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x48, |
| 400 |
0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, |
| 401 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, |
| 402 |
0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 403 |
0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x22, 0x36, |
| 404 |
0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, |
| 405 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, |
| 406 |
0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x6f, 0x6d, |
| 407 |
0x65, 0x70, 0x61, 0x67, 0x65, 0x7d, 0x12, 0xd8, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, |
| 408 |
0x65, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 409 |
0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, |
| 410 |
0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, |
| 411 |
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, |
| 412 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 413 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 414 |
0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, |
| 415 |
0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x22, 0x59, 0xda, 0x41, 0x14, 0x68, 0x6f, 0x6d, 0x65, 0x70, |
| 416 |
0x61, 0x67, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, |
| 417 |
0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x3a, 0x08, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x32, |
| 418 |
0x30, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x68, |
| 419 |
0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, |
| 420 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, |
| 421 |
0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x0d, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x48, 0x6f, 0x6d, 0x65, 0x70, |
| 422 |
0x61, 0x67, 0x65, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, |
| 423 |
0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, |
| 424 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, |
| 425 |
0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 426 |
0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 427 |
0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 428 |
0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x22, |
| 429 |
0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x3a, 0x01, 0x2a, 0x22, 0x2d, 0x2f, 0x61, 0x63, 0x63, |
| 430 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, |
| 431 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, |
| 432 |
0x67, 0x65, 0x7d, 0x3a, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0xbb, 0x01, 0x0a, 0x0f, 0x55, 0x6e, |
| 433 |
0x63, 0x6c, 0x61, 0x69, 0x6d, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x2e, |
| 434 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 435 |
0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 436 |
0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x48, 0x6f, 0x6d, 0x65, |
| 437 |
0x70, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, |
| 438 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, |
| 439 |
0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, |
| 440 |
0x76, 0x31, 0x2e, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, |
| 441 |
0x93, 0x02, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 442 |
0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 443 |
0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x7d, 0x3a, |
| 444 |
0x75, 0x6e, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x1a, 0x47, 0xca, 0x41, 0x1a, 0x6d, 0x65, 0x72, 0x63, |
| 445 |
0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 446 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 447 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 448 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 449 |
0x42, 0x80, 0x02, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 450 |
0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, |
| 451 |
0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x48, |
| 452 |
0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, |
| 453 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, |
| 454 |
0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, |
| 455 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x61, |
| 456 |
0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0x3b, |
| 457 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, |
| 458 |
0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65, 0x72, |
| 459 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x56, |
| 460 |
0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, |
| 461 |
0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63, 0x63, |
| 462 |
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, |
| 463 |
0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65, 0x72, |
| 464 |
0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x3a, |
| 465 |
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 466 |
} |
| 467 |
|
| 468 |
var ( |
| 469 |
file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescOnce sync.Once |
| 470 |
file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescData = file_google_shopping_merchant_accounts_v1_homepage_proto_rawDesc |
| 471 |
) |
| 472 |
|
| 473 |
func file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescGZIP() []byte { |
| 474 |
file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescOnce.Do(func() { |
| 475 |
file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescData) |
| 476 |
}) |
| 477 |
return file_google_shopping_merchant_accounts_v1_homepage_proto_rawDescData |
| 478 |
} |
| 479 |
|
| 480 |
var file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 481 |
var file_google_shopping_merchant_accounts_v1_homepage_proto_goTypes = []any{ |
| 482 |
(*Homepage)(nil), // 0: google.shopping.merchant.accounts.v1.Homepage |
| 483 |
(*GetHomepageRequest)(nil), // 1: google.shopping.merchant.accounts.v1.GetHomepageRequest |
| 484 |
(*UpdateHomepageRequest)(nil), // 2: google.shopping.merchant.accounts.v1.UpdateHomepageRequest |
| 485 |
(*ClaimHomepageRequest)(nil), // 3: google.shopping.merchant.accounts.v1.ClaimHomepageRequest |
| 486 |
(*UnclaimHomepageRequest)(nil), // 4: google.shopping.merchant.accounts.v1.UnclaimHomepageRequest |
| 487 |
(*fieldmaskpb.FieldMask)(nil), // 5: google.protobuf.FieldMask |
| 488 |
} |
| 489 |
var file_google_shopping_merchant_accounts_v1_homepage_proto_depIdxs = []int32{ |
| 490 |
0, // 0: google.shopping.merchant.accounts.v1.UpdateHomepageRequest.homepage:type_name -> google.shopping.merchant.accounts.v1.Homepage |
| 491 |
5, // 1: google.shopping.merchant.accounts.v1.UpdateHomepageRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 492 |
1, // 2: google.shopping.merchant.accounts.v1.HomepageService.GetHomepage:input_type -> google.shopping.merchant.accounts.v1.GetHomepageRequest |
| 493 |
2, // 3: google.shopping.merchant.accounts.v1.HomepageService.UpdateHomepage:input_type -> google.shopping.merchant.accounts.v1.UpdateHomepageRequest |
| 494 |
3, // 4: google.shopping.merchant.accounts.v1.HomepageService.ClaimHomepage:input_type -> google.shopping.merchant.accounts.v1.ClaimHomepageRequest |
| 495 |
4, // 5: google.shopping.merchant.accounts.v1.HomepageService.UnclaimHomepage:input_type -> google.shopping.merchant.accounts.v1.UnclaimHomepageRequest |
| 496 |
0, // 6: google.shopping.merchant.accounts.v1.HomepageService.GetHomepage:output_type -> google.shopping.merchant.accounts.v1.Homepage |
| 497 |
0, // 7: google.shopping.merchant.accounts.v1.HomepageService.UpdateHomepage:output_type -> google.shopping.merchant.accounts.v1.Homepage |
| 498 |
0, // 8: google.shopping.merchant.accounts.v1.HomepageService.ClaimHomepage:output_type -> google.shopping.merchant.accounts.v1.Homepage |
| 499 |
0, // 9: google.shopping.merchant.accounts.v1.HomepageService.UnclaimHomepage:output_type -> google.shopping.merchant.accounts.v1.Homepage |
| 500 |
6, // [6:10] is the sub-list for method output_type |
| 501 |
2, // [2:6] is the sub-list for method input_type |
| 502 |
2, // [2:2] is the sub-list for extension type_name |
| 503 |
2, // [2:2] is the sub-list for extension extendee |
| 504 |
0, // [0:2] is the sub-list for field type_name |
| 505 |
} |
| 506 |
|
| 507 |
func init() { file_google_shopping_merchant_accounts_v1_homepage_proto_init() } |
| 508 |
func file_google_shopping_merchant_accounts_v1_homepage_proto_init() { |
| 509 |
if File_google_shopping_merchant_accounts_v1_homepage_proto != nil { |
| 510 |
return |
| 511 |
} |
| 512 |
file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes[0].OneofWrappers = []any{} |
| 513 |
type x struct{} |
| 514 |
out := protoimpl.TypeBuilder{ |
| 515 |
File: protoimpl.DescBuilder{ |
| 516 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 517 |
RawDescriptor: file_google_shopping_merchant_accounts_v1_homepage_proto_rawDesc, |
| 518 |
NumEnums: 0, |
| 519 |
NumMessages: 5, |
| 520 |
NumExtensions: 0, |
| 521 |
NumServices: 1, |
| 522 |
}, |
| 523 |
GoTypes: file_google_shopping_merchant_accounts_v1_homepage_proto_goTypes, |
| 524 |
DependencyIndexes: file_google_shopping_merchant_accounts_v1_homepage_proto_depIdxs, |
| 525 |
MessageInfos: file_google_shopping_merchant_accounts_v1_homepage_proto_msgTypes, |
| 526 |
}.Build() |
| 527 |
File_google_shopping_merchant_accounts_v1_homepage_proto = out.File |
| 528 |
file_google_shopping_merchant_accounts_v1_homepage_proto_rawDesc = nil |
| 529 |
file_google_shopping_merchant_accounts_v1_homepage_proto_goTypes = nil |
| 530 |
file_google_shopping_merchant_accounts_v1_homepage_proto_depIdxs = nil |
| 531 |
} |
| 532 |
|
| 533 |
// Reference imports to suppress errors if they are not otherwise used. |
| 534 |
var _ context.Context |
| 535 |
var _ grpc.ClientConnInterface |
| 536 |
|
| 537 |
// This is a compile-time assertion to ensure that this generated file |
| 538 |
// is compatible with the grpc package it is being compiled against. |
| 539 |
const _ = grpc.SupportPackageIsVersion6 |
| 540 |
|
| 541 |
// HomepageServiceClient is the client API for HomepageService service. |
| 542 |
// |
| 543 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 544 |
type HomepageServiceClient interface { |
| 545 |
// Retrieves a store's homepage. |
| 546 |
GetHomepage(ctx context.Context, in *GetHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) |
| 547 |
// Updates a store's homepage. Executing this method requires admin access. |
| 548 |
UpdateHomepage(ctx context.Context, in *UpdateHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) |
| 549 |
// Claims a store's homepage. Executing this method requires admin access. |
| 550 |
// |
| 551 |
// If the homepage is already claimed, this will recheck the |
| 552 |
// verification (unless the business is exempted from claiming, which also |
| 553 |
// exempts from verification) and return a successful response. If ownership |
| 554 |
// can no longer be verified, it will return an error, but it won't clear the |
| 555 |
// claim. |
| 556 |
// |
| 557 |
// In case of failure, a canonical error message is returned: |
| 558 |
// |
| 559 |
// - PERMISSION_DENIED: User doesn't have the necessary permissions on this |
| 560 |
// Merchant Center account. |
| 561 |
// |
| 562 |
// - FAILED_PRECONDITION: |
| 563 |
// |
| 564 |
// - The account is not a Merchant Center account. |
| 565 |
// |
| 566 |
// - Merchant Center account doesn't have a homepage. |
| 567 |
// |
| 568 |
// - Claiming failed (in this case the error message contains more |
| 569 |
// details). |
| 570 |
ClaimHomepage(ctx context.Context, in *ClaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) |
| 571 |
// Unclaims a store's homepage. Executing this method requires admin access. |
| 572 |
UnclaimHomepage(ctx context.Context, in *UnclaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) |
| 573 |
} |
| 574 |
|
| 575 |
type homepageServiceClient struct { |
| 576 |
cc grpc.ClientConnInterface |
| 577 |
} |
| 578 |
|
| 579 |
func NewHomepageServiceClient(cc grpc.ClientConnInterface) HomepageServiceClient { |
| 580 |
return &homepageServiceClient{cc} |
| 581 |
} |
| 582 |
|
| 583 |
func (c *homepageServiceClient) GetHomepage(ctx context.Context, in *GetHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) { |
| 584 |
out := new(Homepage) |
| 585 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.HomepageService/GetHomepage", in, out, opts...) |
| 586 |
if err != nil { |
| 587 |
return nil, err |
| 588 |
} |
| 589 |
return out, nil |
| 590 |
} |
| 591 |
|
| 592 |
func (c *homepageServiceClient) UpdateHomepage(ctx context.Context, in *UpdateHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) { |
| 593 |
out := new(Homepage) |
| 594 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.HomepageService/UpdateHomepage", in, out, opts...) |
| 595 |
if err != nil { |
| 596 |
return nil, err |
| 597 |
} |
| 598 |
return out, nil |
| 599 |
} |
| 600 |
|
| 601 |
func (c *homepageServiceClient) ClaimHomepage(ctx context.Context, in *ClaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) { |
| 602 |
out := new(Homepage) |
| 603 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.HomepageService/ClaimHomepage", in, out, opts...) |
| 604 |
if err != nil { |
| 605 |
return nil, err |
| 606 |
} |
| 607 |
return out, nil |
| 608 |
} |
| 609 |
|
| 610 |
func (c *homepageServiceClient) UnclaimHomepage(ctx context.Context, in *UnclaimHomepageRequest, opts ...grpc.CallOption) (*Homepage, error) { |
| 611 |
out := new(Homepage) |
| 612 |
err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.HomepageService/UnclaimHomepage", in, out, opts...) |
| 613 |
if err != nil { |
| 614 |
return nil, err |
| 615 |
} |
| 616 |
return out, nil |
| 617 |
} |
| 618 |
|
| 619 |
// HomepageServiceServer is the server API for HomepageService service. |
| 620 |
type HomepageServiceServer interface { |
| 621 |
// Retrieves a store's homepage. |
| 622 |
GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error) |
| 623 |
// Updates a store's homepage. Executing this method requires admin access. |
| 624 |
UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error) |
| 625 |
// Claims a store's homepage. Executing this method requires admin access. |
| 626 |
// |
| 627 |
// If the homepage is already claimed, this will recheck the |
| 628 |
// verification (unless the business is exempted from claiming, which also |
| 629 |
// exempts from verification) and return a successful response. If ownership |
| 630 |
// can no longer be verified, it will return an error, but it won't clear the |
| 631 |
// claim. |
| 632 |
// |
| 633 |
// In case of failure, a canonical error message is returned: |
| 634 |
// |
| 635 |
// - PERMISSION_DENIED: User doesn't have the necessary permissions on this |
| 636 |
// Merchant Center account. |
| 637 |
// |
| 638 |
// - FAILED_PRECONDITION: |
| 639 |
// |
| 640 |
// - The account is not a Merchant Center account. |
| 641 |
// |
| 642 |
// - Merchant Center account doesn't have a homepage. |
| 643 |
// |
| 644 |
// - Claiming failed (in this case the error message contains more |
| 645 |
// details). |
| 646 |
ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error) |
| 647 |
// Unclaims a store's homepage. Executing this method requires admin access. |
| 648 |
UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error) |
| 649 |
} |
| 650 |
|
| 651 |
// UnimplementedHomepageServiceServer can be embedded to have forward compatible implementations. |
| 652 |
type UnimplementedHomepageServiceServer struct { |
| 653 |
} |
| 654 |
|
| 655 |
func (*UnimplementedHomepageServiceServer) GetHomepage(context.Context, *GetHomepageRequest) (*Homepage, error) { |
| 656 |
return nil, status.Errorf(codes.Unimplemented, "method GetHomepage not implemented") |
| 657 |
} |
| 658 |
func (*UnimplementedHomepageServiceServer) UpdateHomepage(context.Context, *UpdateHomepageRequest) (*Homepage, error) { |
| 659 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateHomepage not implemented") |
| 660 |
} |
| 661 |
func (*UnimplementedHomepageServiceServer) ClaimHomepage(context.Context, *ClaimHomepageRequest) (*Homepage, error) { |
| 662 |
return nil, status.Errorf(codes.Unimplemented, "method ClaimHomepage not implemented") |
| 663 |
} |
| 664 |
func (*UnimplementedHomepageServiceServer) UnclaimHomepage(context.Context, *UnclaimHomepageRequest) (*Homepage, error) { |
| 665 |
return nil, status.Errorf(codes.Unimplemented, "method UnclaimHomepage not implemented") |
| 666 |
} |
| 667 |
|
| 668 |
func RegisterHomepageServiceServer(s *grpc.Server, srv HomepageServiceServer) { |
| 669 |
s.RegisterService(&_HomepageService_serviceDesc, srv) |
| 670 |
} |
| 671 |
|
| 672 |
func _HomepageService_GetHomepage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 673 |
in := new(GetHomepageRequest) |
| 674 |
if err := dec(in); err != nil { |
| 675 |
return nil, err |
| 676 |
} |
| 677 |
if interceptor == nil { |
| 678 |
return srv.(HomepageServiceServer).GetHomepage(ctx, in) |
| 679 |
} |
| 680 |
info := &grpc.UnaryServerInfo{ |
| 681 |
Server: srv, |
| 682 |
FullMethod: "/google.shopping.merchant.accounts.v1.HomepageService/GetHomepage", |
| 683 |
} |
| 684 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 685 |
return srv.(HomepageServiceServer).GetHomepage(ctx, req.(*GetHomepageRequest)) |
| 686 |
} |
| 687 |
return interceptor(ctx, in, info, handler) |
| 688 |
} |
| 689 |
|
| 690 |
func _HomepageService_UpdateHomepage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 691 |
in := new(UpdateHomepageRequest) |
| 692 |
if err := dec(in); err != nil { |
| 693 |
return nil, err |
| 694 |
} |
| 695 |
if interceptor == nil { |
| 696 |
return srv.(HomepageServiceServer).UpdateHomepage(ctx, in) |
| 697 |
} |
| 698 |
info := &grpc.UnaryServerInfo{ |
| 699 |
Server: srv, |
| 700 |
FullMethod: "/google.shopping.merchant.accounts.v1.HomepageService/UpdateHomepage", |
| 701 |
} |
| 702 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 703 |
return srv.(HomepageServiceServer).UpdateHomepage(ctx, req.(*UpdateHomepageRequest)) |
| 704 |
} |
| 705 |
return interceptor(ctx, in, info, handler) |
| 706 |
} |
| 707 |
|
| 708 |
func _HomepageService_ClaimHomepage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 709 |
in := new(ClaimHomepageRequest) |
| 710 |
if err := dec(in); err != nil { |
| 711 |
return nil, err |
| 712 |
} |
| 713 |
if interceptor == nil { |
| 714 |
return srv.(HomepageServiceServer).ClaimHomepage(ctx, in) |
| 715 |
} |
| 716 |
info := &grpc.UnaryServerInfo{ |
| 717 |
Server: srv, |
| 718 |
FullMethod: "/google.shopping.merchant.accounts.v1.HomepageService/ClaimHomepage", |
| 719 |
} |
| 720 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 721 |
return srv.(HomepageServiceServer).ClaimHomepage(ctx, req.(*ClaimHomepageRequest)) |
| 722 |
} |
| 723 |
return interceptor(ctx, in, info, handler) |
| 724 |
} |
| 725 |
|
| 726 |
func _HomepageService_UnclaimHomepage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 727 |
in := new(UnclaimHomepageRequest) |
| 728 |
if err := dec(in); err != nil { |
| 729 |
return nil, err |
| 730 |
} |
| 731 |
if interceptor == nil { |
| 732 |
return srv.(HomepageServiceServer).UnclaimHomepage(ctx, in) |
| 733 |
} |
| 734 |
info := &grpc.UnaryServerInfo{ |
| 735 |
Server: srv, |
| 736 |
FullMethod: "/google.shopping.merchant.accounts.v1.HomepageService/UnclaimHomepage", |
| 737 |
} |
| 738 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 739 |
return srv.(HomepageServiceServer).UnclaimHomepage(ctx, req.(*UnclaimHomepageRequest)) |
| 740 |
} |
| 741 |
return interceptor(ctx, in, info, handler) |
| 742 |
} |
| 743 |
|
| 744 |
var _HomepageService_serviceDesc = grpc.ServiceDesc{ |
| 745 |
ServiceName: "google.shopping.merchant.accounts.v1.HomepageService", |
| 746 |
HandlerType: (*HomepageServiceServer)(nil), |
| 747 |
Methods: []grpc.MethodDesc{ |
| 748 |
{ |
| 749 |
MethodName: "GetHomepage", |
| 750 |
Handler: _HomepageService_GetHomepage_Handler, |
| 751 |
}, |
| 752 |
{ |
| 753 |
MethodName: "UpdateHomepage", |
| 754 |
Handler: _HomepageService_UpdateHomepage_Handler, |
| 755 |
}, |
| 756 |
{ |
| 757 |
MethodName: "ClaimHomepage", |
| 758 |
Handler: _HomepageService_ClaimHomepage_Handler, |
| 759 |
}, |
| 760 |
{ |
| 761 |
MethodName: "UnclaimHomepage", |
| 762 |
Handler: _HomepageService_UnclaimHomepage_Handler, |
| 763 |
}, |
| 764 |
}, |
| 765 |
Streams: []grpc.StreamDesc{}, |
| 766 |
Metadata: "google/shopping/merchant/accounts/v1/homepage.proto", |
| 767 |
} |