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