github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/document/document.pb.fieldpathbuilder.go (about)

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