github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1alpha2/plan/plan.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1alpha2/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/v1alpha2/common" 21 common "github.com/cloudwan/edgelq-sdk/limits/resources/v1alpha2/common" 22 meta_service "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service" 23 meta "github.com/cloudwan/goten-sdk/types/meta" 24 ) 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var ( 28 _ = fmt.Errorf 29 _ = reflect.Method{} 30 _ = sync.Once{} 31 32 _ = protojson.MarshalOptions{} 33 _ = proto.MarshalOptions{} 34 _ = preflect.Value{} 35 _ = protoimpl.DescBuilder{} 36 ) 37 38 // make sure we're using proto imports 39 var ( 40 _ = &iam_iam_common.PCR{} 41 _ = &common.Allowance{} 42 _ = &meta_service.Service{} 43 _ = &meta.Meta{} 44 ) 45 46 const ( 47 // Verify that this generated code is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 49 // Verify that runtime/protoimpl is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 51 ) 52 53 // PlanLevel defines entity level for whom plan can be assigned 54 type Plan_PlanLevel int32 55 56 const ( 57 Plan_UNDEFINED Plan_PlanLevel = 0 58 Plan_SYSTEM Plan_PlanLevel = 1 59 Plan_ORGANIZATION Plan_PlanLevel = 2 60 Plan_PROJECT Plan_PlanLevel = 3 61 ) 62 63 var ( 64 Plan_PlanLevel_name = map[int32]string{ 65 0: "UNDEFINED", 66 1: "SYSTEM", 67 2: "ORGANIZATION", 68 3: "PROJECT", 69 } 70 71 Plan_PlanLevel_value = map[string]int32{ 72 "UNDEFINED": 0, 73 "SYSTEM": 1, 74 "ORGANIZATION": 2, 75 "PROJECT": 3, 76 } 77 ) 78 79 func (x Plan_PlanLevel) Enum() *Plan_PlanLevel { 80 p := new(Plan_PlanLevel) 81 *p = x 82 return p 83 } 84 85 func (x Plan_PlanLevel) String() string { 86 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 87 } 88 89 func (Plan_PlanLevel) Descriptor() preflect.EnumDescriptor { 90 return edgelq_limits_proto_v1alpha2_plan_proto_enumTypes[0].Descriptor() 91 } 92 93 func (Plan_PlanLevel) Type() preflect.EnumType { 94 return &edgelq_limits_proto_v1alpha2_plan_proto_enumTypes[0] 95 } 96 97 func (x Plan_PlanLevel) Number() preflect.EnumNumber { 98 return preflect.EnumNumber(x) 99 } 100 101 // Deprecated, Use Plan_PlanLevel.ProtoReflect.Descriptor instead. 102 func (Plan_PlanLevel) EnumDescriptor() ([]byte, []int) { 103 return edgelq_limits_proto_v1alpha2_plan_proto_rawDescGZIP(), []int{0, 0} 104 } 105 106 // Plan is a bundle with set of limits for various resources. 107 // Those resources should be mostly from service plan references, 108 // but it can also include resources from imported services too. 109 type Plan struct { 110 state protoimpl.MessageState 111 sizeCache protoimpl.SizeCache 112 unknownFields protoimpl.UnknownFields 113 // Name of Plan 114 // When creating a new instance, this field is optional and if not provided, 115 // it will be generated automatically. Last ID segment must conform to the 116 // following regex: [a-zA-Z0-9_.-]{1,128} 117 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 118 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 119 // Primary service to which this plan applies 120 Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty"` 121 // List of limits per each resource. Resources may belong to different 122 // services (dependant services) 123 ResourceLimits []*common.Allowance `protobuf:"bytes,4,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"` 124 // Plan level 125 PlanLevel Plan_PlanLevel `protobuf:"varint,6,opt,name=plan_level,json=planLevel,proto3,enum=ntt.limits.v1alpha2.Plan_PlanLevel" json:"plan_level,omitempty"` 126 // Business tier 127 BusinessTier iam_iam_common.BusinessTier `protobuf:"varint,7,opt,name=business_tier,json=businessTier,proto3,enum=ntt.iam.v1alpha2.BusinessTier" json:"business_tier,omitempty"` 128 // Metadata 129 Metadata *meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` 130 } 131 132 func (m *Plan) Reset() { 133 *m = Plan{} 134 if protoimpl.UnsafeEnabled { 135 mi := &edgelq_limits_proto_v1alpha2_plan_proto_msgTypes[0] 136 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 137 ms.StoreMessageInfo(mi) 138 } 139 } 140 141 func (m *Plan) String() string { 142 return protoimpl.X.MessageStringOf(m) 143 } 144 145 func (*Plan) ProtoMessage() {} 146 147 func (m *Plan) ProtoReflect() preflect.Message { 148 mi := &edgelq_limits_proto_v1alpha2_plan_proto_msgTypes[0] 149 if protoimpl.UnsafeEnabled && m != nil { 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 151 if ms.LoadMessageInfo() == nil { 152 ms.StoreMessageInfo(mi) 153 } 154 return ms 155 } 156 return mi.MessageOf(m) 157 } 158 159 func (*Plan) GotenMessage() {} 160 161 // Deprecated, Use Plan.ProtoReflect.Descriptor instead. 162 func (*Plan) Descriptor() ([]byte, []int) { 163 return edgelq_limits_proto_v1alpha2_plan_proto_rawDescGZIP(), []int{0} 164 } 165 166 func (m *Plan) Unmarshal(b []byte) error { 167 return proto.Unmarshal(b, m) 168 } 169 170 func (m *Plan) Marshal() ([]byte, error) { 171 return proto.Marshal(m) 172 } 173 174 func (m *Plan) MarshalJSON() ([]byte, error) { 175 return protojson.MarshalOptions{}.Marshal(m) 176 } 177 178 func (m *Plan) UnmarshalJSON(data []byte) error { 179 return protojson.Unmarshal(data, m) 180 } 181 182 func (m *Plan) GetName() *Name { 183 if m != nil { 184 return m.Name 185 } 186 return nil 187 } 188 189 func (m *Plan) GetDisplayName() string { 190 if m != nil { 191 return m.DisplayName 192 } 193 return "" 194 } 195 196 func (m *Plan) GetService() *meta_service.Reference { 197 if m != nil { 198 return m.Service 199 } 200 return nil 201 } 202 203 func (m *Plan) GetResourceLimits() []*common.Allowance { 204 if m != nil { 205 return m.ResourceLimits 206 } 207 return nil 208 } 209 210 func (m *Plan) GetPlanLevel() Plan_PlanLevel { 211 if m != nil { 212 return m.PlanLevel 213 } 214 return Plan_UNDEFINED 215 } 216 217 func (m *Plan) GetBusinessTier() iam_iam_common.BusinessTier { 218 if m != nil { 219 return m.BusinessTier 220 } 221 return iam_iam_common.BusinessTier_UNDEFINED 222 } 223 224 func (m *Plan) GetMetadata() *meta.Meta { 225 if m != nil { 226 return m.Metadata 227 } 228 return nil 229 } 230 231 func (m *Plan) SetName(fv *Name) { 232 if m == nil { 233 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Plan")) 234 } 235 m.Name = fv 236 } 237 238 func (m *Plan) SetDisplayName(fv string) { 239 if m == nil { 240 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "Plan")) 241 } 242 m.DisplayName = fv 243 } 244 245 func (m *Plan) SetService(fv *meta_service.Reference) { 246 if m == nil { 247 panic(fmt.Errorf("can't set %s on nil %s", "Service", "Plan")) 248 } 249 m.Service = fv 250 } 251 252 func (m *Plan) SetResourceLimits(fv []*common.Allowance) { 253 if m == nil { 254 panic(fmt.Errorf("can't set %s on nil %s", "ResourceLimits", "Plan")) 255 } 256 m.ResourceLimits = fv 257 } 258 259 func (m *Plan) SetPlanLevel(fv Plan_PlanLevel) { 260 if m == nil { 261 panic(fmt.Errorf("can't set %s on nil %s", "PlanLevel", "Plan")) 262 } 263 m.PlanLevel = fv 264 } 265 266 func (m *Plan) SetBusinessTier(fv iam_iam_common.BusinessTier) { 267 if m == nil { 268 panic(fmt.Errorf("can't set %s on nil %s", "BusinessTier", "Plan")) 269 } 270 m.BusinessTier = fv 271 } 272 273 func (m *Plan) SetMetadata(fv *meta.Meta) { 274 if m == nil { 275 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Plan")) 276 } 277 m.Metadata = fv 278 } 279 280 var edgelq_limits_proto_v1alpha2_plan_proto preflect.FileDescriptor 281 282 var edgelq_limits_proto_v1alpha2_plan_proto_rawDesc = []byte{ 283 0x0a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 284 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 285 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 286 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x19, 287 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 288 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 289 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 290 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 291 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 292 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 293 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 294 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 295 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 296 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 297 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 298 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 299 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 300 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 301 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 302 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 303 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 304 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x65, 0x64, 305 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 306 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 307 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 308 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 309 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 310 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 311 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 312 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x05, 0x0a, 0x04, 0x50, 0x6c, 313 0x61, 0x6e, 0x12, 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 314 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x52, 0x04, 315 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 316 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 317 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 318 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xb2, 0xda, 0x21, 0x1d, 0x12, 0x1b, 319 0x0a, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 320 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x01, 0x52, 0x07, 0x73, 0x65, 0x72, 321 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 322 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 323 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 324 0x68, 0x61, 0x32, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x72, 325 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x42, 0x0a, 326 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 327 0x0e, 0x32, 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 328 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x2e, 0x50, 0x6c, 0x61, 329 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x6e, 0x4c, 0x65, 0x76, 0x65, 330 0x6c, 0x12, 0x43, 0x0a, 0x0d, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69, 331 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 332 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x42, 0x75, 0x73, 0x69, 333 0x6e, 0x65, 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 334 0x73, 0x73, 0x54, 0x69, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 335 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 336 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 337 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x45, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x6e, 0x4c, 0x65, 0x76, 338 0x65, 0x6c, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 339 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x10, 0x01, 0x12, 0x10, 0x0a, 340 0x0c, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 341 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x3a, 0x97, 0x02, 0xea, 342 0x41, 0x26, 0x0a, 0x16, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 343 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 344 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x92, 0xd9, 0x21, 0x86, 0x01, 0x0a, 0x05, 0x70, 345 0x6c, 0x61, 0x6e, 0x73, 0x12, 0x05, 0x70, 0x6c, 0x61, 0x6e, 0x73, 0x2a, 0x15, 0x5b, 0x61, 0x2d, 346 0x7a, 0x41, 0x2d, 0x5a, 0x30, 0x2d, 0x39, 0x5f, 0x2e, 0x2d, 0x5d, 0x7b, 0x31, 0x2c, 0x31, 0x32, 347 0x38, 0x7d, 0x42, 0x25, 0x08, 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 348 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x09, 349 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x38, 0x08, 0x03, 0x12, 0x06, 0x0a, 350 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 351 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 352 0x12, 0x11, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 353 0x69, 0x74, 0x73, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 354 0x85, 0x2c, 0x53, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 355 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 356 0x22, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 357 0x73, 0x22, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x0d, 0x62, 358 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x42, 0x08, 0x6d, 0x65, 359 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xff, 0x01, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 360 0x02, 0x43, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x35, 361 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 362 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 363 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 364 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0xa2, 0x80, 0xd1, 0x02, 0x45, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x6e, 365 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 366 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 367 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 368 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x0a, 369 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 370 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x09, 0x50, 0x6c, 0x61, 371 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 372 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 373 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 374 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 375 0x6c, 0x61, 0x6e, 0x3b, 0x70, 0x6c, 0x61, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 376 } 377 378 var ( 379 edgelq_limits_proto_v1alpha2_plan_proto_rawDescOnce sync.Once 380 edgelq_limits_proto_v1alpha2_plan_proto_rawDescData = edgelq_limits_proto_v1alpha2_plan_proto_rawDesc 381 ) 382 383 func edgelq_limits_proto_v1alpha2_plan_proto_rawDescGZIP() []byte { 384 edgelq_limits_proto_v1alpha2_plan_proto_rawDescOnce.Do(func() { 385 edgelq_limits_proto_v1alpha2_plan_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1alpha2_plan_proto_rawDescData) 386 }) 387 return edgelq_limits_proto_v1alpha2_plan_proto_rawDescData 388 } 389 390 var edgelq_limits_proto_v1alpha2_plan_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 391 var edgelq_limits_proto_v1alpha2_plan_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 392 var edgelq_limits_proto_v1alpha2_plan_proto_goTypes = []interface{}{ 393 (Plan_PlanLevel)(0), // 0: ntt.limits.v1alpha2.Plan_PlanLevel 394 (*Plan)(nil), // 1: ntt.limits.v1alpha2.Plan 395 (*common.Allowance)(nil), // 2: ntt.limits.v1alpha2.Allowance 396 (iam_iam_common.BusinessTier)(0), // 3: ntt.iam.v1alpha2.BusinessTier 397 (*meta.Meta)(nil), // 4: goten.types.Meta 398 } 399 var edgelq_limits_proto_v1alpha2_plan_proto_depIdxs = []int32{ 400 2, // 0: ntt.limits.v1alpha2.Plan.resource_limits:type_name -> ntt.limits.v1alpha2.Allowance 401 0, // 1: ntt.limits.v1alpha2.Plan.plan_level:type_name -> ntt.limits.v1alpha2.Plan_PlanLevel 402 3, // 2: ntt.limits.v1alpha2.Plan.business_tier:type_name -> ntt.iam.v1alpha2.BusinessTier 403 4, // 3: ntt.limits.v1alpha2.Plan.metadata:type_name -> goten.types.Meta 404 4, // [4:4] is the sub-list for method output_type 405 4, // [4:4] is the sub-list for method input_type 406 4, // [4:4] is the sub-list for extension type_name 407 4, // [4:4] is the sub-list for extension extendee 408 0, // [0:4] is the sub-list for field type_name 409 } 410 411 func init() { edgelq_limits_proto_v1alpha2_plan_proto_init() } 412 func edgelq_limits_proto_v1alpha2_plan_proto_init() { 413 if edgelq_limits_proto_v1alpha2_plan_proto != nil { 414 return 415 } 416 if !protoimpl.UnsafeEnabled { 417 418 edgelq_limits_proto_v1alpha2_plan_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 419 switch v := v.(*Plan); i { 420 case 0: 421 return &v.state 422 case 1: 423 return &v.sizeCache 424 case 2: 425 return &v.unknownFields 426 default: 427 return nil 428 } 429 } 430 } 431 432 type x struct{} 433 out := protoimpl.TypeBuilder{ 434 File: protoimpl.DescBuilder{ 435 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 436 RawDescriptor: edgelq_limits_proto_v1alpha2_plan_proto_rawDesc, 437 NumEnums: 1, 438 NumMessages: 1, 439 NumExtensions: 0, 440 NumServices: 0, 441 }, 442 GoTypes: edgelq_limits_proto_v1alpha2_plan_proto_goTypes, 443 DependencyIndexes: edgelq_limits_proto_v1alpha2_plan_proto_depIdxs, 444 EnumInfos: edgelq_limits_proto_v1alpha2_plan_proto_enumTypes, 445 MessageInfos: edgelq_limits_proto_v1alpha2_plan_proto_msgTypes, 446 }.Build() 447 edgelq_limits_proto_v1alpha2_plan_proto = out.File 448 edgelq_limits_proto_v1alpha2_plan_proto_rawDesc = nil 449 edgelq_limits_proto_v1alpha2_plan_proto_goTypes = nil 450 edgelq_limits_proto_v1alpha2_plan_proto_depIdxs = nil 451 }