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