github.com/cloudwan/edgelq-sdk@v1.15.4/limits/resources/v1/plan_assignment/plan_assignment.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/limits/proto/v1/plan_assignment.proto 3 // DO NOT EDIT!!! 4 5 package plan_assignment 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_organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 21 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 22 accepted_plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1/accepted_plan" 23 common "github.com/cloudwan/edgelq-sdk/limits/resources/v1/common" 24 plan "github.com/cloudwan/edgelq-sdk/limits/resources/v1/plan" 25 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 26 meta "github.com/cloudwan/goten-sdk/types/meta" 27 ) 28 29 // Reference imports to suppress errors if they are not otherwise used. 30 var ( 31 _ = fmt.Errorf 32 _ = reflect.Method{} 33 _ = sync.Once{} 34 35 _ = protojson.MarshalOptions{} 36 _ = proto.MarshalOptions{} 37 _ = preflect.Value{} 38 _ = protoimpl.DescBuilder{} 39 ) 40 41 // make sure we're using proto imports 42 var ( 43 _ = &iam_organization.Organization{} 44 _ = &iam_project.Project{} 45 _ = &accepted_plan.AcceptedPlan{} 46 _ = &common.RegionalPlanAssignment{} 47 _ = &plan.Plan{} 48 _ = &meta_service.Service{} 49 _ = &meta.Meta{} 50 ) 51 52 const ( 53 // Verify that this generated code is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 55 // Verify that runtime/protoimpl is sufficiently up-to-date. 56 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 57 ) 58 59 // PlanAssignment binds plan (with optional customizations) with specific 60 // entity (assignee - either system, organization or project). 61 // Plan assignments (sum of them) are used to compute configured size of 62 // limit pools (system and organizations) AND limits (projects). 63 // They are not modifiable - limits are passed from system to projects, 64 // so each PlanAssignment must be agreed by higher instance (parent organization 65 // or system). System recognizes acceptance by existence of AcceptedPlan 66 // instances - it synchronizes PlanAssignment instances with them. 67 type PlanAssignment struct { 68 state protoimpl.MessageState 69 sizeCache protoimpl.SizeCache 70 unknownFields protoimpl.UnknownFields 71 // Name of PlanAssignment 72 // When creating a new instance, this field is optional and if not provided, 73 // it will be generated automatically. Last ID segment must conform to the 74 // following regex: [a-zA-Z0-9_.-]{1,128} 75 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 76 // Metadata is an object with information like create, update and delete time 77 // (for async deleted resources), has user labels/annotations, sharding 78 // information, multi-region syncing information and may have non-schema 79 // owners (useful for taking ownership of resources belonging to lower level 80 // services by higher ones). 81 Metadata *meta.Meta `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"` 82 // Plan with basic set of limits - it will apply to EACH region of 83 // service/organization/project 84 DefaultRegionalPlan *plan.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=default_regional_plan,json=defaultRegionalPlan,proto3" json:"default_regional_plan,omitempty"` 85 // Service associated with plan 86 Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty"` 87 // Individual plan overrides per each region. 88 RegionalPlanOverrides []*common.RegionalPlanAssignment `protobuf:"bytes,8,rep,name=regional_plan_overrides,json=regionalPlanOverrides,proto3" json:"regional_plan_overrides,omitempty"` 89 // Additional extensions (but may be negative) on top of regular plan. 90 Extensions []*common.Allowance `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty"` 91 // Final allowances per resource/region - computed from extensions and 92 // all regional plans. 93 Allowances []*common.Allowance `protobuf:"bytes,5,rep,name=allowances,proto3" json:"allowances,omitempty"` 94 // List of regions ID where plan was applied - it is being taken from 95 // service/organization/project list of regions. Limits service extends plans 96 // if it notices expansion to the new region. 97 AppliedRegions []string `protobuf:"bytes,9,rep,name=applied_regions,json=appliedRegions,proto3" json:"applied_regions,omitempty"` 98 // Default region plan generation number, set during each update and creation. 99 // It is used to notice if plan got changed and we need to trigger plan 100 // update. 101 AppliedPlanSpecGeneration int64 `protobuf:"varint,10,opt,name=applied_plan_spec_generation,json=appliedPlanSpecGeneration,proto3" json:"applied_plan_spec_generation,omitempty"` 102 // Source with which this PlanAssignment is synchronized. 103 Source *accepted_plan.Reference `protobuf:"bytes,6,opt,customtype=Reference,name=source,proto3" json:"source,omitempty"` 104 } 105 106 func (m *PlanAssignment) Reset() { 107 *m = PlanAssignment{} 108 if protoimpl.UnsafeEnabled { 109 mi := &edgelq_limits_proto_v1_plan_assignment_proto_msgTypes[0] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 111 ms.StoreMessageInfo(mi) 112 } 113 } 114 115 func (m *PlanAssignment) String() string { 116 return protoimpl.X.MessageStringOf(m) 117 } 118 119 func (*PlanAssignment) ProtoMessage() {} 120 121 func (m *PlanAssignment) ProtoReflect() preflect.Message { 122 mi := &edgelq_limits_proto_v1_plan_assignment_proto_msgTypes[0] 123 if protoimpl.UnsafeEnabled && m != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(m) 131 } 132 133 func (*PlanAssignment) GotenMessage() {} 134 135 // Deprecated, Use PlanAssignment.ProtoReflect.Descriptor instead. 136 func (*PlanAssignment) Descriptor() ([]byte, []int) { 137 return edgelq_limits_proto_v1_plan_assignment_proto_rawDescGZIP(), []int{0} 138 } 139 140 func (m *PlanAssignment) Unmarshal(b []byte) error { 141 return proto.Unmarshal(b, m) 142 } 143 144 func (m *PlanAssignment) Marshal() ([]byte, error) { 145 return proto.Marshal(m) 146 } 147 148 func (m *PlanAssignment) MarshalJSON() ([]byte, error) { 149 return protojson.MarshalOptions{}.Marshal(m) 150 } 151 152 func (m *PlanAssignment) UnmarshalJSON(data []byte) error { 153 return protojson.Unmarshal(data, m) 154 } 155 156 func (m *PlanAssignment) GetName() *Name { 157 if m != nil { 158 return m.Name 159 } 160 return nil 161 } 162 163 func (m *PlanAssignment) GetMetadata() *meta.Meta { 164 if m != nil { 165 return m.Metadata 166 } 167 return nil 168 } 169 170 func (m *PlanAssignment) GetDefaultRegionalPlan() *plan.Reference { 171 if m != nil { 172 return m.DefaultRegionalPlan 173 } 174 return nil 175 } 176 177 func (m *PlanAssignment) GetService() *meta_service.Reference { 178 if m != nil { 179 return m.Service 180 } 181 return nil 182 } 183 184 func (m *PlanAssignment) GetRegionalPlanOverrides() []*common.RegionalPlanAssignment { 185 if m != nil { 186 return m.RegionalPlanOverrides 187 } 188 return nil 189 } 190 191 func (m *PlanAssignment) GetExtensions() []*common.Allowance { 192 if m != nil { 193 return m.Extensions 194 } 195 return nil 196 } 197 198 func (m *PlanAssignment) GetAllowances() []*common.Allowance { 199 if m != nil { 200 return m.Allowances 201 } 202 return nil 203 } 204 205 func (m *PlanAssignment) GetAppliedRegions() []string { 206 if m != nil { 207 return m.AppliedRegions 208 } 209 return nil 210 } 211 212 func (m *PlanAssignment) GetAppliedPlanSpecGeneration() int64 { 213 if m != nil { 214 return m.AppliedPlanSpecGeneration 215 } 216 return int64(0) 217 } 218 219 func (m *PlanAssignment) GetSource() *accepted_plan.Reference { 220 if m != nil { 221 return m.Source 222 } 223 return nil 224 } 225 226 func (m *PlanAssignment) SetName(fv *Name) { 227 if m == nil { 228 panic(fmt.Errorf("can't set %s on nil %s", "Name", "PlanAssignment")) 229 } 230 m.Name = fv 231 } 232 233 func (m *PlanAssignment) SetMetadata(fv *meta.Meta) { 234 if m == nil { 235 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "PlanAssignment")) 236 } 237 m.Metadata = fv 238 } 239 240 func (m *PlanAssignment) SetDefaultRegionalPlan(fv *plan.Reference) { 241 if m == nil { 242 panic(fmt.Errorf("can't set %s on nil %s", "DefaultRegionalPlan", "PlanAssignment")) 243 } 244 m.DefaultRegionalPlan = fv 245 } 246 247 func (m *PlanAssignment) SetService(fv *meta_service.Reference) { 248 if m == nil { 249 panic(fmt.Errorf("can't set %s on nil %s", "Service", "PlanAssignment")) 250 } 251 m.Service = fv 252 } 253 254 func (m *PlanAssignment) SetRegionalPlanOverrides(fv []*common.RegionalPlanAssignment) { 255 if m == nil { 256 panic(fmt.Errorf("can't set %s on nil %s", "RegionalPlanOverrides", "PlanAssignment")) 257 } 258 m.RegionalPlanOverrides = fv 259 } 260 261 func (m *PlanAssignment) SetExtensions(fv []*common.Allowance) { 262 if m == nil { 263 panic(fmt.Errorf("can't set %s on nil %s", "Extensions", "PlanAssignment")) 264 } 265 m.Extensions = fv 266 } 267 268 func (m *PlanAssignment) SetAllowances(fv []*common.Allowance) { 269 if m == nil { 270 panic(fmt.Errorf("can't set %s on nil %s", "Allowances", "PlanAssignment")) 271 } 272 m.Allowances = fv 273 } 274 275 func (m *PlanAssignment) SetAppliedRegions(fv []string) { 276 if m == nil { 277 panic(fmt.Errorf("can't set %s on nil %s", "AppliedRegions", "PlanAssignment")) 278 } 279 m.AppliedRegions = fv 280 } 281 282 func (m *PlanAssignment) SetAppliedPlanSpecGeneration(fv int64) { 283 if m == nil { 284 panic(fmt.Errorf("can't set %s on nil %s", "AppliedPlanSpecGeneration", "PlanAssignment")) 285 } 286 m.AppliedPlanSpecGeneration = fv 287 } 288 289 func (m *PlanAssignment) SetSource(fv *accepted_plan.Reference) { 290 if m == nil { 291 panic(fmt.Errorf("can't set %s on nil %s", "Source", "PlanAssignment")) 292 } 293 m.Source = fv 294 } 295 296 var edgelq_limits_proto_v1_plan_assignment_proto preflect.FileDescriptor 297 298 var edgelq_limits_proto_v1_plan_assignment_proto_rawDesc = []byte{ 299 0x0a, 0x2c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 300 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 301 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 302 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 303 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 304 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 305 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 306 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 307 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 308 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 309 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 310 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 311 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 312 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 313 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 314 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 315 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 316 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 317 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 318 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 319 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 320 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 321 0x29, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2d, 0x73, 0x65, 0x72, 0x76, 322 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 323 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x65, 0x64, 0x67, 0x65, 324 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 325 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 326 0x74, 0x6f, 0x1a, 0x21, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 327 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 328 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 329 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 330 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x65, 0x64, 0x67, 0x65, 331 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 332 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x0b, 333 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 334 0x12, 0x2a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 335 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 336 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 337 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 338 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 339 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x15, 0x64, 340 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 341 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0xf0, 0xd9, 0x21, 0x01, 342 0xb2, 0xda, 0x21, 0x0a, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x6c, 0x61, 0x6e, 0x10, 0x01, 0x52, 0x13, 343 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 344 0x6c, 0x61, 0x6e, 0x12, 0x3e, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 345 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xf0, 0xd9, 0x21, 0x01, 0xb2, 0xda, 0x21, 0x1c, 0x12, 0x1a, 346 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 347 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x06, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 348 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x17, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 349 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x08, 350 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 351 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x6c, 0x61, 352 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x04, 0xf0, 0xd9, 0x21, 353 0x01, 0x52, 0x15, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x4f, 354 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 355 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 356 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 357 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0a, 0x65, 0x78, 358 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 359 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 360 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 361 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0a, 0x61, 0x6c, 362 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x6c, 363 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 364 0x09, 0x42, 0x04, 0xf0, 0xd9, 0x21, 0x01, 0x52, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 365 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x1c, 0x61, 0x70, 0x70, 0x6c, 0x69, 366 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x67, 0x65, 0x6e, 367 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x42, 0x04, 0xf0, 368 0xd9, 0x21, 0x01, 0x52, 0x19, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x6e, 369 0x53, 0x70, 0x65, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 370 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 371 0xb2, 0xda, 0x21, 0x12, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 372 0x50, 0x6c, 0x61, 0x6e, 0x10, 0x06, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0xb3, 373 0x06, 0xea, 0x41, 0xce, 0x01, 0x0a, 0x20, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x65, 0x64, 374 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 375 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 376 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 377 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 378 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x12, 0x34, 0x70, 379 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 380 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 381 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 382 0x6e, 0x74, 0x7d, 0x12, 0x3e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 383 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 384 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 385 0x73, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 386 0x6e, 0x74, 0x7d, 0x92, 0xd9, 0x21, 0x91, 0x02, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 387 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 388 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x16, 0x6d, 0x65, 0x74, 0x61, 389 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 390 0x63, 0x65, 0x1a, 0x16, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 391 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x1b, 0x69, 0x61, 0x6d, 0x2e, 392 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x72, 0x67, 0x61, 0x6e, 393 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x15, 0x5b, 0x61, 0x2d, 0x7a, 0x41, 0x2d, 0x5a, 394 0x30, 0x2d, 0x39, 0x5f, 0x2e, 0x2d, 0x5d, 0x7b, 0x31, 0x2c, 0x31, 0x32, 0x38, 0x7d, 0x38, 0x05, 395 0x42, 0x2e, 0x08, 0x02, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x15, 396 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 397 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 398 0x42, 0x57, 0x08, 0x03, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x15, 399 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 400 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x12, 0x09, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 401 0x12, 0x0c, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 402 0x0a, 0x17, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 403 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0xb2, 0xdf, 0x21, 0x97, 0x01, 0x0a, 0x94, 404 0x01, 0x0a, 0x91, 0x01, 0x0a, 0x06, 0x62, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x6e, 0x61, 405 0x6d, 0x65, 0x1a, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 406 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 407 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 408 0x2f, 0x2d, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 409 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 410 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2d, 0x1a, 0x24, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 411 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x7d, 0x2f, 0x70, 0x6c, 0x61, 412 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2d, 0x2a, 0x05, 413 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 414 0x65, 0xe2, 0xde, 0x21, 0x02, 0x08, 0x01, 0xc2, 0x85, 0x2c, 0x98, 0x01, 0x22, 0x04, 0x6e, 0x61, 415 0x6d, 0x65, 0x22, 0x15, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 416 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 417 0x63, 0x65, 0x22, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x17, 418 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x6f, 0x76, 419 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x22, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 420 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x08, 0x6d, 0x65, 0x74, 421 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x0f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 0x72, 422 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x1c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x5f, 423 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 424 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xb3, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x53, 425 0x0a, 0x15, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 426 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 427 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 428 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 429 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 430 0x65, 0x6e, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x55, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x61, 431 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 432 0x12, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 433 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 434 0x69, 0x74, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 435 0x61, 0x6e, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x0a, 0x14, 0x63, 436 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x70, 0x62, 437 0x2e, 0x76, 0x31, 0x42, 0x13, 0x50, 0x6c, 0x61, 0x6e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 438 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x68, 439 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 440 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x72, 0x65, 441 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 442 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x3b, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 443 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 444 0x6f, 0x33, 445 } 446 447 var ( 448 edgelq_limits_proto_v1_plan_assignment_proto_rawDescOnce sync.Once 449 edgelq_limits_proto_v1_plan_assignment_proto_rawDescData = edgelq_limits_proto_v1_plan_assignment_proto_rawDesc 450 ) 451 452 func edgelq_limits_proto_v1_plan_assignment_proto_rawDescGZIP() []byte { 453 edgelq_limits_proto_v1_plan_assignment_proto_rawDescOnce.Do(func() { 454 edgelq_limits_proto_v1_plan_assignment_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_limits_proto_v1_plan_assignment_proto_rawDescData) 455 }) 456 return edgelq_limits_proto_v1_plan_assignment_proto_rawDescData 457 } 458 459 var edgelq_limits_proto_v1_plan_assignment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 460 var edgelq_limits_proto_v1_plan_assignment_proto_goTypes = []interface{}{ 461 (*PlanAssignment)(nil), // 0: ntt.limits.v1.PlanAssignment 462 (*meta.Meta)(nil), // 1: goten.types.Meta 463 (*common.RegionalPlanAssignment)(nil), // 2: ntt.limits.v1.RegionalPlanAssignment 464 (*common.Allowance)(nil), // 3: ntt.limits.v1.Allowance 465 } 466 var edgelq_limits_proto_v1_plan_assignment_proto_depIdxs = []int32{ 467 1, // 0: ntt.limits.v1.PlanAssignment.metadata:type_name -> goten.types.Meta 468 2, // 1: ntt.limits.v1.PlanAssignment.regional_plan_overrides:type_name -> ntt.limits.v1.RegionalPlanAssignment 469 3, // 2: ntt.limits.v1.PlanAssignment.extensions:type_name -> ntt.limits.v1.Allowance 470 3, // 3: ntt.limits.v1.PlanAssignment.allowances:type_name -> ntt.limits.v1.Allowance 471 4, // [4:4] is the sub-list for method output_type 472 4, // [4:4] is the sub-list for method input_type 473 4, // [4:4] is the sub-list for extension type_name 474 4, // [4:4] is the sub-list for extension extendee 475 0, // [0:4] is the sub-list for field type_name 476 } 477 478 func init() { edgelq_limits_proto_v1_plan_assignment_proto_init() } 479 func edgelq_limits_proto_v1_plan_assignment_proto_init() { 480 if edgelq_limits_proto_v1_plan_assignment_proto != nil { 481 return 482 } 483 if !protoimpl.UnsafeEnabled { 484 485 edgelq_limits_proto_v1_plan_assignment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 486 switch v := v.(*PlanAssignment); i { 487 case 0: 488 return &v.state 489 case 1: 490 return &v.sizeCache 491 case 2: 492 return &v.unknownFields 493 default: 494 return nil 495 } 496 } 497 } 498 499 type x struct{} 500 out := protoimpl.TypeBuilder{ 501 File: protoimpl.DescBuilder{ 502 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 503 RawDescriptor: edgelq_limits_proto_v1_plan_assignment_proto_rawDesc, 504 NumEnums: 0, 505 NumMessages: 1, 506 NumExtensions: 0, 507 NumServices: 0, 508 }, 509 GoTypes: edgelq_limits_proto_v1_plan_assignment_proto_goTypes, 510 DependencyIndexes: edgelq_limits_proto_v1_plan_assignment_proto_depIdxs, 511 MessageInfos: edgelq_limits_proto_v1_plan_assignment_proto_msgTypes, 512 }.Build() 513 edgelq_limits_proto_v1_plan_assignment_proto = out.File 514 edgelq_limits_proto_v1_plan_assignment_proto_rawDesc = nil 515 edgelq_limits_proto_v1_plan_assignment_proto_goTypes = nil 516 edgelq_limits_proto_v1_plan_assignment_proto_depIdxs = nil 517 }