github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/service_account/service_account.pb.fieldpathbuilder.go (about)

     1  // Code generated by protoc-gen-goten-object
     2  // File: edgelq/iam/proto/v1alpha2/service_account.proto
     3  // DO NOT EDIT!!!
     4  
     5  package service_account
     6  
     7  // proto imports
     8  import (
     9  	iam_common "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/common"
    10  	organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/organization"
    11  	project "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/project"
    12  	meta_service "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service"
    13  	meta "github.com/cloudwan/goten-sdk/types/meta"
    14  	multi_region_policy "github.com/cloudwan/goten-sdk/types/multi_region_policy"
    15  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    16  )
    17  
    18  // make sure we're using proto imports
    19  var (
    20  	_ = &iam_common.PCR{}
    21  	_ = &organization.Organization{}
    22  	_ = &project.Project{}
    23  	_ = &meta_service.Service{}
    24  	_ = &timestamppb.Timestamp{}
    25  	_ = &meta.Meta{}
    26  	_ = &multi_region_policy.MultiRegionPolicy{}
    27  )
    28  
    29  type ServiceAccountFieldPathBuilder struct{}
    30  
    31  func NewServiceAccountFieldPathBuilder() ServiceAccountFieldPathBuilder {
    32  	return ServiceAccountFieldPathBuilder{}
    33  }
    34  func (ServiceAccountFieldPathBuilder) Name() ServiceAccountPathSelectorName {
    35  	return ServiceAccountPathSelectorName{}
    36  }
    37  func (ServiceAccountFieldPathBuilder) DisplayName() ServiceAccountPathSelectorDisplayName {
    38  	return ServiceAccountPathSelectorDisplayName{}
    39  }
    40  func (ServiceAccountFieldPathBuilder) Email() ServiceAccountPathSelectorEmail {
    41  	return ServiceAccountPathSelectorEmail{}
    42  }
    43  func (ServiceAccountFieldPathBuilder) Metadata() ServiceAccountPathSelectorMetadata {
    44  	return ServiceAccountPathSelectorMetadata{}
    45  }
    46  
    47  type ServiceAccountPathSelectorName struct{}
    48  
    49  func (ServiceAccountPathSelectorName) FieldPath() *ServiceAccount_FieldTerminalPath {
    50  	return &ServiceAccount_FieldTerminalPath{selector: ServiceAccount_FieldPathSelectorName}
    51  }
    52  
    53  func (s ServiceAccountPathSelectorName) WithValue(value *Name) *ServiceAccount_FieldTerminalPathValue {
    54  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldTerminalPathValue)
    55  }
    56  
    57  func (s ServiceAccountPathSelectorName) WithArrayOfValues(values []*Name) *ServiceAccount_FieldTerminalPathArrayOfValues {
    58  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldTerminalPathArrayOfValues)
    59  }
    60  
    61  type ServiceAccountPathSelectorDisplayName struct{}
    62  
    63  func (ServiceAccountPathSelectorDisplayName) FieldPath() *ServiceAccount_FieldTerminalPath {
    64  	return &ServiceAccount_FieldTerminalPath{selector: ServiceAccount_FieldPathSelectorDisplayName}
    65  }
    66  
    67  func (s ServiceAccountPathSelectorDisplayName) WithValue(value string) *ServiceAccount_FieldTerminalPathValue {
    68  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldTerminalPathValue)
    69  }
    70  
    71  func (s ServiceAccountPathSelectorDisplayName) WithArrayOfValues(values []string) *ServiceAccount_FieldTerminalPathArrayOfValues {
    72  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldTerminalPathArrayOfValues)
    73  }
    74  
    75  type ServiceAccountPathSelectorEmail struct{}
    76  
    77  func (ServiceAccountPathSelectorEmail) FieldPath() *ServiceAccount_FieldTerminalPath {
    78  	return &ServiceAccount_FieldTerminalPath{selector: ServiceAccount_FieldPathSelectorEmail}
    79  }
    80  
    81  func (s ServiceAccountPathSelectorEmail) WithValue(value string) *ServiceAccount_FieldTerminalPathValue {
    82  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldTerminalPathValue)
    83  }
    84  
    85  func (s ServiceAccountPathSelectorEmail) WithArrayOfValues(values []string) *ServiceAccount_FieldTerminalPathArrayOfValues {
    86  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldTerminalPathArrayOfValues)
    87  }
    88  
    89  type ServiceAccountPathSelectorMetadata struct{}
    90  
    91  func (ServiceAccountPathSelectorMetadata) FieldPath() *ServiceAccount_FieldTerminalPath {
    92  	return &ServiceAccount_FieldTerminalPath{selector: ServiceAccount_FieldPathSelectorMetadata}
    93  }
    94  
    95  func (s ServiceAccountPathSelectorMetadata) WithValue(value *meta.Meta) *ServiceAccount_FieldTerminalPathValue {
    96  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldTerminalPathValue)
    97  }
    98  
    99  func (s ServiceAccountPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *ServiceAccount_FieldTerminalPathArrayOfValues {
   100  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldTerminalPathArrayOfValues)
   101  }
   102  
   103  func (ServiceAccountPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *ServiceAccount_FieldSubPath {
   104  	return &ServiceAccount_FieldSubPath{selector: ServiceAccount_FieldPathSelectorMetadata, subPath: subPath}
   105  }
   106  
   107  func (s ServiceAccountPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *ServiceAccount_FieldSubPathValue {
   108  	return &ServiceAccount_FieldSubPathValue{ServiceAccount_FieldPath: s.WithSubPath(subPathValue), subPathValue: subPathValue}
   109  }
   110  
   111  func (s ServiceAccountPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *ServiceAccount_FieldSubPathArrayOfValues {
   112  	return &ServiceAccount_FieldSubPathArrayOfValues{ServiceAccount_FieldPath: s.WithSubPath(subPathArrayOfValues), subPathArrayOfValues: subPathArrayOfValues}
   113  }
   114  
   115  func (s ServiceAccountPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *ServiceAccount_FieldSubPathArrayItemValue {
   116  	return &ServiceAccount_FieldSubPathArrayItemValue{ServiceAccount_FieldPath: s.WithSubPath(subPathArrayItemValue), subPathItemValue: subPathArrayItemValue}
   117  }
   118  
   119  func (ServiceAccountPathSelectorMetadata) CreateTime() ServiceAccountPathSelectorMetadataCreateTime {
   120  	return ServiceAccountPathSelectorMetadataCreateTime{}
   121  }
   122  
   123  func (ServiceAccountPathSelectorMetadata) UpdateTime() ServiceAccountPathSelectorMetadataUpdateTime {
   124  	return ServiceAccountPathSelectorMetadataUpdateTime{}
   125  }
   126  
   127  func (ServiceAccountPathSelectorMetadata) DeleteTime() ServiceAccountPathSelectorMetadataDeleteTime {
   128  	return ServiceAccountPathSelectorMetadataDeleteTime{}
   129  }
   130  
   131  func (ServiceAccountPathSelectorMetadata) Uuid() ServiceAccountPathSelectorMetadataUuid {
   132  	return ServiceAccountPathSelectorMetadataUuid{}
   133  }
   134  
   135  func (ServiceAccountPathSelectorMetadata) Tags() ServiceAccountPathSelectorMetadataTags {
   136  	return ServiceAccountPathSelectorMetadataTags{}
   137  }
   138  
   139  func (ServiceAccountPathSelectorMetadata) Labels() ServiceAccountPathSelectorMetadataLabels {
   140  	return ServiceAccountPathSelectorMetadataLabels{}
   141  }
   142  
   143  func (ServiceAccountPathSelectorMetadata) Annotations() ServiceAccountPathSelectorMetadataAnnotations {
   144  	return ServiceAccountPathSelectorMetadataAnnotations{}
   145  }
   146  
   147  func (ServiceAccountPathSelectorMetadata) Generation() ServiceAccountPathSelectorMetadataGeneration {
   148  	return ServiceAccountPathSelectorMetadataGeneration{}
   149  }
   150  
   151  func (ServiceAccountPathSelectorMetadata) ResourceVersion() ServiceAccountPathSelectorMetadataResourceVersion {
   152  	return ServiceAccountPathSelectorMetadataResourceVersion{}
   153  }
   154  
   155  func (ServiceAccountPathSelectorMetadata) OwnerReferences() ServiceAccountPathSelectorMetadataOwnerReferences {
   156  	return ServiceAccountPathSelectorMetadataOwnerReferences{}
   157  }
   158  
   159  func (ServiceAccountPathSelectorMetadata) Shards() ServiceAccountPathSelectorMetadataShards {
   160  	return ServiceAccountPathSelectorMetadataShards{}
   161  }
   162  
   163  func (ServiceAccountPathSelectorMetadata) Syncing() ServiceAccountPathSelectorMetadataSyncing {
   164  	return ServiceAccountPathSelectorMetadataSyncing{}
   165  }
   166  
   167  func (ServiceAccountPathSelectorMetadata) Lifecycle() ServiceAccountPathSelectorMetadataLifecycle {
   168  	return ServiceAccountPathSelectorMetadataLifecycle{}
   169  }
   170  
   171  func (ServiceAccountPathSelectorMetadata) Services() ServiceAccountPathSelectorMetadataServices {
   172  	return ServiceAccountPathSelectorMetadataServices{}
   173  }
   174  
   175  type ServiceAccountPathSelectorMetadataCreateTime struct{}
   176  
   177  func (ServiceAccountPathSelectorMetadataCreateTime) FieldPath() *ServiceAccount_FieldSubPath {
   178  	return &ServiceAccount_FieldSubPath{
   179  		selector: ServiceAccount_FieldPathSelectorMetadata,
   180  		subPath:  meta.NewMetaFieldPathBuilder().CreateTime().FieldPath(),
   181  	}
   182  }
   183  
   184  func (s ServiceAccountPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *ServiceAccount_FieldSubPathValue {
   185  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   186  }
   187  
   188  func (s ServiceAccountPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccount_FieldSubPathArrayOfValues {
   189  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   190  }
   191  
   192  type ServiceAccountPathSelectorMetadataUpdateTime struct{}
   193  
   194  func (ServiceAccountPathSelectorMetadataUpdateTime) FieldPath() *ServiceAccount_FieldSubPath {
   195  	return &ServiceAccount_FieldSubPath{
   196  		selector: ServiceAccount_FieldPathSelectorMetadata,
   197  		subPath:  meta.NewMetaFieldPathBuilder().UpdateTime().FieldPath(),
   198  	}
   199  }
   200  
   201  func (s ServiceAccountPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *ServiceAccount_FieldSubPathValue {
   202  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   203  }
   204  
   205  func (s ServiceAccountPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccount_FieldSubPathArrayOfValues {
   206  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   207  }
   208  
   209  type ServiceAccountPathSelectorMetadataDeleteTime struct{}
   210  
   211  func (ServiceAccountPathSelectorMetadataDeleteTime) FieldPath() *ServiceAccount_FieldSubPath {
   212  	return &ServiceAccount_FieldSubPath{
   213  		selector: ServiceAccount_FieldPathSelectorMetadata,
   214  		subPath:  meta.NewMetaFieldPathBuilder().DeleteTime().FieldPath(),
   215  	}
   216  }
   217  
   218  func (s ServiceAccountPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *ServiceAccount_FieldSubPathValue {
   219  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   220  }
   221  
   222  func (s ServiceAccountPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *ServiceAccount_FieldSubPathArrayOfValues {
   223  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   224  }
   225  
   226  type ServiceAccountPathSelectorMetadataUuid struct{}
   227  
   228  func (ServiceAccountPathSelectorMetadataUuid) FieldPath() *ServiceAccount_FieldSubPath {
   229  	return &ServiceAccount_FieldSubPath{
   230  		selector: ServiceAccount_FieldPathSelectorMetadata,
   231  		subPath:  meta.NewMetaFieldPathBuilder().Uuid().FieldPath(),
   232  	}
   233  }
   234  
   235  func (s ServiceAccountPathSelectorMetadataUuid) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   236  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   237  }
   238  
   239  func (s ServiceAccountPathSelectorMetadataUuid) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   240  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   241  }
   242  
   243  type ServiceAccountPathSelectorMetadataTags struct{}
   244  
   245  func (ServiceAccountPathSelectorMetadataTags) FieldPath() *ServiceAccount_FieldSubPath {
   246  	return &ServiceAccount_FieldSubPath{
   247  		selector: ServiceAccount_FieldPathSelectorMetadata,
   248  		subPath:  meta.NewMetaFieldPathBuilder().Tags().FieldPath(),
   249  	}
   250  }
   251  
   252  func (s ServiceAccountPathSelectorMetadataTags) WithValue(value []string) *ServiceAccount_FieldSubPathValue {
   253  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   254  }
   255  
   256  func (s ServiceAccountPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *ServiceAccount_FieldSubPathArrayOfValues {
   257  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   258  }
   259  
   260  func (s ServiceAccountPathSelectorMetadataTags) WithItemValue(value string) *ServiceAccount_FieldSubPathArrayItemValue {
   261  	return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccount_FieldSubPathArrayItemValue)
   262  }
   263  
   264  type ServiceAccountPathSelectorMetadataLabels struct{}
   265  
   266  func (ServiceAccountPathSelectorMetadataLabels) FieldPath() *ServiceAccount_FieldSubPath {
   267  	return &ServiceAccount_FieldSubPath{
   268  		selector: ServiceAccount_FieldPathSelectorMetadata,
   269  		subPath:  meta.NewMetaFieldPathBuilder().Labels().FieldPath(),
   270  	}
   271  }
   272  
   273  func (s ServiceAccountPathSelectorMetadataLabels) WithValue(value map[string]string) *ServiceAccount_FieldSubPathValue {
   274  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   275  }
   276  
   277  func (s ServiceAccountPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *ServiceAccount_FieldSubPathArrayOfValues {
   278  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   279  }
   280  
   281  func (ServiceAccountPathSelectorMetadataLabels) WithKey(key string) ServiceAccountMapPathSelectorMetadataLabels {
   282  	return ServiceAccountMapPathSelectorMetadataLabels{key: key}
   283  }
   284  
   285  type ServiceAccountMapPathSelectorMetadataLabels struct {
   286  	key string
   287  }
   288  
   289  func (s ServiceAccountMapPathSelectorMetadataLabels) FieldPath() *ServiceAccount_FieldSubPath {
   290  	return &ServiceAccount_FieldSubPath{
   291  		selector: ServiceAccount_FieldPathSelectorMetadata,
   292  		subPath:  meta.NewMetaFieldPathBuilder().Labels().WithKey(s.key).FieldPath(),
   293  	}
   294  }
   295  
   296  func (s ServiceAccountMapPathSelectorMetadataLabels) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   297  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   298  }
   299  
   300  func (s ServiceAccountMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   301  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   302  }
   303  
   304  type ServiceAccountPathSelectorMetadataAnnotations struct{}
   305  
   306  func (ServiceAccountPathSelectorMetadataAnnotations) FieldPath() *ServiceAccount_FieldSubPath {
   307  	return &ServiceAccount_FieldSubPath{
   308  		selector: ServiceAccount_FieldPathSelectorMetadata,
   309  		subPath:  meta.NewMetaFieldPathBuilder().Annotations().FieldPath(),
   310  	}
   311  }
   312  
   313  func (s ServiceAccountPathSelectorMetadataAnnotations) WithValue(value map[string]string) *ServiceAccount_FieldSubPathValue {
   314  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   315  }
   316  
   317  func (s ServiceAccountPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *ServiceAccount_FieldSubPathArrayOfValues {
   318  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   319  }
   320  
   321  func (ServiceAccountPathSelectorMetadataAnnotations) WithKey(key string) ServiceAccountMapPathSelectorMetadataAnnotations {
   322  	return ServiceAccountMapPathSelectorMetadataAnnotations{key: key}
   323  }
   324  
   325  type ServiceAccountMapPathSelectorMetadataAnnotations struct {
   326  	key string
   327  }
   328  
   329  func (s ServiceAccountMapPathSelectorMetadataAnnotations) FieldPath() *ServiceAccount_FieldSubPath {
   330  	return &ServiceAccount_FieldSubPath{
   331  		selector: ServiceAccount_FieldPathSelectorMetadata,
   332  		subPath:  meta.NewMetaFieldPathBuilder().Annotations().WithKey(s.key).FieldPath(),
   333  	}
   334  }
   335  
   336  func (s ServiceAccountMapPathSelectorMetadataAnnotations) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   337  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   338  }
   339  
   340  func (s ServiceAccountMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   341  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   342  }
   343  
   344  type ServiceAccountPathSelectorMetadataGeneration struct{}
   345  
   346  func (ServiceAccountPathSelectorMetadataGeneration) FieldPath() *ServiceAccount_FieldSubPath {
   347  	return &ServiceAccount_FieldSubPath{
   348  		selector: ServiceAccount_FieldPathSelectorMetadata,
   349  		subPath:  meta.NewMetaFieldPathBuilder().Generation().FieldPath(),
   350  	}
   351  }
   352  
   353  func (s ServiceAccountPathSelectorMetadataGeneration) WithValue(value int64) *ServiceAccount_FieldSubPathValue {
   354  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   355  }
   356  
   357  func (s ServiceAccountPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *ServiceAccount_FieldSubPathArrayOfValues {
   358  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   359  }
   360  
   361  type ServiceAccountPathSelectorMetadataResourceVersion struct{}
   362  
   363  func (ServiceAccountPathSelectorMetadataResourceVersion) FieldPath() *ServiceAccount_FieldSubPath {
   364  	return &ServiceAccount_FieldSubPath{
   365  		selector: ServiceAccount_FieldPathSelectorMetadata,
   366  		subPath:  meta.NewMetaFieldPathBuilder().ResourceVersion().FieldPath(),
   367  	}
   368  }
   369  
   370  func (s ServiceAccountPathSelectorMetadataResourceVersion) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   371  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   372  }
   373  
   374  func (s ServiceAccountPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   375  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   376  }
   377  
   378  type ServiceAccountPathSelectorMetadataOwnerReferences struct{}
   379  
   380  func (ServiceAccountPathSelectorMetadataOwnerReferences) FieldPath() *ServiceAccount_FieldSubPath {
   381  	return &ServiceAccount_FieldSubPath{
   382  		selector: ServiceAccount_FieldPathSelectorMetadata,
   383  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().FieldPath(),
   384  	}
   385  }
   386  
   387  func (s ServiceAccountPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *ServiceAccount_FieldSubPathValue {
   388  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   389  }
   390  
   391  func (s ServiceAccountPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *ServiceAccount_FieldSubPathArrayOfValues {
   392  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   393  }
   394  
   395  func (s ServiceAccountPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *ServiceAccount_FieldSubPathArrayItemValue {
   396  	return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccount_FieldSubPathArrayItemValue)
   397  }
   398  
   399  func (ServiceAccountPathSelectorMetadataOwnerReferences) Kind() ServiceAccountPathSelectorMetadataOwnerReferencesKind {
   400  	return ServiceAccountPathSelectorMetadataOwnerReferencesKind{}
   401  }
   402  
   403  func (ServiceAccountPathSelectorMetadataOwnerReferences) Version() ServiceAccountPathSelectorMetadataOwnerReferencesVersion {
   404  	return ServiceAccountPathSelectorMetadataOwnerReferencesVersion{}
   405  }
   406  
   407  func (ServiceAccountPathSelectorMetadataOwnerReferences) Name() ServiceAccountPathSelectorMetadataOwnerReferencesName {
   408  	return ServiceAccountPathSelectorMetadataOwnerReferencesName{}
   409  }
   410  
   411  func (ServiceAccountPathSelectorMetadataOwnerReferences) Region() ServiceAccountPathSelectorMetadataOwnerReferencesRegion {
   412  	return ServiceAccountPathSelectorMetadataOwnerReferencesRegion{}
   413  }
   414  
   415  func (ServiceAccountPathSelectorMetadataOwnerReferences) Controller() ServiceAccountPathSelectorMetadataOwnerReferencesController {
   416  	return ServiceAccountPathSelectorMetadataOwnerReferencesController{}
   417  }
   418  
   419  func (ServiceAccountPathSelectorMetadataOwnerReferences) RequiresOwnerReference() ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference {
   420  	return ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference{}
   421  }
   422  
   423  func (ServiceAccountPathSelectorMetadataOwnerReferences) UnsetOnDelete() ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete {
   424  	return ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete{}
   425  }
   426  
   427  type ServiceAccountPathSelectorMetadataOwnerReferencesKind struct{}
   428  
   429  func (ServiceAccountPathSelectorMetadataOwnerReferencesKind) FieldPath() *ServiceAccount_FieldSubPath {
   430  	return &ServiceAccount_FieldSubPath{
   431  		selector: ServiceAccount_FieldPathSelectorMetadata,
   432  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Kind().FieldPath(),
   433  	}
   434  }
   435  
   436  func (s ServiceAccountPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   437  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   438  }
   439  
   440  func (s ServiceAccountPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   441  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   442  }
   443  
   444  type ServiceAccountPathSelectorMetadataOwnerReferencesVersion struct{}
   445  
   446  func (ServiceAccountPathSelectorMetadataOwnerReferencesVersion) FieldPath() *ServiceAccount_FieldSubPath {
   447  	return &ServiceAccount_FieldSubPath{
   448  		selector: ServiceAccount_FieldPathSelectorMetadata,
   449  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Version().FieldPath(),
   450  	}
   451  }
   452  
   453  func (s ServiceAccountPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   454  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   455  }
   456  
   457  func (s ServiceAccountPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   458  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   459  }
   460  
   461  type ServiceAccountPathSelectorMetadataOwnerReferencesName struct{}
   462  
   463  func (ServiceAccountPathSelectorMetadataOwnerReferencesName) FieldPath() *ServiceAccount_FieldSubPath {
   464  	return &ServiceAccount_FieldSubPath{
   465  		selector: ServiceAccount_FieldPathSelectorMetadata,
   466  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Name().FieldPath(),
   467  	}
   468  }
   469  
   470  func (s ServiceAccountPathSelectorMetadataOwnerReferencesName) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   471  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   472  }
   473  
   474  func (s ServiceAccountPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   475  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   476  }
   477  
   478  type ServiceAccountPathSelectorMetadataOwnerReferencesRegion struct{}
   479  
   480  func (ServiceAccountPathSelectorMetadataOwnerReferencesRegion) FieldPath() *ServiceAccount_FieldSubPath {
   481  	return &ServiceAccount_FieldSubPath{
   482  		selector: ServiceAccount_FieldPathSelectorMetadata,
   483  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Region().FieldPath(),
   484  	}
   485  }
   486  
   487  func (s ServiceAccountPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   488  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   489  }
   490  
   491  func (s ServiceAccountPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   492  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   493  }
   494  
   495  type ServiceAccountPathSelectorMetadataOwnerReferencesController struct{}
   496  
   497  func (ServiceAccountPathSelectorMetadataOwnerReferencesController) FieldPath() *ServiceAccount_FieldSubPath {
   498  	return &ServiceAccount_FieldSubPath{
   499  		selector: ServiceAccount_FieldPathSelectorMetadata,
   500  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().Controller().FieldPath(),
   501  	}
   502  }
   503  
   504  func (s ServiceAccountPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *ServiceAccount_FieldSubPathValue {
   505  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   506  }
   507  
   508  func (s ServiceAccountPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *ServiceAccount_FieldSubPathArrayOfValues {
   509  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   510  }
   511  
   512  type ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
   513  
   514  func (ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *ServiceAccount_FieldSubPath {
   515  	return &ServiceAccount_FieldSubPath{
   516  		selector: ServiceAccount_FieldPathSelectorMetadata,
   517  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().RequiresOwnerReference().FieldPath(),
   518  	}
   519  }
   520  
   521  func (s ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *ServiceAccount_FieldSubPathValue {
   522  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   523  }
   524  
   525  func (s ServiceAccountPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *ServiceAccount_FieldSubPathArrayOfValues {
   526  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   527  }
   528  
   529  type ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete struct{}
   530  
   531  func (ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath() *ServiceAccount_FieldSubPath {
   532  	return &ServiceAccount_FieldSubPath{
   533  		selector: ServiceAccount_FieldPathSelectorMetadata,
   534  		subPath:  meta.NewMetaFieldPathBuilder().OwnerReferences().UnsetOnDelete().FieldPath(),
   535  	}
   536  }
   537  
   538  func (s ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue(value bool) *ServiceAccount_FieldSubPathValue {
   539  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   540  }
   541  
   542  func (s ServiceAccountPathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues(values []bool) *ServiceAccount_FieldSubPathArrayOfValues {
   543  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   544  }
   545  
   546  type ServiceAccountPathSelectorMetadataShards struct{}
   547  
   548  func (ServiceAccountPathSelectorMetadataShards) FieldPath() *ServiceAccount_FieldSubPath {
   549  	return &ServiceAccount_FieldSubPath{
   550  		selector: ServiceAccount_FieldPathSelectorMetadata,
   551  		subPath:  meta.NewMetaFieldPathBuilder().Shards().FieldPath(),
   552  	}
   553  }
   554  
   555  func (s ServiceAccountPathSelectorMetadataShards) WithValue(value map[string]int64) *ServiceAccount_FieldSubPathValue {
   556  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   557  }
   558  
   559  func (s ServiceAccountPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *ServiceAccount_FieldSubPathArrayOfValues {
   560  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   561  }
   562  
   563  func (ServiceAccountPathSelectorMetadataShards) WithKey(key string) ServiceAccountMapPathSelectorMetadataShards {
   564  	return ServiceAccountMapPathSelectorMetadataShards{key: key}
   565  }
   566  
   567  type ServiceAccountMapPathSelectorMetadataShards struct {
   568  	key string
   569  }
   570  
   571  func (s ServiceAccountMapPathSelectorMetadataShards) FieldPath() *ServiceAccount_FieldSubPath {
   572  	return &ServiceAccount_FieldSubPath{
   573  		selector: ServiceAccount_FieldPathSelectorMetadata,
   574  		subPath:  meta.NewMetaFieldPathBuilder().Shards().WithKey(s.key).FieldPath(),
   575  	}
   576  }
   577  
   578  func (s ServiceAccountMapPathSelectorMetadataShards) WithValue(value int64) *ServiceAccount_FieldSubPathValue {
   579  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   580  }
   581  
   582  func (s ServiceAccountMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *ServiceAccount_FieldSubPathArrayOfValues {
   583  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   584  }
   585  
   586  type ServiceAccountPathSelectorMetadataSyncing struct{}
   587  
   588  func (ServiceAccountPathSelectorMetadataSyncing) FieldPath() *ServiceAccount_FieldSubPath {
   589  	return &ServiceAccount_FieldSubPath{
   590  		selector: ServiceAccount_FieldPathSelectorMetadata,
   591  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().FieldPath(),
   592  	}
   593  }
   594  
   595  func (s ServiceAccountPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *ServiceAccount_FieldSubPathValue {
   596  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   597  }
   598  
   599  func (s ServiceAccountPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *ServiceAccount_FieldSubPathArrayOfValues {
   600  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   601  }
   602  
   603  func (ServiceAccountPathSelectorMetadataSyncing) OwningRegion() ServiceAccountPathSelectorMetadataSyncingOwningRegion {
   604  	return ServiceAccountPathSelectorMetadataSyncingOwningRegion{}
   605  }
   606  
   607  func (ServiceAccountPathSelectorMetadataSyncing) Regions() ServiceAccountPathSelectorMetadataSyncingRegions {
   608  	return ServiceAccountPathSelectorMetadataSyncingRegions{}
   609  }
   610  
   611  type ServiceAccountPathSelectorMetadataSyncingOwningRegion struct{}
   612  
   613  func (ServiceAccountPathSelectorMetadataSyncingOwningRegion) FieldPath() *ServiceAccount_FieldSubPath {
   614  	return &ServiceAccount_FieldSubPath{
   615  		selector: ServiceAccount_FieldPathSelectorMetadata,
   616  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().OwningRegion().FieldPath(),
   617  	}
   618  }
   619  
   620  func (s ServiceAccountPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   621  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   622  }
   623  
   624  func (s ServiceAccountPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   625  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   626  }
   627  
   628  type ServiceAccountPathSelectorMetadataSyncingRegions struct{}
   629  
   630  func (ServiceAccountPathSelectorMetadataSyncingRegions) FieldPath() *ServiceAccount_FieldSubPath {
   631  	return &ServiceAccount_FieldSubPath{
   632  		selector: ServiceAccount_FieldPathSelectorMetadata,
   633  		subPath:  meta.NewMetaFieldPathBuilder().Syncing().Regions().FieldPath(),
   634  	}
   635  }
   636  
   637  func (s ServiceAccountPathSelectorMetadataSyncingRegions) WithValue(value []string) *ServiceAccount_FieldSubPathValue {
   638  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   639  }
   640  
   641  func (s ServiceAccountPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *ServiceAccount_FieldSubPathArrayOfValues {
   642  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   643  }
   644  
   645  func (s ServiceAccountPathSelectorMetadataSyncingRegions) WithItemValue(value string) *ServiceAccount_FieldSubPathArrayItemValue {
   646  	return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccount_FieldSubPathArrayItemValue)
   647  }
   648  
   649  type ServiceAccountPathSelectorMetadataLifecycle struct{}
   650  
   651  func (ServiceAccountPathSelectorMetadataLifecycle) FieldPath() *ServiceAccount_FieldSubPath {
   652  	return &ServiceAccount_FieldSubPath{
   653  		selector: ServiceAccount_FieldPathSelectorMetadata,
   654  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().FieldPath(),
   655  	}
   656  }
   657  
   658  func (s ServiceAccountPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *ServiceAccount_FieldSubPathValue {
   659  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   660  }
   661  
   662  func (s ServiceAccountPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *ServiceAccount_FieldSubPathArrayOfValues {
   663  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   664  }
   665  
   666  func (ServiceAccountPathSelectorMetadataLifecycle) State() ServiceAccountPathSelectorMetadataLifecycleState {
   667  	return ServiceAccountPathSelectorMetadataLifecycleState{}
   668  }
   669  
   670  func (ServiceAccountPathSelectorMetadataLifecycle) BlockDeletion() ServiceAccountPathSelectorMetadataLifecycleBlockDeletion {
   671  	return ServiceAccountPathSelectorMetadataLifecycleBlockDeletion{}
   672  }
   673  
   674  type ServiceAccountPathSelectorMetadataLifecycleState struct{}
   675  
   676  func (ServiceAccountPathSelectorMetadataLifecycleState) FieldPath() *ServiceAccount_FieldSubPath {
   677  	return &ServiceAccount_FieldSubPath{
   678  		selector: ServiceAccount_FieldPathSelectorMetadata,
   679  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().State().FieldPath(),
   680  	}
   681  }
   682  
   683  func (s ServiceAccountPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *ServiceAccount_FieldSubPathValue {
   684  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   685  }
   686  
   687  func (s ServiceAccountPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *ServiceAccount_FieldSubPathArrayOfValues {
   688  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   689  }
   690  
   691  type ServiceAccountPathSelectorMetadataLifecycleBlockDeletion struct{}
   692  
   693  func (ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *ServiceAccount_FieldSubPath {
   694  	return &ServiceAccount_FieldSubPath{
   695  		selector: ServiceAccount_FieldPathSelectorMetadata,
   696  		subPath:  meta.NewMetaFieldPathBuilder().Lifecycle().BlockDeletion().FieldPath(),
   697  	}
   698  }
   699  
   700  func (s ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *ServiceAccount_FieldSubPathValue {
   701  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   702  }
   703  
   704  func (s ServiceAccountPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *ServiceAccount_FieldSubPathArrayOfValues {
   705  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   706  }
   707  
   708  type ServiceAccountPathSelectorMetadataServices struct{}
   709  
   710  func (ServiceAccountPathSelectorMetadataServices) FieldPath() *ServiceAccount_FieldSubPath {
   711  	return &ServiceAccount_FieldSubPath{
   712  		selector: ServiceAccount_FieldPathSelectorMetadata,
   713  		subPath:  meta.NewMetaFieldPathBuilder().Services().FieldPath(),
   714  	}
   715  }
   716  
   717  func (s ServiceAccountPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *ServiceAccount_FieldSubPathValue {
   718  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   719  }
   720  
   721  func (s ServiceAccountPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *ServiceAccount_FieldSubPathArrayOfValues {
   722  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   723  }
   724  
   725  func (ServiceAccountPathSelectorMetadataServices) OwningService() ServiceAccountPathSelectorMetadataServicesOwningService {
   726  	return ServiceAccountPathSelectorMetadataServicesOwningService{}
   727  }
   728  
   729  func (ServiceAccountPathSelectorMetadataServices) AllowedServices() ServiceAccountPathSelectorMetadataServicesAllowedServices {
   730  	return ServiceAccountPathSelectorMetadataServicesAllowedServices{}
   731  }
   732  
   733  type ServiceAccountPathSelectorMetadataServicesOwningService struct{}
   734  
   735  func (ServiceAccountPathSelectorMetadataServicesOwningService) FieldPath() *ServiceAccount_FieldSubPath {
   736  	return &ServiceAccount_FieldSubPath{
   737  		selector: ServiceAccount_FieldPathSelectorMetadata,
   738  		subPath:  meta.NewMetaFieldPathBuilder().Services().OwningService().FieldPath(),
   739  	}
   740  }
   741  
   742  func (s ServiceAccountPathSelectorMetadataServicesOwningService) WithValue(value string) *ServiceAccount_FieldSubPathValue {
   743  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   744  }
   745  
   746  func (s ServiceAccountPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *ServiceAccount_FieldSubPathArrayOfValues {
   747  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   748  }
   749  
   750  type ServiceAccountPathSelectorMetadataServicesAllowedServices struct{}
   751  
   752  func (ServiceAccountPathSelectorMetadataServicesAllowedServices) FieldPath() *ServiceAccount_FieldSubPath {
   753  	return &ServiceAccount_FieldSubPath{
   754  		selector: ServiceAccount_FieldPathSelectorMetadata,
   755  		subPath:  meta.NewMetaFieldPathBuilder().Services().AllowedServices().FieldPath(),
   756  	}
   757  }
   758  
   759  func (s ServiceAccountPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *ServiceAccount_FieldSubPathValue {
   760  	return s.FieldPath().WithIValue(value).(*ServiceAccount_FieldSubPathValue)
   761  }
   762  
   763  func (s ServiceAccountPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *ServiceAccount_FieldSubPathArrayOfValues {
   764  	return s.FieldPath().WithIArrayOfValues(values).(*ServiceAccount_FieldSubPathArrayOfValues)
   765  }
   766  
   767  func (s ServiceAccountPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *ServiceAccount_FieldSubPathArrayItemValue {
   768  	return s.FieldPath().WithIArrayItemValue(value).(*ServiceAccount_FieldSubPathArrayItemValue)
   769  }