github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1/plan/plan.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1/plan.proto 3 // DO NOT EDIT!!! 4 5 package plan 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 iam_iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common" 21 iam_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 22 meta_resource "github.com/cloudwan/goten-sdk/meta-service/resources/v1/resource" 23 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 24 meta "github.com/cloudwan/goten-sdk/types/meta" 25 ) 26 27 // Reference imports to suppress errors if they are not otherwise used. 28 var ( 29 _ = fmt.Errorf 30 _ = reflect.Method{} 31 _ = sync.Once{} 32 33 _ = protojson.MarshalOptions{} 34 _ = proto.MarshalOptions{} 35 _ = preflect.Value{} 36 _ = protoimpl.DescBuilder{} 37 ) 38 39 // make sure we're using proto imports 40 var ( 41 _ = &iam_iam_common.PCR{} 42 _ = &iam_organization.Organization{} 43 _ = &meta_resource.Resource{} 44 _ = &meta_service.Service{} 45 _ = &meta.Meta{} 46 ) 47 48 const ( 49 // Verify that this generated code is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 51 // Verify that runtime/protoimpl is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 53 ) 54 55 // PlanLevel defines entity level for whom plan can be assigned 56 type Plan_PlanLevel int32 57 58 const ( 59 Plan_UNDEFINED Plan_PlanLevel = 0 60 Plan_SERVICE Plan_PlanLevel = 1 61 Plan_ORGANIZATION Plan_PlanLevel = 2 62 Plan_PROJECT Plan_PlanLevel = 3 63 ) 64 65 var ( 66 Plan_PlanLevel_name = map[int32]string{ 67 0: "UNDEFINED", 68 1: "SERVICE", 69 2: "ORGANIZATION", 70 3: "PROJECT", 71 } 72 73 Plan_PlanLevel_value = map[string]int32{ 74 "UNDEFINED": 0, 75 "SERVICE": 1, 76 "ORGANIZATION": 2, 77 "PROJECT": 3, 78 } 79 ) 80 81 func (x Plan_PlanLevel) Enum() *Plan_PlanLevel { 82 p := new(Plan_PlanLevel) 83 *p = x 84 return p 85 } 86 87 func (x Plan_PlanLevel) String() string { 88 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 89 } 90 91 func (Plan_PlanLevel) Descriptor() preflect.EnumDescriptor { 92 return edgelq_limits_proto_v1_plan_proto_enumTypes[0].Descriptor() 93 } 94 95 func (Plan_PlanLevel) Type() preflect.EnumType { 96 return &edgelq_limits_proto_v1_plan_proto_enumTypes[0] 97 } 98 99 func (x Plan_PlanLevel) Number() preflect.EnumNumber { 100 return preflect.EnumNumber(x) 101 } 102 103 // Deprecated, Use Plan_PlanLevel.ProtoReflect.Descriptor instead. 104 func (Plan_PlanLevel) EnumDescriptor() ([]byte, []int) { 105 return edgelq_limits_proto_v1_plan_proto_rawDescGZIP(), []int{0, 0} 106 } 107 108 // Plan is a bundle with set of limits for various resources in given service. 109 // Note that Plan limits are regional. For example, if plan predicts 110 // for example 1000 pods and is assigned for resource enabled for 2 111 // regions, then project will be allowed to create 1000 pods in each 112 // region. 113 type Plan struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 // Name of Plan 118 // When creating a new instance, this field is optional and if not provided, 119 // it will be generated automatically. Last ID segment must conform to the 120 // following regex: [a-zA-Z0-9_.-]{1,128} 121 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 122 // Metadata is an object with information like create, update and delete time 123 // (for async deleted resources), has user labels/annotations, sharding 124 // information, multi-region syncing information and may have non-schema 125 // owners (useful for taking ownership of resources belonging to lower level 126 // services by higher ones). 127 Metadata *meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` 128 // Plan display name 129 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 130 // Service where plan applies. If this Plan is a child of Service itself, 131 // they must be equal. 132 Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty"` 133 // List of limits per each resource. 134 ResourceLimits []*Plan_LimitValue `protobuf:"bytes,4,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"` 135 // Plan level 136 PlanLevel Plan_PlanLevel `protobuf:"varint,6,opt,name=plan_level,json=planLevel,proto3,enum=ntt.limits.v1.Plan_PlanLevel" json:"plan_level,omitempty"` 137 // Business tier - this only is used to determine default plan when 138 // project/organization is created. It is possible to set this value to 139 // UNDEFINED rendering this plan as non-default. 140 BusinessTier iam_iam_common.BusinessTier `protobuf:"varint,7,opt,name=business_tier,json=businessTier,proto3,enum=ntt.iam.v1.BusinessTier" json:"business_tier,omitempty"` 141 // Spec generation, incremented for every change in resource_limits field. 142 Generation int64 `protobuf:"varint,8,opt,name=generation,proto3" json:"generation,omitempty"` 143 } 144 145 func (m *Plan) Reset() { 146 *m = Plan{} 147 if protoimpl.UnsafeEnabled { 148 mi := &edgelq_limits_proto_v1_plan_proto_msgTypes[0] 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 150 ms.StoreMessageInfo(mi) 151 } 152 } 153 154 func (m *Plan) String() string { 155 return protoimpl.X.MessageStringOf(m) 156 } 157 158 func (*Plan) ProtoMessage() {} 159 160 func (m *Plan) ProtoReflect() preflect.Message { 161 mi := &edgelq_limits_proto_v1_plan_proto_msgTypes[0] 162 if protoimpl.UnsafeEnabled && m != nil { 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 164 if ms.LoadMessageInfo() == nil { 165 ms.StoreMessageInfo(mi) 166 } 167 return ms 168 } 169 return mi.MessageOf(m) 170 } 171 172 func (*Plan) GotenMessage() {} 173 174 // Deprecated, Use Plan.ProtoReflect.Descriptor instead. 175 func (*Plan) Descriptor() ([]byte, []int) { 176 return edgelq_limits_proto_v1_plan_proto_rawDescGZIP(), []int{0} 177 } 178 179 func (m *Plan) Unmarshal(b []byte) error { 180 return proto.Unmarshal(b, m) 181 } 182 183 func (m *Plan) Marshal() ([]byte, error) { 184 return proto.Marshal(m) 185 } 186 187 func (m *Plan) MarshalJSON() ([]byte, error) { 188 return protojson.MarshalOptions{}.Marshal(m) 189 } 190 191 func (m *Plan) UnmarshalJSON(data []byte) error { 192 return protojson.Unmarshal(data, m) 193 } 194 195 func (m *Plan) GetName() *Name { 196 if m != nil { 197 return m.Name 198 } 199 return nil 200 } 201 202 func (m *Plan) GetMetadata() *meta.Meta { 203 if m != nil { 204 return m.Metadata 205 } 206 return nil 207 } 208 209 func (m *Plan) GetDisplayName() string { 210 if m != nil { 211 return m.DisplayName 212 } 213 return "" 214 } 215 216 func (m *Plan) GetService() *meta_service.Reference { 217 if m != nil { 218 return m.Service 219 } 220 return nil 221 } 222 223 func (m *Plan) GetResourceLimits() []*Plan_LimitValue { 224 if m != nil { 225 return m.ResourceLimits 226 } 227 return nil 228 } 229 230 func (m *Plan) GetPlanLevel() Plan_PlanLevel { 231 if m != nil { 232 return m.PlanLevel 233 } 234 return Plan_UNDEFINED 235 } 236 237 func (m *Plan) GetBusinessTier() iam_iam_common.BusinessTier { 238 if m != nil { 239 return m.BusinessTier 240 } 241 return iam_iam_common.BusinessTier_UNDEFINED 242 } 243 244 func (m *Plan) GetGeneration() int64 { 245 if m != nil { 246 return m.Generation 247 } 248 return int64(0) 249 } 250 251 func (m *Plan) SetName(fv *Name) { 252 if m == nil { 253 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Plan")) 254 } 255 m.Name = fv 256 } 257 258 func (m *Plan) SetMetadata(fv *meta.Meta) { 259 if m == nil { 260 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Plan")) 261 } 262 m.Metadata = fv 263 } 264 265 func (m *Plan) SetDisplayName(fv string) { 266 if m == nil { 267 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "Plan")) 268 } 269 m.DisplayName = fv 270 } 271 272 func (m *Plan) SetService(fv *meta_service.Reference) { 273 if m == nil { 274 panic(fmt.Errorf("can't set %s on nil %s", "Service", "Plan")) 275 } 276 m.Service = fv 277 } 278 279 func (m *Plan) SetResourceLimits(fv []*Plan_LimitValue) { 280 if m == nil { 281 panic(fmt.Errorf("can't set %s on nil %s", "ResourceLimits", "Plan")) 282 } 283 m.ResourceLimits = fv 284 } 285 286 func (m *Plan) SetPlanLevel(fv Plan_PlanLevel) { 287 if m == nil { 288 panic(fmt.Errorf("can't set %s on nil %s", "PlanLevel", "Plan")) 289 } 290 m.PlanLevel = fv 291 } 292 293 func (m *Plan) SetBusinessTier(fv iam_iam_common.BusinessTier) { 294 if m == nil { 295 panic(fmt.Errorf("can't set %s on nil %s", "BusinessTier", "Plan")) 296 } 297 m.BusinessTier = fv 298 } 299 300 func (m *Plan) SetGeneration(fv int64) { 301 if m == nil { 302 panic(fmt.Errorf("can't set %s on nil %s", "Generation", "Plan")) 303 } 304 m.Generation = fv 305 } 306 307 // LimitValue informs how many instances of resource for given type are 308 // permitted. 309 type Plan_LimitValue struct { 310 state protoimpl.MessageState 311 sizeCache protoimpl.SizeCache 312 unknownFields protoimpl.UnknownFields 313 // Reference to resource 314 Resource *meta_resource.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=resource,proto3" json:"resource,omitempty"` 315 // Limit for given resource. 316 Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` 317 } 318 319 func (m *Plan_LimitValue) Reset() { 320 *m = Plan_LimitValue{} 321 if protoimpl.UnsafeEnabled { 322 mi := &edgelq_limits_proto_v1_plan_proto_msgTypes[1] 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 324 ms.StoreMessageInfo(mi) 325 } 326 } 327 328 func (m *Plan_LimitValue) String() string { 329 return protoimpl.X.MessageStringOf(m) 330 } 331 332 func (*Plan_LimitValue) ProtoMessage() {} 333 334 func (m *Plan_LimitValue) ProtoReflect() preflect.Message { 335 mi := &edgelq_limits_proto_v1_plan_proto_msgTypes[1] 336 if protoimpl.UnsafeEnabled && m != nil { 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 338 if ms.LoadMessageInfo() == nil { 339 ms.StoreMessageInfo(mi) 340 } 341 return ms 342 } 343 return mi.MessageOf(m) 344 } 345 346 func (*Plan_LimitValue) GotenMessage() {} 347 348 // Deprecated, Use Plan_LimitValue.ProtoReflect.Descriptor instead. 349 func (*Plan_LimitValue) Descriptor() ([]byte, []int) { 350 return edgelq_limits_proto_v1_plan_proto_rawDescGZIP(), []int{0, 0} 351 } 352 353 func (m *Plan_LimitValue) Unmarshal(b []byte) error { 354 return proto.Unmarshal(b, m) 355 } 356 357 func (m *Plan_LimitValue) Marshal() ([]byte, error) { 358 return proto.Marshal(m) 359 } 360 361 func (m *Plan_LimitValue) MarshalJSON() ([]byte, error) { 362 return protojson.MarshalOptions{}.Marshal(m) 363 } 364 365 func (m *Plan_LimitValue) UnmarshalJSON(data []byte) error { 366 return protojson.Unmarshal(data, m) 367 } 368 369 func (m *Plan_LimitValue) GetResource() *meta_resource.Reference { 370 if m != nil { 371 return m.Resource 372 } 373 return nil 374 } 375 376 func (m *Plan_LimitValue) GetValue() int64 { 377 if m != nil { 378 return m.Value 379 } 380 return int64(0) 381 } 382 383 func (m *Plan_LimitValue) SetResource(fv *meta_resource.Reference) { 384 if m == nil { 385 panic(fmt.Errorf("can't set %s on nil %s", "Resource", "Plan_LimitValue")) 386 } 387 m.Resource = fv 388 } 389 390 func (m *Plan_LimitValue) SetValue(fv int64) { 391 if m == nil { 392 panic(fmt.Errorf("can't set %s on nil %s", "Value", "Plan_LimitValue")) 393 } 394 m.Value = fv 395 } 396 397 var edgelq_limits_proto_v1_plan_proto preflect.FileDescriptor 398 399 var edgelq_limits_proto_v1_plan_proto_rawDesc = []byte{ 400 0x0a, 0x21, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 401 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 402 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 403 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 404 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 405 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 406 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 407 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 408 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 409 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 410 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 411 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 412 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 413 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 414 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 415 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 416 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 417 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 418 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 419 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 420 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 421 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 422 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 423 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 424 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 425 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 426 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 427 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 428 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x07, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x12, 429 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0c, 0xb2, 430 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 431 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 432 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 433 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 434 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 435 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 436 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 437 0x12, 0x3a, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 438 0x09, 0x42, 0x20, 0xb2, 0xda, 0x21, 0x1c, 0x12, 0x1a, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 439 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 440 0x65, 0x10, 0x06, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0f, 441 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 442 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 443 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 444 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 445 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6c, 0x65, 446 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 447 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 448 0x6c, 0x61, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x6e, 0x4c, 0x65, 449 0x76, 0x65, 0x6c, 0x12, 0x3d, 0x0a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 450 0x74, 0x69, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6e, 0x74, 0x74, 451 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 452 0x54, 0x69, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 453 0x65, 0x72, 0x12, 0x24, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 454 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0a, 0x67, 0x65, 455 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x61, 0x0a, 0x0a, 0x4c, 0x69, 0x6d, 0x69, 456 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 457 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xb2, 0xda, 0x21, 0x1d, 0x12, 0x1b, 458 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 459 0x2f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x10, 0x01, 0x52, 0x08, 0x72, 0x65, 0x73, 460 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 461 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x46, 0x0a, 0x09, 0x50, 462 0x6c, 0x61, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 463 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 464 0x43, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 465 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 466 0x54, 0x10, 0x03, 0x3a, 0x88, 0x03, 0xea, 0x41, 0x64, 0x0a, 0x16, 0x6c, 0x69, 0x6d, 0x69, 0x74, 467 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 468 0x6e, 0x12, 0x1f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 469 0x76, 0x69, 0x63, 0x65, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 470 0x6e, 0x7d, 0x12, 0x29, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 471 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 472 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 473 0xa7, 0x01, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 474 0x1a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 475 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x1b, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 476 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 477 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x15, 0x5b, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 0x30, 0x2d, 478 0x39, 0x5f, 0x2e, 0x2d, 0x5d, 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 0x42, 0x1a, 479 0x08, 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x0c, 0x64, 0x69, 480 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x2d, 0x08, 0x03, 0x12, 0x06, 481 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 482 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x11, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 483 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 484 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xe2, 0xde, 0x21, 0x02, 0x08, 0x01, 0xc2, 0x85, 0x2c, 0x5f, 0x22, 485 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 486 0x61, 0x6d, 0x65, 0x22, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 487 0x6d, 0x69, 0x74, 0x73, 0x22, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0a, 0x70, 488 0x6c, 0x61, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 489 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 490 0x74, 0x61, 0x42, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xe7, 491 0x01, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x3d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 492 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 493 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 494 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 495 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x3f, 0x0a, 0x0b, 0x70, 0x6c, 496 0x61, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 497 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 498 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 499 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 500 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 501 0x31, 0x42, 0x09, 0x50, 0x6c, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 502 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 503 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 504 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 505 0x6c, 0x61, 0x6e, 0x3b, 0x70, 0x6c, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 506 } 507 508 var ( 509 edgelq_limits_proto_v1_plan_proto_rawDescOnce sync.Once 510 edgelq_limits_proto_v1_plan_proto_rawDescData = edgelq_limits_proto_v1_plan_proto_rawDesc 511 ) 512 513 func edgelq_limits_proto_v1_plan_proto_rawDescGZIP() []byte { 514 edgelq_limits_proto_v1_plan_proto_rawDescOnce.Do(func() { 515 edgelq_limits_proto_v1_plan_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1_plan_proto_rawDescData) 516 }) 517 return edgelq_limits_proto_v1_plan_proto_rawDescData 518 } 519 520 var edgelq_limits_proto_v1_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 521 var edgelq_limits_proto_v1_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 522 var edgelq_limits_proto_v1_plan_proto_goTypes = []interface{}{ 523 (Plan_PlanLevel)(0), // 0: ntt.limits.v1.Plan_PlanLevel 524 (*Plan)(nil), // 1: ntt.limits.v1.Plan 525 (*Plan_LimitValue)(nil), // 2: ntt.limits.v1.Plan.LimitValue 526 (*meta.Meta)(nil), // 3: goten.types.Meta 527 (iam_iam_common.BusinessTier)(0), // 4: ntt.iam.v1.BusinessTier 528 } 529 var edgelq_limits_proto_v1_plan_proto_depIdxs = []int32{ 530 3, // 0: ntt.limits.v1.Plan.metadata:type_name -> goten.types.Meta 531 2, // 1: ntt.limits.v1.Plan.resource_limits:type_name -> ntt.limits.v1.Plan.LimitValue 532 0, // 2: ntt.limits.v1.Plan.plan_level:type_name -> ntt.limits.v1.Plan_PlanLevel 533 4, // 3: ntt.limits.v1.Plan.business_tier:type_name -> ntt.iam.v1.BusinessTier 534 4, // [4:4] is the sub-list for method output_type 535 4, // [4:4] is the sub-list for method input_type 536 4, // [4:4] is the sub-list for extension type_name 537 4, // [4:4] is the sub-list for extension extendee 538 0, // [0:4] is the sub-list for field type_name 539 } 540 541 func init() { edgelq_limits_proto_v1_plan_proto_init() } 542 func edgelq_limits_proto_v1_plan_proto_init() { 543 if edgelq_limits_proto_v1_plan_proto != nil { 544 return 545 } 546 if !protoimpl.UnsafeEnabled { 547 548 edgelq_limits_proto_v1_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 549 switch v := v.(*Plan); i { 550 case 0: 551 return &v.state 552 case 1: 553 return &v.sizeCache 554 case 2: 555 return &v.unknownFields 556 default: 557 return nil 558 } 559 } 560 edgelq_limits_proto_v1_plan_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 561 switch v := v.(*Plan_LimitValue); i { 562 case 0: 563 return &v.state 564 case 1: 565 return &v.sizeCache 566 case 2: 567 return &v.unknownFields 568 default: 569 return nil 570 } 571 } 572 } 573 574 type x struct{} 575 out := protoimpl.TypeBuilder{ 576 File: protoimpl.DescBuilder{ 577 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 578 RawDescriptor: edgelq_limits_proto_v1_plan_proto_rawDesc, 579 NumEnums: 1, 580 NumMessages: 2, 581 NumExtensions: 0, 582 NumServices: 0, 583 }, 584 GoTypes: edgelq_limits_proto_v1_plan_proto_goTypes, 585 DependencyIndexes: edgelq_limits_proto_v1_plan_proto_depIdxs, 586 EnumInfos: edgelq_limits_proto_v1_plan_proto_enumTypes, 587 MessageInfos: edgelq_limits_proto_v1_plan_proto_msgTypes, 588 }.Build() 589 edgelq_limits_proto_v1_plan_proto = out.File 590 edgelq_limits_proto_v1_plan_proto_rawDesc = nil 591 edgelq_limits_proto_v1_plan_proto_goTypes = nil 592 edgelq_limits_proto_v1_plan_proto_depIdxs = nil 593 }