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