Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access PermissionAccess) gotenresource.Access
- type Descriptor
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- 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) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- 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 *Permission) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Permission) (out []*Permission)
- 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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 *Permission) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Permission_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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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) 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) 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 *Permission) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Permission_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted PermissionList, elem *Permission) (PermissionList, 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 PermissionList)
- 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 Permission
- func (o *Permission) Clone() *Permission
- func (o *Permission) CloneRaw() gotenobject.GotenObjectExt
- func (*Permission) Descriptor() ([]byte, []int)
- func (m *Permission) GetDescription() string
- func (m *Permission) GetMetadata() *ntt_meta.Meta
- func (m *Permission) GetName() *Name
- func (r *Permission) GetRawName() gotenresource.Name
- func (r *Permission) GetResourceDescriptor() gotenresource.Descriptor
- func (m *Permission) GetTitle() string
- func (*Permission) GotenMessage()
- func (o *Permission) GotenObjectExt()
- func (obj *Permission) GotenValidate() error
- func (o *Permission) MakeDiffFieldMask(other *Permission) *Permission_FieldMask
- func (o *Permission) MakeFullFieldMask() *Permission_FieldMask
- func (o *Permission) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Permission) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Permission) Marshal() ([]byte, error)
- func (m *Permission) MarshalJSON() ([]byte, error)
- func (r *Permission) MaybePopulateDefaults() error
- func (o *Permission) Merge(source *Permission)
- func (o *Permission) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Permission) ProtoMessage()
- func (m *Permission) ProtoReflect() preflect.Message
- func (m *Permission) Reset()
- func (m *Permission) SetDescription(fv string)
- func (m *Permission) SetMetadata(fv *ntt_meta.Meta)
- func (m *Permission) SetName(fv *Name)
- func (m *Permission) SetTitle(fv string)
- func (m *Permission) String() string
- func (m *Permission) Unmarshal(b []byte) error
- func (m *Permission) UnmarshalJSON(data []byte) error
- type PermissionAccess
- type PermissionChange
- func (*PermissionChange) Descriptor() ([]byte, []int)
- func (m *PermissionChange) GetAdded() *PermissionChange_Added
- func (m *PermissionChange) GetChangeType() isPermissionChange_ChangeType
- func (m *PermissionChange) GetCurrent() *PermissionChange_Current
- func (c *PermissionChange) GetCurrentViewIndex() int32
- func (m *PermissionChange) GetModified() *PermissionChange_Modified
- func (c *PermissionChange) GetPermission() *Permission
- func (c *PermissionChange) GetPermissionName() *Name
- func (c *PermissionChange) GetPreviousViewIndex() int32
- func (c *PermissionChange) GetRawName() gotenresource.Name
- func (c *PermissionChange) GetRawResource() gotenresource.Resource
- func (m *PermissionChange) GetRemoved() *PermissionChange_Removed
- func (*PermissionChange) GotenMessage()
- func (obj *PermissionChange) GotenValidate() error
- func (c *PermissionChange) IsAdd() bool
- func (c *PermissionChange) IsCurrent() bool
- func (c *PermissionChange) IsDelete() bool
- func (c *PermissionChange) IsModify() bool
- func (m *PermissionChange) Marshal() ([]byte, error)
- func (m *PermissionChange) MarshalJSON() ([]byte, error)
- func (*PermissionChange) ProtoMessage()
- func (m *PermissionChange) ProtoReflect() preflect.Message
- func (m *PermissionChange) Reset()
- func (m *PermissionChange) SetAdded(fv *PermissionChange_Added)
- func (c *PermissionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *PermissionChange) SetChangeType(ofv isPermissionChange_ChangeType)
- func (m *PermissionChange) SetCurrent(fv *PermissionChange_Current)
- func (c *PermissionChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *PermissionChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *PermissionChange) SetModified(fv *PermissionChange_Modified)
- func (c *PermissionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *PermissionChange) SetRemoved(fv *PermissionChange_Removed)
- func (m *PermissionChange) String() string
- func (m *PermissionChange) Unmarshal(b []byte) error
- func (m *PermissionChange) UnmarshalJSON(data []byte) error
- type PermissionChangeList
- func (l PermissionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l PermissionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l PermissionChangeList) At(idx int) gotenresource.ResourceChange
- func (l PermissionChangeList) Length() int
- func (l PermissionChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l PermissionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type PermissionChangeMap
- func (m PermissionChangeMap) Delete(name gotenresource.Name)
- func (m PermissionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m PermissionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m PermissionChangeMap) Length() int
- func (m PermissionChangeMap) Set(change gotenresource.ResourceChange)
- type PermissionChange_Added
- func (*PermissionChange_Added) Descriptor() ([]byte, []int)
- func (m *PermissionChange_Added) GetPermission() *Permission
- func (m *PermissionChange_Added) GetViewIndex() int32
- func (*PermissionChange_Added) GotenMessage()
- func (obj *PermissionChange_Added) GotenValidate() error
- func (m *PermissionChange_Added) Marshal() ([]byte, error)
- func (m *PermissionChange_Added) MarshalJSON() ([]byte, error)
- func (*PermissionChange_Added) ProtoMessage()
- func (m *PermissionChange_Added) ProtoReflect() preflect.Message
- func (m *PermissionChange_Added) Reset()
- func (m *PermissionChange_Added) SetPermission(fv *Permission)
- func (m *PermissionChange_Added) SetViewIndex(fv int32)
- func (m *PermissionChange_Added) String() string
- func (m *PermissionChange_Added) Unmarshal(b []byte) error
- func (m *PermissionChange_Added) UnmarshalJSON(data []byte) error
- type PermissionChange_Added_
- type PermissionChange_Current
- func (*PermissionChange_Current) Descriptor() ([]byte, []int)
- func (m *PermissionChange_Current) GetPermission() *Permission
- func (*PermissionChange_Current) GotenMessage()
- func (obj *PermissionChange_Current) GotenValidate() error
- func (m *PermissionChange_Current) Marshal() ([]byte, error)
- func (m *PermissionChange_Current) MarshalJSON() ([]byte, error)
- func (*PermissionChange_Current) ProtoMessage()
- func (m *PermissionChange_Current) ProtoReflect() preflect.Message
- func (m *PermissionChange_Current) Reset()
- func (m *PermissionChange_Current) SetPermission(fv *Permission)
- func (m *PermissionChange_Current) String() string
- func (m *PermissionChange_Current) Unmarshal(b []byte) error
- func (m *PermissionChange_Current) UnmarshalJSON(data []byte) error
- type PermissionChange_Current_
- type PermissionChange_Modified
- func (*PermissionChange_Modified) Descriptor() ([]byte, []int)
- func (m *PermissionChange_Modified) GetFieldMask() *Permission_FieldMask
- func (m *PermissionChange_Modified) GetName() *Name
- func (m *PermissionChange_Modified) GetPermission() *Permission
- func (m *PermissionChange_Modified) GetPreviousViewIndex() int32
- func (m *PermissionChange_Modified) GetViewIndex() int32
- func (*PermissionChange_Modified) GotenMessage()
- func (obj *PermissionChange_Modified) GotenValidate() error
- func (m *PermissionChange_Modified) Marshal() ([]byte, error)
- func (m *PermissionChange_Modified) MarshalJSON() ([]byte, error)
- func (*PermissionChange_Modified) ProtoMessage()
- func (m *PermissionChange_Modified) ProtoReflect() preflect.Message
- func (m *PermissionChange_Modified) Reset()
- func (m *PermissionChange_Modified) SetFieldMask(fv *Permission_FieldMask)
- func (m *PermissionChange_Modified) SetName(fv *Name)
- func (m *PermissionChange_Modified) SetPermission(fv *Permission)
- func (m *PermissionChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *PermissionChange_Modified) SetViewIndex(fv int32)
- func (m *PermissionChange_Modified) String() string
- func (m *PermissionChange_Modified) Unmarshal(b []byte) error
- func (m *PermissionChange_Modified) UnmarshalJSON(data []byte) error
- type PermissionChange_Modified_
- type PermissionChange_Removed
- func (*PermissionChange_Removed) Descriptor() ([]byte, []int)
- func (m *PermissionChange_Removed) GetName() *Name
- func (m *PermissionChange_Removed) GetViewIndex() int32
- func (*PermissionChange_Removed) GotenMessage()
- func (obj *PermissionChange_Removed) GotenValidate() error
- func (m *PermissionChange_Removed) Marshal() ([]byte, error)
- func (m *PermissionChange_Removed) MarshalJSON() ([]byte, error)
- func (*PermissionChange_Removed) ProtoMessage()
- func (m *PermissionChange_Removed) ProtoReflect() preflect.Message
- func (m *PermissionChange_Removed) Reset()
- func (m *PermissionChange_Removed) SetName(fv *Name)
- func (m *PermissionChange_Removed) SetViewIndex(fv int32)
- func (m *PermissionChange_Removed) String() string
- func (m *PermissionChange_Removed) Unmarshal(b []byte) error
- func (m *PermissionChange_Removed) UnmarshalJSON(data []byte) error
- type PermissionChange_Removed_
- type PermissionFieldPathBuilder
- type PermissionList
- func (l PermissionList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l PermissionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l PermissionList) At(idx int) gotenresource.Resource
- func (l PermissionList) Length() int
- func (l PermissionList) Set(idx int, res gotenresource.Resource)
- func (l PermissionList) Slice(first, second int) gotenresource.ResourceList
- type PermissionMap
- func (m PermissionMap) Delete(name gotenresource.Name)
- func (m PermissionMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
- func (m PermissionMap) Get(name gotenresource.Name) gotenresource.Resource
- func (m PermissionMap) Length() int
- func (m PermissionMap) Set(res gotenresource.Resource)
- type PermissionMapPathSelectorMetadataAnnotations
- func (s PermissionMapPathSelectorMetadataAnnotations) FieldPath() *Permission_FieldSubPath
- func (s PermissionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionMapPathSelectorMetadataAnnotations) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionMapPathSelectorMetadataLabels
- func (s PermissionMapPathSelectorMetadataLabels) FieldPath() *Permission_FieldSubPath
- func (s PermissionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionMapPathSelectorMetadataLabels) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionMapPathSelectorMetadataShards
- func (s PermissionMapPathSelectorMetadataShards) FieldPath() *Permission_FieldSubPath
- func (s PermissionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Permission_FieldSubPathArrayOfValues
- func (s PermissionMapPathSelectorMetadataShards) WithValue(value int64) *Permission_FieldSubPathValue
- type PermissionNameList
- func (l PermissionNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l PermissionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l PermissionNameList) At(idx int) gotenresource.Name
- func (l PermissionNameList) Length() int
- func (l PermissionNameList) Set(idx int, name gotenresource.Name)
- func (l PermissionNameList) Slice(first, second int) gotenresource.NameList
- type PermissionPathSelectorDescription
- func (PermissionPathSelectorDescription) FieldPath() *Permission_FieldTerminalPath
- func (s PermissionPathSelectorDescription) WithArrayOfValues(values []string) *Permission_FieldTerminalPathArrayOfValues
- func (s PermissionPathSelectorDescription) WithValue(value string) *Permission_FieldTerminalPathValue
- type PermissionPathSelectorMetadata
- func (PermissionPathSelectorMetadata) Annotations() PermissionPathSelectorMetadataAnnotations
- func (PermissionPathSelectorMetadata) CreateTime() PermissionPathSelectorMetadataCreateTime
- func (PermissionPathSelectorMetadata) DeleteTime() PermissionPathSelectorMetadataDeleteTime
- func (PermissionPathSelectorMetadata) FieldPath() *Permission_FieldTerminalPath
- func (PermissionPathSelectorMetadata) Generation() PermissionPathSelectorMetadataGeneration
- func (PermissionPathSelectorMetadata) Labels() PermissionPathSelectorMetadataLabels
- func (PermissionPathSelectorMetadata) Lifecycle() PermissionPathSelectorMetadataLifecycle
- func (PermissionPathSelectorMetadata) OwnerReferences() PermissionPathSelectorMetadataOwnerReferences
- func (PermissionPathSelectorMetadata) ResourceVersion() PermissionPathSelectorMetadataResourceVersion
- func (PermissionPathSelectorMetadata) Shards() PermissionPathSelectorMetadataShards
- func (PermissionPathSelectorMetadata) Syncing() PermissionPathSelectorMetadataSyncing
- func (PermissionPathSelectorMetadata) Tags() PermissionPathSelectorMetadataTags
- func (PermissionPathSelectorMetadata) UpdateTime() PermissionPathSelectorMetadataUpdateTime
- func (PermissionPathSelectorMetadata) Uuid() PermissionPathSelectorMetadataUuid
- func (s PermissionPathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Permission_FieldTerminalPathArrayOfValues
- func (s PermissionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Permission_FieldSubPathArrayItemValue
- func (s PermissionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Permission_FieldSubPathArrayOfValues
- func (PermissionPathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Permission_FieldSubPathValue
- func (s PermissionPathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Permission_FieldTerminalPathValue
- type PermissionPathSelectorMetadataAnnotations
- func (PermissionPathSelectorMetadataAnnotations) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Permission_FieldSubPathArrayOfValues
- func (PermissionPathSelectorMetadataAnnotations) WithKey(key string) PermissionMapPathSelectorMetadataAnnotations
- func (s PermissionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataCreateTime
- func (PermissionPathSelectorMetadataCreateTime) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataDeleteTime
- func (PermissionPathSelectorMetadataDeleteTime) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataGeneration
- func (PermissionPathSelectorMetadataGeneration) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataGeneration) WithValue(value int64) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataLabels
- func (PermissionPathSelectorMetadataLabels) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Permission_FieldSubPathArrayOfValues
- func (PermissionPathSelectorMetadataLabels) WithKey(key string) PermissionMapPathSelectorMetadataLabels
- func (s PermissionPathSelectorMetadataLabels) WithValue(value map[string]string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataLifecycle
- func (PermissionPathSelectorMetadataLifecycle) BlockDeletion() PermissionPathSelectorMetadataLifecycleBlockDeletion
- func (PermissionPathSelectorMetadataLifecycle) FieldPath() *Permission_FieldSubPath
- func (PermissionPathSelectorMetadataLifecycle) State() PermissionPathSelectorMetadataLifecycleState
- func (s PermissionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataLifecycleBlockDeletion
- func (PermissionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataLifecycleState
- func (PermissionPathSelectorMetadataLifecycleState) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferences
- func (PermissionPathSelectorMetadataOwnerReferences) BlockOwnerDeletion() PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (PermissionPathSelectorMetadataOwnerReferences) Controller() PermissionPathSelectorMetadataOwnerReferencesController
- func (PermissionPathSelectorMetadataOwnerReferences) FieldPath() *Permission_FieldSubPath
- func (PermissionPathSelectorMetadataOwnerReferences) Kind() PermissionPathSelectorMetadataOwnerReferencesKind
- func (PermissionPathSelectorMetadataOwnerReferences) Name() PermissionPathSelectorMetadataOwnerReferencesName
- func (PermissionPathSelectorMetadataOwnerReferences) Region() PermissionPathSelectorMetadataOwnerReferencesRegion
- func (PermissionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (PermissionPathSelectorMetadataOwnerReferences) Version() PermissionPathSelectorMetadataOwnerReferencesVersion
- func (s PermissionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Permission_FieldSubPathArrayItemValue
- func (s PermissionPathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesController
- func (PermissionPathSelectorMetadataOwnerReferencesController) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesKind
- func (PermissionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesName
- func (PermissionPathSelectorMetadataOwnerReferencesName) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesRegion
- func (PermissionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataOwnerReferencesVersion
- func (PermissionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataResourceVersion
- func (PermissionPathSelectorMetadataResourceVersion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataResourceVersion) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataShards
- func (PermissionPathSelectorMetadataShards) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Permission_FieldSubPathArrayOfValues
- func (PermissionPathSelectorMetadataShards) WithKey(key string) PermissionMapPathSelectorMetadataShards
- func (s PermissionPathSelectorMetadataShards) WithValue(value map[string]int64) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataSyncing
- func (PermissionPathSelectorMetadataSyncing) FieldPath() *Permission_FieldSubPath
- func (PermissionPathSelectorMetadataSyncing) OwningRegion() PermissionPathSelectorMetadataSyncingOwningRegion
- func (PermissionPathSelectorMetadataSyncing) Regions() PermissionPathSelectorMetadataSyncingRegions
- func (s PermissionPathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataSyncingOwningRegion
- func (PermissionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataSyncingRegions
- func (PermissionPathSelectorMetadataSyncingRegions) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Permission_FieldSubPathArrayItemValue
- func (s PermissionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataTags
- func (PermissionPathSelectorMetadataTags) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataTags) WithItemValue(value string) *Permission_FieldSubPathArrayItemValue
- func (s PermissionPathSelectorMetadataTags) WithValue(value []string) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataUpdateTime
- func (PermissionPathSelectorMetadataUpdateTime) FieldPath() *Permission_FieldSubPath
- func (s PermissionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
- func (s PermissionPathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
- type PermissionPathSelectorMetadataUuid
- type PermissionPathSelectorName
- type PermissionPathSelectorTitle
- type PermissionReferenceList
- func (l PermissionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l PermissionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l PermissionReferenceList) At(idx int) gotenresource.Reference
- func (l PermissionReferenceList) Length() int
- func (l PermissionReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l PermissionReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Permission_FieldMask
- func (fieldMask *Permission_FieldMask) AppendPath(path Permission_FieldPath)
- func (fieldMask *Permission_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Permission_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Permission_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Permission_FieldMask) FilterInputFields() *Permission_FieldMask
- func (fieldMask *Permission_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Permission_FieldMask) GetPaths() []Permission_FieldPath
- func (fieldMask *Permission_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Permission_FieldMask) IsFull() bool
- func (fieldMask Permission_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Permission_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Permission_FieldMask) PathsCount() int
- func (fieldMask *Permission_FieldMask) Project(source *Permission) *Permission
- func (fieldMask *Permission_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Permission_FieldMask) ProtoMessage()
- func (fieldMask *Permission_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Permission_FieldMask) Reset()
- func (fieldMask *Permission_FieldMask) Set(target, source *Permission)
- func (fieldMask *Permission_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Permission_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Permission_FieldMask) Size() int
- func (fieldMask *Permission_FieldMask) String() string
- func (fieldMask *Permission_FieldMask) Subtract(other *Permission_FieldMask) *Permission_FieldMask
- func (fieldMask *Permission_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Permission_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Permission_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Permission_FieldMask) UnmarshalJSON(data []byte) error
- type Permission_FieldPath
- type Permission_FieldPathArrayItemValue
- type Permission_FieldPathArrayOfValues
- type Permission_FieldPathSelector
- type Permission_FieldPathValue
- type Permission_FieldSubPath
- func (fps *Permission_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
- func (fps *Permission_FieldSubPath) ClearValue(item *Permission)
- func (fps *Permission_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Permission_FieldSubPath) Get(source *Permission) (values []interface{})
- func (fps *Permission_FieldSubPath) GetDefault() interface{}
- func (fps *Permission_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Permission_FieldSubPath) GetSingle(source *Permission) (interface{}, bool)
- func (fps *Permission_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Permission_FieldSubPath) IsLeaf() bool
- func (fps *Permission_FieldSubPath) JSONString() string
- func (fps *Permission_FieldSubPath) Selector() Permission_FieldPathSelector
- func (fps *Permission_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *Permission_FieldSubPath) String() string
- func (fps *Permission_FieldSubPath) WithIArrayItemValue(value interface{}) Permission_FieldPathArrayItemValue
- func (fps *Permission_FieldSubPath) WithIArrayOfValues(values interface{}) Permission_FieldPathArrayOfValues
- func (fps *Permission_FieldSubPath) WithIValue(value interface{}) Permission_FieldPathValue
- func (fps *Permission_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Permission_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Permission_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Permission_FieldSubPathArrayItemValue
- type Permission_FieldSubPathArrayOfValues
- type Permission_FieldSubPathValue
- func (fpvs *Permission_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
- func (fpvs *Permission_FieldSubPathValue) CompareWith(source *Permission) (int, bool)
- func (fpvs *Permission_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Permission_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Permission_FieldSubPathValue) SetTo(target **Permission)
- func (fpvs *Permission_FieldSubPathValue) SetToRaw(target proto.Message)
- type Permission_FieldTerminalPath
- func (fp *Permission_FieldTerminalPath) ClearValue(item *Permission)
- func (fp *Permission_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Permission_FieldTerminalPath) Get(source *Permission) (values []interface{})
- func (fp *Permission_FieldTerminalPath) GetDefault() interface{}
- func (fp *Permission_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Permission_FieldTerminalPath) GetSingle(source *Permission) (interface{}, bool)
- func (fp *Permission_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Permission_FieldTerminalPath) IsLeaf() bool
- func (fp *Permission_FieldTerminalPath) JSONString() string
- func (fp *Permission_FieldTerminalPath) Selector() Permission_FieldPathSelector
- func (fp *Permission_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Permission_FieldTerminalPath) String() string
- func (fp *Permission_FieldTerminalPath) WithIArrayItemValue(value interface{}) Permission_FieldPathArrayItemValue
- func (fp *Permission_FieldTerminalPath) WithIArrayOfValues(values interface{}) Permission_FieldPathArrayOfValues
- func (fp *Permission_FieldTerminalPath) WithIValue(value interface{}) Permission_FieldPathValue
- func (fp *Permission_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Permission_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Permission_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Permission_FieldTerminalPathArrayItemValue
- func (fpaiv *Permission_FieldTerminalPathArrayItemValue) ContainsValue(source *Permission) bool
- func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetSingle(source *Permission) (interface{}, bool)
- func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Permission_FieldTerminalPathArrayOfValues
- func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
- func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
- func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)
- func (fpaov *Permission_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Permission_FieldTerminalPathValue
- func (fpv *Permission_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
- func (fpv *Permission_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
- func (fpv *Permission_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Permission_FieldTerminalPathValue) AsTitleValue() (string, bool)
- func (fpv *Permission_FieldTerminalPathValue) CompareWith(source *Permission) (int, bool)
- func (fpv *Permission_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Permission_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Permission_FieldTerminalPathValue) SetTo(target **Permission)
- func (fpv *Permission_FieldTerminalPathValue) SetToRaw(target proto.Message)
- 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) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- 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) GetPermission() *Permission
- func (ref *Reference) GetRawResource() gotenresource.Resource
- 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 *Permission)
- 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 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 = "permissions/{permission}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access PermissionAccess) gotenresource.Access
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
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 ¶ added in v0.4.16
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶ added in v0.4.16
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 ¶ added in v0.4.16
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶ added in v0.9.0
func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewSearchQueryResultSnapshot ¶
func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
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)
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) Evaluate ¶
func (filter *Filter) Evaluate(res *Permission) bool
Evaluate is a wrapper on FilterCondition, which also handles nil pointer
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
func (filter *Filter) FilterSlice(in []*Permission) (out []*Permission)
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 Permission_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 *Permission) bool // Whether this condition is at least as specific as other. // When true, any Permission 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 Permission_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 Permission_FieldPath Value Permission_FieldPathArrayItemValue Values []Permission_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 *Permission) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Permission_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 Permission_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 {
Permission_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 *Permission) 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 Permission_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 Permission_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 *Permission) 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 Permission_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 Permission_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 *Permission) 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 Permission_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 *Permission) 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 Permission_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 {
Permission_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 *Permission) 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 Permission_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 *Permission_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 *Permission_FieldMask }
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) 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)
type Name ¶
type Name struct { NamePattern PermissionId string `firestore:"permissionId"` }
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 ¶ added in v0.8.0
func (name *Name) GetIParentName() gotenresource.Name
func (*Name) GetIUnderlyingParentName ¶ added in v0.8.0
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) Compare ¶
func (orderBy *OrderBy) Compare(left, right *Permission) int
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Permission_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 PermissionList, elem *Permission) (PermissionList, 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 PermissionList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Permission_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 *Permission) 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 ¶ added in v0.8.0
func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
func (*PagerQuery) SetLimit ¶ added in v0.8.0
func (p *PagerQuery) SetLimit(limit int)
func (*PagerQuery) SetOrderBy ¶ added in v0.8.0
func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
func (*PagerQuery) SetPageDirection ¶ added in v0.8.0
func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerQuery) SetPeekForward ¶ added in v0.8.0
func (p *PagerQuery) SetPeekForward(peekForward bool)
type Permission ¶
type Permission struct { // Name of Permission // Example: liquid.site.create Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Title Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" firestore:"title"` // Description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"` // Metadata Metadata *ntt_meta.Meta `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // contains filtered or unexported fields }
Permission Resource
func (*Permission) Clone ¶
func (o *Permission) Clone() *Permission
func (*Permission) CloneRaw ¶
func (o *Permission) CloneRaw() gotenobject.GotenObjectExt
func (*Permission) Descriptor ¶
func (*Permission) Descriptor() ([]byte, []int)
Deprecated, Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetDescription ¶
func (m *Permission) GetDescription() string
func (*Permission) GetMetadata ¶
func (m *Permission) GetMetadata() *ntt_meta.Meta
func (*Permission) GetName ¶
func (m *Permission) GetName() *Name
func (*Permission) GetRawName ¶
func (r *Permission) GetRawName() gotenresource.Name
func (*Permission) GetResourceDescriptor ¶
func (r *Permission) GetResourceDescriptor() gotenresource.Descriptor
func (*Permission) GetTitle ¶
func (m *Permission) GetTitle() string
func (*Permission) GotenMessage ¶
func (*Permission) GotenMessage()
func (*Permission) GotenObjectExt ¶
func (o *Permission) GotenObjectExt()
func (*Permission) GotenValidate ¶
func (obj *Permission) GotenValidate() error
func (*Permission) MakeDiffFieldMask ¶
func (o *Permission) MakeDiffFieldMask(other *Permission) *Permission_FieldMask
func (*Permission) MakeFullFieldMask ¶
func (o *Permission) MakeFullFieldMask() *Permission_FieldMask
func (*Permission) MakeRawDiffFieldMask ¶
func (o *Permission) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Permission) MakeRawFullFieldMask ¶
func (o *Permission) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Permission) Marshal ¶
func (m *Permission) Marshal() ([]byte, error)
func (*Permission) MarshalJSON ¶
func (m *Permission) MarshalJSON() ([]byte, error)
func (*Permission) MaybePopulateDefaults ¶
func (r *Permission) MaybePopulateDefaults() error
func (*Permission) Merge ¶
func (o *Permission) Merge(source *Permission)
func (*Permission) MergeRaw ¶
func (o *Permission) MergeRaw(source gotenobject.GotenObjectExt)
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (m *Permission) ProtoReflect() preflect.Message
func (*Permission) Reset ¶
func (m *Permission) Reset()
func (*Permission) SetDescription ¶
func (m *Permission) SetDescription(fv string)
func (*Permission) SetMetadata ¶
func (m *Permission) SetMetadata(fv *ntt_meta.Meta)
func (*Permission) SetName ¶
func (m *Permission) SetName(fv *Name)
func (*Permission) SetTitle ¶
func (m *Permission) SetTitle(fv string)
func (*Permission) String ¶
func (m *Permission) String() string
func (*Permission) Unmarshal ¶
func (m *Permission) Unmarshal(b []byte) error
func (*Permission) UnmarshalJSON ¶
func (m *Permission) UnmarshalJSON(data []byte) error
type PermissionAccess ¶
type PermissionAccess interface { GetPermission(context.Context, *GetQuery) (*Permission, error) BatchGetPermissions(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryPermissions(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchPermission(context.Context, *GetQuery, func(*PermissionChange) error) error WatchPermissions(context.Context, *WatchQuery, func(*QueryResultChange) error) error SavePermission(context.Context, *Permission, ...gotenresource.SaveOption) error DeletePermission(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type PermissionChange ¶
type PermissionChange struct { // Permission change // // Types that are valid to be assigned to ChangeType: // *PermissionChange_Added_ // *PermissionChange_Modified_ // *PermissionChange_Current_ // *PermissionChange_Removed_ ChangeType isPermissionChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
PermissionChange is used by Watch notifications Responses to describe change of single Permission One of Added, Modified, Removed
func (*PermissionChange) Descriptor ¶
func (*PermissionChange) Descriptor() ([]byte, []int)
Deprecated, Use PermissionChange.ProtoReflect.Descriptor instead.
func (*PermissionChange) GetAdded ¶
func (m *PermissionChange) GetAdded() *PermissionChange_Added
func (*PermissionChange) GetChangeType ¶
func (m *PermissionChange) GetChangeType() isPermissionChange_ChangeType
func (*PermissionChange) GetCurrent ¶
func (m *PermissionChange) GetCurrent() *PermissionChange_Current
func (*PermissionChange) GetCurrentViewIndex ¶
func (c *PermissionChange) GetCurrentViewIndex() int32
func (*PermissionChange) GetModified ¶
func (m *PermissionChange) GetModified() *PermissionChange_Modified
func (*PermissionChange) GetPermission ¶
func (c *PermissionChange) GetPermission() *Permission
func (*PermissionChange) GetPermissionName ¶
func (c *PermissionChange) GetPermissionName() *Name
func (*PermissionChange) GetPreviousViewIndex ¶
func (c *PermissionChange) GetPreviousViewIndex() int32
func (*PermissionChange) GetRawName ¶
func (c *PermissionChange) GetRawName() gotenresource.Name
func (*PermissionChange) GetRawResource ¶ added in v0.5.1
func (c *PermissionChange) GetRawResource() gotenresource.Resource
func (*PermissionChange) GetRemoved ¶
func (m *PermissionChange) GetRemoved() *PermissionChange_Removed
func (*PermissionChange) GotenMessage ¶
func (*PermissionChange) GotenMessage()
func (*PermissionChange) GotenValidate ¶
func (obj *PermissionChange) GotenValidate() error
func (*PermissionChange) IsAdd ¶
func (c *PermissionChange) IsAdd() bool
func (*PermissionChange) IsCurrent ¶
func (c *PermissionChange) IsCurrent() bool
func (*PermissionChange) IsDelete ¶
func (c *PermissionChange) IsDelete() bool
func (*PermissionChange) IsModify ¶
func (c *PermissionChange) IsModify() bool
func (*PermissionChange) Marshal ¶
func (m *PermissionChange) Marshal() ([]byte, error)
func (*PermissionChange) MarshalJSON ¶
func (m *PermissionChange) MarshalJSON() ([]byte, error)
func (*PermissionChange) ProtoMessage ¶
func (*PermissionChange) ProtoMessage()
func (*PermissionChange) ProtoReflect ¶
func (m *PermissionChange) ProtoReflect() preflect.Message
func (*PermissionChange) Reset ¶
func (m *PermissionChange) Reset()
func (*PermissionChange) SetAdded ¶
func (m *PermissionChange) SetAdded(fv *PermissionChange_Added)
func (*PermissionChange) SetAddedRaw ¶
func (c *PermissionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*PermissionChange) SetChangeType ¶
func (m *PermissionChange) SetChangeType(ofv isPermissionChange_ChangeType)
func (*PermissionChange) SetCurrent ¶
func (m *PermissionChange) SetCurrent(fv *PermissionChange_Current)
func (*PermissionChange) SetCurrentRaw ¶
func (c *PermissionChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*PermissionChange) SetDeletedRaw ¶
func (c *PermissionChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*PermissionChange) SetModified ¶
func (m *PermissionChange) SetModified(fv *PermissionChange_Modified)
func (*PermissionChange) SetModifiedRaw ¶
func (c *PermissionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*PermissionChange) SetRemoved ¶
func (m *PermissionChange) SetRemoved(fv *PermissionChange_Removed)
func (*PermissionChange) String ¶
func (m *PermissionChange) String() string
func (*PermissionChange) Unmarshal ¶
func (m *PermissionChange) Unmarshal(b []byte) error
func (*PermissionChange) UnmarshalJSON ¶
func (m *PermissionChange) UnmarshalJSON(data []byte) error
type PermissionChangeList ¶
type PermissionChangeList []*PermissionChange
func (PermissionChangeList) Append ¶
func (l PermissionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (PermissionChangeList) AppendList ¶
func (l PermissionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (PermissionChangeList) At ¶
func (l PermissionChangeList) At(idx int) gotenresource.ResourceChange
func (PermissionChangeList) Length ¶
func (l PermissionChangeList) Length() int
func (PermissionChangeList) Set ¶
func (l PermissionChangeList) Set(idx int, change gotenresource.ResourceChange)
func (PermissionChangeList) Slice ¶
func (l PermissionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type PermissionChangeMap ¶
type PermissionChangeMap map[Name]*PermissionChange
func (PermissionChangeMap) Delete ¶
func (m PermissionChangeMap) Delete(name gotenresource.Name)
func (PermissionChangeMap) ForEach ¶
func (m PermissionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (PermissionChangeMap) Get ¶
func (m PermissionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (PermissionChangeMap) Length ¶
func (m PermissionChangeMap) Length() int
func (PermissionChangeMap) Set ¶
func (m PermissionChangeMap) Set(change gotenresource.ResourceChange)
type PermissionChange_Added ¶
type PermissionChange_Added struct { Permission *Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"` // Integer describing index of added Permission 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 }
Permission has been added to query view
func (*PermissionChange_Added) Descriptor ¶
func (*PermissionChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use PermissionChange_Added.ProtoReflect.Descriptor instead.
func (*PermissionChange_Added) GetPermission ¶
func (m *PermissionChange_Added) GetPermission() *Permission
func (*PermissionChange_Added) GetViewIndex ¶
func (m *PermissionChange_Added) GetViewIndex() int32
func (*PermissionChange_Added) GotenMessage ¶
func (*PermissionChange_Added) GotenMessage()
func (*PermissionChange_Added) GotenValidate ¶
func (obj *PermissionChange_Added) GotenValidate() error
func (*PermissionChange_Added) Marshal ¶
func (m *PermissionChange_Added) Marshal() ([]byte, error)
func (*PermissionChange_Added) MarshalJSON ¶
func (m *PermissionChange_Added) MarshalJSON() ([]byte, error)
func (*PermissionChange_Added) ProtoMessage ¶
func (*PermissionChange_Added) ProtoMessage()
func (*PermissionChange_Added) ProtoReflect ¶
func (m *PermissionChange_Added) ProtoReflect() preflect.Message
func (*PermissionChange_Added) Reset ¶
func (m *PermissionChange_Added) Reset()
func (*PermissionChange_Added) SetPermission ¶
func (m *PermissionChange_Added) SetPermission(fv *Permission)
func (*PermissionChange_Added) SetViewIndex ¶
func (m *PermissionChange_Added) SetViewIndex(fv int32)
func (*PermissionChange_Added) String ¶
func (m *PermissionChange_Added) String() string
func (*PermissionChange_Added) Unmarshal ¶
func (m *PermissionChange_Added) Unmarshal(b []byte) error
func (*PermissionChange_Added) UnmarshalJSON ¶
func (m *PermissionChange_Added) UnmarshalJSON(data []byte) error
type PermissionChange_Added_ ¶
type PermissionChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *PermissionChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type PermissionChange_Current ¶
type PermissionChange_Current struct { Permission *Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"` // contains filtered or unexported fields }
Permission has been added or modified in a query view. Version used for stateless watching
func (*PermissionChange_Current) Descriptor ¶
func (*PermissionChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use PermissionChange_Current.ProtoReflect.Descriptor instead.
func (*PermissionChange_Current) GetPermission ¶
func (m *PermissionChange_Current) GetPermission() *Permission
func (*PermissionChange_Current) GotenMessage ¶
func (*PermissionChange_Current) GotenMessage()
func (*PermissionChange_Current) GotenValidate ¶
func (obj *PermissionChange_Current) GotenValidate() error
func (*PermissionChange_Current) Marshal ¶
func (m *PermissionChange_Current) Marshal() ([]byte, error)
func (*PermissionChange_Current) MarshalJSON ¶
func (m *PermissionChange_Current) MarshalJSON() ([]byte, error)
func (*PermissionChange_Current) ProtoMessage ¶
func (*PermissionChange_Current) ProtoMessage()
func (*PermissionChange_Current) ProtoReflect ¶
func (m *PermissionChange_Current) ProtoReflect() preflect.Message
func (*PermissionChange_Current) Reset ¶
func (m *PermissionChange_Current) Reset()
func (*PermissionChange_Current) SetPermission ¶
func (m *PermissionChange_Current) SetPermission(fv *Permission)
func (*PermissionChange_Current) String ¶
func (m *PermissionChange_Current) String() string
func (*PermissionChange_Current) Unmarshal ¶
func (m *PermissionChange_Current) Unmarshal(b []byte) error
func (*PermissionChange_Current) UnmarshalJSON ¶
func (m *PermissionChange_Current) UnmarshalJSON(data []byte) error
type PermissionChange_Current_ ¶
type PermissionChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *PermissionChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type PermissionChange_Modified ¶
type PermissionChange_Modified struct { // Name of modified Permission Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Permission or masked difference, depending on mask_changes // instrumentation of issued [WatchPermissionRequest] or // [WatchPermissionsRequest] Permission *Permission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Permission_FieldMask `` /* 142-byte string literal not displayed */ // Previous view index specifies previous position of modified Permission. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Permission 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 }
Permission changed some of it's fields - contains either full document or masked change
func (*PermissionChange_Modified) Descriptor ¶
func (*PermissionChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use PermissionChange_Modified.ProtoReflect.Descriptor instead.
func (*PermissionChange_Modified) GetFieldMask ¶
func (m *PermissionChange_Modified) GetFieldMask() *Permission_FieldMask
func (*PermissionChange_Modified) GetName ¶
func (m *PermissionChange_Modified) GetName() *Name
func (*PermissionChange_Modified) GetPermission ¶
func (m *PermissionChange_Modified) GetPermission() *Permission
func (*PermissionChange_Modified) GetPreviousViewIndex ¶
func (m *PermissionChange_Modified) GetPreviousViewIndex() int32
func (*PermissionChange_Modified) GetViewIndex ¶
func (m *PermissionChange_Modified) GetViewIndex() int32
func (*PermissionChange_Modified) GotenMessage ¶
func (*PermissionChange_Modified) GotenMessage()
func (*PermissionChange_Modified) GotenValidate ¶
func (obj *PermissionChange_Modified) GotenValidate() error
func (*PermissionChange_Modified) Marshal ¶
func (m *PermissionChange_Modified) Marshal() ([]byte, error)
func (*PermissionChange_Modified) MarshalJSON ¶
func (m *PermissionChange_Modified) MarshalJSON() ([]byte, error)
func (*PermissionChange_Modified) ProtoMessage ¶
func (*PermissionChange_Modified) ProtoMessage()
func (*PermissionChange_Modified) ProtoReflect ¶
func (m *PermissionChange_Modified) ProtoReflect() preflect.Message
func (*PermissionChange_Modified) Reset ¶
func (m *PermissionChange_Modified) Reset()
func (*PermissionChange_Modified) SetFieldMask ¶
func (m *PermissionChange_Modified) SetFieldMask(fv *Permission_FieldMask)
func (*PermissionChange_Modified) SetName ¶
func (m *PermissionChange_Modified) SetName(fv *Name)
func (*PermissionChange_Modified) SetPermission ¶
func (m *PermissionChange_Modified) SetPermission(fv *Permission)
func (*PermissionChange_Modified) SetPreviousViewIndex ¶
func (m *PermissionChange_Modified) SetPreviousViewIndex(fv int32)
func (*PermissionChange_Modified) SetViewIndex ¶
func (m *PermissionChange_Modified) SetViewIndex(fv int32)
func (*PermissionChange_Modified) String ¶
func (m *PermissionChange_Modified) String() string
func (*PermissionChange_Modified) Unmarshal ¶
func (m *PermissionChange_Modified) Unmarshal(b []byte) error
func (*PermissionChange_Modified) UnmarshalJSON ¶
func (m *PermissionChange_Modified) UnmarshalJSON(data []byte) error
type PermissionChange_Modified_ ¶
type PermissionChange_Modified_ struct { // Modified is returned when watched document is modified Modified *PermissionChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type PermissionChange_Removed ¶
type PermissionChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Permission 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 Permission is deleted or leaves Query view
func (*PermissionChange_Removed) Descriptor ¶
func (*PermissionChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use PermissionChange_Removed.ProtoReflect.Descriptor instead.
func (*PermissionChange_Removed) GetName ¶
func (m *PermissionChange_Removed) GetName() *Name
func (*PermissionChange_Removed) GetViewIndex ¶
func (m *PermissionChange_Removed) GetViewIndex() int32
func (*PermissionChange_Removed) GotenMessage ¶
func (*PermissionChange_Removed) GotenMessage()
func (*PermissionChange_Removed) GotenValidate ¶
func (obj *PermissionChange_Removed) GotenValidate() error
func (*PermissionChange_Removed) Marshal ¶
func (m *PermissionChange_Removed) Marshal() ([]byte, error)
func (*PermissionChange_Removed) MarshalJSON ¶
func (m *PermissionChange_Removed) MarshalJSON() ([]byte, error)
func (*PermissionChange_Removed) ProtoMessage ¶
func (*PermissionChange_Removed) ProtoMessage()
func (*PermissionChange_Removed) ProtoReflect ¶
func (m *PermissionChange_Removed) ProtoReflect() preflect.Message
func (*PermissionChange_Removed) Reset ¶
func (m *PermissionChange_Removed) Reset()
func (*PermissionChange_Removed) SetName ¶
func (m *PermissionChange_Removed) SetName(fv *Name)
func (*PermissionChange_Removed) SetViewIndex ¶
func (m *PermissionChange_Removed) SetViewIndex(fv int32)
func (*PermissionChange_Removed) String ¶
func (m *PermissionChange_Removed) String() string
func (*PermissionChange_Removed) Unmarshal ¶
func (m *PermissionChange_Removed) Unmarshal(b []byte) error
func (*PermissionChange_Removed) UnmarshalJSON ¶
func (m *PermissionChange_Removed) UnmarshalJSON(data []byte) error
type PermissionChange_Removed_ ¶
type PermissionChange_Removed_ struct { // Removed is returned when Permission is deleted or leaves Query view Removed *PermissionChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type PermissionFieldPathBuilder ¶
type PermissionFieldPathBuilder struct{}
func NewPermissionFieldPathBuilder ¶
func NewPermissionFieldPathBuilder() PermissionFieldPathBuilder
func (PermissionFieldPathBuilder) Description ¶
func (PermissionFieldPathBuilder) Description() PermissionPathSelectorDescription
func (PermissionFieldPathBuilder) Metadata ¶
func (PermissionFieldPathBuilder) Metadata() PermissionPathSelectorMetadata
func (PermissionFieldPathBuilder) Name ¶
func (PermissionFieldPathBuilder) Name() PermissionPathSelectorName
func (PermissionFieldPathBuilder) Title ¶
func (PermissionFieldPathBuilder) Title() PermissionPathSelectorTitle
type PermissionList ¶
type PermissionList []*Permission
func (PermissionList) Append ¶
func (l PermissionList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (PermissionList) AppendList ¶
func (l PermissionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (PermissionList) At ¶
func (l PermissionList) At(idx int) gotenresource.Resource
func (PermissionList) Length ¶
func (l PermissionList) Length() int
func (PermissionList) Set ¶
func (l PermissionList) Set(idx int, res gotenresource.Resource)
func (PermissionList) Slice ¶
func (l PermissionList) Slice(first, second int) gotenresource.ResourceList
type PermissionMap ¶
type PermissionMap map[Name]*Permission
func (PermissionMap) Delete ¶
func (m PermissionMap) Delete(name gotenresource.Name)
func (PermissionMap) ForEach ¶
func (m PermissionMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (PermissionMap) Get ¶
func (m PermissionMap) Get(name gotenresource.Name) gotenresource.Resource
func (PermissionMap) Length ¶
func (m PermissionMap) Length() int
func (PermissionMap) Set ¶
func (m PermissionMap) Set(res gotenresource.Resource)
type PermissionMapPathSelectorMetadataAnnotations ¶
type PermissionMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (PermissionMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s PermissionMapPathSelectorMetadataAnnotations) FieldPath() *Permission_FieldSubPath
func (PermissionMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s PermissionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionMapPathSelectorMetadataAnnotations) WithValue ¶
func (s PermissionMapPathSelectorMetadataAnnotations) WithValue(value string) *Permission_FieldSubPathValue
type PermissionMapPathSelectorMetadataLabels ¶
type PermissionMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (PermissionMapPathSelectorMetadataLabels) FieldPath ¶
func (s PermissionMapPathSelectorMetadataLabels) FieldPath() *Permission_FieldSubPath
func (PermissionMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s PermissionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionMapPathSelectorMetadataLabels) WithValue ¶
func (s PermissionMapPathSelectorMetadataLabels) WithValue(value string) *Permission_FieldSubPathValue
type PermissionMapPathSelectorMetadataShards ¶
type PermissionMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (PermissionMapPathSelectorMetadataShards) FieldPath ¶
func (s PermissionMapPathSelectorMetadataShards) FieldPath() *Permission_FieldSubPath
func (PermissionMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s PermissionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Permission_FieldSubPathArrayOfValues
func (PermissionMapPathSelectorMetadataShards) WithValue ¶
func (s PermissionMapPathSelectorMetadataShards) WithValue(value int64) *Permission_FieldSubPathValue
type PermissionNameList ¶
type PermissionNameList []*Name
func (PermissionNameList) Append ¶
func (l PermissionNameList) Append(name gotenresource.Name) gotenresource.NameList
func (PermissionNameList) AppendList ¶
func (l PermissionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (PermissionNameList) At ¶
func (l PermissionNameList) At(idx int) gotenresource.Name
func (PermissionNameList) Length ¶
func (l PermissionNameList) Length() int
func (PermissionNameList) Set ¶
func (l PermissionNameList) Set(idx int, name gotenresource.Name)
func (PermissionNameList) Slice ¶
func (l PermissionNameList) Slice(first, second int) gotenresource.NameList
type PermissionPathSelectorDescription ¶
type PermissionPathSelectorDescription struct{}
func (PermissionPathSelectorDescription) FieldPath ¶
func (PermissionPathSelectorDescription) FieldPath() *Permission_FieldTerminalPath
func (PermissionPathSelectorDescription) WithArrayOfValues ¶
func (s PermissionPathSelectorDescription) WithArrayOfValues(values []string) *Permission_FieldTerminalPathArrayOfValues
func (PermissionPathSelectorDescription) WithValue ¶
func (s PermissionPathSelectorDescription) WithValue(value string) *Permission_FieldTerminalPathValue
type PermissionPathSelectorMetadata ¶
type PermissionPathSelectorMetadata struct{}
func (PermissionPathSelectorMetadata) Annotations ¶
func (PermissionPathSelectorMetadata) Annotations() PermissionPathSelectorMetadataAnnotations
func (PermissionPathSelectorMetadata) CreateTime ¶
func (PermissionPathSelectorMetadata) CreateTime() PermissionPathSelectorMetadataCreateTime
func (PermissionPathSelectorMetadata) DeleteTime ¶ added in v0.8.0
func (PermissionPathSelectorMetadata) DeleteTime() PermissionPathSelectorMetadataDeleteTime
func (PermissionPathSelectorMetadata) FieldPath ¶
func (PermissionPathSelectorMetadata) FieldPath() *Permission_FieldTerminalPath
func (PermissionPathSelectorMetadata) Generation ¶
func (PermissionPathSelectorMetadata) Generation() PermissionPathSelectorMetadataGeneration
func (PermissionPathSelectorMetadata) Labels ¶
func (PermissionPathSelectorMetadata) Labels() PermissionPathSelectorMetadataLabels
func (PermissionPathSelectorMetadata) Lifecycle ¶ added in v0.8.0
func (PermissionPathSelectorMetadata) Lifecycle() PermissionPathSelectorMetadataLifecycle
func (PermissionPathSelectorMetadata) OwnerReferences ¶
func (PermissionPathSelectorMetadata) OwnerReferences() PermissionPathSelectorMetadataOwnerReferences
func (PermissionPathSelectorMetadata) ResourceVersion ¶
func (PermissionPathSelectorMetadata) ResourceVersion() PermissionPathSelectorMetadataResourceVersion
func (PermissionPathSelectorMetadata) Shards ¶
func (PermissionPathSelectorMetadata) Shards() PermissionPathSelectorMetadataShards
func (PermissionPathSelectorMetadata) Syncing ¶
func (PermissionPathSelectorMetadata) Syncing() PermissionPathSelectorMetadataSyncing
func (PermissionPathSelectorMetadata) UpdateTime ¶
func (PermissionPathSelectorMetadata) UpdateTime() PermissionPathSelectorMetadataUpdateTime
func (PermissionPathSelectorMetadata) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Permission_FieldTerminalPathArrayOfValues
func (PermissionPathSelectorMetadata) WithSubArrayItemValue ¶
func (s PermissionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Permission_FieldSubPathArrayItemValue
func (PermissionPathSelectorMetadata) WithSubArrayOfValues ¶
func (s PermissionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadata) WithSubPath ¶
func (PermissionPathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Permission_FieldSubPath
func (PermissionPathSelectorMetadata) WithSubValue ¶
func (s PermissionPathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Permission_FieldSubPathValue
func (PermissionPathSelectorMetadata) WithValue ¶
func (s PermissionPathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Permission_FieldTerminalPathValue
type PermissionPathSelectorMetadataAnnotations ¶
type PermissionPathSelectorMetadataAnnotations struct{}
func (PermissionPathSelectorMetadataAnnotations) FieldPath ¶
func (PermissionPathSelectorMetadataAnnotations) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataAnnotations) WithValue ¶
func (s PermissionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataCreateTime ¶
type PermissionPathSelectorMetadataCreateTime struct{}
func (PermissionPathSelectorMetadataCreateTime) FieldPath ¶
func (PermissionPathSelectorMetadataCreateTime) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataCreateTime) WithValue ¶
func (s PermissionPathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataDeleteTime ¶ added in v0.8.0
type PermissionPathSelectorMetadataDeleteTime struct{}
func (PermissionPathSelectorMetadataDeleteTime) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataDeleteTime) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataDeleteTime) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataDeleteTime) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataGeneration ¶
type PermissionPathSelectorMetadataGeneration struct{}
func (PermissionPathSelectorMetadataGeneration) FieldPath ¶
func (PermissionPathSelectorMetadataGeneration) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataGeneration) WithValue ¶
func (s PermissionPathSelectorMetadataGeneration) WithValue(value int64) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataLabels ¶
type PermissionPathSelectorMetadataLabels struct{}
func (PermissionPathSelectorMetadataLabels) FieldPath ¶
func (PermissionPathSelectorMetadataLabels) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataLabels) WithKey ¶
func (PermissionPathSelectorMetadataLabels) WithKey(key string) PermissionMapPathSelectorMetadataLabels
func (PermissionPathSelectorMetadataLabels) WithValue ¶
func (s PermissionPathSelectorMetadataLabels) WithValue(value map[string]string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataLifecycle ¶ added in v0.8.0
type PermissionPathSelectorMetadataLifecycle struct{}
func (PermissionPathSelectorMetadataLifecycle) BlockDeletion ¶ added in v0.8.0
func (PermissionPathSelectorMetadataLifecycle) BlockDeletion() PermissionPathSelectorMetadataLifecycleBlockDeletion
func (PermissionPathSelectorMetadataLifecycle) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataLifecycle) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataLifecycle) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataLifecycle) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataLifecycleBlockDeletion ¶ added in v0.8.0
type PermissionPathSelectorMetadataLifecycleBlockDeletion struct{}
func (PermissionPathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataLifecycleBlockDeletion) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataLifecycleState ¶ added in v0.8.0
type PermissionPathSelectorMetadataLifecycleState struct{}
func (PermissionPathSelectorMetadataLifecycleState) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataLifecycleState) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataLifecycleState) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataLifecycleState) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferences ¶
type PermissionPathSelectorMetadataOwnerReferences struct{}
func (PermissionPathSelectorMetadataOwnerReferences) BlockOwnerDeletion ¶
func (PermissionPathSelectorMetadataOwnerReferences) BlockOwnerDeletion() PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
func (PermissionPathSelectorMetadataOwnerReferences) Controller ¶
func (PermissionPathSelectorMetadataOwnerReferences) FieldPath ¶
func (PermissionPathSelectorMetadataOwnerReferences) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶ added in v0.8.0
func (PermissionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (PermissionPathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s PermissionPathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Permission_FieldSubPathArrayItemValue
func (PermissionPathSelectorMetadataOwnerReferences) WithValue ¶
func (s PermissionPathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion ¶
type PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}
func (PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue ¶
func (s PermissionPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesController ¶
type PermissionPathSelectorMetadataOwnerReferencesController struct{}
func (PermissionPathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (PermissionPathSelectorMetadataOwnerReferencesController) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s PermissionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesKind ¶
type PermissionPathSelectorMetadataOwnerReferencesKind struct{}
func (PermissionPathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (PermissionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s PermissionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesName ¶
type PermissionPathSelectorMetadataOwnerReferencesName struct{}
func (PermissionPathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (PermissionPathSelectorMetadataOwnerReferencesName) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s PermissionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesRegion ¶ added in v0.8.0
type PermissionPathSelectorMetadataOwnerReferencesRegion struct{}
func (PermissionPathSelectorMetadataOwnerReferencesRegion) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesRegion) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶ added in v0.8.0
type PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataOwnerReferencesVersion ¶ added in v0.8.0
type PermissionPathSelectorMetadataOwnerReferencesVersion struct{}
func (PermissionPathSelectorMetadataOwnerReferencesVersion) FieldPath ¶ added in v0.8.0
func (PermissionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataOwnerReferencesVersion) WithValue ¶ added in v0.8.0
func (s PermissionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataResourceVersion ¶
type PermissionPathSelectorMetadataResourceVersion struct{}
func (PermissionPathSelectorMetadataResourceVersion) FieldPath ¶
func (PermissionPathSelectorMetadataResourceVersion) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataResourceVersion) WithValue ¶
func (s PermissionPathSelectorMetadataResourceVersion) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataShards ¶
type PermissionPathSelectorMetadataShards struct{}
func (PermissionPathSelectorMetadataShards) FieldPath ¶
func (PermissionPathSelectorMetadataShards) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataShards) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataShards) WithKey ¶
func (PermissionPathSelectorMetadataShards) WithKey(key string) PermissionMapPathSelectorMetadataShards
func (PermissionPathSelectorMetadataShards) WithValue ¶
func (s PermissionPathSelectorMetadataShards) WithValue(value map[string]int64) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataSyncing ¶
type PermissionPathSelectorMetadataSyncing struct{}
func (PermissionPathSelectorMetadataSyncing) FieldPath ¶
func (PermissionPathSelectorMetadataSyncing) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataSyncing) OwningRegion ¶
func (PermissionPathSelectorMetadataSyncing) OwningRegion() PermissionPathSelectorMetadataSyncingOwningRegion
func (PermissionPathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataSyncing) WithValue ¶
func (s PermissionPathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataSyncingOwningRegion ¶
type PermissionPathSelectorMetadataSyncingOwningRegion struct{}
func (PermissionPathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (PermissionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s PermissionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataSyncingRegions ¶
type PermissionPathSelectorMetadataSyncingRegions struct{}
func (PermissionPathSelectorMetadataSyncingRegions) FieldPath ¶
func (PermissionPathSelectorMetadataSyncingRegions) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s PermissionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Permission_FieldSubPathArrayItemValue
func (PermissionPathSelectorMetadataSyncingRegions) WithValue ¶
func (s PermissionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataTags ¶
type PermissionPathSelectorMetadataTags struct{}
func (PermissionPathSelectorMetadataTags) FieldPath ¶
func (PermissionPathSelectorMetadataTags) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataTags) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataTags) WithItemValue ¶
func (s PermissionPathSelectorMetadataTags) WithItemValue(value string) *Permission_FieldSubPathArrayItemValue
func (PermissionPathSelectorMetadataTags) WithValue ¶
func (s PermissionPathSelectorMetadataTags) WithValue(value []string) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataUpdateTime ¶
type PermissionPathSelectorMetadataUpdateTime struct{}
func (PermissionPathSelectorMetadataUpdateTime) FieldPath ¶
func (PermissionPathSelectorMetadataUpdateTime) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataUpdateTime) WithValue ¶
func (s PermissionPathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Permission_FieldSubPathValue
type PermissionPathSelectorMetadataUuid ¶
type PermissionPathSelectorMetadataUuid struct{}
func (PermissionPathSelectorMetadataUuid) FieldPath ¶
func (PermissionPathSelectorMetadataUuid) FieldPath() *Permission_FieldSubPath
func (PermissionPathSelectorMetadataUuid) WithArrayOfValues ¶
func (s PermissionPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Permission_FieldSubPathArrayOfValues
func (PermissionPathSelectorMetadataUuid) WithValue ¶
func (s PermissionPathSelectorMetadataUuid) WithValue(value string) *Permission_FieldSubPathValue
type PermissionPathSelectorName ¶
type PermissionPathSelectorName struct{}
func (PermissionPathSelectorName) FieldPath ¶
func (PermissionPathSelectorName) FieldPath() *Permission_FieldTerminalPath
func (PermissionPathSelectorName) WithArrayOfValues ¶
func (s PermissionPathSelectorName) WithArrayOfValues(values []*Name) *Permission_FieldTerminalPathArrayOfValues
func (PermissionPathSelectorName) WithValue ¶
func (s PermissionPathSelectorName) WithValue(value *Name) *Permission_FieldTerminalPathValue
type PermissionPathSelectorTitle ¶
type PermissionPathSelectorTitle struct{}
func (PermissionPathSelectorTitle) FieldPath ¶
func (PermissionPathSelectorTitle) FieldPath() *Permission_FieldTerminalPath
func (PermissionPathSelectorTitle) WithArrayOfValues ¶
func (s PermissionPathSelectorTitle) WithArrayOfValues(values []string) *Permission_FieldTerminalPathArrayOfValues
func (PermissionPathSelectorTitle) WithValue ¶
func (s PermissionPathSelectorTitle) WithValue(value string) *Permission_FieldTerminalPathValue
type PermissionReferenceList ¶
type PermissionReferenceList []*Reference
func (PermissionReferenceList) Append ¶
func (l PermissionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (PermissionReferenceList) AppendList ¶
func (l PermissionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (PermissionReferenceList) At ¶
func (l PermissionReferenceList) At(idx int) gotenresource.Reference
func (PermissionReferenceList) Length ¶
func (l PermissionReferenceList) Length() int
func (PermissionReferenceList) Set ¶
func (l PermissionReferenceList) Set(idx int, ref gotenresource.Reference)
func (PermissionReferenceList) Slice ¶
func (l PermissionReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Permission_FieldMask ¶
type Permission_FieldMask struct {
Paths []Permission_FieldPath
}
func FullPermission_FieldMask ¶
func FullPermission_FieldMask() *Permission_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Permission_FieldMask) *Permission_FieldMask
func (*Permission_FieldMask) AppendPath ¶
func (fieldMask *Permission_FieldMask) AppendPath(path Permission_FieldPath)
func (*Permission_FieldMask) AppendRawPath ¶
func (fieldMask *Permission_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Permission_FieldMask) DecodeFirestore ¶
func (fieldMask *Permission_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Permission_FieldMask) EncodeFirestore ¶
func (fieldMask *Permission_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Permission_FieldMask) FilterInputFields ¶
func (fieldMask *Permission_FieldMask) FilterInputFields() *Permission_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Permission_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Permission_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Permission_FieldMask) GetPaths ¶
func (fieldMask *Permission_FieldMask) GetPaths() []Permission_FieldPath
func (*Permission_FieldMask) GetRawPaths ¶
func (fieldMask *Permission_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Permission_FieldMask) IsFull ¶
func (fieldMask *Permission_FieldMask) IsFull() bool
func (Permission_FieldMask) Marshal ¶
func (fieldMask Permission_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Permission_FieldMask) MarshalJSON ¶
func (fieldMask Permission_FieldMask) MarshalJSON() ([]byte, error)
func (*Permission_FieldMask) PathsCount ¶
func (fieldMask *Permission_FieldMask) PathsCount() int
func (*Permission_FieldMask) Project ¶
func (fieldMask *Permission_FieldMask) Project(source *Permission) *Permission
func (*Permission_FieldMask) ProjectRaw ¶
func (fieldMask *Permission_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Permission_FieldMask) ProtoMessage ¶
func (fieldMask *Permission_FieldMask) ProtoMessage()
func (*Permission_FieldMask) ProtoReflect ¶
func (fieldMask *Permission_FieldMask) ProtoReflect() preflect.Message
func (*Permission_FieldMask) Reset ¶
func (fieldMask *Permission_FieldMask) Reset()
func (*Permission_FieldMask) Set ¶
func (fieldMask *Permission_FieldMask) Set(target, source *Permission)
func (*Permission_FieldMask) SetFromCliFlag ¶
func (fieldMask *Permission_FieldMask) SetFromCliFlag(raw string) error
func (*Permission_FieldMask) SetRaw ¶
func (fieldMask *Permission_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Permission_FieldMask) Size ¶
func (fieldMask *Permission_FieldMask) Size() int
func (*Permission_FieldMask) String ¶
func (fieldMask *Permission_FieldMask) String() string
func (*Permission_FieldMask) Subtract ¶
func (fieldMask *Permission_FieldMask) Subtract(other *Permission_FieldMask) *Permission_FieldMask
func (*Permission_FieldMask) SubtractRaw ¶
func (fieldMask *Permission_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Permission_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Permission_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Permission_FieldMask) Unmarshal ¶
func (fieldMask *Permission_FieldMask) Unmarshal(data []byte) error
func (*Permission_FieldMask) UnmarshalJSON ¶
func (fieldMask *Permission_FieldMask) UnmarshalJSON(data []byte) error
type Permission_FieldPath ¶
type Permission_FieldPath interface { gotenobject.FieldPath Selector() Permission_FieldPathSelector Get(source *Permission) []interface{} GetSingle(source *Permission) (interface{}, bool) ClearValue(item *Permission) // Those methods build corresponding Permission_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Permission_FieldPathValue WithIArrayOfValues(values interface{}) Permission_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Permission_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildPermission_FieldPath ¶
func BuildPermission_FieldPath(fp gotenobject.RawFieldPath) (Permission_FieldPath, error)
func MustParsePermission_FieldPath ¶
func MustParsePermission_FieldPath(rawField string) Permission_FieldPath
func ParsePermission_FieldPath ¶
func ParsePermission_FieldPath(rawField string) (Permission_FieldPath, error)
type Permission_FieldPathArrayItemValue ¶
type Permission_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Permission_FieldPath ContainsValue(*Permission) bool }
Permission_FieldPathArrayItemValue allows storing single item in Path-specific values for Permission according to their type Present only for array (repeated) types.
func MustParsePermission_FieldPathArrayItemValue ¶
func MustParsePermission_FieldPathArrayItemValue(pathStr, valueStr string) Permission_FieldPathArrayItemValue
func ParsePermission_FieldPathArrayItemValue ¶
func ParsePermission_FieldPathArrayItemValue(pathStr, valueStr string) (Permission_FieldPathArrayItemValue, error)
ParsePermission_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Permission_FieldPathArrayOfValues ¶
type Permission_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Permission_FieldPath }
Permission_FieldPathArrayOfValues allows storing slice of values for Permission fields according to their type
func MustParsePermission_FieldPathArrayOfValues ¶
func MustParsePermission_FieldPathArrayOfValues(pathStr, valuesStr string) Permission_FieldPathArrayOfValues
func ParsePermission_FieldPathArrayOfValues ¶
func ParsePermission_FieldPathArrayOfValues(pathStr, valuesStr string) (Permission_FieldPathArrayOfValues, error)
type Permission_FieldPathSelector ¶
type Permission_FieldPathSelector int32
const ( Permission_FieldPathSelectorName Permission_FieldPathSelector = 0 Permission_FieldPathSelectorTitle Permission_FieldPathSelector = 1 Permission_FieldPathSelectorDescription Permission_FieldPathSelector = 2 Permission_FieldPathSelectorMetadata Permission_FieldPathSelector = 3 )
func (Permission_FieldPathSelector) String ¶
func (s Permission_FieldPathSelector) String() string
type Permission_FieldPathValue ¶
type Permission_FieldPathValue interface { Permission_FieldPath gotenobject.FieldPathValue SetTo(target **Permission) CompareWith(*Permission) (cmp int, comparable bool) }
Permission_FieldPathValue allows storing values for Permission fields according to their type
func MustParsePermission_FieldPathValue ¶
func MustParsePermission_FieldPathValue(pathStr, valueStr string) Permission_FieldPathValue
func ParsePermission_FieldPathValue ¶
func ParsePermission_FieldPathValue(pathStr, valueStr string) (Permission_FieldPathValue, error)
type Permission_FieldSubPath ¶
type Permission_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Permission_FieldSubPath) AsMetadataSubPath ¶
func (fps *Permission_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
func (*Permission_FieldSubPath) ClearValue ¶
func (fps *Permission_FieldSubPath) ClearValue(item *Permission)
func (*Permission_FieldSubPath) ClearValueRaw ¶
func (fps *Permission_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Permission_FieldSubPath) Get ¶
func (fps *Permission_FieldSubPath) Get(source *Permission) (values []interface{})
Get returns all values pointed by selected field from source Permission
func (*Permission_FieldSubPath) GetDefault ¶
func (fps *Permission_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Permission_FieldSubPath) GetRaw ¶
func (fps *Permission_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Permission_FieldSubPath) GetSingle ¶
func (fps *Permission_FieldSubPath) GetSingle(source *Permission) (interface{}, bool)
GetSingle returns value of selected field from source Permission
func (*Permission_FieldSubPath) GetSingleRaw ¶
func (fps *Permission_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Permission_FieldSubPath) IsLeaf ¶
func (fps *Permission_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Permission_FieldSubPath) JSONString ¶
func (fps *Permission_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Permission_FieldSubPath) Selector ¶
func (fps *Permission_FieldSubPath) Selector() Permission_FieldPathSelector
func (*Permission_FieldSubPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fps *Permission_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Permission_FieldSubPath) String ¶
func (fps *Permission_FieldSubPath) String() string
String returns path representation in proto convention
func (*Permission_FieldSubPath) WithIArrayItemValue ¶
func (fps *Permission_FieldSubPath) WithIArrayItemValue(value interface{}) Permission_FieldPathArrayItemValue
func (*Permission_FieldSubPath) WithIArrayOfValues ¶
func (fps *Permission_FieldSubPath) WithIArrayOfValues(values interface{}) Permission_FieldPathArrayOfValues
func (*Permission_FieldSubPath) WithIValue ¶
func (fps *Permission_FieldSubPath) WithIValue(value interface{}) Permission_FieldPathValue
func (*Permission_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Permission_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Permission_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Permission_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Permission_FieldSubPath) WithRawIValue ¶
func (fps *Permission_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Permission_FieldSubPathArrayItemValue ¶
type Permission_FieldSubPathArrayItemValue struct { Permission_FieldPath // contains filtered or unexported fields }
func (*Permission_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *Permission_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (ntt_meta.Meta_FieldPathArrayItemValue, bool)
func (*Permission_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Permission_FieldSubPathArrayItemValue) ContainsValue(source *Permission) bool
Contains returns a boolean indicating if value that is being held is present in given 'Permission'
func (*Permission_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Permission_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Permission_FieldSubPathArrayOfValues ¶
type Permission_FieldSubPathArrayOfValues struct { Permission_FieldPath // contains filtered or unexported fields }
func (*Permission_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *Permission_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)
func (*Permission_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Permission_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Permission_FieldSubPathValue ¶
type Permission_FieldSubPathValue struct { Permission_FieldPath // contains filtered or unexported fields }
func (*Permission_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *Permission_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
func (*Permission_FieldSubPathValue) CompareWith ¶
func (fpvs *Permission_FieldSubPathValue) CompareWith(source *Permission) (int, bool)
func (*Permission_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Permission_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Permission_FieldSubPathValue) GetRawValue ¶
func (fpvs *Permission_FieldSubPathValue) GetRawValue() interface{}
func (*Permission_FieldSubPathValue) SetTo ¶
func (fpvs *Permission_FieldSubPathValue) SetTo(target **Permission)
func (*Permission_FieldSubPathValue) SetToRaw ¶
func (fpvs *Permission_FieldSubPathValue) SetToRaw(target proto.Message)
type Permission_FieldTerminalPath ¶
type Permission_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Permission_FieldTerminalPath) ClearValue ¶
func (fp *Permission_FieldTerminalPath) ClearValue(item *Permission)
func (*Permission_FieldTerminalPath) ClearValueRaw ¶
func (fp *Permission_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Permission_FieldTerminalPath) Get ¶
func (fp *Permission_FieldTerminalPath) Get(source *Permission) (values []interface{})
Get returns all values pointed by specific field from source Permission
func (*Permission_FieldTerminalPath) GetDefault ¶
func (fp *Permission_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Permission_FieldTerminalPath) GetRaw ¶
func (fp *Permission_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Permission_FieldTerminalPath) GetSingle ¶
func (fp *Permission_FieldTerminalPath) GetSingle(source *Permission) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Permission
func (*Permission_FieldTerminalPath) GetSingleRaw ¶
func (fp *Permission_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Permission_FieldTerminalPath) IsLeaf ¶
func (fp *Permission_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Permission_FieldTerminalPath) JSONString ¶
func (fp *Permission_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Permission_FieldTerminalPath) Selector ¶
func (fp *Permission_FieldTerminalPath) Selector() Permission_FieldPathSelector
func (*Permission_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Permission_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Permission_FieldTerminalPath) String ¶
func (fp *Permission_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Permission_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Permission_FieldTerminalPath) WithIArrayItemValue(value interface{}) Permission_FieldPathArrayItemValue
func (*Permission_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Permission_FieldTerminalPath) WithIArrayOfValues(values interface{}) Permission_FieldPathArrayOfValues
func (*Permission_FieldTerminalPath) WithIValue ¶
func (fp *Permission_FieldTerminalPath) WithIValue(value interface{}) Permission_FieldPathValue
func (*Permission_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Permission_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Permission_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Permission_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Permission_FieldTerminalPath) WithRawIValue ¶
func (fp *Permission_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Permission_FieldTerminalPathArrayItemValue ¶
type Permission_FieldTerminalPathArrayItemValue struct { Permission_FieldTerminalPath // contains filtered or unexported fields }
func (*Permission_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Permission_FieldTerminalPathArrayItemValue) ContainsValue(source *Permission) bool
Contains returns a boolean indicating if value that is being held is present in given 'Permission'
func (*Permission_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Permission as interface{}
func (*Permission_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetSingle(source *Permission) (interface{}, bool)
func (*Permission_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Permission_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Permission_FieldTerminalPathArrayOfValues ¶
type Permission_FieldTerminalPathArrayOfValues struct { Permission_FieldTerminalPath // contains filtered or unexported fields }
func (*Permission_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues ¶
func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
func (*Permission_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
func (*Permission_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Permission_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues ¶
func (fpaov *Permission_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)
func (*Permission_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Permission_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Permission_FieldTerminalPathValue ¶
type Permission_FieldTerminalPathValue struct { Permission_FieldTerminalPath // contains filtered or unexported fields }
func (*Permission_FieldTerminalPathValue) AsDescriptionValue ¶
func (fpv *Permission_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
func (*Permission_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *Permission_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
func (*Permission_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Permission_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Permission_FieldTerminalPathValue) AsTitleValue ¶
func (fpv *Permission_FieldTerminalPathValue) AsTitleValue() (string, bool)
func (*Permission_FieldTerminalPathValue) CompareWith ¶
func (fpv *Permission_FieldTerminalPathValue) CompareWith(source *Permission) (int, bool)
CompareWith compares value in the 'Permission_FieldTerminalPathValue' with the value under path in 'Permission'.
func (*Permission_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Permission_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Permission_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Permission_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Permission' as interface{}
func (*Permission_FieldTerminalPathValue) SetTo ¶
func (fpv *Permission_FieldTerminalPathValue) SetTo(target **Permission)
SetTo stores value for selected field for object Permission
func (*Permission_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Permission_FieldTerminalPathValue) SetToRaw(target proto.Message)
type QueryResultChange ¶
type QueryResultChange struct { Changes []*PermissionChange 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 { Permissions []*Permission PrevPageCursor *PagerCursor NextPageCursor *PagerCursor }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
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) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MakeReference ¶
func MakeReference(name *Name, permission *Permission) (*Reference, error)
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetIParentName ¶ added in v0.8.0
func (ref *Reference) GetIParentName() gotenresource.Name
func (*Reference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
func (*Reference) GetIdParts ¶
func (*Reference) GetPattern ¶
func (ref *Reference) GetPattern() gotenresource.NamePattern
func (*Reference) GetPermission ¶
func (ref *Reference) GetPermission() *Permission
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) Resolve ¶
func (ref *Reference) Resolve(resolved *Permission)
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶ added in v0.4.29
func (q *WatchQuery) String() string
Source Files ¶
- permission.pb.access.go
- permission.pb.collections.go
- permission.pb.descriptor.go
- permission.pb.fieldmask.go
- permission.pb.fieldpath.go
- permission.pb.fieldpathbuilder.go
- permission.pb.filter.go
- permission.pb.filterbuilder.go
- permission.pb.go
- permission.pb.name.go
- permission.pb.namebuilder.go
- permission.pb.object_ext.go
- permission.pb.pagination.go
- permission.pb.query.go
- permission.pb.validate.go
- permission.pb.view.go
- permission_change.pb.change.go
- permission_change.pb.go
- permission_change.pb.validate.go