github.com/cloudwan/edgelq-sdk@v1.15.4/audit/resources/v1/method_descriptor/method_descriptor.pb.fieldpathbuilder.go (about) 1 // Code generated by protoc-gen-goten-object 2 // File: edgelq/audit/proto/v1/method_descriptor.proto 3 // DO NOT EDIT!!! 4 5 package method_descriptor 6 7 // proto imports 8 import ( 9 common "github.com/cloudwan/edgelq-sdk/audit/resources/v1/common" 10 meta_common "github.com/cloudwan/goten-sdk/meta-service/resources/v1/common" 11 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 12 meta "github.com/cloudwan/goten-sdk/types/meta" 13 multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy" 14 anypb "google.golang.org/protobuf/types/known/anypb" 15 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 16 ) 17 18 // make sure we're using proto imports 19 var ( 20 _ = &common.Authentication{} 21 _ = &anypb.Any{} 22 _ = ×tamppb.Timestamp{} 23 _ = &meta_common.LabelledDomain{} 24 _ = &meta_service.Service{} 25 _ = &meta.Meta{} 26 _ = &multi_region_policy.MultiRegionPolicy{} 27 ) 28 29 type MethodDescriptorFieldPathBuilder struct{} 30 31 func NewMethodDescriptorFieldPathBuilder() MethodDescriptorFieldPathBuilder { 32 return MethodDescriptorFieldPathBuilder{} 33 } 34 func (MethodDescriptorFieldPathBuilder) Name() MethodDescriptorPathSelectorName { 35 return MethodDescriptorPathSelectorName{} 36 } 37 func (MethodDescriptorFieldPathBuilder) Metadata() MethodDescriptorPathSelectorMetadata { 38 return MethodDescriptorPathSelectorMetadata{} 39 } 40 func (MethodDescriptorFieldPathBuilder) DisplayName() MethodDescriptorPathSelectorDisplayName { 41 return MethodDescriptorPathSelectorDisplayName{} 42 } 43 func (MethodDescriptorFieldPathBuilder) Description() MethodDescriptorPathSelectorDescription { 44 return MethodDescriptorPathSelectorDescription{} 45 } 46 func (MethodDescriptorFieldPathBuilder) Labels() MethodDescriptorPathSelectorLabels { 47 return MethodDescriptorPathSelectorLabels{} 48 } 49 func (MethodDescriptorFieldPathBuilder) PromotedLabelKeySets() MethodDescriptorPathSelectorPromotedLabelKeySets { 50 return MethodDescriptorPathSelectorPromotedLabelKeySets{} 51 } 52 func (MethodDescriptorFieldPathBuilder) Versions() MethodDescriptorPathSelectorVersions { 53 return MethodDescriptorPathSelectorVersions{} 54 } 55 56 type MethodDescriptorPathSelectorName struct{} 57 58 func (MethodDescriptorPathSelectorName) FieldPath() *MethodDescriptor_FieldTerminalPath { 59 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorName} 60 } 61 62 func (s MethodDescriptorPathSelectorName) WithValue(value *Name) *MethodDescriptor_FieldTerminalPathValue { 63 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 64 } 65 66 func (s MethodDescriptorPathSelectorName) WithArrayOfValues(values []*Name) *MethodDescriptor_FieldTerminalPathArrayOfValues { 67 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 68 } 69 70 type MethodDescriptorPathSelectorMetadata struct{} 71 72 func (MethodDescriptorPathSelectorMetadata) FieldPath() *MethodDescriptor_FieldTerminalPath { 73 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorMetadata} 74 } 75 76 func (s MethodDescriptorPathSelectorMetadata) WithValue(value *meta.Meta) *MethodDescriptor_FieldTerminalPathValue { 77 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 78 } 79 80 func (s MethodDescriptorPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *MethodDescriptor_FieldTerminalPathArrayOfValues { 81 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 82 } 83 84 func (MethodDescriptorPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *MethodDescriptor_FieldSubPath { 85 return &MethodDescriptor_FieldSubPath{selector: MethodDescriptor_FieldPathSelectorMetadata, subPath: subPath} 86 } 87 88 func (s MethodDescriptorPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *MethodDescriptor_FieldSubPathValue { 89 return &MethodDescriptor_FieldSubPathValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 90 } 91 92 func (s MethodDescriptorPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *MethodDescriptor_FieldSubPathArrayOfValues { 93 return &MethodDescriptor_FieldSubPathArrayOfValues{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 94 } 95 96 func (s MethodDescriptorPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *MethodDescriptor_FieldSubPathArrayItemValue { 97 return &MethodDescriptor_FieldSubPathArrayItemValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 98 } 99 100 func (MethodDescriptorPathSelectorMetadata) CreateTime() MethodDescriptorPathSelectorMetadataCreateTime { 101 return MethodDescriptorPathSelectorMetadataCreateTime{} 102 } 103 104 func (MethodDescriptorPathSelectorMetadata) UpdateTime() MethodDescriptorPathSelectorMetadataUpdateTime { 105 return MethodDescriptorPathSelectorMetadataUpdateTime{} 106 } 107 108 func (MethodDescriptorPathSelectorMetadata) DeleteTime() MethodDescriptorPathSelectorMetadataDeleteTime { 109 return MethodDescriptorPathSelectorMetadataDeleteTime{} 110 } 111 112 func (MethodDescriptorPathSelectorMetadata) Uuid() MethodDescriptorPathSelectorMetadataUuid { 113 return MethodDescriptorPathSelectorMetadataUuid{} 114 } 115 116 func (MethodDescriptorPathSelectorMetadata) Tags() MethodDescriptorPathSelectorMetadataTags { 117 return MethodDescriptorPathSelectorMetadataTags{} 118 } 119 120 func (MethodDescriptorPathSelectorMetadata) Labels() MethodDescriptorPathSelectorMetadataLabels { 121 return MethodDescriptorPathSelectorMetadataLabels{} 122 } 123 124 func (MethodDescriptorPathSelectorMetadata) Annotations() MethodDescriptorPathSelectorMetadataAnnotations { 125 return MethodDescriptorPathSelectorMetadataAnnotations{} 126 } 127 128 func (MethodDescriptorPathSelectorMetadata) Generation() MethodDescriptorPathSelectorMetadataGeneration { 129 return MethodDescriptorPathSelectorMetadataGeneration{} 130 } 131 132 func (MethodDescriptorPathSelectorMetadata) ResourceVersion() MethodDescriptorPathSelectorMetadataResourceVersion { 133 return MethodDescriptorPathSelectorMetadataResourceVersion{} 134 } 135 136 func (MethodDescriptorPathSelectorMetadata) OwnerReferences() MethodDescriptorPathSelectorMetadataOwnerReferences { 137 return MethodDescriptorPathSelectorMetadataOwnerReferences{} 138 } 139 140 func (MethodDescriptorPathSelectorMetadata) Shards() MethodDescriptorPathSelectorMetadataShards { 141 return MethodDescriptorPathSelectorMetadataShards{} 142 } 143 144 func (MethodDescriptorPathSelectorMetadata) Syncing() MethodDescriptorPathSelectorMetadataSyncing { 145 return MethodDescriptorPathSelectorMetadataSyncing{} 146 } 147 148 func (MethodDescriptorPathSelectorMetadata) Lifecycle() MethodDescriptorPathSelectorMetadataLifecycle { 149 return MethodDescriptorPathSelectorMetadataLifecycle{} 150 } 151 152 func (MethodDescriptorPathSelectorMetadata) Services() MethodDescriptorPathSelectorMetadataServices { 153 return MethodDescriptorPathSelectorMetadataServices{} 154 } 155 156 type MethodDescriptorPathSelectorMetadataCreateTime struct{} 157 158 func (MethodDescriptorPathSelectorMetadataCreateTime) FieldPath() *MethodDescriptor_FieldSubPath { 159 return &MethodDescriptor_FieldSubPath{ 160 selector: MethodDescriptor_FieldPathSelectorMetadata, 161 subPath: meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(), 162 } 163 } 164 165 func (s MethodDescriptorPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *MethodDescriptor_FieldSubPathValue { 166 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 167 } 168 169 func (s MethodDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MethodDescriptor_FieldSubPathArrayOfValues { 170 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 171 } 172 173 type MethodDescriptorPathSelectorMetadataUpdateTime struct{} 174 175 func (MethodDescriptorPathSelectorMetadataUpdateTime) FieldPath() *MethodDescriptor_FieldSubPath { 176 return &MethodDescriptor_FieldSubPath{ 177 selector: MethodDescriptor_FieldPathSelectorMetadata, 178 subPath: meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(), 179 } 180 } 181 182 func (s MethodDescriptorPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *MethodDescriptor_FieldSubPathValue { 183 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 184 } 185 186 func (s MethodDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MethodDescriptor_FieldSubPathArrayOfValues { 187 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 188 } 189 190 type MethodDescriptorPathSelectorMetadataDeleteTime struct{} 191 192 func (MethodDescriptorPathSelectorMetadataDeleteTime) FieldPath() *MethodDescriptor_FieldSubPath { 193 return &MethodDescriptor_FieldSubPath{ 194 selector: MethodDescriptor_FieldPathSelectorMetadata, 195 subPath: meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(), 196 } 197 } 198 199 func (s MethodDescriptorPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *MethodDescriptor_FieldSubPathValue { 200 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 201 } 202 203 func (s MethodDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *MethodDescriptor_FieldSubPathArrayOfValues { 204 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 205 } 206 207 type MethodDescriptorPathSelectorMetadataUuid struct{} 208 209 func (MethodDescriptorPathSelectorMetadataUuid) FieldPath() *MethodDescriptor_FieldSubPath { 210 return &MethodDescriptor_FieldSubPath{ 211 selector: MethodDescriptor_FieldPathSelectorMetadata, 212 subPath: meta.NewMetaFieldPathBuilder().Uuid().FieldPath(), 213 } 214 } 215 216 func (s MethodDescriptorPathSelectorMetadataUuid) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 217 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 218 } 219 220 func (s MethodDescriptorPathSelectorMetadataUuid) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 221 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 222 } 223 224 type MethodDescriptorPathSelectorMetadataTags struct{} 225 226 func (MethodDescriptorPathSelectorMetadataTags) FieldPath() *MethodDescriptor_FieldSubPath { 227 return &MethodDescriptor_FieldSubPath{ 228 selector: MethodDescriptor_FieldPathSelectorMetadata, 229 subPath: meta.NewMetaFieldPathBuilder().Tags().FieldPath(), 230 } 231 } 232 233 func (s MethodDescriptorPathSelectorMetadataTags) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 234 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 235 } 236 237 func (s MethodDescriptorPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 238 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 239 } 240 241 func (s MethodDescriptorPathSelectorMetadataTags) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 242 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 243 } 244 245 type MethodDescriptorPathSelectorMetadataLabels struct{} 246 247 func (MethodDescriptorPathSelectorMetadataLabels) FieldPath() *MethodDescriptor_FieldSubPath { 248 return &MethodDescriptor_FieldSubPath{ 249 selector: MethodDescriptor_FieldPathSelectorMetadata, 250 subPath: meta.NewMetaFieldPathBuilder().Labels().FieldPath(), 251 } 252 } 253 254 func (s MethodDescriptorPathSelectorMetadataLabels) WithValue(value map[string]string) *MethodDescriptor_FieldSubPathValue { 255 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 256 } 257 258 func (s MethodDescriptorPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *MethodDescriptor_FieldSubPathArrayOfValues { 259 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 260 } 261 262 func (MethodDescriptorPathSelectorMetadataLabels) WithKey(key string) MethodDescriptorMapPathSelectorMetadataLabels { 263 return MethodDescriptorMapPathSelectorMetadataLabels{key: key} 264 } 265 266 type MethodDescriptorMapPathSelectorMetadataLabels struct { 267 key string 268 } 269 270 func (s MethodDescriptorMapPathSelectorMetadataLabels) FieldPath() *MethodDescriptor_FieldSubPath { 271 return &MethodDescriptor_FieldSubPath{ 272 selector: MethodDescriptor_FieldPathSelectorMetadata, 273 subPath: meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(), 274 } 275 } 276 277 func (s MethodDescriptorMapPathSelectorMetadataLabels) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 278 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 279 } 280 281 func (s MethodDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 282 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 283 } 284 285 type MethodDescriptorPathSelectorMetadataAnnotations struct{} 286 287 func (MethodDescriptorPathSelectorMetadataAnnotations) FieldPath() *MethodDescriptor_FieldSubPath { 288 return &MethodDescriptor_FieldSubPath{ 289 selector: MethodDescriptor_FieldPathSelectorMetadata, 290 subPath: meta.NewMetaFieldPathBuilder().Annotations().FieldPath(), 291 } 292 } 293 294 func (s MethodDescriptorPathSelectorMetadataAnnotations) WithValue(value map[string]string) *MethodDescriptor_FieldSubPathValue { 295 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 296 } 297 298 func (s MethodDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *MethodDescriptor_FieldSubPathArrayOfValues { 299 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 300 } 301 302 func (MethodDescriptorPathSelectorMetadataAnnotations) WithKey(key string) MethodDescriptorMapPathSelectorMetadataAnnotations { 303 return MethodDescriptorMapPathSelectorMetadataAnnotations{key: key} 304 } 305 306 type MethodDescriptorMapPathSelectorMetadataAnnotations struct { 307 key string 308 } 309 310 func (s MethodDescriptorMapPathSelectorMetadataAnnotations) FieldPath() *MethodDescriptor_FieldSubPath { 311 return &MethodDescriptor_FieldSubPath{ 312 selector: MethodDescriptor_FieldPathSelectorMetadata, 313 subPath: meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(), 314 } 315 } 316 317 func (s MethodDescriptorMapPathSelectorMetadataAnnotations) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 318 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 319 } 320 321 func (s MethodDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 322 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 323 } 324 325 type MethodDescriptorPathSelectorMetadataGeneration struct{} 326 327 func (MethodDescriptorPathSelectorMetadataGeneration) FieldPath() *MethodDescriptor_FieldSubPath { 328 return &MethodDescriptor_FieldSubPath{ 329 selector: MethodDescriptor_FieldPathSelectorMetadata, 330 subPath: meta.NewMetaFieldPathBuilder().Generation().FieldPath(), 331 } 332 } 333 334 func (s MethodDescriptorPathSelectorMetadataGeneration) WithValue(value int64) *MethodDescriptor_FieldSubPathValue { 335 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 336 } 337 338 func (s MethodDescriptorPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *MethodDescriptor_FieldSubPathArrayOfValues { 339 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 340 } 341 342 type MethodDescriptorPathSelectorMetadataResourceVersion struct{} 343 344 func (MethodDescriptorPathSelectorMetadataResourceVersion) FieldPath() *MethodDescriptor_FieldSubPath { 345 return &MethodDescriptor_FieldSubPath{ 346 selector: MethodDescriptor_FieldPathSelectorMetadata, 347 subPath: meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(), 348 } 349 } 350 351 func (s MethodDescriptorPathSelectorMetadataResourceVersion) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 352 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 353 } 354 355 func (s MethodDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 356 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 357 } 358 359 type MethodDescriptorPathSelectorMetadataOwnerReferences struct{} 360 361 func (MethodDescriptorPathSelectorMetadataOwnerReferences) FieldPath() *MethodDescriptor_FieldSubPath { 362 return &MethodDescriptor_FieldSubPath{ 363 selector: MethodDescriptor_FieldPathSelectorMetadata, 364 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(), 365 } 366 } 367 368 func (s MethodDescriptorPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *MethodDescriptor_FieldSubPathValue { 369 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 370 } 371 372 func (s MethodDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *MethodDescriptor_FieldSubPathArrayOfValues { 373 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 374 } 375 376 func (s MethodDescriptorPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *MethodDescriptor_FieldSubPathArrayItemValue { 377 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 378 } 379 380 func (MethodDescriptorPathSelectorMetadataOwnerReferences) Kind() MethodDescriptorPathSelectorMetadataOwnerReferencesKind { 381 return MethodDescriptorPathSelectorMetadataOwnerReferencesKind{} 382 } 383 384 func (MethodDescriptorPathSelectorMetadataOwnerReferences) Version() MethodDescriptorPathSelectorMetadataOwnerReferencesVersion { 385 return MethodDescriptorPathSelectorMetadataOwnerReferencesVersion{} 386 } 387 388 func (MethodDescriptorPathSelectorMetadataOwnerReferences) Name() MethodDescriptorPathSelectorMetadataOwnerReferencesName { 389 return MethodDescriptorPathSelectorMetadataOwnerReferencesName{} 390 } 391 392 func (MethodDescriptorPathSelectorMetadataOwnerReferences) Region() MethodDescriptorPathSelectorMetadataOwnerReferencesRegion { 393 return MethodDescriptorPathSelectorMetadataOwnerReferencesRegion{} 394 } 395 396 func (MethodDescriptorPathSelectorMetadataOwnerReferences) Controller() MethodDescriptorPathSelectorMetadataOwnerReferencesController { 397 return MethodDescriptorPathSelectorMetadataOwnerReferencesController{} 398 } 399 400 func (MethodDescriptorPathSelectorMetadataOwnerReferences) RequiresOwnerReference() MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference { 401 return MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference{} 402 } 403 404 func (MethodDescriptorPathSelectorMetadataOwnerReferences) UnsetOnDelete() MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete { 405 return MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete{} 406 } 407 408 type MethodDescriptorPathSelectorMetadataOwnerReferencesKind struct{} 409 410 func (MethodDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath() *MethodDescriptor_FieldSubPath { 411 return &MethodDescriptor_FieldSubPath{ 412 selector: MethodDescriptor_FieldPathSelectorMetadata, 413 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(), 414 } 415 } 416 417 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 418 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 419 } 420 421 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 422 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 423 } 424 425 type MethodDescriptorPathSelectorMetadataOwnerReferencesVersion struct{} 426 427 func (MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath() *MethodDescriptor_FieldSubPath { 428 return &MethodDescriptor_FieldSubPath{ 429 selector: MethodDescriptor_FieldPathSelectorMetadata, 430 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(), 431 } 432 } 433 434 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 435 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 436 } 437 438 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 439 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 440 } 441 442 type MethodDescriptorPathSelectorMetadataOwnerReferencesName struct{} 443 444 func (MethodDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath() *MethodDescriptor_FieldSubPath { 445 return &MethodDescriptor_FieldSubPath{ 446 selector: MethodDescriptor_FieldPathSelectorMetadata, 447 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(), 448 } 449 } 450 451 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesName) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 452 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 453 } 454 455 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 456 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 457 } 458 459 type MethodDescriptorPathSelectorMetadataOwnerReferencesRegion struct{} 460 461 func (MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath() *MethodDescriptor_FieldSubPath { 462 return &MethodDescriptor_FieldSubPath{ 463 selector: MethodDescriptor_FieldPathSelectorMetadata, 464 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(), 465 } 466 } 467 468 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 469 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 470 } 471 472 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 473 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 474 } 475 476 type MethodDescriptorPathSelectorMetadataOwnerReferencesController struct{} 477 478 func (MethodDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath() *MethodDescriptor_FieldSubPath { 479 return &MethodDescriptor_FieldSubPath{ 480 selector: MethodDescriptor_FieldPathSelectorMetadata, 481 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(), 482 } 483 } 484 485 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *MethodDescriptor_FieldSubPathValue { 486 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 487 } 488 489 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *MethodDescriptor_FieldSubPathArrayOfValues { 490 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 491 } 492 493 type MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{} 494 495 func (MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *MethodDescriptor_FieldSubPath { 496 return &MethodDescriptor_FieldSubPath{ 497 selector: MethodDescriptor_FieldPathSelectorMetadata, 498 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(), 499 } 500 } 501 502 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *MethodDescriptor_FieldSubPathValue { 503 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 504 } 505 506 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *MethodDescriptor_FieldSubPathArrayOfValues { 507 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 508 } 509 510 type MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{} 511 512 func (MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *MethodDescriptor_FieldSubPath { 513 return &MethodDescriptor_FieldSubPath{ 514 selector: MethodDescriptor_FieldPathSelectorMetadata, 515 subPath: meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(), 516 } 517 } 518 519 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *MethodDescriptor_FieldSubPathValue { 520 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 521 } 522 523 func (s MethodDescriptorPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *MethodDescriptor_FieldSubPathArrayOfValues { 524 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 525 } 526 527 type MethodDescriptorPathSelectorMetadataShards struct{} 528 529 func (MethodDescriptorPathSelectorMetadataShards) FieldPath() *MethodDescriptor_FieldSubPath { 530 return &MethodDescriptor_FieldSubPath{ 531 selector: MethodDescriptor_FieldPathSelectorMetadata, 532 subPath: meta.NewMetaFieldPathBuilder().Shards().FieldPath(), 533 } 534 } 535 536 func (s MethodDescriptorPathSelectorMetadataShards) WithValue(value map[string]int64) *MethodDescriptor_FieldSubPathValue { 537 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 538 } 539 540 func (s MethodDescriptorPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *MethodDescriptor_FieldSubPathArrayOfValues { 541 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 542 } 543 544 func (MethodDescriptorPathSelectorMetadataShards) WithKey(key string) MethodDescriptorMapPathSelectorMetadataShards { 545 return MethodDescriptorMapPathSelectorMetadataShards{key: key} 546 } 547 548 type MethodDescriptorMapPathSelectorMetadataShards struct { 549 key string 550 } 551 552 func (s MethodDescriptorMapPathSelectorMetadataShards) FieldPath() *MethodDescriptor_FieldSubPath { 553 return &MethodDescriptor_FieldSubPath{ 554 selector: MethodDescriptor_FieldPathSelectorMetadata, 555 subPath: meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(), 556 } 557 } 558 559 func (s MethodDescriptorMapPathSelectorMetadataShards) WithValue(value int64) *MethodDescriptor_FieldSubPathValue { 560 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 561 } 562 563 func (s MethodDescriptorMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *MethodDescriptor_FieldSubPathArrayOfValues { 564 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 565 } 566 567 type MethodDescriptorPathSelectorMetadataSyncing struct{} 568 569 func (MethodDescriptorPathSelectorMetadataSyncing) FieldPath() *MethodDescriptor_FieldSubPath { 570 return &MethodDescriptor_FieldSubPath{ 571 selector: MethodDescriptor_FieldPathSelectorMetadata, 572 subPath: meta.NewMetaFieldPathBuilder().Syncing().FieldPath(), 573 } 574 } 575 576 func (s MethodDescriptorPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *MethodDescriptor_FieldSubPathValue { 577 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 578 } 579 580 func (s MethodDescriptorPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *MethodDescriptor_FieldSubPathArrayOfValues { 581 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 582 } 583 584 func (MethodDescriptorPathSelectorMetadataSyncing) OwningRegion() MethodDescriptorPathSelectorMetadataSyncingOwningRegion { 585 return MethodDescriptorPathSelectorMetadataSyncingOwningRegion{} 586 } 587 588 func (MethodDescriptorPathSelectorMetadataSyncing) Regions() MethodDescriptorPathSelectorMetadataSyncingRegions { 589 return MethodDescriptorPathSelectorMetadataSyncingRegions{} 590 } 591 592 type MethodDescriptorPathSelectorMetadataSyncingOwningRegion struct{} 593 594 func (MethodDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath() *MethodDescriptor_FieldSubPath { 595 return &MethodDescriptor_FieldSubPath{ 596 selector: MethodDescriptor_FieldPathSelectorMetadata, 597 subPath: meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(), 598 } 599 } 600 601 func (s MethodDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 602 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 603 } 604 605 func (s MethodDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 606 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 607 } 608 609 type MethodDescriptorPathSelectorMetadataSyncingRegions struct{} 610 611 func (MethodDescriptorPathSelectorMetadataSyncingRegions) FieldPath() *MethodDescriptor_FieldSubPath { 612 return &MethodDescriptor_FieldSubPath{ 613 selector: MethodDescriptor_FieldPathSelectorMetadata, 614 subPath: meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(), 615 } 616 } 617 618 func (s MethodDescriptorPathSelectorMetadataSyncingRegions) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 619 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 620 } 621 622 func (s MethodDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 623 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 624 } 625 626 func (s MethodDescriptorPathSelectorMetadataSyncingRegions) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 627 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 628 } 629 630 type MethodDescriptorPathSelectorMetadataLifecycle struct{} 631 632 func (MethodDescriptorPathSelectorMetadataLifecycle) FieldPath() *MethodDescriptor_FieldSubPath { 633 return &MethodDescriptor_FieldSubPath{ 634 selector: MethodDescriptor_FieldPathSelectorMetadata, 635 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(), 636 } 637 } 638 639 func (s MethodDescriptorPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *MethodDescriptor_FieldSubPathValue { 640 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 641 } 642 643 func (s MethodDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *MethodDescriptor_FieldSubPathArrayOfValues { 644 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 645 } 646 647 func (MethodDescriptorPathSelectorMetadataLifecycle) State() MethodDescriptorPathSelectorMetadataLifecycleState { 648 return MethodDescriptorPathSelectorMetadataLifecycleState{} 649 } 650 651 func (MethodDescriptorPathSelectorMetadataLifecycle) BlockDeletion() MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion { 652 return MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion{} 653 } 654 655 type MethodDescriptorPathSelectorMetadataLifecycleState struct{} 656 657 func (MethodDescriptorPathSelectorMetadataLifecycleState) FieldPath() *MethodDescriptor_FieldSubPath { 658 return &MethodDescriptor_FieldSubPath{ 659 selector: MethodDescriptor_FieldPathSelectorMetadata, 660 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(), 661 } 662 } 663 664 func (s MethodDescriptorPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *MethodDescriptor_FieldSubPathValue { 665 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 666 } 667 668 func (s MethodDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *MethodDescriptor_FieldSubPathArrayOfValues { 669 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 670 } 671 672 type MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{} 673 674 func (MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *MethodDescriptor_FieldSubPath { 675 return &MethodDescriptor_FieldSubPath{ 676 selector: MethodDescriptor_FieldPathSelectorMetadata, 677 subPath: meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(), 678 } 679 } 680 681 func (s MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *MethodDescriptor_FieldSubPathValue { 682 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 683 } 684 685 func (s MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *MethodDescriptor_FieldSubPathArrayOfValues { 686 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 687 } 688 689 type MethodDescriptorPathSelectorMetadataServices struct{} 690 691 func (MethodDescriptorPathSelectorMetadataServices) FieldPath() *MethodDescriptor_FieldSubPath { 692 return &MethodDescriptor_FieldSubPath{ 693 selector: MethodDescriptor_FieldPathSelectorMetadata, 694 subPath: meta.NewMetaFieldPathBuilder().Services().FieldPath(), 695 } 696 } 697 698 func (s MethodDescriptorPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *MethodDescriptor_FieldSubPathValue { 699 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 700 } 701 702 func (s MethodDescriptorPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *MethodDescriptor_FieldSubPathArrayOfValues { 703 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 704 } 705 706 func (MethodDescriptorPathSelectorMetadataServices) OwningService() MethodDescriptorPathSelectorMetadataServicesOwningService { 707 return MethodDescriptorPathSelectorMetadataServicesOwningService{} 708 } 709 710 func (MethodDescriptorPathSelectorMetadataServices) AllowedServices() MethodDescriptorPathSelectorMetadataServicesAllowedServices { 711 return MethodDescriptorPathSelectorMetadataServicesAllowedServices{} 712 } 713 714 type MethodDescriptorPathSelectorMetadataServicesOwningService struct{} 715 716 func (MethodDescriptorPathSelectorMetadataServicesOwningService) FieldPath() *MethodDescriptor_FieldSubPath { 717 return &MethodDescriptor_FieldSubPath{ 718 selector: MethodDescriptor_FieldPathSelectorMetadata, 719 subPath: meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(), 720 } 721 } 722 723 func (s MethodDescriptorPathSelectorMetadataServicesOwningService) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 724 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 725 } 726 727 func (s MethodDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 728 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 729 } 730 731 type MethodDescriptorPathSelectorMetadataServicesAllowedServices struct{} 732 733 func (MethodDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath() *MethodDescriptor_FieldSubPath { 734 return &MethodDescriptor_FieldSubPath{ 735 selector: MethodDescriptor_FieldPathSelectorMetadata, 736 subPath: meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(), 737 } 738 } 739 740 func (s MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 741 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 742 } 743 744 func (s MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 745 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 746 } 747 748 func (s MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 749 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 750 } 751 752 type MethodDescriptorPathSelectorDisplayName struct{} 753 754 func (MethodDescriptorPathSelectorDisplayName) FieldPath() *MethodDescriptor_FieldTerminalPath { 755 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorDisplayName} 756 } 757 758 func (s MethodDescriptorPathSelectorDisplayName) WithValue(value string) *MethodDescriptor_FieldTerminalPathValue { 759 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 760 } 761 762 func (s MethodDescriptorPathSelectorDisplayName) WithArrayOfValues(values []string) *MethodDescriptor_FieldTerminalPathArrayOfValues { 763 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 764 } 765 766 type MethodDescriptorPathSelectorDescription struct{} 767 768 func (MethodDescriptorPathSelectorDescription) FieldPath() *MethodDescriptor_FieldTerminalPath { 769 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorDescription} 770 } 771 772 func (s MethodDescriptorPathSelectorDescription) WithValue(value string) *MethodDescriptor_FieldTerminalPathValue { 773 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 774 } 775 776 func (s MethodDescriptorPathSelectorDescription) WithArrayOfValues(values []string) *MethodDescriptor_FieldTerminalPathArrayOfValues { 777 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 778 } 779 780 type MethodDescriptorPathSelectorLabels struct{} 781 782 func (MethodDescriptorPathSelectorLabels) FieldPath() *MethodDescriptor_FieldTerminalPath { 783 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorLabels} 784 } 785 786 func (s MethodDescriptorPathSelectorLabels) WithValue(value []*common.LabelDescriptor) *MethodDescriptor_FieldTerminalPathValue { 787 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 788 } 789 790 func (s MethodDescriptorPathSelectorLabels) WithArrayOfValues(values [][]*common.LabelDescriptor) *MethodDescriptor_FieldTerminalPathArrayOfValues { 791 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 792 } 793 794 func (s MethodDescriptorPathSelectorLabels) WithItemValue(value *common.LabelDescriptor) *MethodDescriptor_FieldTerminalPathArrayItemValue { 795 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldTerminalPathArrayItemValue) 796 } 797 func (MethodDescriptorPathSelectorLabels) WithSubPath(subPath common.LabelDescriptor_FieldPath) *MethodDescriptor_FieldSubPath { 798 return &MethodDescriptor_FieldSubPath{selector: MethodDescriptor_FieldPathSelectorLabels, subPath: subPath} 799 } 800 801 func (s MethodDescriptorPathSelectorLabels) WithSubValue(subPathValue common.LabelDescriptor_FieldPathValue) *MethodDescriptor_FieldSubPathValue { 802 return &MethodDescriptor_FieldSubPathValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 803 } 804 805 func (s MethodDescriptorPathSelectorLabels) WithSubArrayOfValues(subPathArrayOfValues common.LabelDescriptor_FieldPathArrayOfValues) *MethodDescriptor_FieldSubPathArrayOfValues { 806 return &MethodDescriptor_FieldSubPathArrayOfValues{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 807 } 808 809 func (s MethodDescriptorPathSelectorLabels) WithSubArrayItemValue(subPathArrayItemValue common.LabelDescriptor_FieldPathArrayItemValue) *MethodDescriptor_FieldSubPathArrayItemValue { 810 return &MethodDescriptor_FieldSubPathArrayItemValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 811 } 812 813 func (MethodDescriptorPathSelectorLabels) Key() MethodDescriptorPathSelectorLabelsKey { 814 return MethodDescriptorPathSelectorLabelsKey{} 815 } 816 817 func (MethodDescriptorPathSelectorLabels) Versions() MethodDescriptorPathSelectorLabelsVersions { 818 return MethodDescriptorPathSelectorLabelsVersions{} 819 } 820 821 type MethodDescriptorPathSelectorLabelsKey struct{} 822 823 func (MethodDescriptorPathSelectorLabelsKey) FieldPath() *MethodDescriptor_FieldSubPath { 824 return &MethodDescriptor_FieldSubPath{ 825 selector: MethodDescriptor_FieldPathSelectorLabels, 826 subPath: common.NewLabelDescriptorFieldPathBuilder().Key().FieldPath(), 827 } 828 } 829 830 func (s MethodDescriptorPathSelectorLabelsKey) WithValue(value string) *MethodDescriptor_FieldSubPathValue { 831 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 832 } 833 834 func (s MethodDescriptorPathSelectorLabelsKey) WithArrayOfValues(values []string) *MethodDescriptor_FieldSubPathArrayOfValues { 835 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 836 } 837 838 type MethodDescriptorPathSelectorLabelsVersions struct{} 839 840 func (MethodDescriptorPathSelectorLabelsVersions) FieldPath() *MethodDescriptor_FieldSubPath { 841 return &MethodDescriptor_FieldSubPath{ 842 selector: MethodDescriptor_FieldPathSelectorLabels, 843 subPath: common.NewLabelDescriptorFieldPathBuilder().Versions().FieldPath(), 844 } 845 } 846 847 func (s MethodDescriptorPathSelectorLabelsVersions) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 848 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 849 } 850 851 func (s MethodDescriptorPathSelectorLabelsVersions) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 852 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 853 } 854 855 func (s MethodDescriptorPathSelectorLabelsVersions) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 856 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 857 } 858 859 type MethodDescriptorPathSelectorPromotedLabelKeySets struct{} 860 861 func (MethodDescriptorPathSelectorPromotedLabelKeySets) FieldPath() *MethodDescriptor_FieldTerminalPath { 862 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorPromotedLabelKeySets} 863 } 864 865 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithValue(value []*common.LabelKeySet) *MethodDescriptor_FieldTerminalPathValue { 866 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 867 } 868 869 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues(values [][]*common.LabelKeySet) *MethodDescriptor_FieldTerminalPathArrayOfValues { 870 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 871 } 872 873 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithItemValue(value *common.LabelKeySet) *MethodDescriptor_FieldTerminalPathArrayItemValue { 874 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldTerminalPathArrayItemValue) 875 } 876 func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubPath(subPath common.LabelKeySet_FieldPath) *MethodDescriptor_FieldSubPath { 877 return &MethodDescriptor_FieldSubPath{selector: MethodDescriptor_FieldPathSelectorPromotedLabelKeySets, subPath: subPath} 878 } 879 880 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubValue(subPathValue common.LabelKeySet_FieldPathValue) *MethodDescriptor_FieldSubPathValue { 881 return &MethodDescriptor_FieldSubPathValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue} 882 } 883 884 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues(subPathArrayOfValues common.LabelKeySet_FieldPathArrayOfValues) *MethodDescriptor_FieldSubPathArrayOfValues { 885 return &MethodDescriptor_FieldSubPathArrayOfValues{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues} 886 } 887 888 func (s MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue(subPathArrayItemValue common.LabelKeySet_FieldPathArrayItemValue) *MethodDescriptor_FieldSubPathArrayItemValue { 889 return &MethodDescriptor_FieldSubPathArrayItemValue{MethodDescriptor_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue} 890 } 891 892 func (MethodDescriptorPathSelectorPromotedLabelKeySets) LabelKeys() MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys { 893 return MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys{} 894 } 895 896 func (MethodDescriptorPathSelectorPromotedLabelKeySets) Versions() MethodDescriptorPathSelectorPromotedLabelKeySetsVersions { 897 return MethodDescriptorPathSelectorPromotedLabelKeySetsVersions{} 898 } 899 900 type MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{} 901 902 func (MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath() *MethodDescriptor_FieldSubPath { 903 return &MethodDescriptor_FieldSubPath{ 904 selector: MethodDescriptor_FieldPathSelectorPromotedLabelKeySets, 905 subPath: common.NewLabelKeySetFieldPathBuilder().LabelKeys().FieldPath(), 906 } 907 } 908 909 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 910 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 911 } 912 913 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 914 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 915 } 916 917 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 918 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 919 } 920 921 type MethodDescriptorPathSelectorPromotedLabelKeySetsVersions struct{} 922 923 func (MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) FieldPath() *MethodDescriptor_FieldSubPath { 924 return &MethodDescriptor_FieldSubPath{ 925 selector: MethodDescriptor_FieldPathSelectorPromotedLabelKeySets, 926 subPath: common.NewLabelKeySetFieldPathBuilder().Versions().FieldPath(), 927 } 928 } 929 930 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithValue(value []string) *MethodDescriptor_FieldSubPathValue { 931 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldSubPathValue) 932 } 933 934 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldSubPathArrayOfValues { 935 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldSubPathArrayOfValues) 936 } 937 938 func (s MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithItemValue(value string) *MethodDescriptor_FieldSubPathArrayItemValue { 939 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldSubPathArrayItemValue) 940 } 941 942 type MethodDescriptorPathSelectorVersions struct{} 943 944 func (MethodDescriptorPathSelectorVersions) FieldPath() *MethodDescriptor_FieldTerminalPath { 945 return &MethodDescriptor_FieldTerminalPath{selector: MethodDescriptor_FieldPathSelectorVersions} 946 } 947 948 func (s MethodDescriptorPathSelectorVersions) WithValue(value []string) *MethodDescriptor_FieldTerminalPathValue { 949 return s.FieldPath().WithIValue(value).(*MethodDescriptor_FieldTerminalPathValue) 950 } 951 952 func (s MethodDescriptorPathSelectorVersions) WithArrayOfValues(values [][]string) *MethodDescriptor_FieldTerminalPathArrayOfValues { 953 return s.FieldPath().WithIArrayOfValues(values).(*MethodDescriptor_FieldTerminalPathArrayOfValues) 954 } 955 956 func (s MethodDescriptorPathSelectorVersions) WithItemValue(value string) *MethodDescriptor_FieldTerminalPathArrayItemValue { 957 return s.FieldPath().WithIArrayItemValue(value).(*MethodDescriptor_FieldTerminalPathArrayItemValue) 958 }