Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access RegionAccess) gotenresource.Access
- type Descriptor
- func (d *Descriptor) CanBeParentless() bool
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
- func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
- func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
- func (d *Descriptor) NewListQuery() gotenresource.ListQuery
- func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
- func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
- func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
- func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
- func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
- func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
- func (d *Descriptor) NewResource() gotenresource.Resource
- func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
- func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
- func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
- func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
- func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
- func (d *Descriptor) NewResourceFilter() gotenresource.Filter
- func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
- func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
- func (d *Descriptor) NewResourceName() gotenresource.Name
- func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
- func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
- func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- func (d *Descriptor) SupportsMetadata() bool
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Region) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Region) (out []*Region)
- func (filter *Filter) GetCondition() FilterCondition
- func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
- func (filter *Filter) HasTrait(trait int) bool
- func (filter *Filter) Match(pattern ref.Val) ref.Val
- func (filter *Filter) ParseProtoString(data string) error
- func (filter *Filter) ProtoString() (string, error)
- func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val
- func (filter *Filter) SetFromCliFlag(raw string) error
- func (filter *Filter) String() string
- func (filter *Filter) Type() ref.Type
- func (filter *Filter) TypeName() string
- func (filter *Filter) Value() interface{}
- type FilterBuilder
- func (b *FilterBuilder) Filter() *Filter
- func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
- func (b *FilterBuilder) WherePath(fp Region_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
- func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, ...) *FilterBuilder
- type FilterBuilderOrCondition
- type FilterCondition
- type FilterConditionCompare
- func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionCompare) ConditionCompare()
- func (cond *FilterConditionCompare) Evaluate(res *Region) bool
- func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
- func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
- func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionCompare) String() string
- type FilterConditionComposite
- func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionComposite) ConditionComposite()
- func (cond *FilterConditionComposite) Evaluate(res *Region) bool
- func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
- func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
- func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionComposite) String() string
- type FilterConditionContains
- func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionContains) ConditionContains()
- func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
- func (cond *FilterConditionContains) Evaluate(res *Region) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Region_FieldPath
- func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
- func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
- func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionContains) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionContains) String() string
- type FilterConditionIn
- func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIn) ConditionIn()
- func (cond *FilterConditionIn) Evaluate(res *Region) bool
- func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIn) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIn) String() string
- type FilterConditionIsNaN
- func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNaN) ConditionIsNaN()
- func (cond *FilterConditionIsNaN) Evaluate(res *Region) bool
- func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNaN) String() string
- type FilterConditionIsNull
- func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNull) ConditionIsNull()
- func (cond *FilterConditionIsNull) Evaluate(res *Region) bool
- func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNull) NotNull() bool
- func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNull) String() string
- type FilterConditionNot
- func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNot) ConditionNot()
- func (cond *FilterConditionNot) Evaluate(res *Region) bool
- func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
- func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNot) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNot) String() string
- type FilterConditionNotIn
- func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNotIn) ConditionNotIn()
- func (cond *FilterConditionNotIn) Evaluate(res *Region) bool
- func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Region_FieldPath) bool
- func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNotIn) String() string
- type GetQuery
- func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
- func (q *GetQuery) GetReference() gotenresource.Reference
- func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *GetQuery) GotenQuery()
- func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *GetQuery) SetReference(ref gotenresource.Reference)
- func (q *GetQuery) String() string
- type ListQuery
- func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
- func (q *ListQuery) GetFilter() gotenresource.Filter
- func (q *ListQuery) GetPager() gotenresource.PagerQuery
- func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *ListQuery) GetWithPagingInfo() bool
- func (q *ListQuery) GotenQuery()
- func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *ListQuery) SetFilter(filter gotenresource.Filter)
- func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
- func (q *ListQuery) SetWithPagingInfo(with bool)
- func (q *ListQuery) String() string
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIParentName() gotenresource.Name
- func (name *Name) GetIUnderlyingParentName() gotenresource.Name
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Region) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Region_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted RegionList, elem *Region) (RegionList, int)
- func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
- func (orderBy *OrderBy) ParseProtoString(data string) error
- func (orderBy *OrderBy) ProtoString() (string, error)
- func (orderBy *OrderBy) SetFromCliFlag(raw string) error
- func (orderBy *OrderBy) Sort(results RegionList)
- func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
- func (orderBy *OrderBy) String() string
- type OrderByField
- type PagerCursor
- func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
- func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
- func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
- func (cursor *PagerCursor) IsEmpty() bool
- func (cursor *PagerCursor) ParseProtoString(data string) (err error)
- func (cursor *PagerCursor) ProtoString() (string, error)
- func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
- func (cursor *PagerCursor) SetFromCliFlag(raw string) error
- func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
- func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
- func (cursor *PagerCursor) String() string
- type PagerQuery
- func (p *PagerQuery) GetCursor() gotenresource.Cursor
- func (p *PagerQuery) GetLimit() int
- func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
- func (p *PagerQuery) GetPeekForward() bool
- func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (p *PagerQuery) PageDirection() gotenresource.PageDirection
- func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
- func (p *PagerQuery) SetLimit(limit int)
- func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
- func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
- func (p *PagerQuery) SetPeekForward(peekForward bool)
- type QueryResultChange
- func (qr *QueryResultChange) GetIsCurrent() bool
- func (qr *QueryResultChange) GetIsHardReset() bool
- func (qr *QueryResultChange) GetIsSoftReset() bool
- func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
- func (qr *QueryResultChange) GetResumeToken() string
- func (qr *QueryResultChange) GetSnapshotSize() int64
- func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultChange) SetIsCurrent()
- func (qr *QueryResultChange) SetIsHardReset()
- func (qr *QueryResultChange) SetIsSoftReset()
- func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
- func (qr *QueryResultChange) SetResumeToken(token string)
- func (qr *QueryResultChange) SetSnapshotSize(size int64)
- type QueryResultSnapshot
- func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
- func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
- func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) GetIParentName() gotenresource.Name
- func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *Reference) GetIdParts() map[string]string
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetRegion() *Region
- func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *Reference) GetSegments() gotenresource.NameSegments
- func (ref *Reference) GotenEqual(other interface{}) bool
- func (ref *Reference) IsFullyQualified() bool
- func (ref *Reference) IsSpecified() bool
- func (name *Reference) Matches(other interface{}) bool
- func (ref *Reference) ParseProtoString(data string) error
- func (ref *Reference) ProtoString() (string, error)
- func (ref *Reference) Resolve(resolved *Region)
- func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
- func (ref *Reference) Resolved() bool
- func (ref *Reference) SetFromCliFlag(raw string) error
- func (ref *Reference) String() string
- type Region
- func (o *Region) Clone() *Region
- func (o *Region) CloneRaw() gotenobject.GotenObjectExt
- func (*Region) Descriptor() ([]byte, []int)
- func (r *Region) EnsureMetadata() *meta.Meta
- func (m *Region) GetMetadata() *meta.Meta
- func (m *Region) GetName() *Name
- func (r *Region) GetRawName() gotenresource.Name
- func (r *Region) GetResourceDescriptor() gotenresource.Descriptor
- func (m *Region) GetTitle() string
- func (*Region) GotenMessage()
- func (o *Region) GotenObjectExt()
- func (obj *Region) GotenValidate() error
- func (o *Region) MakeDiffFieldMask(other *Region) *Region_FieldMask
- func (o *Region) MakeFullFieldMask() *Region_FieldMask
- func (o *Region) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Region) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Region) Marshal() ([]byte, error)
- func (m *Region) MarshalJSON() ([]byte, error)
- func (r *Region) MaybePopulateDefaults() error
- func (o *Region) Merge(source *Region)
- func (o *Region) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Region) ProtoMessage()
- func (m *Region) ProtoReflect() preflect.Message
- func (m *Region) Reset()
- func (m *Region) SetMetadata(fv *meta.Meta)
- func (m *Region) SetName(fv *Name)
- func (m *Region) SetTitle(fv string)
- func (m *Region) String() string
- func (m *Region) Unmarshal(b []byte) error
- func (m *Region) UnmarshalJSON(data []byte) error
- type RegionAccess
- type RegionChange
- func (*RegionChange) Descriptor() ([]byte, []int)
- func (m *RegionChange) GetAdded() *RegionChange_Added
- func (m *RegionChange) GetChangeType() isRegionChange_ChangeType
- func (m *RegionChange) GetCurrent() *RegionChange_Current
- func (c *RegionChange) GetCurrentViewIndex() int32
- func (m *RegionChange) GetModified() *RegionChange_Modified
- func (c *RegionChange) GetPreviousViewIndex() int32
- func (c *RegionChange) GetRawName() gotenresource.Name
- func (c *RegionChange) GetRawResource() gotenresource.Resource
- func (c *RegionChange) GetRegion() *Region
- func (c *RegionChange) GetRegionName() *Name
- func (m *RegionChange) GetRemoved() *RegionChange_Removed
- func (*RegionChange) GotenMessage()
- func (obj *RegionChange) GotenValidate() error
- func (c *RegionChange) IsAdd() bool
- func (c *RegionChange) IsCurrent() bool
- func (c *RegionChange) IsDelete() bool
- func (c *RegionChange) IsModify() bool
- func (m *RegionChange) Marshal() ([]byte, error)
- func (m *RegionChange) MarshalJSON() ([]byte, error)
- func (*RegionChange) ProtoMessage()
- func (m *RegionChange) ProtoReflect() preflect.Message
- func (m *RegionChange) Reset()
- func (m *RegionChange) SetAdded(fv *RegionChange_Added)
- func (c *RegionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *RegionChange) SetChangeType(ofv isRegionChange_ChangeType)
- func (m *RegionChange) SetCurrent(fv *RegionChange_Current)
- func (c *RegionChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *RegionChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *RegionChange) SetModified(fv *RegionChange_Modified)
- func (c *RegionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *RegionChange) SetRemoved(fv *RegionChange_Removed)
- func (m *RegionChange) String() string
- func (m *RegionChange) Unmarshal(b []byte) error
- func (m *RegionChange) UnmarshalJSON(data []byte) error
- type RegionChangeList
- func (l RegionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l RegionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l RegionChangeList) At(idx int) gotenresource.ResourceChange
- func (l RegionChangeList) Length() int
- func (l RegionChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l RegionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type RegionChangeMap
- func (m RegionChangeMap) Delete(name gotenresource.Name)
- func (m RegionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m RegionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m RegionChangeMap) Length() int
- func (m RegionChangeMap) Set(change gotenresource.ResourceChange)
- type RegionChange_Added
- func (*RegionChange_Added) Descriptor() ([]byte, []int)
- func (m *RegionChange_Added) GetRegion() *Region
- func (m *RegionChange_Added) GetViewIndex() int32
- func (*RegionChange_Added) GotenMessage()
- func (obj *RegionChange_Added) GotenValidate() error
- func (m *RegionChange_Added) Marshal() ([]byte, error)
- func (m *RegionChange_Added) MarshalJSON() ([]byte, error)
- func (*RegionChange_Added) ProtoMessage()
- func (m *RegionChange_Added) ProtoReflect() preflect.Message
- func (m *RegionChange_Added) Reset()
- func (m *RegionChange_Added) SetRegion(fv *Region)
- func (m *RegionChange_Added) SetViewIndex(fv int32)
- func (m *RegionChange_Added) String() string
- func (m *RegionChange_Added) Unmarshal(b []byte) error
- func (m *RegionChange_Added) UnmarshalJSON(data []byte) error
- type RegionChange_Added_
- type RegionChange_Current
- func (*RegionChange_Current) Descriptor() ([]byte, []int)
- func (m *RegionChange_Current) GetRegion() *Region
- func (*RegionChange_Current) GotenMessage()
- func (obj *RegionChange_Current) GotenValidate() error
- func (m *RegionChange_Current) Marshal() ([]byte, error)
- func (m *RegionChange_Current) MarshalJSON() ([]byte, error)
- func (*RegionChange_Current) ProtoMessage()
- func (m *RegionChange_Current) ProtoReflect() preflect.Message
- func (m *RegionChange_Current) Reset()
- func (m *RegionChange_Current) SetRegion(fv *Region)
- func (m *RegionChange_Current) String() string
- func (m *RegionChange_Current) Unmarshal(b []byte) error
- func (m *RegionChange_Current) UnmarshalJSON(data []byte) error
- type RegionChange_Current_
- type RegionChange_Modified
- func (*RegionChange_Modified) Descriptor() ([]byte, []int)
- func (m *RegionChange_Modified) GetFieldMask() *Region_FieldMask
- func (m *RegionChange_Modified) GetName() *Name
- func (m *RegionChange_Modified) GetPreviousViewIndex() int32
- func (m *RegionChange_Modified) GetRegion() *Region
- func (m *RegionChange_Modified) GetViewIndex() int32
- func (*RegionChange_Modified) GotenMessage()
- func (obj *RegionChange_Modified) GotenValidate() error
- func (m *RegionChange_Modified) Marshal() ([]byte, error)
- func (m *RegionChange_Modified) MarshalJSON() ([]byte, error)
- func (*RegionChange_Modified) ProtoMessage()
- func (m *RegionChange_Modified) ProtoReflect() preflect.Message
- func (m *RegionChange_Modified) Reset()
- func (m *RegionChange_Modified) SetFieldMask(fv *Region_FieldMask)
- func (m *RegionChange_Modified) SetName(fv *Name)
- func (m *RegionChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *RegionChange_Modified) SetRegion(fv *Region)
- func (m *RegionChange_Modified) SetViewIndex(fv int32)
- func (m *RegionChange_Modified) String() string
- func (m *RegionChange_Modified) Unmarshal(b []byte) error
- func (m *RegionChange_Modified) UnmarshalJSON(data []byte) error
- type RegionChange_Modified_
- type RegionChange_Removed
- func (*RegionChange_Removed) Descriptor() ([]byte, []int)
- func (m *RegionChange_Removed) GetName() *Name
- func (m *RegionChange_Removed) GetViewIndex() int32
- func (*RegionChange_Removed) GotenMessage()
- func (obj *RegionChange_Removed) GotenValidate() error
- func (m *RegionChange_Removed) Marshal() ([]byte, error)
- func (m *RegionChange_Removed) MarshalJSON() ([]byte, error)
- func (*RegionChange_Removed) ProtoMessage()
- func (m *RegionChange_Removed) ProtoReflect() preflect.Message
- func (m *RegionChange_Removed) Reset()
- func (m *RegionChange_Removed) SetName(fv *Name)
- func (m *RegionChange_Removed) SetViewIndex(fv int32)
- func (m *RegionChange_Removed) String() string
- func (m *RegionChange_Removed) Unmarshal(b []byte) error
- func (m *RegionChange_Removed) UnmarshalJSON(data []byte) error
- type RegionChange_Removed_
- type RegionFieldPathBuilder
- type RegionList
- func (l RegionList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l RegionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l RegionList) At(idx int) gotenresource.Resource
- func (l RegionList) Length() int
- func (l RegionList) Set(idx int, res gotenresource.Resource)
- func (l RegionList) Slice(first, second int) gotenresource.ResourceList
- type RegionMap
- type RegionMapPathSelectorMetadataAnnotations
- func (s RegionMapPathSelectorMetadataAnnotations) FieldPath() *Region_FieldSubPath
- func (s RegionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionMapPathSelectorMetadataAnnotations) WithValue(value string) *Region_FieldSubPathValue
- type RegionMapPathSelectorMetadataLabels
- type RegionMapPathSelectorMetadataShards
- type RegionNameList
- func (l RegionNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l RegionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l RegionNameList) At(idx int) gotenresource.Name
- func (l RegionNameList) Length() int
- func (l RegionNameList) Set(idx int, name gotenresource.Name)
- func (l RegionNameList) Slice(first, second int) gotenresource.NameList
- type RegionPathSelectorMetadata
- func (RegionPathSelectorMetadata) Annotations() RegionPathSelectorMetadataAnnotations
- func (RegionPathSelectorMetadata) CreateTime() RegionPathSelectorMetadataCreateTime
- func (RegionPathSelectorMetadata) DeleteTime() RegionPathSelectorMetadataDeleteTime
- func (RegionPathSelectorMetadata) FieldPath() *Region_FieldTerminalPath
- func (RegionPathSelectorMetadata) Generation() RegionPathSelectorMetadataGeneration
- func (RegionPathSelectorMetadata) Labels() RegionPathSelectorMetadataLabels
- func (RegionPathSelectorMetadata) Lifecycle() RegionPathSelectorMetadataLifecycle
- func (RegionPathSelectorMetadata) OwnerReferences() RegionPathSelectorMetadataOwnerReferences
- func (RegionPathSelectorMetadata) ResourceVersion() RegionPathSelectorMetadataResourceVersion
- func (RegionPathSelectorMetadata) Services() RegionPathSelectorMetadataServices
- func (RegionPathSelectorMetadata) Shards() RegionPathSelectorMetadataShards
- func (RegionPathSelectorMetadata) Syncing() RegionPathSelectorMetadataSyncing
- func (RegionPathSelectorMetadata) Tags() RegionPathSelectorMetadataTags
- func (RegionPathSelectorMetadata) UpdateTime() RegionPathSelectorMetadataUpdateTime
- func (RegionPathSelectorMetadata) Uuid() RegionPathSelectorMetadataUuid
- func (s RegionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *Region_FieldTerminalPathArrayOfValues
- func (s RegionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Region_FieldSubPathArrayItemValue
- func (s RegionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Region_FieldSubPathArrayOfValues
- func (RegionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *Region_FieldSubPath
- func (s RegionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *Region_FieldSubPathValue
- func (s RegionPathSelectorMetadata) WithValue(value *meta.Meta) *Region_FieldTerminalPathValue
- type RegionPathSelectorMetadataAnnotations
- func (RegionPathSelectorMetadataAnnotations) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Region_FieldSubPathArrayOfValues
- func (RegionPathSelectorMetadataAnnotations) WithKey(key string) RegionMapPathSelectorMetadataAnnotations
- func (s RegionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataCreateTime
- func (RegionPathSelectorMetadataCreateTime) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataDeleteTime
- func (RegionPathSelectorMetadataDeleteTime) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataGeneration
- type RegionPathSelectorMetadataLabels
- func (RegionPathSelectorMetadataLabels) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Region_FieldSubPathArrayOfValues
- func (RegionPathSelectorMetadataLabels) WithKey(key string) RegionMapPathSelectorMetadataLabels
- func (s RegionPathSelectorMetadataLabels) WithValue(value map[string]string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataLifecycle
- func (RegionPathSelectorMetadataLifecycle) BlockDeletion() RegionPathSelectorMetadataLifecycleBlockDeletion
- func (RegionPathSelectorMetadataLifecycle) FieldPath() *Region_FieldSubPath
- func (RegionPathSelectorMetadataLifecycle) State() RegionPathSelectorMetadataLifecycleState
- func (s RegionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataLifecycleBlockDeletion
- func (RegionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataLifecycleState
- func (RegionPathSelectorMetadataLifecycleState) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferences
- func (RegionPathSelectorMetadataOwnerReferences) Controller() RegionPathSelectorMetadataOwnerReferencesController
- func (RegionPathSelectorMetadataOwnerReferences) FieldPath() *Region_FieldSubPath
- func (RegionPathSelectorMetadataOwnerReferences) Kind() RegionPathSelectorMetadataOwnerReferencesKind
- func (RegionPathSelectorMetadataOwnerReferences) Name() RegionPathSelectorMetadataOwnerReferencesName
- func (RegionPathSelectorMetadataOwnerReferences) Region() RegionPathSelectorMetadataOwnerReferencesRegion
- func (RegionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (RegionPathSelectorMetadataOwnerReferences) Version() RegionPathSelectorMetadataOwnerReferencesVersion
- func (s RegionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *Region_FieldSubPathArrayItemValue
- func (s RegionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesController
- func (RegionPathSelectorMetadataOwnerReferencesController) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesKind
- func (RegionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesName
- func (RegionPathSelectorMetadataOwnerReferencesName) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesRegion
- func (RegionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataOwnerReferencesVersion
- func (RegionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataResourceVersion
- func (RegionPathSelectorMetadataResourceVersion) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataResourceVersion) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataServices
- func (RegionPathSelectorMetadataServices) AllowedServices() RegionPathSelectorMetadataServicesAllowedServices
- func (RegionPathSelectorMetadataServices) FieldPath() *Region_FieldSubPath
- func (RegionPathSelectorMetadataServices) OwningService() RegionPathSelectorMetadataServicesOwningService
- func (s RegionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataServicesAllowedServices
- func (RegionPathSelectorMetadataServicesAllowedServices) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
- func (s RegionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataServicesOwningService
- func (RegionPathSelectorMetadataServicesOwningService) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataServicesOwningService) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataShards
- func (RegionPathSelectorMetadataShards) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Region_FieldSubPathArrayOfValues
- func (RegionPathSelectorMetadataShards) WithKey(key string) RegionMapPathSelectorMetadataShards
- func (s RegionPathSelectorMetadataShards) WithValue(value map[string]int64) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataSyncing
- func (RegionPathSelectorMetadataSyncing) FieldPath() *Region_FieldSubPath
- func (RegionPathSelectorMetadataSyncing) OwningRegion() RegionPathSelectorMetadataSyncingOwningRegion
- func (RegionPathSelectorMetadataSyncing) Regions() RegionPathSelectorMetadataSyncingRegions
- func (s RegionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataSyncingOwningRegion
- func (RegionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataSyncingRegions
- func (RegionPathSelectorMetadataSyncingRegions) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
- func (s RegionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataTags
- func (RegionPathSelectorMetadataTags) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataTags) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
- func (s RegionPathSelectorMetadataTags) WithValue(value []string) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataUpdateTime
- func (RegionPathSelectorMetadataUpdateTime) FieldPath() *Region_FieldSubPath
- func (s RegionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
- func (s RegionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
- type RegionPathSelectorMetadataUuid
- type RegionPathSelectorName
- type RegionPathSelectorTitle
- type RegionReferenceList
- func (l RegionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l RegionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l RegionReferenceList) At(idx int) gotenresource.Reference
- func (l RegionReferenceList) Length() int
- func (l RegionReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l RegionReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Region_FieldMask
- func (fieldMask *Region_FieldMask) AppendPath(path Region_FieldPath)
- func (fieldMask *Region_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Region_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Region_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Region_FieldMask) FilterInputFields() *Region_FieldMask
- func (fieldMask *Region_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
- func (fieldMask *Region_FieldMask) GetPaths() []Region_FieldPath
- func (fieldMask *Region_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Region_FieldMask) IsFull() bool
- func (fieldMask Region_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Region_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Region_FieldMask) PathsCount() int
- func (fieldMask *Region_FieldMask) Project(source *Region) *Region
- func (fieldMask *Region_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Region_FieldMask) ProtoMessage()
- func (fieldMask *Region_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Region_FieldMask) Reset()
- func (fieldMask *Region_FieldMask) Set(target, source *Region)
- func (fieldMask *Region_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Region_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Region_FieldMask) Size() int
- func (fieldMask *Region_FieldMask) String() string
- func (fieldMask *Region_FieldMask) Subtract(other *Region_FieldMask) *Region_FieldMask
- func (fieldMask *Region_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Region_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
- func (fieldMask *Region_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Region_FieldMask) UnmarshalJSON(data []byte) error
- type Region_FieldPath
- type Region_FieldPathArrayItemValue
- type Region_FieldPathArrayOfValues
- type Region_FieldPathSelector
- type Region_FieldPathValue
- type Region_FieldSubPath
- func (fps *Region_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
- func (fps *Region_FieldSubPath) ClearValue(item *Region)
- func (fps *Region_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Region_FieldSubPath) Get(source *Region) (values []interface{})
- func (fps *Region_FieldSubPath) GetDefault() interface{}
- func (fps *Region_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Region_FieldSubPath) GetSingle(source *Region) (interface{}, bool)
- func (fps *Region_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Region_FieldSubPath) IsLeaf() bool
- func (fps *Region_FieldSubPath) JSONString() string
- func (fps *Region_FieldSubPath) Selector() Region_FieldPathSelector
- func (fps *Region_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *Region_FieldSubPath) String() string
- func (fps *Region_FieldSubPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue
- func (fps *Region_FieldSubPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues
- func (fps *Region_FieldSubPath) WithIValue(value interface{}) Region_FieldPathValue
- func (fps *Region_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Region_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Region_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Region_FieldSubPathArrayItemValue
- type Region_FieldSubPathArrayOfValues
- type Region_FieldSubPathValue
- func (fpvs *Region_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
- func (fpvs *Region_FieldSubPathValue) CompareWith(source *Region) (int, bool)
- func (fpvs *Region_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Region_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Region_FieldSubPathValue) SetTo(target **Region)
- func (fpvs *Region_FieldSubPathValue) SetToRaw(target proto.Message)
- type Region_FieldTerminalPath
- func (fp *Region_FieldTerminalPath) ClearValue(item *Region)
- func (fp *Region_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Region_FieldTerminalPath) Get(source *Region) (values []interface{})
- func (fp *Region_FieldTerminalPath) GetDefault() interface{}
- func (fp *Region_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Region_FieldTerminalPath) GetSingle(source *Region) (interface{}, bool)
- func (fp *Region_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Region_FieldTerminalPath) IsLeaf() bool
- func (fp *Region_FieldTerminalPath) JSONString() string
- func (fp *Region_FieldTerminalPath) Selector() Region_FieldPathSelector
- func (fp *Region_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Region_FieldTerminalPath) String() string
- func (fp *Region_FieldTerminalPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue
- func (fp *Region_FieldTerminalPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues
- func (fp *Region_FieldTerminalPath) WithIValue(value interface{}) Region_FieldPathValue
- func (fp *Region_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Region_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Region_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Region_FieldTerminalPathArrayItemValue
- func (fpaiv *Region_FieldTerminalPathArrayItemValue) ContainsValue(source *Region) bool
- func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetSingle(source *Region) (interface{}, bool)
- func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Region_FieldTerminalPathArrayOfValues
- func (fpaov *Region_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)
- func (fpaov *Region_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Region_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)
- func (fpaov *Region_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Region_FieldTerminalPathValue
- func (fpv *Region_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)
- func (fpv *Region_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Region_FieldTerminalPathValue) AsTitleValue() (string, bool)
- func (fpv *Region_FieldTerminalPathValue) CompareWith(source *Region) (int, bool)
- func (fpv *Region_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Region_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Region_FieldTerminalPathValue) SetTo(target **Region)
- func (fpv *Region_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const (
NamePattern_Nil = "regions/{region}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access RegionAccess) gotenresource.Access
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) CanBeParentless ¶
func (d *Descriptor) CanBeParentless() bool
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetParentResDescriptors ¶
func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
func (*Descriptor) GetResourceTypeName ¶
func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
func (*Descriptor) NewGetQuery ¶
func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
func (*Descriptor) NewListQuery ¶
func (d *Descriptor) NewListQuery() gotenresource.ListQuery
func (*Descriptor) NewNameList ¶
func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
func (*Descriptor) NewParentNameList ¶
func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
func (*Descriptor) NewParentReferenceList ¶
func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
func (*Descriptor) NewQueryResultChange ¶
func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
func (*Descriptor) NewQueryResultSnapshot ¶
func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
func (*Descriptor) NewReferenceList ¶
func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
func (*Descriptor) NewResource ¶
func (d *Descriptor) NewResource() gotenresource.Resource
func (*Descriptor) NewResourceChange ¶
func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
func (*Descriptor) NewResourceChangeList ¶
func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
func (*Descriptor) NewResourceChangeMap ¶
func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
func (*Descriptor) NewResourceCursor ¶
func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
func (*Descriptor) NewResourceFieldMask ¶
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶
func (d *Descriptor) NewResourceFilter() gotenresource.Filter
func (*Descriptor) NewResourceList ¶
func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
func (*Descriptor) NewResourceMap ¶
func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
func (*Descriptor) NewResourceName ¶
func (d *Descriptor) NewResourceName() gotenresource.Name
func (*Descriptor) NewResourceOrderBy ¶
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶
func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
func (*Descriptor) SupportsMetadata ¶
func (d *Descriptor) SupportsMetadata() bool
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) DecodeFirestore ¶
func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Filter) EncodeFirestore ¶
func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
type FilterBuilder ¶
type FilterBuilder struct {
// contains filtered or unexported fields
}
func NewAndFilterBuilder ¶
func NewAndFilterBuilder() *FilterBuilder
func NewFilterBuilder ¶
func NewFilterBuilder() *FilterBuilder
func NewOrFilterBuilder ¶
func NewOrFilterBuilder() *FilterBuilder
func (*FilterBuilder) Filter ¶
func (b *FilterBuilder) Filter() *Filter
func (*FilterBuilder) Where ¶
func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
func (*FilterBuilder) WherePath ¶
func (b *FilterBuilder) WherePath(fp Region_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
func (*FilterBuilder) With ¶
func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, opts ...gotenfilter.FilterConditionOption) *FilterBuilder
type FilterBuilderOrCondition ¶
type FilterBuilderOrCondition interface {
// contains filtered or unexported methods
}
type FilterCondition ¶
type FilterCondition interface { gotenresource.FilterCondition And(...FilterCondition) FilterCondition Evaluate(res *Region) bool // Whether this condition is at least as specific as other. // When true, any Region that passes this condition will also pass other condition. Satisfies(other FilterCondition) bool // Checks whether condition specifies given field path // Useful for blacklisting protected paths in iam policy conditions SpecifiesFieldPath(fp Region_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Region_FieldPathValue }
func (*FilterConditionCompare) And ¶
func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionCompare) ConditionCompare ¶
func (cond *FilterConditionCompare) ConditionCompare()
func (*FilterConditionCompare) Evaluate ¶
func (cond *FilterConditionCompare) Evaluate(res *Region) bool
func (*FilterConditionCompare) EvaluateRaw ¶
func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionCompare) GetOperator ¶
func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
func (*FilterConditionCompare) GetRawFieldPath ¶
func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionCompare) GetRawFieldPathValue ¶
func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
func (*FilterConditionCompare) Satisfies ¶
func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
func (*FilterConditionCompare) SatisfiesRaw ¶
func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionCompare) SpecifiesFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionCompare) SpecifiesRawFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionCompare) String ¶
func (cond *FilterConditionCompare) String() string
type FilterConditionComposite ¶
type FilterConditionComposite struct { Operator filterParser.CompositeOperator Conditions []FilterCondition }
func (*FilterConditionComposite) And ¶
func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionComposite) ConditionComposite ¶
func (cond *FilterConditionComposite) ConditionComposite()
func (*FilterConditionComposite) Evaluate ¶
func (cond *FilterConditionComposite) Evaluate(res *Region) bool
func (*FilterConditionComposite) EvaluateRaw ¶
func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionComposite) GetOperator ¶
func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
func (*FilterConditionComposite) GetSubConditions ¶
func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
func (*FilterConditionComposite) Satisfies ¶
func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
func (*FilterConditionComposite) SatisfiesRaw ¶
func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionComposite) SpecifiesFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionComposite) SpecifiesRawFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionComposite) String ¶
func (cond *FilterConditionComposite) String() string
type FilterConditionContains ¶
type FilterConditionContains struct { Type gotenresource.ConditionContainsType FieldPath Region_FieldPath Value Region_FieldPathArrayItemValue Values []Region_FieldPathArrayItemValue }
func (*FilterConditionContains) And ¶
func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionContains) ConditionContains ¶
func (cond *FilterConditionContains) ConditionContains()
func (*FilterConditionContains) ConditionContainsType ¶
func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
func (*FilterConditionContains) Evaluate ¶
func (cond *FilterConditionContains) Evaluate(res *Region) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Region_FieldPath
func (*FilterConditionContains) GetRawFieldPath ¶
func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionContains) GetRawFieldPathItemValue ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
func (*FilterConditionContains) GetRawFieldPathItemValues ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
func (*FilterConditionContains) Satisfies ¶
func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
func (*FilterConditionContains) SatisfiesRaw ¶
func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionContains) SpecifiesFieldPath ¶
func (cond *FilterConditionContains) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionContains) SpecifiesRawFieldPath ¶
func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionContains) String ¶
func (cond *FilterConditionContains) String() string
type FilterConditionIn ¶
type FilterConditionIn struct {
Region_FieldPathArrayOfValues
}
func (*FilterConditionIn) And ¶
func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIn) ConditionIn ¶
func (cond *FilterConditionIn) ConditionIn()
func (*FilterConditionIn) Evaluate ¶
func (cond *FilterConditionIn) Evaluate(res *Region) bool
func (*FilterConditionIn) EvaluateRaw ¶
func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIn) GetRawFieldPath ¶
func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionIn) Satisfies ¶
func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
func (*FilterConditionIn) SatisfiesRaw ¶
func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIn) SpecifiesFieldPath ¶
func (cond *FilterConditionIn) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIn) String ¶
func (cond *FilterConditionIn) String() string
type FilterConditionIsNaN ¶
type FilterConditionIsNaN struct { Not bool FieldPath Region_FieldPath }
func (*FilterConditionIsNaN) And ¶
func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNaN) ConditionIsNaN ¶
func (cond *FilterConditionIsNaN) ConditionIsNaN()
func (*FilterConditionIsNaN) Evaluate ¶
func (cond *FilterConditionIsNaN) Evaluate(res *Region) bool
func (*FilterConditionIsNaN) EvaluateRaw ¶
func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNaN) GetRawFieldPath ¶
func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNaN) Satisfies ¶
func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNaN) SatisfiesRaw ¶
func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNaN) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionIsNaN) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNaN) String ¶
func (cond *FilterConditionIsNaN) String() string
type FilterConditionIsNull ¶
type FilterConditionIsNull struct { Not bool FieldPath Region_FieldPath }
func (*FilterConditionIsNull) And ¶
func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNull) ConditionIsNull ¶
func (cond *FilterConditionIsNull) ConditionIsNull()
func (*FilterConditionIsNull) Evaluate ¶
func (cond *FilterConditionIsNull) Evaluate(res *Region) bool
func (*FilterConditionIsNull) EvaluateRaw ¶
func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNull) GetRawFieldPath ¶
func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNull) NotNull ¶
func (cond *FilterConditionIsNull) NotNull() bool
func (*FilterConditionIsNull) Satisfies ¶
func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNull) SatisfiesRaw ¶
func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNull) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionIsNull) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNull) String ¶
func (cond *FilterConditionIsNull) String() string
type FilterConditionNot ¶
type FilterConditionNot struct {
FilterCondition
}
func (*FilterConditionNot) And ¶
func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNot) ConditionNot ¶
func (cond *FilterConditionNot) ConditionNot()
func (*FilterConditionNot) Evaluate ¶
func (cond *FilterConditionNot) Evaluate(res *Region) bool
func (*FilterConditionNot) EvaluateRaw ¶
func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNot) GetSubCondition ¶
func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
func (*FilterConditionNot) Satisfies ¶
func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
func (*FilterConditionNot) SatisfiesRaw ¶
func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNot) SpecifiesFieldPath ¶
func (cond *FilterConditionNot) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionNot) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNot) String ¶
func (cond *FilterConditionNot) String() string
type FilterConditionNotIn ¶
type FilterConditionNotIn struct {
Region_FieldPathArrayOfValues
}
func (*FilterConditionNotIn) And ¶
func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNotIn) ConditionNotIn ¶
func (cond *FilterConditionNotIn) ConditionNotIn()
func (*FilterConditionNotIn) Evaluate ¶
func (cond *FilterConditionNotIn) Evaluate(res *Region) bool
func (*FilterConditionNotIn) EvaluateRaw ¶
func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNotIn) GetRawFieldPath ¶
func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionNotIn) Satisfies ¶
func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
func (*FilterConditionNotIn) SatisfiesRaw ¶
func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNotIn) SpecifiesFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Region_FieldPath) bool
func (*FilterConditionNotIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNotIn) String ¶
func (cond *FilterConditionNotIn) String() string
type GetQuery ¶
type GetQuery struct { Reference *Reference Mask *Region_FieldMask }
func (*GetQuery) GetFieldMask ¶
func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
func (*GetQuery) GetReference ¶
func (q *GetQuery) GetReference() gotenresource.Reference
func (*GetQuery) GetResourceDescriptor ¶
func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*GetQuery) GotenQuery ¶
func (q *GetQuery) GotenQuery()
func (*GetQuery) SetFieldMask ¶
func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*GetQuery) SetReference ¶
func (q *GetQuery) SetReference(ref gotenresource.Reference)
type ListQuery ¶
type ListQuery struct { Filter *Filter Pager *PagerQuery Mask *Region_FieldMask WithPagingInfo bool }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GetWithPagingInfo ¶
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
func (*ListQuery) SetWithPagingInfo ¶
type Name ¶
type Name struct { NamePattern RegionId string `firestore:"regionId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
func (*Name) GetIParentName ¶
func (name *Name) GetIParentName() gotenresource.Name
func (*Name) GetIUnderlyingParentName ¶
func (name *Name) GetIUnderlyingParentName() gotenresource.Name
func (*Name) GetIdParts ¶
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Region_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
func (orderBy *OrderBy) InsertSorted(sorted RegionList, elem *Region) (RegionList, int)
func (*OrderBy) InsertSortedRaw ¶
func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
func (*OrderBy) ParseProtoString ¶
func (*OrderBy) ProtoString ¶
func (*OrderBy) SetFromCliFlag ¶
func (*OrderBy) Sort ¶
func (orderBy *OrderBy) Sort(results RegionList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Region_FieldPath Direction gotenresource.OrderDirection }
OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)
func (*OrderByField) CompareWithDirection ¶
func (orderByFld *OrderByField) CompareWithDirection(left, right *Region) int
func (*OrderByField) GetDirection ¶
func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection
func (*OrderByField) GetFieldPath ¶
func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath
type PagerCursor ¶
type PagerCursor struct { CursorValue gotenresource.CursorValue Inclusion gotenresource.CursorInclusion PageDirection gotenresource.PageDirection }
PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)
func (*PagerCursor) GetInclusion ¶
func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
func (*PagerCursor) GetPageDirection ¶
func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
func (*PagerCursor) GetValue ¶
func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
func (*PagerCursor) IsEmpty ¶
func (cursor *PagerCursor) IsEmpty() bool
func (*PagerCursor) ParseProtoString ¶
func (cursor *PagerCursor) ParseProtoString(data string) (err error)
func (*PagerCursor) ProtoString ¶
func (cursor *PagerCursor) ProtoString() (string, error)
func (*PagerCursor) SetCursorValue ¶
func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
func (*PagerCursor) SetFromCliFlag ¶
func (cursor *PagerCursor) SetFromCliFlag(raw string) error
func (*PagerCursor) SetInclusion ¶
func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
func (*PagerCursor) SetPageDirection ¶
func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerCursor) String ¶
func (cursor *PagerCursor) String() string
type PagerQuery ¶
type PagerQuery struct { OrderBy *OrderBy Cursor *PagerCursor Limit int PeekForward bool }
PagerQuery is main struct used for assisting server and database to perform Pagination
func MakePagerQuery ¶
func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery
MakePagerQuery builds pager from API data and applies defaults
func (*PagerQuery) GetCursor ¶
func (p *PagerQuery) GetCursor() gotenresource.Cursor
func (*PagerQuery) GetLimit ¶
func (p *PagerQuery) GetLimit() int
func (*PagerQuery) GetOrderBy ¶
func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
func (*PagerQuery) GetPeekForward ¶
func (p *PagerQuery) GetPeekForward() bool
func (*PagerQuery) GetResourceDescriptor ¶
func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*PagerQuery) PageDirection ¶
func (p *PagerQuery) PageDirection() gotenresource.PageDirection
func (*PagerQuery) SetCursor ¶
func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
func (*PagerQuery) SetLimit ¶
func (p *PagerQuery) SetLimit(limit int)
func (*PagerQuery) SetOrderBy ¶
func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
func (*PagerQuery) SetPageDirection ¶
func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerQuery) SetPeekForward ¶
func (p *PagerQuery) SetPeekForward(peekForward bool)
type QueryResultChange ¶
type QueryResultChange struct { Changes []*RegionChange PrevPageCursor *PagerCursor NextPageCursor *PagerCursor ResumeToken string IsCurrent bool IsHardReset bool IsSoftReset bool SnapshotSize int64 }
func (*QueryResultChange) GetIsCurrent ¶
func (qr *QueryResultChange) GetIsCurrent() bool
func (*QueryResultChange) GetIsHardReset ¶
func (qr *QueryResultChange) GetIsHardReset() bool
func (*QueryResultChange) GetIsSoftReset ¶
func (qr *QueryResultChange) GetIsSoftReset() bool
func (*QueryResultChange) GetNextPageCursor ¶
func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetPrevPageCursor ¶
func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetResults ¶
func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
func (*QueryResultChange) GetResumeToken ¶
func (qr *QueryResultChange) GetResumeToken() string
func (*QueryResultChange) GetSnapshotSize ¶
func (qr *QueryResultChange) GetSnapshotSize() int64
func (*QueryResultChange) SetCursors ¶
func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultChange) SetIsCurrent ¶
func (qr *QueryResultChange) SetIsCurrent()
func (*QueryResultChange) SetIsHardReset ¶
func (qr *QueryResultChange) SetIsHardReset()
func (*QueryResultChange) SetIsSoftReset ¶
func (qr *QueryResultChange) SetIsSoftReset()
func (*QueryResultChange) SetResults ¶
func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
func (*QueryResultChange) SetResumeToken ¶
func (qr *QueryResultChange) SetResumeToken(token string)
func (*QueryResultChange) SetSnapshotSize ¶
func (qr *QueryResultChange) SetSnapshotSize(size int64)
type QueryResultSnapshot ¶
type QueryResultSnapshot struct { Regions []*Region PrevPageCursor *PagerCursor NextPageCursor *PagerCursor TotalResultsCount int32 CurrentOffset int32 }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetPagingInfo ¶
func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
func (*QueryResultSnapshot) GetPrevPageCursor ¶
func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetResults ¶
func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
func (*QueryResultSnapshot) SetCursors ¶
func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultSnapshot) SetPagingInfo ¶
func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
func (*QueryResultSnapshot) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetIParentName ¶
func (ref *Reference) GetIParentName() gotenresource.Name
func (*Reference) GetIUnderlyingParentName ¶
func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
func (*Reference) GetIdParts ¶
func (*Reference) GetPattern ¶
func (ref *Reference) GetPattern() gotenresource.NamePattern
func (*Reference) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResourceDescriptor ¶
func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
func (*Reference) GetSegments ¶
func (ref *Reference) GetSegments() gotenresource.NameSegments
func (*Reference) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
type Region ¶
type Region struct { // Name of Region // When creating a new instance, this field is optional and if not provided, // it will be generated automatically. Last ID segment must conform to the // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Metadata is an object with information like create, update and delete time // (for async deleted resources), has user labels/annotations, sharding // information, multi-region syncing information and may have non-schema // owners (useful for taking ownership of resources belonging to lower level // services by higher ones). Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // Region title Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty" firestore:"title"` // contains filtered or unexported fields }
Region Resource is an auxiliary resource that provides geographic scope to resources in Goten services, ideally should point to narrow geographic location but Goten is not strict about it. This allows case where in single physical location we have multiple clusters using different virtual networks hosting different deployments. Goten uses regions to aid in global scaling, but otherwise tries to abstract from running hardware focusing on services instead.
func (*Region) CloneRaw ¶
func (o *Region) CloneRaw() gotenobject.GotenObjectExt
func (*Region) Descriptor ¶
Deprecated, Use Region.ProtoReflect.Descriptor instead.
func (*Region) EnsureMetadata ¶
func (*Region) GetMetadata ¶
func (*Region) GetRawName ¶
func (r *Region) GetRawName() gotenresource.Name
func (*Region) GetResourceDescriptor ¶
func (r *Region) GetResourceDescriptor() gotenresource.Descriptor
func (*Region) GotenMessage ¶
func (*Region) GotenMessage()
func (*Region) GotenObjectExt ¶
func (o *Region) GotenObjectExt()
func (*Region) GotenValidate ¶
func (*Region) MakeDiffFieldMask ¶
func (o *Region) MakeDiffFieldMask(other *Region) *Region_FieldMask
func (*Region) MakeFullFieldMask ¶
func (o *Region) MakeFullFieldMask() *Region_FieldMask
func (*Region) MakeRawDiffFieldMask ¶
func (o *Region) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Region) MakeRawFullFieldMask ¶
func (o *Region) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Region) MarshalJSON ¶
func (*Region) MaybePopulateDefaults ¶
func (*Region) MergeRaw ¶
func (o *Region) MergeRaw(source gotenobject.GotenObjectExt)
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) ProtoReflect ¶
func (*Region) SetMetadata ¶
func (*Region) UnmarshalJSON ¶
type RegionAccess ¶
type RegionAccess interface { GetRegion(context.Context, *GetQuery) (*Region, error) BatchGetRegions(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryRegions(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchRegion(context.Context, *GetQuery, func(*RegionChange) error) error WatchRegions(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveRegion(context.Context, *Region, ...gotenresource.SaveOption) error DeleteRegion(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type RegionChange ¶
type RegionChange struct { // Region change // // Types that are valid to be assigned to ChangeType: // *RegionChange_Added_ // *RegionChange_Modified_ // *RegionChange_Current_ // *RegionChange_Removed_ ChangeType isRegionChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
RegionChange is used by Watch notifications Responses to describe change of single Region One of Added, Modified, Removed
func (*RegionChange) Descriptor ¶
func (*RegionChange) Descriptor() ([]byte, []int)
Deprecated, Use RegionChange.ProtoReflect.Descriptor instead.
func (*RegionChange) GetAdded ¶
func (m *RegionChange) GetAdded() *RegionChange_Added
func (*RegionChange) GetChangeType ¶
func (m *RegionChange) GetChangeType() isRegionChange_ChangeType
func (*RegionChange) GetCurrent ¶
func (m *RegionChange) GetCurrent() *RegionChange_Current
func (*RegionChange) GetCurrentViewIndex ¶
func (c *RegionChange) GetCurrentViewIndex() int32
func (*RegionChange) GetModified ¶
func (m *RegionChange) GetModified() *RegionChange_Modified
func (*RegionChange) GetPreviousViewIndex ¶
func (c *RegionChange) GetPreviousViewIndex() int32
func (*RegionChange) GetRawName ¶
func (c *RegionChange) GetRawName() gotenresource.Name
func (*RegionChange) GetRawResource ¶
func (c *RegionChange) GetRawResource() gotenresource.Resource
func (*RegionChange) GetRegion ¶
func (c *RegionChange) GetRegion() *Region
func (*RegionChange) GetRegionName ¶
func (c *RegionChange) GetRegionName() *Name
func (*RegionChange) GetRemoved ¶
func (m *RegionChange) GetRemoved() *RegionChange_Removed
func (*RegionChange) GotenMessage ¶
func (*RegionChange) GotenMessage()
func (*RegionChange) GotenValidate ¶
func (obj *RegionChange) GotenValidate() error
func (*RegionChange) IsAdd ¶
func (c *RegionChange) IsAdd() bool
func (*RegionChange) IsCurrent ¶
func (c *RegionChange) IsCurrent() bool
func (*RegionChange) IsDelete ¶
func (c *RegionChange) IsDelete() bool
func (*RegionChange) IsModify ¶
func (c *RegionChange) IsModify() bool
func (*RegionChange) Marshal ¶
func (m *RegionChange) Marshal() ([]byte, error)
func (*RegionChange) MarshalJSON ¶
func (m *RegionChange) MarshalJSON() ([]byte, error)
func (*RegionChange) ProtoMessage ¶
func (*RegionChange) ProtoMessage()
func (*RegionChange) ProtoReflect ¶
func (m *RegionChange) ProtoReflect() preflect.Message
func (*RegionChange) Reset ¶
func (m *RegionChange) Reset()
func (*RegionChange) SetAdded ¶
func (m *RegionChange) SetAdded(fv *RegionChange_Added)
func (*RegionChange) SetAddedRaw ¶
func (c *RegionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*RegionChange) SetChangeType ¶
func (m *RegionChange) SetChangeType(ofv isRegionChange_ChangeType)
func (*RegionChange) SetCurrent ¶
func (m *RegionChange) SetCurrent(fv *RegionChange_Current)
func (*RegionChange) SetCurrentRaw ¶
func (c *RegionChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*RegionChange) SetDeletedRaw ¶
func (c *RegionChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*RegionChange) SetModified ¶
func (m *RegionChange) SetModified(fv *RegionChange_Modified)
func (*RegionChange) SetModifiedRaw ¶
func (c *RegionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*RegionChange) SetRemoved ¶
func (m *RegionChange) SetRemoved(fv *RegionChange_Removed)
func (*RegionChange) String ¶
func (m *RegionChange) String() string
func (*RegionChange) Unmarshal ¶
func (m *RegionChange) Unmarshal(b []byte) error
func (*RegionChange) UnmarshalJSON ¶
func (m *RegionChange) UnmarshalJSON(data []byte) error
type RegionChangeList ¶
type RegionChangeList []*RegionChange
func (RegionChangeList) Append ¶
func (l RegionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (RegionChangeList) AppendList ¶
func (l RegionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (RegionChangeList) At ¶
func (l RegionChangeList) At(idx int) gotenresource.ResourceChange
func (RegionChangeList) Length ¶
func (l RegionChangeList) Length() int
func (RegionChangeList) Set ¶
func (l RegionChangeList) Set(idx int, change gotenresource.ResourceChange)
func (RegionChangeList) Slice ¶
func (l RegionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type RegionChangeMap ¶
type RegionChangeMap map[Name]*RegionChange
func (RegionChangeMap) Delete ¶
func (m RegionChangeMap) Delete(name gotenresource.Name)
func (RegionChangeMap) ForEach ¶
func (m RegionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (RegionChangeMap) Get ¶
func (m RegionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (RegionChangeMap) Length ¶
func (m RegionChangeMap) Length() int
func (RegionChangeMap) Set ¶
func (m RegionChangeMap) Set(change gotenresource.ResourceChange)
type RegionChange_Added ¶
type RegionChange_Added struct { Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty" firestore:"region"` // Integer describing index of added Region in resulting query view. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Region has been added to query view
func (*RegionChange_Added) Descriptor ¶
func (*RegionChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use RegionChange_Added.ProtoReflect.Descriptor instead.
func (*RegionChange_Added) GetRegion ¶
func (m *RegionChange_Added) GetRegion() *Region
func (*RegionChange_Added) GetViewIndex ¶
func (m *RegionChange_Added) GetViewIndex() int32
func (*RegionChange_Added) GotenMessage ¶
func (*RegionChange_Added) GotenMessage()
func (*RegionChange_Added) GotenValidate ¶
func (obj *RegionChange_Added) GotenValidate() error
func (*RegionChange_Added) Marshal ¶
func (m *RegionChange_Added) Marshal() ([]byte, error)
func (*RegionChange_Added) MarshalJSON ¶
func (m *RegionChange_Added) MarshalJSON() ([]byte, error)
func (*RegionChange_Added) ProtoMessage ¶
func (*RegionChange_Added) ProtoMessage()
func (*RegionChange_Added) ProtoReflect ¶
func (m *RegionChange_Added) ProtoReflect() preflect.Message
func (*RegionChange_Added) Reset ¶
func (m *RegionChange_Added) Reset()
func (*RegionChange_Added) SetRegion ¶
func (m *RegionChange_Added) SetRegion(fv *Region)
func (*RegionChange_Added) SetViewIndex ¶
func (m *RegionChange_Added) SetViewIndex(fv int32)
func (*RegionChange_Added) String ¶
func (m *RegionChange_Added) String() string
func (*RegionChange_Added) Unmarshal ¶
func (m *RegionChange_Added) Unmarshal(b []byte) error
func (*RegionChange_Added) UnmarshalJSON ¶
func (m *RegionChange_Added) UnmarshalJSON(data []byte) error
type RegionChange_Added_ ¶
type RegionChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *RegionChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type RegionChange_Current ¶
type RegionChange_Current struct { Region *Region `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty" firestore:"region"` // contains filtered or unexported fields }
Region has been added or modified in a query view. Version used for stateless watching
func (*RegionChange_Current) Descriptor ¶
func (*RegionChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use RegionChange_Current.ProtoReflect.Descriptor instead.
func (*RegionChange_Current) GetRegion ¶
func (m *RegionChange_Current) GetRegion() *Region
func (*RegionChange_Current) GotenMessage ¶
func (*RegionChange_Current) GotenMessage()
func (*RegionChange_Current) GotenValidate ¶
func (obj *RegionChange_Current) GotenValidate() error
func (*RegionChange_Current) Marshal ¶
func (m *RegionChange_Current) Marshal() ([]byte, error)
func (*RegionChange_Current) MarshalJSON ¶
func (m *RegionChange_Current) MarshalJSON() ([]byte, error)
func (*RegionChange_Current) ProtoMessage ¶
func (*RegionChange_Current) ProtoMessage()
func (*RegionChange_Current) ProtoReflect ¶
func (m *RegionChange_Current) ProtoReflect() preflect.Message
func (*RegionChange_Current) Reset ¶
func (m *RegionChange_Current) Reset()
func (*RegionChange_Current) SetRegion ¶
func (m *RegionChange_Current) SetRegion(fv *Region)
func (*RegionChange_Current) String ¶
func (m *RegionChange_Current) String() string
func (*RegionChange_Current) Unmarshal ¶
func (m *RegionChange_Current) Unmarshal(b []byte) error
func (*RegionChange_Current) UnmarshalJSON ¶
func (m *RegionChange_Current) UnmarshalJSON(data []byte) error
type RegionChange_Current_ ¶
type RegionChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *RegionChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type RegionChange_Modified ¶
type RegionChange_Modified struct { // Name of modified Region Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Region or masked difference, depending on mask_changes // instrumentation of issued [WatchRegionRequest] or [WatchRegionsRequest] Region *Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty" firestore:"region"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Region_FieldMask `` /* 138-byte string literal not displayed */ // Previous view index specifies previous position of modified Region. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Region new index in resulting query view. ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Region changed some of it's fields - contains either full document or masked change
func (*RegionChange_Modified) Descriptor ¶
func (*RegionChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use RegionChange_Modified.ProtoReflect.Descriptor instead.
func (*RegionChange_Modified) GetFieldMask ¶
func (m *RegionChange_Modified) GetFieldMask() *Region_FieldMask
func (*RegionChange_Modified) GetName ¶
func (m *RegionChange_Modified) GetName() *Name
func (*RegionChange_Modified) GetPreviousViewIndex ¶
func (m *RegionChange_Modified) GetPreviousViewIndex() int32
func (*RegionChange_Modified) GetRegion ¶
func (m *RegionChange_Modified) GetRegion() *Region
func (*RegionChange_Modified) GetViewIndex ¶
func (m *RegionChange_Modified) GetViewIndex() int32
func (*RegionChange_Modified) GotenMessage ¶
func (*RegionChange_Modified) GotenMessage()
func (*RegionChange_Modified) GotenValidate ¶
func (obj *RegionChange_Modified) GotenValidate() error
func (*RegionChange_Modified) Marshal ¶
func (m *RegionChange_Modified) Marshal() ([]byte, error)
func (*RegionChange_Modified) MarshalJSON ¶
func (m *RegionChange_Modified) MarshalJSON() ([]byte, error)
func (*RegionChange_Modified) ProtoMessage ¶
func (*RegionChange_Modified) ProtoMessage()
func (*RegionChange_Modified) ProtoReflect ¶
func (m *RegionChange_Modified) ProtoReflect() preflect.Message
func (*RegionChange_Modified) Reset ¶
func (m *RegionChange_Modified) Reset()
func (*RegionChange_Modified) SetFieldMask ¶
func (m *RegionChange_Modified) SetFieldMask(fv *Region_FieldMask)
func (*RegionChange_Modified) SetName ¶
func (m *RegionChange_Modified) SetName(fv *Name)
func (*RegionChange_Modified) SetPreviousViewIndex ¶
func (m *RegionChange_Modified) SetPreviousViewIndex(fv int32)
func (*RegionChange_Modified) SetRegion ¶
func (m *RegionChange_Modified) SetRegion(fv *Region)
func (*RegionChange_Modified) SetViewIndex ¶
func (m *RegionChange_Modified) SetViewIndex(fv int32)
func (*RegionChange_Modified) String ¶
func (m *RegionChange_Modified) String() string
func (*RegionChange_Modified) Unmarshal ¶
func (m *RegionChange_Modified) Unmarshal(b []byte) error
func (*RegionChange_Modified) UnmarshalJSON ¶
func (m *RegionChange_Modified) UnmarshalJSON(data []byte) error
type RegionChange_Modified_ ¶
type RegionChange_Modified_ struct { // Modified is returned when watched document is modified Modified *RegionChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type RegionChange_Removed ¶
type RegionChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Region index. Not populated in stateless watch // type. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Removed is returned when Region is deleted or leaves Query view
func (*RegionChange_Removed) Descriptor ¶
func (*RegionChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use RegionChange_Removed.ProtoReflect.Descriptor instead.
func (*RegionChange_Removed) GetName ¶
func (m *RegionChange_Removed) GetName() *Name
func (*RegionChange_Removed) GetViewIndex ¶
func (m *RegionChange_Removed) GetViewIndex() int32
func (*RegionChange_Removed) GotenMessage ¶
func (*RegionChange_Removed) GotenMessage()
func (*RegionChange_Removed) GotenValidate ¶
func (obj *RegionChange_Removed) GotenValidate() error
func (*RegionChange_Removed) Marshal ¶
func (m *RegionChange_Removed) Marshal() ([]byte, error)
func (*RegionChange_Removed) MarshalJSON ¶
func (m *RegionChange_Removed) MarshalJSON() ([]byte, error)
func (*RegionChange_Removed) ProtoMessage ¶
func (*RegionChange_Removed) ProtoMessage()
func (*RegionChange_Removed) ProtoReflect ¶
func (m *RegionChange_Removed) ProtoReflect() preflect.Message
func (*RegionChange_Removed) Reset ¶
func (m *RegionChange_Removed) Reset()
func (*RegionChange_Removed) SetName ¶
func (m *RegionChange_Removed) SetName(fv *Name)
func (*RegionChange_Removed) SetViewIndex ¶
func (m *RegionChange_Removed) SetViewIndex(fv int32)
func (*RegionChange_Removed) String ¶
func (m *RegionChange_Removed) String() string
func (*RegionChange_Removed) Unmarshal ¶
func (m *RegionChange_Removed) Unmarshal(b []byte) error
func (*RegionChange_Removed) UnmarshalJSON ¶
func (m *RegionChange_Removed) UnmarshalJSON(data []byte) error
type RegionChange_Removed_ ¶
type RegionChange_Removed_ struct { // Removed is returned when Region is deleted or leaves Query view Removed *RegionChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type RegionFieldPathBuilder ¶
type RegionFieldPathBuilder struct{}
func NewRegionFieldPathBuilder ¶
func NewRegionFieldPathBuilder() RegionFieldPathBuilder
func (RegionFieldPathBuilder) Metadata ¶
func (RegionFieldPathBuilder) Metadata() RegionPathSelectorMetadata
func (RegionFieldPathBuilder) Name ¶
func (RegionFieldPathBuilder) Name() RegionPathSelectorName
func (RegionFieldPathBuilder) Title ¶
func (RegionFieldPathBuilder) Title() RegionPathSelectorTitle
type RegionList ¶
type RegionList []*Region
func (RegionList) Append ¶
func (l RegionList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (RegionList) AppendList ¶
func (l RegionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (RegionList) At ¶
func (l RegionList) At(idx int) gotenresource.Resource
func (RegionList) Length ¶
func (l RegionList) Length() int
func (RegionList) Set ¶
func (l RegionList) Set(idx int, res gotenresource.Resource)
func (RegionList) Slice ¶
func (l RegionList) Slice(first, second int) gotenresource.ResourceList
type RegionMap ¶
func (RegionMap) Delete ¶
func (m RegionMap) Delete(name gotenresource.Name)
func (RegionMap) ForEach ¶
func (m RegionMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (RegionMap) Get ¶
func (m RegionMap) Get(name gotenresource.Name) gotenresource.Resource
func (RegionMap) Set ¶
func (m RegionMap) Set(res gotenresource.Resource)
type RegionMapPathSelectorMetadataAnnotations ¶
type RegionMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (RegionMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s RegionMapPathSelectorMetadataAnnotations) FieldPath() *Region_FieldSubPath
func (RegionMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s RegionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionMapPathSelectorMetadataAnnotations) WithValue ¶
func (s RegionMapPathSelectorMetadataAnnotations) WithValue(value string) *Region_FieldSubPathValue
type RegionMapPathSelectorMetadataLabels ¶
type RegionMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (RegionMapPathSelectorMetadataLabels) FieldPath ¶
func (s RegionMapPathSelectorMetadataLabels) FieldPath() *Region_FieldSubPath
func (RegionMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s RegionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionMapPathSelectorMetadataLabels) WithValue ¶
func (s RegionMapPathSelectorMetadataLabels) WithValue(value string) *Region_FieldSubPathValue
type RegionMapPathSelectorMetadataShards ¶
type RegionMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (RegionMapPathSelectorMetadataShards) FieldPath ¶
func (s RegionMapPathSelectorMetadataShards) FieldPath() *Region_FieldSubPath
func (RegionMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s RegionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Region_FieldSubPathArrayOfValues
func (RegionMapPathSelectorMetadataShards) WithValue ¶
func (s RegionMapPathSelectorMetadataShards) WithValue(value int64) *Region_FieldSubPathValue
type RegionNameList ¶
type RegionNameList []*Name
func (RegionNameList) Append ¶
func (l RegionNameList) Append(name gotenresource.Name) gotenresource.NameList
func (RegionNameList) AppendList ¶
func (l RegionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (RegionNameList) At ¶
func (l RegionNameList) At(idx int) gotenresource.Name
func (RegionNameList) Length ¶
func (l RegionNameList) Length() int
func (RegionNameList) Set ¶
func (l RegionNameList) Set(idx int, name gotenresource.Name)
func (RegionNameList) Slice ¶
func (l RegionNameList) Slice(first, second int) gotenresource.NameList
type RegionPathSelectorMetadata ¶
type RegionPathSelectorMetadata struct{}
func (RegionPathSelectorMetadata) Annotations ¶
func (RegionPathSelectorMetadata) Annotations() RegionPathSelectorMetadataAnnotations
func (RegionPathSelectorMetadata) CreateTime ¶
func (RegionPathSelectorMetadata) CreateTime() RegionPathSelectorMetadataCreateTime
func (RegionPathSelectorMetadata) DeleteTime ¶
func (RegionPathSelectorMetadata) DeleteTime() RegionPathSelectorMetadataDeleteTime
func (RegionPathSelectorMetadata) FieldPath ¶
func (RegionPathSelectorMetadata) FieldPath() *Region_FieldTerminalPath
func (RegionPathSelectorMetadata) Generation ¶
func (RegionPathSelectorMetadata) Generation() RegionPathSelectorMetadataGeneration
func (RegionPathSelectorMetadata) Labels ¶
func (RegionPathSelectorMetadata) Labels() RegionPathSelectorMetadataLabels
func (RegionPathSelectorMetadata) Lifecycle ¶
func (RegionPathSelectorMetadata) Lifecycle() RegionPathSelectorMetadataLifecycle
func (RegionPathSelectorMetadata) OwnerReferences ¶
func (RegionPathSelectorMetadata) OwnerReferences() RegionPathSelectorMetadataOwnerReferences
func (RegionPathSelectorMetadata) ResourceVersion ¶
func (RegionPathSelectorMetadata) ResourceVersion() RegionPathSelectorMetadataResourceVersion
func (RegionPathSelectorMetadata) Services ¶
func (RegionPathSelectorMetadata) Services() RegionPathSelectorMetadataServices
func (RegionPathSelectorMetadata) Shards ¶
func (RegionPathSelectorMetadata) Shards() RegionPathSelectorMetadataShards
func (RegionPathSelectorMetadata) Syncing ¶
func (RegionPathSelectorMetadata) Syncing() RegionPathSelectorMetadataSyncing
func (RegionPathSelectorMetadata) Tags ¶
func (RegionPathSelectorMetadata) Tags() RegionPathSelectorMetadataTags
func (RegionPathSelectorMetadata) UpdateTime ¶
func (RegionPathSelectorMetadata) UpdateTime() RegionPathSelectorMetadataUpdateTime
func (RegionPathSelectorMetadata) Uuid ¶
func (RegionPathSelectorMetadata) Uuid() RegionPathSelectorMetadataUuid
func (RegionPathSelectorMetadata) WithArrayOfValues ¶
func (s RegionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *Region_FieldTerminalPathArrayOfValues
func (RegionPathSelectorMetadata) WithSubArrayItemValue ¶
func (s RegionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Region_FieldSubPathArrayItemValue
func (RegionPathSelectorMetadata) WithSubArrayOfValues ¶
func (s RegionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadata) WithSubPath ¶
func (RegionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *Region_FieldSubPath
func (RegionPathSelectorMetadata) WithSubValue ¶
func (s RegionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *Region_FieldSubPathValue
func (RegionPathSelectorMetadata) WithValue ¶
func (s RegionPathSelectorMetadata) WithValue(value *meta.Meta) *Region_FieldTerminalPathValue
type RegionPathSelectorMetadataAnnotations ¶
type RegionPathSelectorMetadataAnnotations struct{}
func (RegionPathSelectorMetadataAnnotations) FieldPath ¶
func (RegionPathSelectorMetadataAnnotations) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataAnnotations) WithKey ¶
func (RegionPathSelectorMetadataAnnotations) WithKey(key string) RegionMapPathSelectorMetadataAnnotations
func (RegionPathSelectorMetadataAnnotations) WithValue ¶
func (s RegionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataCreateTime ¶
type RegionPathSelectorMetadataCreateTime struct{}
func (RegionPathSelectorMetadataCreateTime) FieldPath ¶
func (RegionPathSelectorMetadataCreateTime) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataCreateTime) WithValue ¶
func (s RegionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
type RegionPathSelectorMetadataDeleteTime ¶
type RegionPathSelectorMetadataDeleteTime struct{}
func (RegionPathSelectorMetadataDeleteTime) FieldPath ¶
func (RegionPathSelectorMetadataDeleteTime) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataDeleteTime) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataDeleteTime) WithValue ¶
func (s RegionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
type RegionPathSelectorMetadataGeneration ¶
type RegionPathSelectorMetadataGeneration struct{}
func (RegionPathSelectorMetadataGeneration) FieldPath ¶
func (RegionPathSelectorMetadataGeneration) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataGeneration) WithValue ¶
func (s RegionPathSelectorMetadataGeneration) WithValue(value int64) *Region_FieldSubPathValue
type RegionPathSelectorMetadataLabels ¶
type RegionPathSelectorMetadataLabels struct{}
func (RegionPathSelectorMetadataLabels) FieldPath ¶
func (RegionPathSelectorMetadataLabels) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataLabels) WithKey ¶
func (RegionPathSelectorMetadataLabels) WithKey(key string) RegionMapPathSelectorMetadataLabels
func (RegionPathSelectorMetadataLabels) WithValue ¶
func (s RegionPathSelectorMetadataLabels) WithValue(value map[string]string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataLifecycle ¶
type RegionPathSelectorMetadataLifecycle struct{}
func (RegionPathSelectorMetadataLifecycle) BlockDeletion ¶
func (RegionPathSelectorMetadataLifecycle) BlockDeletion() RegionPathSelectorMetadataLifecycleBlockDeletion
func (RegionPathSelectorMetadataLifecycle) FieldPath ¶
func (RegionPathSelectorMetadataLifecycle) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataLifecycle) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataLifecycle) WithValue ¶
func (s RegionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *Region_FieldSubPathValue
type RegionPathSelectorMetadataLifecycleBlockDeletion ¶
type RegionPathSelectorMetadataLifecycleBlockDeletion struct{}
func (RegionPathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶
func (RegionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataLifecycleBlockDeletion) WithValue ¶
func (s RegionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Region_FieldSubPathValue
type RegionPathSelectorMetadataLifecycleState ¶
type RegionPathSelectorMetadataLifecycleState struct{}
func (RegionPathSelectorMetadataLifecycleState) FieldPath ¶
func (RegionPathSelectorMetadataLifecycleState) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataLifecycleState) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataLifecycleState) WithValue ¶
func (s RegionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferences ¶
type RegionPathSelectorMetadataOwnerReferences struct{}
func (RegionPathSelectorMetadataOwnerReferences) Controller ¶
func (RegionPathSelectorMetadataOwnerReferences) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferences) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶
func (RegionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (RegionPathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s RegionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *Region_FieldSubPathArrayItemValue
func (RegionPathSelectorMetadataOwnerReferences) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesController ¶
type RegionPathSelectorMetadataOwnerReferencesController struct{}
func (RegionPathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesController) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesKind ¶
type RegionPathSelectorMetadataOwnerReferencesKind struct{}
func (RegionPathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesName ¶
type RegionPathSelectorMetadataOwnerReferencesName struct{}
func (RegionPathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesName) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesRegion ¶
type RegionPathSelectorMetadataOwnerReferencesRegion struct{}
func (RegionPathSelectorMetadataOwnerReferencesRegion) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesRegion) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶
type RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Region_FieldSubPathValue
type RegionPathSelectorMetadataOwnerReferencesVersion ¶
type RegionPathSelectorMetadataOwnerReferencesVersion struct{}
func (RegionPathSelectorMetadataOwnerReferencesVersion) FieldPath ¶
func (RegionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataOwnerReferencesVersion) WithValue ¶
func (s RegionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataResourceVersion ¶
type RegionPathSelectorMetadataResourceVersion struct{}
func (RegionPathSelectorMetadataResourceVersion) FieldPath ¶
func (RegionPathSelectorMetadataResourceVersion) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataResourceVersion) WithValue ¶
func (s RegionPathSelectorMetadataResourceVersion) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataServices ¶
type RegionPathSelectorMetadataServices struct{}
func (RegionPathSelectorMetadataServices) AllowedServices ¶
func (RegionPathSelectorMetadataServices) AllowedServices() RegionPathSelectorMetadataServicesAllowedServices
func (RegionPathSelectorMetadataServices) FieldPath ¶
func (RegionPathSelectorMetadataServices) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataServices) OwningService ¶
func (RegionPathSelectorMetadataServices) OwningService() RegionPathSelectorMetadataServicesOwningService
func (RegionPathSelectorMetadataServices) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataServices) WithValue ¶
func (s RegionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *Region_FieldSubPathValue
type RegionPathSelectorMetadataServicesAllowedServices ¶
type RegionPathSelectorMetadataServicesAllowedServices struct{}
func (RegionPathSelectorMetadataServicesAllowedServices) FieldPath ¶
func (RegionPathSelectorMetadataServicesAllowedServices) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataServicesAllowedServices) WithItemValue ¶
func (s RegionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
func (RegionPathSelectorMetadataServicesAllowedServices) WithValue ¶
func (s RegionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataServicesOwningService ¶
type RegionPathSelectorMetadataServicesOwningService struct{}
func (RegionPathSelectorMetadataServicesOwningService) FieldPath ¶
func (RegionPathSelectorMetadataServicesOwningService) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataServicesOwningService) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataServicesOwningService) WithValue ¶
func (s RegionPathSelectorMetadataServicesOwningService) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataShards ¶
type RegionPathSelectorMetadataShards struct{}
func (RegionPathSelectorMetadataShards) FieldPath ¶
func (RegionPathSelectorMetadataShards) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataShards) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataShards) WithKey ¶
func (RegionPathSelectorMetadataShards) WithKey(key string) RegionMapPathSelectorMetadataShards
func (RegionPathSelectorMetadataShards) WithValue ¶
func (s RegionPathSelectorMetadataShards) WithValue(value map[string]int64) *Region_FieldSubPathValue
type RegionPathSelectorMetadataSyncing ¶
type RegionPathSelectorMetadataSyncing struct{}
func (RegionPathSelectorMetadataSyncing) FieldPath ¶
func (RegionPathSelectorMetadataSyncing) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataSyncing) OwningRegion ¶
func (RegionPathSelectorMetadataSyncing) OwningRegion() RegionPathSelectorMetadataSyncingOwningRegion
func (RegionPathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataSyncing) WithValue ¶
func (s RegionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *Region_FieldSubPathValue
type RegionPathSelectorMetadataSyncingOwningRegion ¶
type RegionPathSelectorMetadataSyncingOwningRegion struct{}
func (RegionPathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (RegionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s RegionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataSyncingRegions ¶
type RegionPathSelectorMetadataSyncingRegions struct{}
func (RegionPathSelectorMetadataSyncingRegions) FieldPath ¶
func (RegionPathSelectorMetadataSyncingRegions) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s RegionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
func (RegionPathSelectorMetadataSyncingRegions) WithValue ¶
func (s RegionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataTags ¶
type RegionPathSelectorMetadataTags struct{}
func (RegionPathSelectorMetadataTags) FieldPath ¶
func (RegionPathSelectorMetadataTags) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataTags) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataTags) WithItemValue ¶
func (s RegionPathSelectorMetadataTags) WithItemValue(value string) *Region_FieldSubPathArrayItemValue
func (RegionPathSelectorMetadataTags) WithValue ¶
func (s RegionPathSelectorMetadataTags) WithValue(value []string) *Region_FieldSubPathValue
type RegionPathSelectorMetadataUpdateTime ¶
type RegionPathSelectorMetadataUpdateTime struct{}
func (RegionPathSelectorMetadataUpdateTime) FieldPath ¶
func (RegionPathSelectorMetadataUpdateTime) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataUpdateTime) WithValue ¶
func (s RegionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *Region_FieldSubPathValue
type RegionPathSelectorMetadataUuid ¶
type RegionPathSelectorMetadataUuid struct{}
func (RegionPathSelectorMetadataUuid) FieldPath ¶
func (RegionPathSelectorMetadataUuid) FieldPath() *Region_FieldSubPath
func (RegionPathSelectorMetadataUuid) WithArrayOfValues ¶
func (s RegionPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Region_FieldSubPathArrayOfValues
func (RegionPathSelectorMetadataUuid) WithValue ¶
func (s RegionPathSelectorMetadataUuid) WithValue(value string) *Region_FieldSubPathValue
type RegionPathSelectorName ¶
type RegionPathSelectorName struct{}
func (RegionPathSelectorName) FieldPath ¶
func (RegionPathSelectorName) FieldPath() *Region_FieldTerminalPath
func (RegionPathSelectorName) WithArrayOfValues ¶
func (s RegionPathSelectorName) WithArrayOfValues(values []*Name) *Region_FieldTerminalPathArrayOfValues
func (RegionPathSelectorName) WithValue ¶
func (s RegionPathSelectorName) WithValue(value *Name) *Region_FieldTerminalPathValue
type RegionPathSelectorTitle ¶
type RegionPathSelectorTitle struct{}
func (RegionPathSelectorTitle) FieldPath ¶
func (RegionPathSelectorTitle) FieldPath() *Region_FieldTerminalPath
func (RegionPathSelectorTitle) WithArrayOfValues ¶
func (s RegionPathSelectorTitle) WithArrayOfValues(values []string) *Region_FieldTerminalPathArrayOfValues
func (RegionPathSelectorTitle) WithValue ¶
func (s RegionPathSelectorTitle) WithValue(value string) *Region_FieldTerminalPathValue
type RegionReferenceList ¶
type RegionReferenceList []*Reference
func (RegionReferenceList) Append ¶
func (l RegionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (RegionReferenceList) AppendList ¶
func (l RegionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (RegionReferenceList) At ¶
func (l RegionReferenceList) At(idx int) gotenresource.Reference
func (RegionReferenceList) Length ¶
func (l RegionReferenceList) Length() int
func (RegionReferenceList) Set ¶
func (l RegionReferenceList) Set(idx int, ref gotenresource.Reference)
func (RegionReferenceList) Slice ¶
func (l RegionReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Region_FieldMask ¶
type Region_FieldMask struct {
Paths []Region_FieldPath
}
func FullRegion_FieldMask ¶
func FullRegion_FieldMask() *Region_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Region_FieldMask) *Region_FieldMask
func (*Region_FieldMask) AppendPath ¶
func (fieldMask *Region_FieldMask) AppendPath(path Region_FieldPath)
func (*Region_FieldMask) AppendRawPath ¶
func (fieldMask *Region_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Region_FieldMask) DecodeFirestore ¶
func (fieldMask *Region_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Region_FieldMask) EncodeFirestore ¶
func (fieldMask *Region_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Region_FieldMask) FilterInputFields ¶
func (fieldMask *Region_FieldMask) FilterInputFields() *Region_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Region_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Region_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
func (*Region_FieldMask) GetPaths ¶
func (fieldMask *Region_FieldMask) GetPaths() []Region_FieldPath
func (*Region_FieldMask) GetRawPaths ¶
func (fieldMask *Region_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Region_FieldMask) IsFull ¶
func (fieldMask *Region_FieldMask) IsFull() bool
func (Region_FieldMask) Marshal ¶
func (fieldMask Region_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Region_FieldMask) MarshalJSON ¶
func (fieldMask Region_FieldMask) MarshalJSON() ([]byte, error)
func (*Region_FieldMask) PathsCount ¶
func (fieldMask *Region_FieldMask) PathsCount() int
func (*Region_FieldMask) Project ¶
func (fieldMask *Region_FieldMask) Project(source *Region) *Region
func (*Region_FieldMask) ProjectRaw ¶
func (fieldMask *Region_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Region_FieldMask) ProtoMessage ¶
func (fieldMask *Region_FieldMask) ProtoMessage()
func (*Region_FieldMask) ProtoReflect ¶
func (fieldMask *Region_FieldMask) ProtoReflect() preflect.Message
func (*Region_FieldMask) Reset ¶
func (fieldMask *Region_FieldMask) Reset()
func (*Region_FieldMask) Set ¶
func (fieldMask *Region_FieldMask) Set(target, source *Region)
func (*Region_FieldMask) SetFromCliFlag ¶
func (fieldMask *Region_FieldMask) SetFromCliFlag(raw string) error
func (*Region_FieldMask) SetRaw ¶
func (fieldMask *Region_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Region_FieldMask) Size ¶
func (fieldMask *Region_FieldMask) Size() int
func (*Region_FieldMask) String ¶
func (fieldMask *Region_FieldMask) String() string
func (*Region_FieldMask) Subtract ¶
func (fieldMask *Region_FieldMask) Subtract(other *Region_FieldMask) *Region_FieldMask
func (*Region_FieldMask) SubtractRaw ¶
func (fieldMask *Region_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Region_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Region_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Region_FieldMask) Unmarshal ¶
func (fieldMask *Region_FieldMask) Unmarshal(data []byte) error
func (*Region_FieldMask) UnmarshalJSON ¶
func (fieldMask *Region_FieldMask) UnmarshalJSON(data []byte) error
type Region_FieldPath ¶
type Region_FieldPath interface { gotenobject.FieldPath Selector() Region_FieldPathSelector Get(source *Region) []interface{} GetSingle(source *Region) (interface{}, bool) ClearValue(item *Region) // Those methods build corresponding Region_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Region_FieldPathValue WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildRegion_FieldPath ¶
func BuildRegion_FieldPath(fp gotenobject.RawFieldPath) (Region_FieldPath, error)
func MustParseRegion_FieldPath ¶
func MustParseRegion_FieldPath(rawField string) Region_FieldPath
func ParseRegion_FieldPath ¶
func ParseRegion_FieldPath(rawField string) (Region_FieldPath, error)
type Region_FieldPathArrayItemValue ¶
type Region_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Region_FieldPath ContainsValue(*Region) bool }
Region_FieldPathArrayItemValue allows storing single item in Path-specific values for Region according to their type Present only for array (repeated) types.
func MustParseRegion_FieldPathArrayItemValue ¶
func MustParseRegion_FieldPathArrayItemValue(pathStr, valueStr string) Region_FieldPathArrayItemValue
func ParseRegion_FieldPathArrayItemValue ¶
func ParseRegion_FieldPathArrayItemValue(pathStr, valueStr string) (Region_FieldPathArrayItemValue, error)
ParseRegion_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Region_FieldPathArrayOfValues ¶
type Region_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Region_FieldPath }
Region_FieldPathArrayOfValues allows storing slice of values for Region fields according to their type
func MustParseRegion_FieldPathArrayOfValues ¶
func MustParseRegion_FieldPathArrayOfValues(pathStr, valuesStr string) Region_FieldPathArrayOfValues
func ParseRegion_FieldPathArrayOfValues ¶
func ParseRegion_FieldPathArrayOfValues(pathStr, valuesStr string) (Region_FieldPathArrayOfValues, error)
type Region_FieldPathSelector ¶
type Region_FieldPathSelector int32
const ( Region_FieldPathSelectorName Region_FieldPathSelector = 0 Region_FieldPathSelectorMetadata Region_FieldPathSelector = 1 Region_FieldPathSelectorTitle Region_FieldPathSelector = 2 )
func (Region_FieldPathSelector) String ¶
func (s Region_FieldPathSelector) String() string
type Region_FieldPathValue ¶
type Region_FieldPathValue interface { Region_FieldPath gotenobject.FieldPathValue SetTo(target **Region) CompareWith(*Region) (cmp int, comparable bool) }
Region_FieldPathValue allows storing values for Region fields according to their type
func MustParseRegion_FieldPathValue ¶
func MustParseRegion_FieldPathValue(pathStr, valueStr string) Region_FieldPathValue
func ParseRegion_FieldPathValue ¶
func ParseRegion_FieldPathValue(pathStr, valueStr string) (Region_FieldPathValue, error)
type Region_FieldSubPath ¶
type Region_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Region_FieldSubPath) AsMetadataSubPath ¶
func (fps *Region_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
func (*Region_FieldSubPath) ClearValue ¶
func (fps *Region_FieldSubPath) ClearValue(item *Region)
func (*Region_FieldSubPath) ClearValueRaw ¶
func (fps *Region_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Region_FieldSubPath) Get ¶
func (fps *Region_FieldSubPath) Get(source *Region) (values []interface{})
Get returns all values pointed by selected field from source Region
func (*Region_FieldSubPath) GetDefault ¶
func (fps *Region_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Region_FieldSubPath) GetRaw ¶
func (fps *Region_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Region_FieldSubPath) GetSingle ¶
func (fps *Region_FieldSubPath) GetSingle(source *Region) (interface{}, bool)
GetSingle returns value of selected field from source Region
func (*Region_FieldSubPath) GetSingleRaw ¶
func (fps *Region_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Region_FieldSubPath) IsLeaf ¶
func (fps *Region_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Region_FieldSubPath) JSONString ¶
func (fps *Region_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Region_FieldSubPath) Selector ¶
func (fps *Region_FieldSubPath) Selector() Region_FieldPathSelector
func (*Region_FieldSubPath) SplitIntoTerminalIPaths ¶
func (fps *Region_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Region_FieldSubPath) String ¶
func (fps *Region_FieldSubPath) String() string
String returns path representation in proto convention
func (*Region_FieldSubPath) WithIArrayItemValue ¶
func (fps *Region_FieldSubPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue
func (*Region_FieldSubPath) WithIArrayOfValues ¶
func (fps *Region_FieldSubPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues
func (*Region_FieldSubPath) WithIValue ¶
func (fps *Region_FieldSubPath) WithIValue(value interface{}) Region_FieldPathValue
func (*Region_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Region_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Region_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Region_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Region_FieldSubPath) WithRawIValue ¶
func (fps *Region_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Region_FieldSubPathArrayItemValue ¶
type Region_FieldSubPathArrayItemValue struct { Region_FieldPath // contains filtered or unexported fields }
func (*Region_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *Region_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)
func (*Region_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Region_FieldSubPathArrayItemValue) ContainsValue(source *Region) bool
Contains returns a boolean indicating if value that is being held is present in given 'Region'
func (*Region_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Region_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Region_FieldSubPathArrayOfValues ¶
type Region_FieldSubPathArrayOfValues struct { Region_FieldPath // contains filtered or unexported fields }
func (*Region_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *Region_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)
func (*Region_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Region_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Region_FieldSubPathValue ¶
type Region_FieldSubPathValue struct { Region_FieldPath // contains filtered or unexported fields }
func (*Region_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *Region_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
func (*Region_FieldSubPathValue) CompareWith ¶
func (fpvs *Region_FieldSubPathValue) CompareWith(source *Region) (int, bool)
func (*Region_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Region_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Region_FieldSubPathValue) GetRawValue ¶
func (fpvs *Region_FieldSubPathValue) GetRawValue() interface{}
func (*Region_FieldSubPathValue) SetTo ¶
func (fpvs *Region_FieldSubPathValue) SetTo(target **Region)
func (*Region_FieldSubPathValue) SetToRaw ¶
func (fpvs *Region_FieldSubPathValue) SetToRaw(target proto.Message)
type Region_FieldTerminalPath ¶
type Region_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Region_FieldTerminalPath) ClearValue ¶
func (fp *Region_FieldTerminalPath) ClearValue(item *Region)
func (*Region_FieldTerminalPath) ClearValueRaw ¶
func (fp *Region_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Region_FieldTerminalPath) Get ¶
func (fp *Region_FieldTerminalPath) Get(source *Region) (values []interface{})
Get returns all values pointed by specific field from source Region
func (*Region_FieldTerminalPath) GetDefault ¶
func (fp *Region_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Region_FieldTerminalPath) GetRaw ¶
func (fp *Region_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Region_FieldTerminalPath) GetSingle ¶
func (fp *Region_FieldTerminalPath) GetSingle(source *Region) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Region
func (*Region_FieldTerminalPath) GetSingleRaw ¶
func (fp *Region_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Region_FieldTerminalPath) IsLeaf ¶
func (fp *Region_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Region_FieldTerminalPath) JSONString ¶
func (fp *Region_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Region_FieldTerminalPath) Selector ¶
func (fp *Region_FieldTerminalPath) Selector() Region_FieldPathSelector
func (*Region_FieldTerminalPath) SplitIntoTerminalIPaths ¶
func (fp *Region_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Region_FieldTerminalPath) String ¶
func (fp *Region_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Region_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Region_FieldTerminalPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue
func (*Region_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Region_FieldTerminalPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues
func (*Region_FieldTerminalPath) WithIValue ¶
func (fp *Region_FieldTerminalPath) WithIValue(value interface{}) Region_FieldPathValue
func (*Region_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Region_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Region_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Region_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Region_FieldTerminalPath) WithRawIValue ¶
func (fp *Region_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Region_FieldTerminalPathArrayItemValue ¶
type Region_FieldTerminalPathArrayItemValue struct { Region_FieldTerminalPath // contains filtered or unexported fields }
func (*Region_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Region_FieldTerminalPathArrayItemValue) ContainsValue(source *Region) bool
Contains returns a boolean indicating if value that is being held is present in given 'Region'
func (*Region_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Region as interface{}
func (*Region_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetSingle(source *Region) (interface{}, bool)
func (*Region_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Region_FieldTerminalPathArrayOfValues ¶
type Region_FieldTerminalPathArrayOfValues struct { Region_FieldTerminalPath // contains filtered or unexported fields }
func (*Region_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *Region_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)
func (*Region_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Region_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Region_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues ¶
func (fpaov *Region_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)
func (*Region_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Region_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Region_FieldTerminalPathValue ¶
type Region_FieldTerminalPathValue struct { Region_FieldTerminalPath // contains filtered or unexported fields }
func (*Region_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *Region_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)
func (*Region_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Region_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Region_FieldTerminalPathValue) AsTitleValue ¶
func (fpv *Region_FieldTerminalPathValue) AsTitleValue() (string, bool)
func (*Region_FieldTerminalPathValue) CompareWith ¶
func (fpv *Region_FieldTerminalPathValue) CompareWith(source *Region) (int, bool)
CompareWith compares value in the 'Region_FieldTerminalPathValue' with the value under path in 'Region'.
func (*Region_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Region_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Region_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Region_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Region' as interface{}
func (*Region_FieldTerminalPathValue) SetTo ¶
func (fpv *Region_FieldTerminalPathValue) SetTo(target **Region)
SetTo stores value for selected field for object Region
func (*Region_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Region_FieldTerminalPathValue) SetToRaw(target proto.Message)
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string StartingTime *timestamppb.Timestamp }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
func (*WatchQuery) GetStartingTime ¶
func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
func (*WatchQuery) GetWatchType ¶
func (q *WatchQuery) GetWatchType() watch_type.WatchType
func (*WatchQuery) SetMaximumChunkSize ¶
func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
func (*WatchQuery) SetResumeToken ¶
func (q *WatchQuery) SetResumeToken(token string)
func (*WatchQuery) SetStartingTime ¶
func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶
func (q *WatchQuery) String() string
Source Files ¶
- region.pb.access.go
- region.pb.collections.go
- region.pb.descriptor.go
- region.pb.fieldmask.go
- region.pb.fieldpath.go
- region.pb.fieldpathbuilder.go
- region.pb.filter.go
- region.pb.filterbuilder.go
- region.pb.go
- region.pb.name.go
- region.pb.namebuilder.go
- region.pb.object_ext.go
- region.pb.pagination.go
- region.pb.query.go
- region.pb.validate.go
- region.pb.view.go
- region_change.pb.change.go
- region_change.pb.go
- region_change.pb.validate.go