| 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/cloud/channel/v1/products.proto |
| 20 |
|
| 21 |
package channelpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Type of media used. |
| 39 |
type MediaType int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// Not used. |
| 43 |
MediaType_MEDIA_TYPE_UNSPECIFIED MediaType = 0 |
| 44 |
// Type of image. |
| 45 |
MediaType_MEDIA_TYPE_IMAGE MediaType = 1 |
| 46 |
) |
| 47 |
|
| 48 |
// Enum value maps for MediaType. |
| 49 |
var ( |
| 50 |
MediaType_name = map[int32]string{ |
| 51 |
0: "MEDIA_TYPE_UNSPECIFIED", |
| 52 |
1: "MEDIA_TYPE_IMAGE", |
| 53 |
} |
| 54 |
MediaType_value = map[string]int32{ |
| 55 |
"MEDIA_TYPE_UNSPECIFIED": 0, |
| 56 |
"MEDIA_TYPE_IMAGE": 1, |
| 57 |
} |
| 58 |
) |
| 59 |
|
| 60 |
func (x MediaType) Enum() *MediaType { |
| 61 |
p := new(MediaType) |
| 62 |
*p = x |
| 63 |
return p |
| 64 |
} |
| 65 |
|
| 66 |
func (x MediaType) String() string { |
| 67 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 68 |
} |
| 69 |
|
| 70 |
func (MediaType) Descriptor() protoreflect.EnumDescriptor { |
| 71 |
return file_google_cloud_channel_v1_products_proto_enumTypes[0].Descriptor() |
| 72 |
} |
| 73 |
|
| 74 |
func (MediaType) Type() protoreflect.EnumType { |
| 75 |
return &file_google_cloud_channel_v1_products_proto_enumTypes[0] |
| 76 |
} |
| 77 |
|
| 78 |
func (x MediaType) Number() protoreflect.EnumNumber { |
| 79 |
return protoreflect.EnumNumber(x) |
| 80 |
} |
| 81 |
|
| 82 |
// Deprecated: Use MediaType.Descriptor instead. |
| 83 |
func (MediaType) EnumDescriptor() ([]byte, []int) { |
| 84 |
return file_google_cloud_channel_v1_products_proto_rawDescGZIP(), []int{0} |
| 85 |
} |
| 86 |
|
| 87 |
// A Product is the entity a customer uses when placing an order. For example, |
| 88 |
// Google Workspace, Google Voice, etc. |
| 89 |
type Product struct { |
| 90 |
state protoimpl.MessageState |
| 91 |
sizeCache protoimpl.SizeCache |
| 92 |
unknownFields protoimpl.UnknownFields |
| 93 |
|
| 94 |
// Resource Name of the Product. |
| 95 |
// Format: products/{product_id} |
| 96 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 97 |
// Marketing information for the product. |
| 98 |
MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"` |
| 99 |
} |
| 100 |
|
| 101 |
func (x *Product) Reset() { |
| 102 |
*x = Product{} |
| 103 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[0] |
| 104 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 105 |
ms.StoreMessageInfo(mi) |
| 106 |
} |
| 107 |
|
| 108 |
func (x *Product) String() string { |
| 109 |
return protoimpl.X.MessageStringOf(x) |
| 110 |
} |
| 111 |
|
| 112 |
func (*Product) ProtoMessage() {} |
| 113 |
|
| 114 |
func (x *Product) ProtoReflect() protoreflect.Message { |
| 115 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[0] |
| 116 |
if x != nil { |
| 117 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 118 |
if ms.LoadMessageInfo() == nil { |
| 119 |
ms.StoreMessageInfo(mi) |
| 120 |
} |
| 121 |
return ms |
| 122 |
} |
| 123 |
return mi.MessageOf(x) |
| 124 |
} |
| 125 |
|
| 126 |
// Deprecated: Use Product.ProtoReflect.Descriptor instead. |
| 127 |
func (*Product) Descriptor() ([]byte, []int) { |
| 128 |
return file_google_cloud_channel_v1_products_proto_rawDescGZIP(), []int{0} |
| 129 |
} |
| 130 |
|
| 131 |
func (x *Product) GetName() string { |
| 132 |
if x != nil { |
| 133 |
return x.Name |
| 134 |
} |
| 135 |
return "" |
| 136 |
} |
| 137 |
|
| 138 |
func (x *Product) GetMarketingInfo() *MarketingInfo { |
| 139 |
if x != nil { |
| 140 |
return x.MarketingInfo |
| 141 |
} |
| 142 |
return nil |
| 143 |
} |
| 144 |
|
| 145 |
// Represents a product's purchasable Stock Keeping Unit (SKU). |
| 146 |
// SKUs represent the different variations of the product. For example, Google |
| 147 |
// Workspace Business Standard and Google Workspace Business Plus are Google |
| 148 |
// Workspace product SKUs. |
| 149 |
type Sku struct { |
| 150 |
state protoimpl.MessageState |
| 151 |
sizeCache protoimpl.SizeCache |
| 152 |
unknownFields protoimpl.UnknownFields |
| 153 |
|
| 154 |
// Resource Name of the SKU. |
| 155 |
// Format: products/{product_id}/skus/{sku_id} |
| 156 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 157 |
// Marketing information for the SKU. |
| 158 |
MarketingInfo *MarketingInfo `protobuf:"bytes,2,opt,name=marketing_info,json=marketingInfo,proto3" json:"marketing_info,omitempty"` |
| 159 |
// Product the SKU is associated with. |
| 160 |
Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"` |
| 161 |
} |
| 162 |
|
| 163 |
func (x *Sku) Reset() { |
| 164 |
*x = Sku{} |
| 165 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[1] |
| 166 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 167 |
ms.StoreMessageInfo(mi) |
| 168 |
} |
| 169 |
|
| 170 |
func (x *Sku) String() string { |
| 171 |
return protoimpl.X.MessageStringOf(x) |
| 172 |
} |
| 173 |
|
| 174 |
func (*Sku) ProtoMessage() {} |
| 175 |
|
| 176 |
func (x *Sku) ProtoReflect() protoreflect.Message { |
| 177 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[1] |
| 178 |
if x != nil { |
| 179 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 180 |
if ms.LoadMessageInfo() == nil { |
| 181 |
ms.StoreMessageInfo(mi) |
| 182 |
} |
| 183 |
return ms |
| 184 |
} |
| 185 |
return mi.MessageOf(x) |
| 186 |
} |
| 187 |
|
| 188 |
// Deprecated: Use Sku.ProtoReflect.Descriptor instead. |
| 189 |
func (*Sku) Descriptor() ([]byte, []int) { |
| 190 |
return file_google_cloud_channel_v1_products_proto_rawDescGZIP(), []int{1} |
| 191 |
} |
| 192 |
|
| 193 |
func (x *Sku) GetName() string { |
| 194 |
if x != nil { |
| 195 |
return x.Name |
| 196 |
} |
| 197 |
return "" |
| 198 |
} |
| 199 |
|
| 200 |
func (x *Sku) GetMarketingInfo() *MarketingInfo { |
| 201 |
if x != nil { |
| 202 |
return x.MarketingInfo |
| 203 |
} |
| 204 |
return nil |
| 205 |
} |
| 206 |
|
| 207 |
func (x *Sku) GetProduct() *Product { |
| 208 |
if x != nil { |
| 209 |
return x.Product |
| 210 |
} |
| 211 |
return nil |
| 212 |
} |
| 213 |
|
| 214 |
// Represents the marketing information for a Product, SKU or Offer. |
| 215 |
type MarketingInfo struct { |
| 216 |
state protoimpl.MessageState |
| 217 |
sizeCache protoimpl.SizeCache |
| 218 |
unknownFields protoimpl.UnknownFields |
| 219 |
|
| 220 |
// Human readable name. |
| 221 |
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 222 |
// Human readable description. Description can contain HTML. |
| 223 |
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
| 224 |
// Default logo. |
| 225 |
DefaultLogo *Media `protobuf:"bytes,3,opt,name=default_logo,json=defaultLogo,proto3" json:"default_logo,omitempty"` |
| 226 |
} |
| 227 |
|
| 228 |
func (x *MarketingInfo) Reset() { |
| 229 |
*x = MarketingInfo{} |
| 230 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[2] |
| 231 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 232 |
ms.StoreMessageInfo(mi) |
| 233 |
} |
| 234 |
|
| 235 |
func (x *MarketingInfo) String() string { |
| 236 |
return protoimpl.X.MessageStringOf(x) |
| 237 |
} |
| 238 |
|
| 239 |
func (*MarketingInfo) ProtoMessage() {} |
| 240 |
|
| 241 |
func (x *MarketingInfo) ProtoReflect() protoreflect.Message { |
| 242 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[2] |
| 243 |
if x != nil { |
| 244 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 245 |
if ms.LoadMessageInfo() == nil { |
| 246 |
ms.StoreMessageInfo(mi) |
| 247 |
} |
| 248 |
return ms |
| 249 |
} |
| 250 |
return mi.MessageOf(x) |
| 251 |
} |
| 252 |
|
| 253 |
// Deprecated: Use MarketingInfo.ProtoReflect.Descriptor instead. |
| 254 |
func (*MarketingInfo) Descriptor() ([]byte, []int) { |
| 255 |
return file_google_cloud_channel_v1_products_proto_rawDescGZIP(), []int{2} |
| 256 |
} |
| 257 |
|
| 258 |
func (x *MarketingInfo) GetDisplayName() string { |
| 259 |
if x != nil { |
| 260 |
return x.DisplayName |
| 261 |
} |
| 262 |
return "" |
| 263 |
} |
| 264 |
|
| 265 |
func (x *MarketingInfo) GetDescription() string { |
| 266 |
if x != nil { |
| 267 |
return x.Description |
| 268 |
} |
| 269 |
return "" |
| 270 |
} |
| 271 |
|
| 272 |
func (x *MarketingInfo) GetDefaultLogo() *Media { |
| 273 |
if x != nil { |
| 274 |
return x.DefaultLogo |
| 275 |
} |
| 276 |
return nil |
| 277 |
} |
| 278 |
|
| 279 |
// Represents media information. |
| 280 |
type Media struct { |
| 281 |
state protoimpl.MessageState |
| 282 |
sizeCache protoimpl.SizeCache |
| 283 |
unknownFields protoimpl.UnknownFields |
| 284 |
|
| 285 |
// Title of the media. |
| 286 |
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| 287 |
// URL of the media. |
| 288 |
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` |
| 289 |
// Type of the media. |
| 290 |
Type MediaType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.channel.v1.MediaType" json:"type,omitempty"` |
| 291 |
} |
| 292 |
|
| 293 |
func (x *Media) Reset() { |
| 294 |
*x = Media{} |
| 295 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[3] |
| 296 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 297 |
ms.StoreMessageInfo(mi) |
| 298 |
} |
| 299 |
|
| 300 |
func (x *Media) String() string { |
| 301 |
return protoimpl.X.MessageStringOf(x) |
| 302 |
} |
| 303 |
|
| 304 |
func (*Media) ProtoMessage() {} |
| 305 |
|
| 306 |
func (x *Media) ProtoReflect() protoreflect.Message { |
| 307 |
mi := &file_google_cloud_channel_v1_products_proto_msgTypes[3] |
| 308 |
if x != nil { |
| 309 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 310 |
if ms.LoadMessageInfo() == nil { |
| 311 |
ms.StoreMessageInfo(mi) |
| 312 |
} |
| 313 |
return ms |
| 314 |
} |
| 315 |
return mi.MessageOf(x) |
| 316 |
} |
| 317 |
|
| 318 |
// Deprecated: Use Media.ProtoReflect.Descriptor instead. |
| 319 |
func (*Media) Descriptor() ([]byte, []int) { |
| 320 |
return file_google_cloud_channel_v1_products_proto_rawDescGZIP(), []int{3} |
| 321 |
} |
| 322 |
|
| 323 |
func (x *Media) GetTitle() string { |
| 324 |
if x != nil { |
| 325 |
return x.Title |
| 326 |
} |
| 327 |
return "" |
| 328 |
} |
| 329 |
|
| 330 |
func (x *Media) GetContent() string { |
| 331 |
if x != nil { |
| 332 |
return x.Content |
| 333 |
} |
| 334 |
return "" |
| 335 |
} |
| 336 |
|
| 337 |
func (x *Media) GetType() MediaType { |
| 338 |
if x != nil { |
| 339 |
return x.Type |
| 340 |
} |
| 341 |
return MediaType_MEDIA_TYPE_UNSPECIFIED |
| 342 |
} |
| 343 |
|
| 344 |
var File_google_cloud_channel_v1_products_proto protoreflect.FileDescriptor |
| 345 |
|
| 346 |
var file_google_cloud_channel_v1_products_proto_rawDesc = []byte{ |
| 347 |
0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 348 |
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| 349 |
0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 350 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, |
| 351 |
0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, |
| 352 |
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, |
| 353 |
0x07, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 354 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0e, |
| 355 |
0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, |
| 356 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 357 |
0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, |
| 358 |
0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x6d, 0x61, |
| 359 |
0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x3a, 0x3c, 0xea, 0x41, 0x39, |
| 360 |
0x0a, 0x23, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, |
| 361 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, |
| 362 |
0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x12, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x2f, |
| 363 |
0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x7d, 0x22, 0xe9, 0x01, 0x0a, 0x03, 0x53, 0x6b, |
| 364 |
0x75, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 365 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, |
| 366 |
0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, |
| 367 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, |
| 368 |
0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, |
| 369 |
0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x69, 0x6e, 0x67, |
| 370 |
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, |
| 371 |
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 372 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, |
| 373 |
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| 374 |
0x3a, 0x43, 0xea, 0x41, 0x40, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, |
| 375 |
0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 376 |
0x6f, 0x6d, 0x2f, 0x53, 0x6b, 0x75, 0x12, 0x1d, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, |
| 377 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x6b, 0x75, 0x73, 0x2f, |
| 378 |
0x7b, 0x73, 0x6b, 0x75, 0x7d, 0x22, 0x97, 0x01, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, |
| 379 |
0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, |
| 380 |
0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, |
| 381 |
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, |
| 382 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 383 |
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0c, |
| 384 |
0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x03, 0x20, 0x01, |
| 385 |
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 386 |
0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x64, |
| 387 |
0x69, 0x61, 0x52, 0x0b, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x6f, 0x67, 0x6f, 0x22, |
| 388 |
0x6f, 0x0a, 0x05, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, |
| 389 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, |
| 390 |
0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 391 |
0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, |
| 392 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 393 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, |
| 394 |
0x2e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, |
| 395 |
0x2a, 0x3d, 0x0a, 0x09, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, |
| 396 |
0x16, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 397 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x45, 0x44, |
| 398 |
0x49, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x42, |
| 399 |
0x65, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 400 |
0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x0d, |
| 401 |
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 402 |
0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, |
| 403 |
0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, |
| 404 |
0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, |
| 405 |
0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 406 |
} |
| 407 |
|
| 408 |
var ( |
| 409 |
file_google_cloud_channel_v1_products_proto_rawDescOnce sync.Once |
| 410 |
file_google_cloud_channel_v1_products_proto_rawDescData = file_google_cloud_channel_v1_products_proto_rawDesc |
| 411 |
) |
| 412 |
|
| 413 |
func file_google_cloud_channel_v1_products_proto_rawDescGZIP() []byte { |
| 414 |
file_google_cloud_channel_v1_products_proto_rawDescOnce.Do(func() { |
| 415 |
file_google_cloud_channel_v1_products_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_products_proto_rawDescData) |
| 416 |
}) |
| 417 |
return file_google_cloud_channel_v1_products_proto_rawDescData |
| 418 |
} |
| 419 |
|
| 420 |
var file_google_cloud_channel_v1_products_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 421 |
var file_google_cloud_channel_v1_products_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 422 |
var file_google_cloud_channel_v1_products_proto_goTypes = []any{ |
| 423 |
(MediaType)(0), // 0: google.cloud.channel.v1.MediaType |
| 424 |
(*Product)(nil), // 1: google.cloud.channel.v1.Product |
| 425 |
(*Sku)(nil), // 2: google.cloud.channel.v1.Sku |
| 426 |
(*MarketingInfo)(nil), // 3: google.cloud.channel.v1.MarketingInfo |
| 427 |
(*Media)(nil), // 4: google.cloud.channel.v1.Media |
| 428 |
} |
| 429 |
var file_google_cloud_channel_v1_products_proto_depIdxs = []int32{ |
| 430 |
3, // 0: google.cloud.channel.v1.Product.marketing_info:type_name -> google.cloud.channel.v1.MarketingInfo |
| 431 |
3, // 1: google.cloud.channel.v1.Sku.marketing_info:type_name -> google.cloud.channel.v1.MarketingInfo |
| 432 |
1, // 2: google.cloud.channel.v1.Sku.product:type_name -> google.cloud.channel.v1.Product |
| 433 |
4, // 3: google.cloud.channel.v1.MarketingInfo.default_logo:type_name -> google.cloud.channel.v1.Media |
| 434 |
0, // 4: google.cloud.channel.v1.Media.type:type_name -> google.cloud.channel.v1.MediaType |
| 435 |
5, // [5:5] is the sub-list for method output_type |
| 436 |
5, // [5:5] is the sub-list for method input_type |
| 437 |
5, // [5:5] is the sub-list for extension type_name |
| 438 |
5, // [5:5] is the sub-list for extension extendee |
| 439 |
0, // [0:5] is the sub-list for field type_name |
| 440 |
} |
| 441 |
|
| 442 |
func init() { file_google_cloud_channel_v1_products_proto_init() } |
| 443 |
func file_google_cloud_channel_v1_products_proto_init() { |
| 444 |
if File_google_cloud_channel_v1_products_proto != nil { |
| 445 |
return |
| 446 |
} |
| 447 |
type x struct{} |
| 448 |
out := protoimpl.TypeBuilder{ |
| 449 |
File: protoimpl.DescBuilder{ |
| 450 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 451 |
RawDescriptor: file_google_cloud_channel_v1_products_proto_rawDesc, |
| 452 |
NumEnums: 1, |
| 453 |
NumMessages: 4, |
| 454 |
NumExtensions: 0, |
| 455 |
NumServices: 0, |
| 456 |
}, |
| 457 |
GoTypes: file_google_cloud_channel_v1_products_proto_goTypes, |
| 458 |
DependencyIndexes: file_google_cloud_channel_v1_products_proto_depIdxs, |
| 459 |
EnumInfos: file_google_cloud_channel_v1_products_proto_enumTypes, |
| 460 |
MessageInfos: file_google_cloud_channel_v1_products_proto_msgTypes, |
| 461 |
}.Build() |
| 462 |
File_google_cloud_channel_v1_products_proto = out.File |
| 463 |
file_google_cloud_channel_v1_products_proto_rawDesc = nil |
| 464 |
file_google_cloud_channel_v1_products_proto_goTypes = nil |
| 465 |
file_google_cloud_channel_v1_products_proto_depIdxs = nil |
| 466 |
} |