| 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/repricing.proto |
| 20 |
|
| 21 |
package channelpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
date "google.golang.org/genproto/googleapis/type/date" |
| 26 |
decimal "google.golang.org/genproto/googleapis/type/decimal" |
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 30 |
reflect "reflect" |
| 31 |
sync "sync" |
| 32 |
) |
| 33 |
|
| 34 |
const ( |
| 35 |
// Verify that this generated code is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 37 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 39 |
) |
| 40 |
|
| 41 |
// Specifies the different costs that the modified bill can be based on. |
| 42 |
type RebillingBasis int32 |
| 43 |
|
| 44 |
const ( |
| 45 |
// Not used. |
| 46 |
RebillingBasis_REBILLING_BASIS_UNSPECIFIED RebillingBasis = 0 |
| 47 |
// Use the list cost, also known as the MSRP. |
| 48 |
RebillingBasis_COST_AT_LIST RebillingBasis = 1 |
| 49 |
// Pass through all discounts except the Reseller Program Discount. If this is |
| 50 |
// the default cost base and no adjustments are specified, the output cost |
| 51 |
// will be exactly what the customer would see if they viewed the bill in the |
| 52 |
// Google Cloud Console. |
| 53 |
RebillingBasis_DIRECT_CUSTOMER_COST RebillingBasis = 2 |
| 54 |
) |
| 55 |
|
| 56 |
// Enum value maps for RebillingBasis. |
| 57 |
var ( |
| 58 |
RebillingBasis_name = map[int32]string{ |
| 59 |
0: "REBILLING_BASIS_UNSPECIFIED", |
| 60 |
1: "COST_AT_LIST", |
| 61 |
2: "DIRECT_CUSTOMER_COST", |
| 62 |
} |
| 63 |
RebillingBasis_value = map[string]int32{ |
| 64 |
"REBILLING_BASIS_UNSPECIFIED": 0, |
| 65 |
"COST_AT_LIST": 1, |
| 66 |
"DIRECT_CUSTOMER_COST": 2, |
| 67 |
} |
| 68 |
) |
| 69 |
|
| 70 |
func (x RebillingBasis) Enum() *RebillingBasis { |
| 71 |
p := new(RebillingBasis) |
| 72 |
*p = x |
| 73 |
return p |
| 74 |
} |
| 75 |
|
| 76 |
func (x RebillingBasis) String() string { |
| 77 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 78 |
} |
| 79 |
|
| 80 |
func (RebillingBasis) Descriptor() protoreflect.EnumDescriptor { |
| 81 |
return file_google_cloud_channel_v1_repricing_proto_enumTypes[0].Descriptor() |
| 82 |
} |
| 83 |
|
| 84 |
func (RebillingBasis) Type() protoreflect.EnumType { |
| 85 |
return &file_google_cloud_channel_v1_repricing_proto_enumTypes[0] |
| 86 |
} |
| 87 |
|
| 88 |
func (x RebillingBasis) Number() protoreflect.EnumNumber { |
| 89 |
return protoreflect.EnumNumber(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use RebillingBasis.Descriptor instead. |
| 93 |
func (RebillingBasis) EnumDescriptor() ([]byte, []int) { |
| 94 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{0} |
| 95 |
} |
| 96 |
|
| 97 |
// Configuration for how a reseller will reprice a Customer. |
| 98 |
type CustomerRepricingConfig struct { |
| 99 |
state protoimpl.MessageState |
| 100 |
sizeCache protoimpl.SizeCache |
| 101 |
unknownFields protoimpl.UnknownFields |
| 102 |
|
| 103 |
// Output only. Resource name of the CustomerRepricingConfig. |
| 104 |
// Format: |
| 105 |
// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. |
| 106 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 107 |
// Required. The configuration for bill modifications made by a reseller |
| 108 |
// before sending it to customers. |
| 109 |
RepricingConfig *RepricingConfig `protobuf:"bytes,2,opt,name=repricing_config,json=repricingConfig,proto3" json:"repricing_config,omitempty"` |
| 110 |
// Output only. Timestamp of an update to the repricing rule. If `update_time` |
| 111 |
// is after |
| 112 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 113 |
// then it indicates this was set mid-month. |
| 114 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 115 |
} |
| 116 |
|
| 117 |
func (x *CustomerRepricingConfig) Reset() { |
| 118 |
*x = CustomerRepricingConfig{} |
| 119 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[0] |
| 120 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 121 |
ms.StoreMessageInfo(mi) |
| 122 |
} |
| 123 |
|
| 124 |
func (x *CustomerRepricingConfig) String() string { |
| 125 |
return protoimpl.X.MessageStringOf(x) |
| 126 |
} |
| 127 |
|
| 128 |
func (*CustomerRepricingConfig) ProtoMessage() {} |
| 129 |
|
| 130 |
func (x *CustomerRepricingConfig) ProtoReflect() protoreflect.Message { |
| 131 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[0] |
| 132 |
if x != nil { |
| 133 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 134 |
if ms.LoadMessageInfo() == nil { |
| 135 |
ms.StoreMessageInfo(mi) |
| 136 |
} |
| 137 |
return ms |
| 138 |
} |
| 139 |
return mi.MessageOf(x) |
| 140 |
} |
| 141 |
|
| 142 |
// Deprecated: Use CustomerRepricingConfig.ProtoReflect.Descriptor instead. |
| 143 |
func (*CustomerRepricingConfig) Descriptor() ([]byte, []int) { |
| 144 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{0} |
| 145 |
} |
| 146 |
|
| 147 |
func (x *CustomerRepricingConfig) GetName() string { |
| 148 |
if x != nil { |
| 149 |
return x.Name |
| 150 |
} |
| 151 |
return "" |
| 152 |
} |
| 153 |
|
| 154 |
func (x *CustomerRepricingConfig) GetRepricingConfig() *RepricingConfig { |
| 155 |
if x != nil { |
| 156 |
return x.RepricingConfig |
| 157 |
} |
| 158 |
return nil |
| 159 |
} |
| 160 |
|
| 161 |
func (x *CustomerRepricingConfig) GetUpdateTime() *timestamppb.Timestamp { |
| 162 |
if x != nil { |
| 163 |
return x.UpdateTime |
| 164 |
} |
| 165 |
return nil |
| 166 |
} |
| 167 |
|
| 168 |
// Configuration for how a distributor will rebill a channel partner |
| 169 |
// (also known as a distributor-authorized reseller). |
| 170 |
type ChannelPartnerRepricingConfig struct { |
| 171 |
state protoimpl.MessageState |
| 172 |
sizeCache protoimpl.SizeCache |
| 173 |
unknownFields protoimpl.UnknownFields |
| 174 |
|
| 175 |
// Output only. Resource name of the ChannelPartnerRepricingConfig. |
| 176 |
// Format: |
| 177 |
// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. |
| 178 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 179 |
// Required. The configuration for bill modifications made by a reseller |
| 180 |
// before sending it to ChannelPartner. |
| 181 |
RepricingConfig *RepricingConfig `protobuf:"bytes,2,opt,name=repricing_config,json=repricingConfig,proto3" json:"repricing_config,omitempty"` |
| 182 |
// Output only. Timestamp of an update to the repricing rule. If `update_time` |
| 183 |
// is after |
| 184 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 185 |
// then it indicates this was set mid-month. |
| 186 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 187 |
} |
| 188 |
|
| 189 |
func (x *ChannelPartnerRepricingConfig) Reset() { |
| 190 |
*x = ChannelPartnerRepricingConfig{} |
| 191 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[1] |
| 192 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 193 |
ms.StoreMessageInfo(mi) |
| 194 |
} |
| 195 |
|
| 196 |
func (x *ChannelPartnerRepricingConfig) String() string { |
| 197 |
return protoimpl.X.MessageStringOf(x) |
| 198 |
} |
| 199 |
|
| 200 |
func (*ChannelPartnerRepricingConfig) ProtoMessage() {} |
| 201 |
|
| 202 |
func (x *ChannelPartnerRepricingConfig) ProtoReflect() protoreflect.Message { |
| 203 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[1] |
| 204 |
if x != nil { |
| 205 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 206 |
if ms.LoadMessageInfo() == nil { |
| 207 |
ms.StoreMessageInfo(mi) |
| 208 |
} |
| 209 |
return ms |
| 210 |
} |
| 211 |
return mi.MessageOf(x) |
| 212 |
} |
| 213 |
|
| 214 |
// Deprecated: Use ChannelPartnerRepricingConfig.ProtoReflect.Descriptor instead. |
| 215 |
func (*ChannelPartnerRepricingConfig) Descriptor() ([]byte, []int) { |
| 216 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{1} |
| 217 |
} |
| 218 |
|
| 219 |
func (x *ChannelPartnerRepricingConfig) GetName() string { |
| 220 |
if x != nil { |
| 221 |
return x.Name |
| 222 |
} |
| 223 |
return "" |
| 224 |
} |
| 225 |
|
| 226 |
func (x *ChannelPartnerRepricingConfig) GetRepricingConfig() *RepricingConfig { |
| 227 |
if x != nil { |
| 228 |
return x.RepricingConfig |
| 229 |
} |
| 230 |
return nil |
| 231 |
} |
| 232 |
|
| 233 |
func (x *ChannelPartnerRepricingConfig) GetUpdateTime() *timestamppb.Timestamp { |
| 234 |
if x != nil { |
| 235 |
return x.UpdateTime |
| 236 |
} |
| 237 |
return nil |
| 238 |
} |
| 239 |
|
| 240 |
// Configuration for repricing a Google bill over a period of time. |
| 241 |
type RepricingConfig struct { |
| 242 |
state protoimpl.MessageState |
| 243 |
sizeCache protoimpl.SizeCache |
| 244 |
unknownFields protoimpl.UnknownFields |
| 245 |
|
| 246 |
// Required. Defines the granularity for repricing. |
| 247 |
// |
| 248 |
// Types that are assignable to Granularity: |
| 249 |
// |
| 250 |
// *RepricingConfig_EntitlementGranularity_ |
| 251 |
// *RepricingConfig_ChannelPartnerGranularity_ |
| 252 |
Granularity isRepricingConfig_Granularity `protobuf_oneof:"granularity"` |
| 253 |
// Required. The YearMonth when these adjustments activate. The Day field |
| 254 |
// needs to be "0" since we only accept YearMonth repricing boundaries. |
| 255 |
EffectiveInvoiceMonth *date.Date `protobuf:"bytes,1,opt,name=effective_invoice_month,json=effectiveInvoiceMonth,proto3" json:"effective_invoice_month,omitempty"` |
| 256 |
// Required. Information about the adjustment. |
| 257 |
Adjustment *RepricingAdjustment `protobuf:"bytes,2,opt,name=adjustment,proto3" json:"adjustment,omitempty"` |
| 258 |
// Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to |
| 259 |
// use for this bill. Specifies the relative cost based on repricing costs you |
| 260 |
// will apply. |
| 261 |
RebillingBasis RebillingBasis `protobuf:"varint,3,opt,name=rebilling_basis,json=rebillingBasis,proto3,enum=google.cloud.channel.v1.RebillingBasis" json:"rebilling_basis,omitempty"` |
| 262 |
// The conditional overrides to apply for this configuration. If you list |
| 263 |
// multiple overrides, only the first valid override is used. If you don't |
| 264 |
// list any overrides, the API uses the normal adjustment and rebilling basis. |
| 265 |
ConditionalOverrides []*ConditionalOverride `protobuf:"bytes,6,rep,name=conditional_overrides,json=conditionalOverrides,proto3" json:"conditional_overrides,omitempty"` |
| 266 |
} |
| 267 |
|
| 268 |
func (x *RepricingConfig) Reset() { |
| 269 |
*x = RepricingConfig{} |
| 270 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[2] |
| 271 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 272 |
ms.StoreMessageInfo(mi) |
| 273 |
} |
| 274 |
|
| 275 |
func (x *RepricingConfig) String() string { |
| 276 |
return protoimpl.X.MessageStringOf(x) |
| 277 |
} |
| 278 |
|
| 279 |
func (*RepricingConfig) ProtoMessage() {} |
| 280 |
|
| 281 |
func (x *RepricingConfig) ProtoReflect() protoreflect.Message { |
| 282 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[2] |
| 283 |
if x != nil { |
| 284 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 285 |
if ms.LoadMessageInfo() == nil { |
| 286 |
ms.StoreMessageInfo(mi) |
| 287 |
} |
| 288 |
return ms |
| 289 |
} |
| 290 |
return mi.MessageOf(x) |
| 291 |
} |
| 292 |
|
| 293 |
// Deprecated: Use RepricingConfig.ProtoReflect.Descriptor instead. |
| 294 |
func (*RepricingConfig) Descriptor() ([]byte, []int) { |
| 295 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{2} |
| 296 |
} |
| 297 |
|
| 298 |
func (m *RepricingConfig) GetGranularity() isRepricingConfig_Granularity { |
| 299 |
if m != nil { |
| 300 |
return m.Granularity |
| 301 |
} |
| 302 |
return nil |
| 303 |
} |
| 304 |
|
| 305 |
func (x *RepricingConfig) GetEntitlementGranularity() *RepricingConfig_EntitlementGranularity { |
| 306 |
if x, ok := x.GetGranularity().(*RepricingConfig_EntitlementGranularity_); ok { |
| 307 |
return x.EntitlementGranularity |
| 308 |
} |
| 309 |
return nil |
| 310 |
} |
| 311 |
|
| 312 |
// Deprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto. |
| 313 |
func (x *RepricingConfig) GetChannelPartnerGranularity() *RepricingConfig_ChannelPartnerGranularity { |
| 314 |
if x, ok := x.GetGranularity().(*RepricingConfig_ChannelPartnerGranularity_); ok { |
| 315 |
return x.ChannelPartnerGranularity |
| 316 |
} |
| 317 |
return nil |
| 318 |
} |
| 319 |
|
| 320 |
func (x *RepricingConfig) GetEffectiveInvoiceMonth() *date.Date { |
| 321 |
if x != nil { |
| 322 |
return x.EffectiveInvoiceMonth |
| 323 |
} |
| 324 |
return nil |
| 325 |
} |
| 326 |
|
| 327 |
func (x *RepricingConfig) GetAdjustment() *RepricingAdjustment { |
| 328 |
if x != nil { |
| 329 |
return x.Adjustment |
| 330 |
} |
| 331 |
return nil |
| 332 |
} |
| 333 |
|
| 334 |
func (x *RepricingConfig) GetRebillingBasis() RebillingBasis { |
| 335 |
if x != nil { |
| 336 |
return x.RebillingBasis |
| 337 |
} |
| 338 |
return RebillingBasis_REBILLING_BASIS_UNSPECIFIED |
| 339 |
} |
| 340 |
|
| 341 |
func (x *RepricingConfig) GetConditionalOverrides() []*ConditionalOverride { |
| 342 |
if x != nil { |
| 343 |
return x.ConditionalOverrides |
| 344 |
} |
| 345 |
return nil |
| 346 |
} |
| 347 |
|
| 348 |
type isRepricingConfig_Granularity interface { |
| 349 |
isRepricingConfig_Granularity() |
| 350 |
} |
| 351 |
|
| 352 |
type RepricingConfig_EntitlementGranularity_ struct { |
| 353 |
// Applies the repricing configuration at the entitlement level. |
| 354 |
// |
| 355 |
// Note: If a |
| 356 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 357 |
// using |
| 358 |
// [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] |
| 359 |
// becomes effective, then no existing or future |
| 360 |
// [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] |
| 361 |
// will apply to the |
| 362 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. |
| 363 |
// This is the recommended value for both |
| 364 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 365 |
// and |
| 366 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]. |
| 367 |
EntitlementGranularity *RepricingConfig_EntitlementGranularity `protobuf:"bytes,4,opt,name=entitlement_granularity,json=entitlementGranularity,proto3,oneof"` |
| 368 |
} |
| 369 |
|
| 370 |
type RepricingConfig_ChannelPartnerGranularity_ struct { |
| 371 |
// Applies the repricing configuration at the channel partner level. |
| 372 |
// Only |
| 373 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 374 |
// supports this value. Deprecated: This is no longer supported. Use |
| 375 |
// [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] |
| 376 |
// instead. |
| 377 |
// |
| 378 |
// Deprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto. |
| 379 |
ChannelPartnerGranularity *RepricingConfig_ChannelPartnerGranularity `protobuf:"bytes,5,opt,name=channel_partner_granularity,json=channelPartnerGranularity,proto3,oneof"` |
| 380 |
} |
| 381 |
|
| 382 |
func (*RepricingConfig_EntitlementGranularity_) isRepricingConfig_Granularity() {} |
| 383 |
|
| 384 |
func (*RepricingConfig_ChannelPartnerGranularity_) isRepricingConfig_Granularity() {} |
| 385 |
|
| 386 |
// A type that represents the various adjustments you can apply to a bill. |
| 387 |
type RepricingAdjustment struct { |
| 388 |
state protoimpl.MessageState |
| 389 |
sizeCache protoimpl.SizeCache |
| 390 |
unknownFields protoimpl.UnknownFields |
| 391 |
|
| 392 |
// A oneof that represents the different types for this adjustment. |
| 393 |
// |
| 394 |
// Types that are assignable to Adjustment: |
| 395 |
// |
| 396 |
// *RepricingAdjustment_PercentageAdjustment |
| 397 |
Adjustment isRepricingAdjustment_Adjustment `protobuf_oneof:"adjustment"` |
| 398 |
} |
| 399 |
|
| 400 |
func (x *RepricingAdjustment) Reset() { |
| 401 |
*x = RepricingAdjustment{} |
| 402 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[3] |
| 403 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 404 |
ms.StoreMessageInfo(mi) |
| 405 |
} |
| 406 |
|
| 407 |
func (x *RepricingAdjustment) String() string { |
| 408 |
return protoimpl.X.MessageStringOf(x) |
| 409 |
} |
| 410 |
|
| 411 |
func (*RepricingAdjustment) ProtoMessage() {} |
| 412 |
|
| 413 |
func (x *RepricingAdjustment) ProtoReflect() protoreflect.Message { |
| 414 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[3] |
| 415 |
if x != nil { |
| 416 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 417 |
if ms.LoadMessageInfo() == nil { |
| 418 |
ms.StoreMessageInfo(mi) |
| 419 |
} |
| 420 |
return ms |
| 421 |
} |
| 422 |
return mi.MessageOf(x) |
| 423 |
} |
| 424 |
|
| 425 |
// Deprecated: Use RepricingAdjustment.ProtoReflect.Descriptor instead. |
| 426 |
func (*RepricingAdjustment) Descriptor() ([]byte, []int) { |
| 427 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{3} |
| 428 |
} |
| 429 |
|
| 430 |
func (m *RepricingAdjustment) GetAdjustment() isRepricingAdjustment_Adjustment { |
| 431 |
if m != nil { |
| 432 |
return m.Adjustment |
| 433 |
} |
| 434 |
return nil |
| 435 |
} |
| 436 |
|
| 437 |
func (x *RepricingAdjustment) GetPercentageAdjustment() *PercentageAdjustment { |
| 438 |
if x, ok := x.GetAdjustment().(*RepricingAdjustment_PercentageAdjustment); ok { |
| 439 |
return x.PercentageAdjustment |
| 440 |
} |
| 441 |
return nil |
| 442 |
} |
| 443 |
|
| 444 |
type isRepricingAdjustment_Adjustment interface { |
| 445 |
isRepricingAdjustment_Adjustment() |
| 446 |
} |
| 447 |
|
| 448 |
type RepricingAdjustment_PercentageAdjustment struct { |
| 449 |
// Flat markup or markdown on an entire bill. |
| 450 |
PercentageAdjustment *PercentageAdjustment `protobuf:"bytes,2,opt,name=percentage_adjustment,json=percentageAdjustment,proto3,oneof"` |
| 451 |
} |
| 452 |
|
| 453 |
func (*RepricingAdjustment_PercentageAdjustment) isRepricingAdjustment_Adjustment() {} |
| 454 |
|
| 455 |
// An adjustment that applies a flat markup or markdown to an entire bill. |
| 456 |
type PercentageAdjustment struct { |
| 457 |
state protoimpl.MessageState |
| 458 |
sizeCache protoimpl.SizeCache |
| 459 |
unknownFields protoimpl.UnknownFields |
| 460 |
|
| 461 |
// The percentage of the bill to adjust. |
| 462 |
// For example: |
| 463 |
// Mark down by 1% => "-1.00" |
| 464 |
// Mark up by 1% => "1.00" |
| 465 |
// Pass-Through => "0.00" |
| 466 |
Percentage *decimal.Decimal `protobuf:"bytes,2,opt,name=percentage,proto3" json:"percentage,omitempty"` |
| 467 |
} |
| 468 |
|
| 469 |
func (x *PercentageAdjustment) Reset() { |
| 470 |
*x = PercentageAdjustment{} |
| 471 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[4] |
| 472 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 |
ms.StoreMessageInfo(mi) |
| 474 |
} |
| 475 |
|
| 476 |
func (x *PercentageAdjustment) String() string { |
| 477 |
return protoimpl.X.MessageStringOf(x) |
| 478 |
} |
| 479 |
|
| 480 |
func (*PercentageAdjustment) ProtoMessage() {} |
| 481 |
|
| 482 |
func (x *PercentageAdjustment) ProtoReflect() protoreflect.Message { |
| 483 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[4] |
| 484 |
if x != nil { |
| 485 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 486 |
if ms.LoadMessageInfo() == nil { |
| 487 |
ms.StoreMessageInfo(mi) |
| 488 |
} |
| 489 |
return ms |
| 490 |
} |
| 491 |
return mi.MessageOf(x) |
| 492 |
} |
| 493 |
|
| 494 |
// Deprecated: Use PercentageAdjustment.ProtoReflect.Descriptor instead. |
| 495 |
func (*PercentageAdjustment) Descriptor() ([]byte, []int) { |
| 496 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{4} |
| 497 |
} |
| 498 |
|
| 499 |
func (x *PercentageAdjustment) GetPercentage() *decimal.Decimal { |
| 500 |
if x != nil { |
| 501 |
return x.Percentage |
| 502 |
} |
| 503 |
return nil |
| 504 |
} |
| 505 |
|
| 506 |
// Specifies the override to conditionally apply. |
| 507 |
type ConditionalOverride struct { |
| 508 |
state protoimpl.MessageState |
| 509 |
sizeCache protoimpl.SizeCache |
| 510 |
unknownFields protoimpl.UnknownFields |
| 511 |
|
| 512 |
// Required. Information about the applied override's adjustment. |
| 513 |
Adjustment *RepricingAdjustment `protobuf:"bytes,1,opt,name=adjustment,proto3" json:"adjustment,omitempty"` |
| 514 |
// Required. The [RebillingBasis][google.cloud.channel.v1.RebillingBasis] to |
| 515 |
// use for the applied override. Shows the relative cost based on your |
| 516 |
// repricing costs. |
| 517 |
RebillingBasis RebillingBasis `protobuf:"varint,2,opt,name=rebilling_basis,json=rebillingBasis,proto3,enum=google.cloud.channel.v1.RebillingBasis" json:"rebilling_basis,omitempty"` |
| 518 |
// Required. Specifies the condition which, if met, will apply the override. |
| 519 |
RepricingCondition *RepricingCondition `protobuf:"bytes,3,opt,name=repricing_condition,json=repricingCondition,proto3" json:"repricing_condition,omitempty"` |
| 520 |
} |
| 521 |
|
| 522 |
func (x *ConditionalOverride) Reset() { |
| 523 |
*x = ConditionalOverride{} |
| 524 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[5] |
| 525 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 526 |
ms.StoreMessageInfo(mi) |
| 527 |
} |
| 528 |
|
| 529 |
func (x *ConditionalOverride) String() string { |
| 530 |
return protoimpl.X.MessageStringOf(x) |
| 531 |
} |
| 532 |
|
| 533 |
func (*ConditionalOverride) ProtoMessage() {} |
| 534 |
|
| 535 |
func (x *ConditionalOverride) ProtoReflect() protoreflect.Message { |
| 536 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[5] |
| 537 |
if x != nil { |
| 538 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 539 |
if ms.LoadMessageInfo() == nil { |
| 540 |
ms.StoreMessageInfo(mi) |
| 541 |
} |
| 542 |
return ms |
| 543 |
} |
| 544 |
return mi.MessageOf(x) |
| 545 |
} |
| 546 |
|
| 547 |
// Deprecated: Use ConditionalOverride.ProtoReflect.Descriptor instead. |
| 548 |
func (*ConditionalOverride) Descriptor() ([]byte, []int) { |
| 549 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{5} |
| 550 |
} |
| 551 |
|
| 552 |
func (x *ConditionalOverride) GetAdjustment() *RepricingAdjustment { |
| 553 |
if x != nil { |
| 554 |
return x.Adjustment |
| 555 |
} |
| 556 |
return nil |
| 557 |
} |
| 558 |
|
| 559 |
func (x *ConditionalOverride) GetRebillingBasis() RebillingBasis { |
| 560 |
if x != nil { |
| 561 |
return x.RebillingBasis |
| 562 |
} |
| 563 |
return RebillingBasis_REBILLING_BASIS_UNSPECIFIED |
| 564 |
} |
| 565 |
|
| 566 |
func (x *ConditionalOverride) GetRepricingCondition() *RepricingCondition { |
| 567 |
if x != nil { |
| 568 |
return x.RepricingCondition |
| 569 |
} |
| 570 |
return nil |
| 571 |
} |
| 572 |
|
| 573 |
// Represents the various repricing conditions you can use for a conditional |
| 574 |
// override. |
| 575 |
type RepricingCondition struct { |
| 576 |
state protoimpl.MessageState |
| 577 |
sizeCache protoimpl.SizeCache |
| 578 |
unknownFields protoimpl.UnknownFields |
| 579 |
|
| 580 |
// Represents the types of existing conditional statements. |
| 581 |
// |
| 582 |
// Types that are assignable to Condition: |
| 583 |
// |
| 584 |
// *RepricingCondition_SkuGroupCondition |
| 585 |
Condition isRepricingCondition_Condition `protobuf_oneof:"condition"` |
| 586 |
} |
| 587 |
|
| 588 |
func (x *RepricingCondition) Reset() { |
| 589 |
*x = RepricingCondition{} |
| 590 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[6] |
| 591 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 592 |
ms.StoreMessageInfo(mi) |
| 593 |
} |
| 594 |
|
| 595 |
func (x *RepricingCondition) String() string { |
| 596 |
return protoimpl.X.MessageStringOf(x) |
| 597 |
} |
| 598 |
|
| 599 |
func (*RepricingCondition) ProtoMessage() {} |
| 600 |
|
| 601 |
func (x *RepricingCondition) ProtoReflect() protoreflect.Message { |
| 602 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[6] |
| 603 |
if x != nil { |
| 604 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 605 |
if ms.LoadMessageInfo() == nil { |
| 606 |
ms.StoreMessageInfo(mi) |
| 607 |
} |
| 608 |
return ms |
| 609 |
} |
| 610 |
return mi.MessageOf(x) |
| 611 |
} |
| 612 |
|
| 613 |
// Deprecated: Use RepricingCondition.ProtoReflect.Descriptor instead. |
| 614 |
func (*RepricingCondition) Descriptor() ([]byte, []int) { |
| 615 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{6} |
| 616 |
} |
| 617 |
|
| 618 |
func (m *RepricingCondition) GetCondition() isRepricingCondition_Condition { |
| 619 |
if m != nil { |
| 620 |
return m.Condition |
| 621 |
} |
| 622 |
return nil |
| 623 |
} |
| 624 |
|
| 625 |
func (x *RepricingCondition) GetSkuGroupCondition() *SkuGroupCondition { |
| 626 |
if x, ok := x.GetCondition().(*RepricingCondition_SkuGroupCondition); ok { |
| 627 |
return x.SkuGroupCondition |
| 628 |
} |
| 629 |
return nil |
| 630 |
} |
| 631 |
|
| 632 |
type isRepricingCondition_Condition interface { |
| 633 |
isRepricingCondition_Condition() |
| 634 |
} |
| 635 |
|
| 636 |
type RepricingCondition_SkuGroupCondition struct { |
| 637 |
// SKU Group condition for override. |
| 638 |
SkuGroupCondition *SkuGroupCondition `protobuf:"bytes,1,opt,name=sku_group_condition,json=skuGroupCondition,proto3,oneof"` |
| 639 |
} |
| 640 |
|
| 641 |
func (*RepricingCondition_SkuGroupCondition) isRepricingCondition_Condition() {} |
| 642 |
|
| 643 |
// A condition that applies the override if a line item SKU is found in the SKU |
| 644 |
// group. |
| 645 |
type SkuGroupCondition struct { |
| 646 |
state protoimpl.MessageState |
| 647 |
sizeCache protoimpl.SizeCache |
| 648 |
unknownFields protoimpl.UnknownFields |
| 649 |
|
| 650 |
// Specifies a SKU group (https://cloud.google.com/skus/sku-groups). |
| 651 |
// Resource name of SKU group. Format: |
| 652 |
// accounts/{account}/skuGroups/{sku_group}. |
| 653 |
// Example: |
| 654 |
// "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". |
| 655 |
SkuGroup string `protobuf:"bytes,1,opt,name=sku_group,json=skuGroup,proto3" json:"sku_group,omitempty"` |
| 656 |
} |
| 657 |
|
| 658 |
func (x *SkuGroupCondition) Reset() { |
| 659 |
*x = SkuGroupCondition{} |
| 660 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[7] |
| 661 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 662 |
ms.StoreMessageInfo(mi) |
| 663 |
} |
| 664 |
|
| 665 |
func (x *SkuGroupCondition) String() string { |
| 666 |
return protoimpl.X.MessageStringOf(x) |
| 667 |
} |
| 668 |
|
| 669 |
func (*SkuGroupCondition) ProtoMessage() {} |
| 670 |
|
| 671 |
func (x *SkuGroupCondition) ProtoReflect() protoreflect.Message { |
| 672 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[7] |
| 673 |
if x != nil { |
| 674 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 675 |
if ms.LoadMessageInfo() == nil { |
| 676 |
ms.StoreMessageInfo(mi) |
| 677 |
} |
| 678 |
return ms |
| 679 |
} |
| 680 |
return mi.MessageOf(x) |
| 681 |
} |
| 682 |
|
| 683 |
// Deprecated: Use SkuGroupCondition.ProtoReflect.Descriptor instead. |
| 684 |
func (*SkuGroupCondition) Descriptor() ([]byte, []int) { |
| 685 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{7} |
| 686 |
} |
| 687 |
|
| 688 |
func (x *SkuGroupCondition) GetSkuGroup() string { |
| 689 |
if x != nil { |
| 690 |
return x.SkuGroup |
| 691 |
} |
| 692 |
return "" |
| 693 |
} |
| 694 |
|
| 695 |
// Applies the repricing configuration at the entitlement level. |
| 696 |
type RepricingConfig_EntitlementGranularity struct { |
| 697 |
state protoimpl.MessageState |
| 698 |
sizeCache protoimpl.SizeCache |
| 699 |
unknownFields protoimpl.UnknownFields |
| 700 |
|
| 701 |
// Resource name of the entitlement. |
| 702 |
// Format: |
| 703 |
// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} |
| 704 |
Entitlement string `protobuf:"bytes,1,opt,name=entitlement,proto3" json:"entitlement,omitempty"` |
| 705 |
} |
| 706 |
|
| 707 |
func (x *RepricingConfig_EntitlementGranularity) Reset() { |
| 708 |
*x = RepricingConfig_EntitlementGranularity{} |
| 709 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[8] |
| 710 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 711 |
ms.StoreMessageInfo(mi) |
| 712 |
} |
| 713 |
|
| 714 |
func (x *RepricingConfig_EntitlementGranularity) String() string { |
| 715 |
return protoimpl.X.MessageStringOf(x) |
| 716 |
} |
| 717 |
|
| 718 |
func (*RepricingConfig_EntitlementGranularity) ProtoMessage() {} |
| 719 |
|
| 720 |
func (x *RepricingConfig_EntitlementGranularity) ProtoReflect() protoreflect.Message { |
| 721 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[8] |
| 722 |
if x != nil { |
| 723 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 724 |
if ms.LoadMessageInfo() == nil { |
| 725 |
ms.StoreMessageInfo(mi) |
| 726 |
} |
| 727 |
return ms |
| 728 |
} |
| 729 |
return mi.MessageOf(x) |
| 730 |
} |
| 731 |
|
| 732 |
// Deprecated: Use RepricingConfig_EntitlementGranularity.ProtoReflect.Descriptor instead. |
| 733 |
func (*RepricingConfig_EntitlementGranularity) Descriptor() ([]byte, []int) { |
| 734 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{2, 0} |
| 735 |
} |
| 736 |
|
| 737 |
func (x *RepricingConfig_EntitlementGranularity) GetEntitlement() string { |
| 738 |
if x != nil { |
| 739 |
return x.Entitlement |
| 740 |
} |
| 741 |
return "" |
| 742 |
} |
| 743 |
|
| 744 |
// Applies the repricing configuration at the channel partner level. |
| 745 |
// The channel partner value is derived from the resource name. Takes an |
| 746 |
// empty json object. |
| 747 |
// Deprecated: This is no longer supported. Use |
| 748 |
// [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] |
| 749 |
// instead. |
| 750 |
// |
| 751 |
// Deprecated: Marked as deprecated in google/cloud/channel/v1/repricing.proto. |
| 752 |
type RepricingConfig_ChannelPartnerGranularity struct { |
| 753 |
state protoimpl.MessageState |
| 754 |
sizeCache protoimpl.SizeCache |
| 755 |
unknownFields protoimpl.UnknownFields |
| 756 |
} |
| 757 |
|
| 758 |
func (x *RepricingConfig_ChannelPartnerGranularity) Reset() { |
| 759 |
*x = RepricingConfig_ChannelPartnerGranularity{} |
| 760 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[9] |
| 761 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 762 |
ms.StoreMessageInfo(mi) |
| 763 |
} |
| 764 |
|
| 765 |
func (x *RepricingConfig_ChannelPartnerGranularity) String() string { |
| 766 |
return protoimpl.X.MessageStringOf(x) |
| 767 |
} |
| 768 |
|
| 769 |
func (*RepricingConfig_ChannelPartnerGranularity) ProtoMessage() {} |
| 770 |
|
| 771 |
func (x *RepricingConfig_ChannelPartnerGranularity) ProtoReflect() protoreflect.Message { |
| 772 |
mi := &file_google_cloud_channel_v1_repricing_proto_msgTypes[9] |
| 773 |
if x != nil { |
| 774 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 775 |
if ms.LoadMessageInfo() == nil { |
| 776 |
ms.StoreMessageInfo(mi) |
| 777 |
} |
| 778 |
return ms |
| 779 |
} |
| 780 |
return mi.MessageOf(x) |
| 781 |
} |
| 782 |
|
| 783 |
// Deprecated: Use RepricingConfig_ChannelPartnerGranularity.ProtoReflect.Descriptor instead. |
| 784 |
func (*RepricingConfig_ChannelPartnerGranularity) Descriptor() ([]byte, []int) { |
| 785 |
return file_google_cloud_channel_v1_repricing_proto_rawDescGZIP(), []int{2, 1} |
| 786 |
} |
| 787 |
|
| 788 |
var File_google_cloud_channel_v1_repricing_proto protoreflect.FileDescriptor |
| 789 |
|
| 790 |
var file_google_cloud_channel_v1_repricing_proto_rawDesc = []byte{ |
| 791 |
0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 792 |
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, |
| 793 |
0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 794 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, |
| 795 |
0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, |
| 796 |
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, |
| 797 |
0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 798 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, |
| 799 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, |
| 800 |
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 801 |
0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x61, 0x74, |
| 802 |
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 803 |
0x74, 0x79, 0x70, 0x65, 0x2f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, |
| 804 |
0x74, 0x6f, 0x22, 0xe8, 0x02, 0x0a, 0x17, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x52, |
| 805 |
0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, |
| 806 |
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 807 |
0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x72, 0x69, |
| 808 |
0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 809 |
0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 810 |
0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, |
| 811 |
0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 812 |
0x52, 0x0f, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 813 |
0x67, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 814 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 815 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 816 |
0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, |
| 817 |
0x69, 0x6d, 0x65, 0x3a, 0x97, 0x01, 0xea, 0x41, 0x93, 0x01, 0x0a, 0x33, 0x63, 0x6c, 0x6f, 0x75, |
| 818 |
0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 819 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, |
| 820 |
0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, |
| 821 |
0x5c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, |
| 822 |
0x6e, 0x74, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x63, |
| 823 |
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, |
| 824 |
0x72, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 825 |
0x73, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x72, |
| 826 |
0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x22, 0x92, 0x03, |
| 827 |
0x0a, 0x1d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, |
| 828 |
0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, |
| 829 |
0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 830 |
0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x72, |
| 831 |
0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, |
| 832 |
0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 833 |
0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, |
| 834 |
0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, |
| 835 |
0x02, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 836 |
0x69, 0x67, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, |
| 837 |
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 838 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 839 |
0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 840 |
0x54, 0x69, 0x6d, 0x65, 0x3a, 0xbb, 0x01, 0xea, 0x41, 0xb7, 0x01, 0x0a, 0x39, 0x63, 0x6c, 0x6f, |
| 841 |
0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 842 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 843 |
0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, |
| 844 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, |
| 845 |
0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, |
| 846 |
0x65, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x7b, |
| 847 |
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, |
| 848 |
0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x52, |
| 849 |
0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, |
| 850 |
0x7b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, |
| 851 |
0x5f, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 852 |
0x67, 0x7d, 0x22, 0x8f, 0x06, 0x0a, 0x0f, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, |
| 853 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7a, 0x0a, 0x17, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, |
| 854 |
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, |
| 855 |
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 856 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, |
| 857 |
0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 858 |
0x67, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x61, |
| 859 |
0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 0x16, 0x65, 0x6e, 0x74, 0x69, |
| 860 |
0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, |
| 861 |
0x74, 0x79, 0x12, 0x88, 0x01, 0x0a, 0x1b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, |
| 862 |
0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, |
| 863 |
0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 864 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, |
| 865 |
0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 866 |
0x69, 0x67, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, |
| 867 |
0x72, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x42, 0x02, 0x18, 0x01, |
| 868 |
0x48, 0x00, 0x52, 0x19, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x61, 0x72, 0x74, 0x6e, |
| 869 |
0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, |
| 870 |
0x17, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x69, |
| 871 |
0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, |
| 872 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, |
| 873 |
0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x15, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, |
| 874 |
0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x51, 0x0a, |
| 875 |
0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 876 |
0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 877 |
0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, |
| 878 |
0x69, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, |
| 879 |
0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, |
| 880 |
0x12, 0x55, 0x0a, 0x0f, 0x72, 0x65, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, |
| 881 |
0x73, 0x69, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 882 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, |
| 883 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x73, |
| 884 |
0x69, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x72, 0x65, 0x62, 0x69, 0x6c, 0x6c, 0x69, |
| 885 |
0x6e, 0x67, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x61, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x64, 0x69, |
| 886 |
0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, |
| 887 |
0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 888 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, |
| 889 |
0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x76, 0x65, 0x72, |
| 890 |
0x72, 0x69, 0x64, 0x65, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, |
| 891 |
0x6c, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x16, 0x45, 0x6e, |
| 892 |
0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, |
| 893 |
0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x6d, |
| 894 |
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x41, 0x29, 0x0a, 0x27, |
| 895 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, |
| 896 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x6e, 0x74, 0x69, |
| 897 |
0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x6c, 0x65, |
| 898 |
0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x1f, 0x0a, 0x19, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, |
| 899 |
0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, |
| 900 |
0x79, 0x3a, 0x02, 0x18, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, |
| 901 |
0x72, 0x69, 0x74, 0x79, 0x22, 0x89, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, |
| 902 |
0x6e, 0x67, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x64, 0x0a, 0x15, |
| 903 |
0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, |
| 904 |
0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, |
| 905 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, |
| 906 |
0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, |
| 907 |
0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x70, 0x65, |
| 908 |
0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, |
| 909 |
0x6e, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, |
| 910 |
0x22, 0x4c, 0x0a, 0x14, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x41, 0x64, |
| 911 |
0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x63, |
| 912 |
0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, |
| 913 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, |
| 914 |
0x61, 0x6c, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0xa2, |
| 915 |
0x02, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4f, 0x76, |
| 916 |
0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, |
| 917 |
0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, |
| 918 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 919 |
0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x41, 0x64, |
| 920 |
0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x61, |
| 921 |
0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0f, 0x72, 0x65, 0x62, |
| 922 |
0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x73, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, |
| 923 |
0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 924 |
0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x62, |
| 925 |
0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x73, 0x69, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 926 |
0x52, 0x0e, 0x72, 0x65, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x73, 0x69, 0x73, |
| 927 |
0x12, 0x61, 0x0a, 0x13, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, |
| 928 |
0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, |
| 929 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, |
| 930 |
0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, |
| 931 |
0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, |
| 932 |
0x12, 0x72, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, |
| 933 |
0x69, 0x6f, 0x6e, 0x22, 0x7f, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, |
| 934 |
0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x13, 0x73, 0x6b, 0x75, |
| 935 |
0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 936 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 937 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, |
| 938 |
0x2e, 0x53, 0x6b, 0x75, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, |
| 939 |
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x73, 0x6b, 0x75, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, |
| 940 |
0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x69, |
| 941 |
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x11, 0x53, 0x6b, 0x75, 0x47, 0x72, 0x6f, 0x75, 0x70, |
| 942 |
0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6b, 0x75, |
| 943 |
0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6b, |
| 944 |
0x75, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2a, 0x5d, 0x0a, 0x0e, 0x52, 0x65, 0x62, 0x69, 0x6c, 0x6c, |
| 945 |
0x69, 0x6e, 0x67, 0x42, 0x61, 0x73, 0x69, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x45, 0x42, 0x49, |
| 946 |
0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x42, 0x41, 0x53, 0x49, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 947 |
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x53, |
| 948 |
0x54, 0x5f, 0x41, 0x54, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x44, |
| 949 |
0x49, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x45, 0x52, 0x5f, 0x43, |
| 950 |
0x4f, 0x53, 0x54, 0x10, 0x02, 0x42, 0x66, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 951 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 952 |
0x6c, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x50, |
| 953 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, |
| 954 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x61, 0x6e, |
| 955 |
0x6e, 0x65, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, |
| 956 |
0x6c, 0x70, 0x62, 0x3b, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, |
| 957 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 958 |
} |
| 959 |
|
| 960 |
var ( |
| 961 |
file_google_cloud_channel_v1_repricing_proto_rawDescOnce sync.Once |
| 962 |
file_google_cloud_channel_v1_repricing_proto_rawDescData = file_google_cloud_channel_v1_repricing_proto_rawDesc |
| 963 |
) |
| 964 |
|
| 965 |
func file_google_cloud_channel_v1_repricing_proto_rawDescGZIP() []byte { |
| 966 |
file_google_cloud_channel_v1_repricing_proto_rawDescOnce.Do(func() { |
| 967 |
file_google_cloud_channel_v1_repricing_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_channel_v1_repricing_proto_rawDescData) |
| 968 |
}) |
| 969 |
return file_google_cloud_channel_v1_repricing_proto_rawDescData |
| 970 |
} |
| 971 |
|
| 972 |
var file_google_cloud_channel_v1_repricing_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 973 |
var file_google_cloud_channel_v1_repricing_proto_msgTypes = make([]protoimpl.MessageInfo, 10) |
| 974 |
var file_google_cloud_channel_v1_repricing_proto_goTypes = []any{ |
| 975 |
(RebillingBasis)(0), // 0: google.cloud.channel.v1.RebillingBasis |
| 976 |
(*CustomerRepricingConfig)(nil), // 1: google.cloud.channel.v1.CustomerRepricingConfig |
| 977 |
(*ChannelPartnerRepricingConfig)(nil), // 2: google.cloud.channel.v1.ChannelPartnerRepricingConfig |
| 978 |
(*RepricingConfig)(nil), // 3: google.cloud.channel.v1.RepricingConfig |
| 979 |
(*RepricingAdjustment)(nil), // 4: google.cloud.channel.v1.RepricingAdjustment |
| 980 |
(*PercentageAdjustment)(nil), // 5: google.cloud.channel.v1.PercentageAdjustment |
| 981 |
(*ConditionalOverride)(nil), // 6: google.cloud.channel.v1.ConditionalOverride |
| 982 |
(*RepricingCondition)(nil), // 7: google.cloud.channel.v1.RepricingCondition |
| 983 |
(*SkuGroupCondition)(nil), // 8: google.cloud.channel.v1.SkuGroupCondition |
| 984 |
(*RepricingConfig_EntitlementGranularity)(nil), // 9: google.cloud.channel.v1.RepricingConfig.EntitlementGranularity |
| 985 |
(*RepricingConfig_ChannelPartnerGranularity)(nil), // 10: google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity |
| 986 |
(*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp |
| 987 |
(*date.Date)(nil), // 12: google.type.Date |
| 988 |
(*decimal.Decimal)(nil), // 13: google.type.Decimal |
| 989 |
} |
| 990 |
var file_google_cloud_channel_v1_repricing_proto_depIdxs = []int32{ |
| 991 |
3, // 0: google.cloud.channel.v1.CustomerRepricingConfig.repricing_config:type_name -> google.cloud.channel.v1.RepricingConfig |
| 992 |
11, // 1: google.cloud.channel.v1.CustomerRepricingConfig.update_time:type_name -> google.protobuf.Timestamp |
| 993 |
3, // 2: google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config:type_name -> google.cloud.channel.v1.RepricingConfig |
| 994 |
11, // 3: google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time:type_name -> google.protobuf.Timestamp |
| 995 |
9, // 4: google.cloud.channel.v1.RepricingConfig.entitlement_granularity:type_name -> google.cloud.channel.v1.RepricingConfig.EntitlementGranularity |
| 996 |
10, // 5: google.cloud.channel.v1.RepricingConfig.channel_partner_granularity:type_name -> google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity |
| 997 |
12, // 6: google.cloud.channel.v1.RepricingConfig.effective_invoice_month:type_name -> google.type.Date |
| 998 |
4, // 7: google.cloud.channel.v1.RepricingConfig.adjustment:type_name -> google.cloud.channel.v1.RepricingAdjustment |
| 999 |
0, // 8: google.cloud.channel.v1.RepricingConfig.rebilling_basis:type_name -> google.cloud.channel.v1.RebillingBasis |
| 1000 |
6, // 9: google.cloud.channel.v1.RepricingConfig.conditional_overrides:type_name -> google.cloud.channel.v1.ConditionalOverride |
| 1001 |
5, // 10: google.cloud.channel.v1.RepricingAdjustment.percentage_adjustment:type_name -> google.cloud.channel.v1.PercentageAdjustment |
| 1002 |
13, // 11: google.cloud.channel.v1.PercentageAdjustment.percentage:type_name -> google.type.Decimal |
| 1003 |
4, // 12: google.cloud.channel.v1.ConditionalOverride.adjustment:type_name -> google.cloud.channel.v1.RepricingAdjustment |
| 1004 |
0, // 13: google.cloud.channel.v1.ConditionalOverride.rebilling_basis:type_name -> google.cloud.channel.v1.RebillingBasis |
| 1005 |
7, // 14: google.cloud.channel.v1.ConditionalOverride.repricing_condition:type_name -> google.cloud.channel.v1.RepricingCondition |
| 1006 |
8, // 15: google.cloud.channel.v1.RepricingCondition.sku_group_condition:type_name -> google.cloud.channel.v1.SkuGroupCondition |
| 1007 |
16, // [16:16] is the sub-list for method output_type |
| 1008 |
16, // [16:16] is the sub-list for method input_type |
| 1009 |
16, // [16:16] is the sub-list for extension type_name |
| 1010 |
16, // [16:16] is the sub-list for extension extendee |
| 1011 |
0, // [0:16] is the sub-list for field type_name |
| 1012 |
} |
| 1013 |
|
| 1014 |
func init() { file_google_cloud_channel_v1_repricing_proto_init() } |
| 1015 |
func file_google_cloud_channel_v1_repricing_proto_init() { |
| 1016 |
if File_google_cloud_channel_v1_repricing_proto != nil { |
| 1017 |
return |
| 1018 |
} |
| 1019 |
file_google_cloud_channel_v1_repricing_proto_msgTypes[2].OneofWrappers = []any{ |
| 1020 |
(*RepricingConfig_EntitlementGranularity_)(nil), |
| 1021 |
(*RepricingConfig_ChannelPartnerGranularity_)(nil), |
| 1022 |
} |
| 1023 |
file_google_cloud_channel_v1_repricing_proto_msgTypes[3].OneofWrappers = []any{ |
| 1024 |
(*RepricingAdjustment_PercentageAdjustment)(nil), |
| 1025 |
} |
| 1026 |
file_google_cloud_channel_v1_repricing_proto_msgTypes[6].OneofWrappers = []any{ |
| 1027 |
(*RepricingCondition_SkuGroupCondition)(nil), |
| 1028 |
} |
| 1029 |
type x struct{} |
| 1030 |
out := protoimpl.TypeBuilder{ |
| 1031 |
File: protoimpl.DescBuilder{ |
| 1032 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1033 |
RawDescriptor: file_google_cloud_channel_v1_repricing_proto_rawDesc, |
| 1034 |
NumEnums: 1, |
| 1035 |
NumMessages: 10, |
| 1036 |
NumExtensions: 0, |
| 1037 |
NumServices: 0, |
| 1038 |
}, |
| 1039 |
GoTypes: file_google_cloud_channel_v1_repricing_proto_goTypes, |
| 1040 |
DependencyIndexes: file_google_cloud_channel_v1_repricing_proto_depIdxs, |
| 1041 |
EnumInfos: file_google_cloud_channel_v1_repricing_proto_enumTypes, |
| 1042 |
MessageInfos: file_google_cloud_channel_v1_repricing_proto_msgTypes, |
| 1043 |
}.Build() |
| 1044 |
File_google_cloud_channel_v1_repricing_proto = out.File |
| 1045 |
file_google_cloud_channel_v1_repricing_proto_rawDesc = nil |
| 1046 |
file_google_cloud_channel_v1_repricing_proto_goTypes = nil |
| 1047 |
file_google_cloud_channel_v1_repricing_proto_depIdxs = nil |
| 1048 |
} |