Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access GroupAccess) 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) 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 *Group) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Group) (out []*Group)
- 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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 *Group) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Group_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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 Group
- func (o *Group) Clone() *Group
- func (o *Group) CloneRaw() gotenobject.GotenObjectExt
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetDisplayName() string
- func (m *Group) GetEmail() string
- func (m *Group) GetMetadata() *ntt_meta.Meta
- func (m *Group) GetName() *Name
- func (r *Group) GetRawName() gotenresource.Name
- func (r *Group) GetResourceDescriptor() gotenresource.Descriptor
- func (*Group) GotenMessage()
- func (o *Group) GotenObjectExt()
- func (obj *Group) GotenValidate() error
- func (o *Group) MakeDiffFieldMask(other *Group) *Group_FieldMask
- func (o *Group) MakeFullFieldMask() *Group_FieldMask
- func (o *Group) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Group) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Group) Marshal() ([]byte, error)
- func (m *Group) MarshalJSON() ([]byte, error)
- func (r *Group) MaybePopulateDefaults() error
- func (o *Group) Merge(source *Group)
- func (o *Group) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Group) ProtoMessage()
- func (m *Group) ProtoReflect() preflect.Message
- func (m *Group) Reset()
- func (m *Group) SetDisplayName(fv string)
- func (m *Group) SetEmail(fv string)
- func (m *Group) SetMetadata(fv *ntt_meta.Meta)
- func (m *Group) SetName(fv *Name)
- func (m *Group) String() string
- func (m *Group) Unmarshal(b []byte) error
- func (m *Group) UnmarshalJSON(data []byte) error
- type GroupAccess
- type GroupChange
- func (*GroupChange) Descriptor() ([]byte, []int)
- func (m *GroupChange) GetAdded() *GroupChange_Added
- func (m *GroupChange) GetChangeType() isGroupChange_ChangeType
- func (m *GroupChange) GetCurrent() *GroupChange_Current
- func (c *GroupChange) GetCurrentViewIndex() int32
- func (c *GroupChange) GetGroup() *Group
- func (c *GroupChange) GetGroupName() *Name
- func (m *GroupChange) GetModified() *GroupChange_Modified
- func (c *GroupChange) GetPreviousViewIndex() int32
- func (c *GroupChange) GetRawName() gotenresource.Name
- func (c *GroupChange) GetRawResource() gotenresource.Resource
- func (m *GroupChange) GetRemoved() *GroupChange_Removed
- func (*GroupChange) GotenMessage()
- func (obj *GroupChange) GotenValidate() error
- func (c *GroupChange) IsAdd() bool
- func (c *GroupChange) IsCurrent() bool
- func (c *GroupChange) IsDelete() bool
- func (c *GroupChange) IsModify() bool
- func (m *GroupChange) Marshal() ([]byte, error)
- func (m *GroupChange) MarshalJSON() ([]byte, error)
- func (*GroupChange) ProtoMessage()
- func (m *GroupChange) ProtoReflect() preflect.Message
- func (m *GroupChange) Reset()
- func (m *GroupChange) SetAdded(fv *GroupChange_Added)
- func (c *GroupChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *GroupChange) SetChangeType(ofv isGroupChange_ChangeType)
- func (m *GroupChange) SetCurrent(fv *GroupChange_Current)
- func (c *GroupChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *GroupChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *GroupChange) SetModified(fv *GroupChange_Modified)
- func (c *GroupChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *GroupChange) SetRemoved(fv *GroupChange_Removed)
- func (m *GroupChange) String() string
- func (m *GroupChange) Unmarshal(b []byte) error
- func (m *GroupChange) UnmarshalJSON(data []byte) error
- type GroupChangeList
- func (l GroupChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l GroupChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l GroupChangeList) At(idx int) gotenresource.ResourceChange
- func (l GroupChangeList) Length() int
- func (l GroupChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l GroupChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type GroupChangeMap
- func (m GroupChangeMap) Delete(name gotenresource.Name)
- func (m GroupChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m GroupChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m GroupChangeMap) Length() int
- func (m GroupChangeMap) Set(change gotenresource.ResourceChange)
- type GroupChange_Added
- func (*GroupChange_Added) Descriptor() ([]byte, []int)
- func (m *GroupChange_Added) GetGroup() *Group
- func (m *GroupChange_Added) GetViewIndex() int32
- func (*GroupChange_Added) GotenMessage()
- func (obj *GroupChange_Added) GotenValidate() error
- func (m *GroupChange_Added) Marshal() ([]byte, error)
- func (m *GroupChange_Added) MarshalJSON() ([]byte, error)
- func (*GroupChange_Added) ProtoMessage()
- func (m *GroupChange_Added) ProtoReflect() preflect.Message
- func (m *GroupChange_Added) Reset()
- func (m *GroupChange_Added) SetGroup(fv *Group)
- func (m *GroupChange_Added) SetViewIndex(fv int32)
- func (m *GroupChange_Added) String() string
- func (m *GroupChange_Added) Unmarshal(b []byte) error
- func (m *GroupChange_Added) UnmarshalJSON(data []byte) error
- type GroupChange_Added_
- type GroupChange_Current
- func (*GroupChange_Current) Descriptor() ([]byte, []int)
- func (m *GroupChange_Current) GetGroup() *Group
- func (*GroupChange_Current) GotenMessage()
- func (obj *GroupChange_Current) GotenValidate() error
- func (m *GroupChange_Current) Marshal() ([]byte, error)
- func (m *GroupChange_Current) MarshalJSON() ([]byte, error)
- func (*GroupChange_Current) ProtoMessage()
- func (m *GroupChange_Current) ProtoReflect() preflect.Message
- func (m *GroupChange_Current) Reset()
- func (m *GroupChange_Current) SetGroup(fv *Group)
- func (m *GroupChange_Current) String() string
- func (m *GroupChange_Current) Unmarshal(b []byte) error
- func (m *GroupChange_Current) UnmarshalJSON(data []byte) error
- type GroupChange_Current_
- type GroupChange_Modified
- func (*GroupChange_Modified) Descriptor() ([]byte, []int)
- func (m *GroupChange_Modified) GetFieldMask() *Group_FieldMask
- func (m *GroupChange_Modified) GetGroup() *Group
- func (m *GroupChange_Modified) GetName() *Name
- func (m *GroupChange_Modified) GetPreviousViewIndex() int32
- func (m *GroupChange_Modified) GetViewIndex() int32
- func (*GroupChange_Modified) GotenMessage()
- func (obj *GroupChange_Modified) GotenValidate() error
- func (m *GroupChange_Modified) Marshal() ([]byte, error)
- func (m *GroupChange_Modified) MarshalJSON() ([]byte, error)
- func (*GroupChange_Modified) ProtoMessage()
- func (m *GroupChange_Modified) ProtoReflect() preflect.Message
- func (m *GroupChange_Modified) Reset()
- func (m *GroupChange_Modified) SetFieldMask(fv *Group_FieldMask)
- func (m *GroupChange_Modified) SetGroup(fv *Group)
- func (m *GroupChange_Modified) SetName(fv *Name)
- func (m *GroupChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *GroupChange_Modified) SetViewIndex(fv int32)
- func (m *GroupChange_Modified) String() string
- func (m *GroupChange_Modified) Unmarshal(b []byte) error
- func (m *GroupChange_Modified) UnmarshalJSON(data []byte) error
- type GroupChange_Modified_
- type GroupChange_Removed
- func (*GroupChange_Removed) Descriptor() ([]byte, []int)
- func (m *GroupChange_Removed) GetName() *Name
- func (m *GroupChange_Removed) GetViewIndex() int32
- func (*GroupChange_Removed) GotenMessage()
- func (obj *GroupChange_Removed) GotenValidate() error
- func (m *GroupChange_Removed) Marshal() ([]byte, error)
- func (m *GroupChange_Removed) MarshalJSON() ([]byte, error)
- func (*GroupChange_Removed) ProtoMessage()
- func (m *GroupChange_Removed) ProtoReflect() preflect.Message
- func (m *GroupChange_Removed) Reset()
- func (m *GroupChange_Removed) SetName(fv *Name)
- func (m *GroupChange_Removed) SetViewIndex(fv int32)
- func (m *GroupChange_Removed) String() string
- func (m *GroupChange_Removed) Unmarshal(b []byte) error
- func (m *GroupChange_Removed) UnmarshalJSON(data []byte) error
- type GroupChange_Removed_
- type GroupFieldPathBuilder
- type GroupList
- func (l GroupList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l GroupList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l GroupList) At(idx int) gotenresource.Resource
- func (l GroupList) Length() int
- func (l GroupList) Set(idx int, res gotenresource.Resource)
- func (l GroupList) Slice(first, second int) gotenresource.ResourceList
- type GroupMap
- type GroupMapPathSelectorMetadataAnnotations
- type GroupMapPathSelectorMetadataLabels
- type GroupMapPathSelectorMetadataShards
- type GroupNameList
- func (l GroupNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l GroupNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l GroupNameList) At(idx int) gotenresource.Name
- func (l GroupNameList) Length() int
- func (l GroupNameList) Set(idx int, name gotenresource.Name)
- func (l GroupNameList) Slice(first, second int) gotenresource.NameList
- type GroupParentNameList
- func (l GroupParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
- func (l GroupParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
- func (l GroupParentNameList) At(idx int) gotenresource.Name
- func (l GroupParentNameList) Length() int
- func (l GroupParentNameList) Set(idx int, name gotenresource.Name)
- func (l GroupParentNameList) Slice(first, second int) gotenresource.ParentNameList
- type GroupParentReferenceList
- func (l GroupParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
- func (l GroupParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
- func (l GroupParentReferenceList) At(idx int) gotenresource.Reference
- func (l GroupParentReferenceList) Length() int
- func (l GroupParentReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l GroupParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
- type GroupPathSelectorDisplayName
- type GroupPathSelectorEmail
- type GroupPathSelectorMetadata
- func (GroupPathSelectorMetadata) Annotations() GroupPathSelectorMetadataAnnotations
- func (GroupPathSelectorMetadata) CreateTime() GroupPathSelectorMetadataCreateTime
- func (GroupPathSelectorMetadata) DeleteTime() GroupPathSelectorMetadataDeleteTime
- func (GroupPathSelectorMetadata) FieldPath() *Group_FieldTerminalPath
- func (GroupPathSelectorMetadata) Generation() GroupPathSelectorMetadataGeneration
- func (GroupPathSelectorMetadata) Labels() GroupPathSelectorMetadataLabels
- func (GroupPathSelectorMetadata) Lifecycle() GroupPathSelectorMetadataLifecycle
- func (GroupPathSelectorMetadata) OwnerReferences() GroupPathSelectorMetadataOwnerReferences
- func (GroupPathSelectorMetadata) ResourceVersion() GroupPathSelectorMetadataResourceVersion
- func (GroupPathSelectorMetadata) Shards() GroupPathSelectorMetadataShards
- func (GroupPathSelectorMetadata) Syncing() GroupPathSelectorMetadataSyncing
- func (GroupPathSelectorMetadata) Tags() GroupPathSelectorMetadataTags
- func (GroupPathSelectorMetadata) UpdateTime() GroupPathSelectorMetadataUpdateTime
- func (GroupPathSelectorMetadata) Uuid() GroupPathSelectorMetadataUuid
- func (s GroupPathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Group_FieldTerminalPathArrayOfValues
- func (s GroupPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Group_FieldSubPathArrayItemValue
- func (s GroupPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Group_FieldSubPathArrayOfValues
- func (GroupPathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Group_FieldSubPath
- func (s GroupPathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Group_FieldSubPathValue
- func (s GroupPathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Group_FieldTerminalPathValue
- type GroupPathSelectorMetadataAnnotations
- func (GroupPathSelectorMetadataAnnotations) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Group_FieldSubPathArrayOfValues
- func (GroupPathSelectorMetadataAnnotations) WithKey(key string) GroupMapPathSelectorMetadataAnnotations
- func (s GroupPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataCreateTime
- func (GroupPathSelectorMetadataCreateTime) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataDeleteTime
- func (GroupPathSelectorMetadataDeleteTime) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataGeneration
- type GroupPathSelectorMetadataLabels
- func (GroupPathSelectorMetadataLabels) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Group_FieldSubPathArrayOfValues
- func (GroupPathSelectorMetadataLabels) WithKey(key string) GroupMapPathSelectorMetadataLabels
- func (s GroupPathSelectorMetadataLabels) WithValue(value map[string]string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataLifecycle
- func (GroupPathSelectorMetadataLifecycle) BlockDeletion() GroupPathSelectorMetadataLifecycleBlockDeletion
- func (GroupPathSelectorMetadataLifecycle) FieldPath() *Group_FieldSubPath
- func (GroupPathSelectorMetadataLifecycle) State() GroupPathSelectorMetadataLifecycleState
- func (s GroupPathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataLifecycleBlockDeletion
- func (GroupPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataLifecycleState
- func (GroupPathSelectorMetadataLifecycleState) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferences
- func (GroupPathSelectorMetadataOwnerReferences) BlockOwnerDeletion() GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (GroupPathSelectorMetadataOwnerReferences) Controller() GroupPathSelectorMetadataOwnerReferencesController
- func (GroupPathSelectorMetadataOwnerReferences) FieldPath() *Group_FieldSubPath
- func (GroupPathSelectorMetadataOwnerReferences) Kind() GroupPathSelectorMetadataOwnerReferencesKind
- func (GroupPathSelectorMetadataOwnerReferences) Name() GroupPathSelectorMetadataOwnerReferencesName
- func (GroupPathSelectorMetadataOwnerReferences) Region() GroupPathSelectorMetadataOwnerReferencesRegion
- func (GroupPathSelectorMetadataOwnerReferences) RequiresOwnerReference() GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (GroupPathSelectorMetadataOwnerReferences) Version() GroupPathSelectorMetadataOwnerReferencesVersion
- func (s GroupPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Group_FieldSubPathArrayItemValue
- func (s GroupPathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesController
- func (GroupPathSelectorMetadataOwnerReferencesController) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesKind
- func (GroupPathSelectorMetadataOwnerReferencesKind) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesName
- func (GroupPathSelectorMetadataOwnerReferencesName) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesRegion
- func (GroupPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataOwnerReferencesVersion
- func (GroupPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataResourceVersion
- type GroupPathSelectorMetadataShards
- func (GroupPathSelectorMetadataShards) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Group_FieldSubPathArrayOfValues
- func (GroupPathSelectorMetadataShards) WithKey(key string) GroupMapPathSelectorMetadataShards
- func (s GroupPathSelectorMetadataShards) WithValue(value map[string]int64) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataSyncing
- func (GroupPathSelectorMetadataSyncing) FieldPath() *Group_FieldSubPath
- func (GroupPathSelectorMetadataSyncing) OwningRegion() GroupPathSelectorMetadataSyncingOwningRegion
- func (GroupPathSelectorMetadataSyncing) Regions() GroupPathSelectorMetadataSyncingRegions
- func (s GroupPathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataSyncingOwningRegion
- func (GroupPathSelectorMetadataSyncingOwningRegion) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataSyncingRegions
- func (GroupPathSelectorMetadataSyncingRegions) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Group_FieldSubPathArrayItemValue
- func (s GroupPathSelectorMetadataSyncingRegions) WithValue(value []string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataTags
- func (GroupPathSelectorMetadataTags) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataTags) WithItemValue(value string) *Group_FieldSubPathArrayItemValue
- func (s GroupPathSelectorMetadataTags) WithValue(value []string) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataUpdateTime
- func (GroupPathSelectorMetadataUpdateTime) FieldPath() *Group_FieldSubPath
- func (s GroupPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
- func (s GroupPathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
- type GroupPathSelectorMetadataUuid
- type GroupPathSelectorName
- type GroupReferenceList
- func (l GroupReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l GroupReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l GroupReferenceList) At(idx int) gotenresource.Reference
- func (l GroupReferenceList) Length() int
- func (l GroupReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l GroupReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Group_FieldMask
- func (fieldMask *Group_FieldMask) AppendPath(path Group_FieldPath)
- func (fieldMask *Group_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Group_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Group_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Group_FieldMask) FilterInputFields() *Group_FieldMask
- func (fieldMask *Group_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Group_FieldMask) GetPaths() []Group_FieldPath
- func (fieldMask *Group_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Group_FieldMask) IsFull() bool
- func (fieldMask Group_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Group_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Group_FieldMask) PathsCount() int
- func (fieldMask *Group_FieldMask) Project(source *Group) *Group
- func (fieldMask *Group_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Group_FieldMask) ProtoMessage()
- func (fieldMask *Group_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Group_FieldMask) Reset()
- func (fieldMask *Group_FieldMask) Set(target, source *Group)
- func (fieldMask *Group_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Group_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Group_FieldMask) Size() int
- func (fieldMask *Group_FieldMask) String() string
- func (fieldMask *Group_FieldMask) Subtract(other *Group_FieldMask) *Group_FieldMask
- func (fieldMask *Group_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Group_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Group_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Group_FieldMask) UnmarshalJSON(data []byte) error
- type Group_FieldPath
- type Group_FieldPathArrayItemValue
- type Group_FieldPathArrayOfValues
- type Group_FieldPathSelector
- type Group_FieldPathValue
- type Group_FieldSubPath
- func (fps *Group_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
- func (fps *Group_FieldSubPath) ClearValue(item *Group)
- func (fps *Group_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Group_FieldSubPath) Get(source *Group) (values []interface{})
- func (fps *Group_FieldSubPath) GetDefault() interface{}
- func (fps *Group_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Group_FieldSubPath) GetSingle(source *Group) (interface{}, bool)
- func (fps *Group_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Group_FieldSubPath) IsLeaf() bool
- func (fps *Group_FieldSubPath) JSONString() string
- func (fps *Group_FieldSubPath) Selector() Group_FieldPathSelector
- func (fps *Group_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *Group_FieldSubPath) String() string
- func (fps *Group_FieldSubPath) WithIArrayItemValue(value interface{}) Group_FieldPathArrayItemValue
- func (fps *Group_FieldSubPath) WithIArrayOfValues(values interface{}) Group_FieldPathArrayOfValues
- func (fps *Group_FieldSubPath) WithIValue(value interface{}) Group_FieldPathValue
- func (fps *Group_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Group_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Group_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Group_FieldSubPathArrayItemValue
- type Group_FieldSubPathArrayOfValues
- type Group_FieldSubPathValue
- func (fpvs *Group_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
- func (fpvs *Group_FieldSubPathValue) CompareWith(source *Group) (int, bool)
- func (fpvs *Group_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Group_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Group_FieldSubPathValue) SetTo(target **Group)
- func (fpvs *Group_FieldSubPathValue) SetToRaw(target proto.Message)
- type Group_FieldTerminalPath
- func (fp *Group_FieldTerminalPath) ClearValue(item *Group)
- func (fp *Group_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Group_FieldTerminalPath) Get(source *Group) (values []interface{})
- func (fp *Group_FieldTerminalPath) GetDefault() interface{}
- func (fp *Group_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Group_FieldTerminalPath) GetSingle(source *Group) (interface{}, bool)
- func (fp *Group_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Group_FieldTerminalPath) IsLeaf() bool
- func (fp *Group_FieldTerminalPath) JSONString() string
- func (fp *Group_FieldTerminalPath) Selector() Group_FieldPathSelector
- func (fp *Group_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Group_FieldTerminalPath) String() string
- func (fp *Group_FieldTerminalPath) WithIArrayItemValue(value interface{}) Group_FieldPathArrayItemValue
- func (fp *Group_FieldTerminalPath) WithIArrayOfValues(values interface{}) Group_FieldPathArrayOfValues
- func (fp *Group_FieldTerminalPath) WithIValue(value interface{}) Group_FieldPathValue
- func (fp *Group_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Group_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Group_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Group_FieldTerminalPathArrayItemValue
- func (fpaiv *Group_FieldTerminalPathArrayItemValue) ContainsValue(source *Group) bool
- func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetSingle(source *Group) (interface{}, bool)
- func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Group_FieldTerminalPathArrayOfValues
- func (fpaov *Group_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
- func (fpaov *Group_FieldTerminalPathArrayOfValues) AsEmailArrayOfValues() ([]string, bool)
- func (fpaov *Group_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
- func (fpaov *Group_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Group_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Group_FieldTerminalPathValue
- func (fpv *Group_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
- func (fpv *Group_FieldTerminalPathValue) AsEmailValue() (string, bool)
- func (fpv *Group_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
- func (fpv *Group_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Group_FieldTerminalPathValue) CompareWith(source *Group) (int, bool)
- func (fpv *Group_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Group_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Group_FieldTerminalPathValue) SetTo(target **Group)
- func (fpv *Group_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type ListQuery
- func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
- func (q *ListQuery) GetFilter() gotenresource.Filter
- func (q *ListQuery) GetPager() gotenresource.PagerQuery
- func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *ListQuery) GetWithPagingInfo() bool
- func (q *ListQuery) GotenQuery()
- func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *ListQuery) SetFilter(filter gotenresource.Filter)
- func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
- func (q *ListQuery) SetWithPagingInfo(with bool)
- func (q *ListQuery) String() string
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIParentName() gotenresource.Name
- func (name *Name) GetIUnderlyingParentName() gotenresource.Name
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetOrganizationName() *organization.Name
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetProjectName() *project.Name
- 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
- func (b *NameBuilder) Name() *Name
- func (b *NameBuilder) Parent() *ParentName
- func (b *NameBuilder) ParentReference() *ParentReference
- func (b *NameBuilder) Reference() *Reference
- func (b *NameBuilder) SetId(id string) *NameBuilder
- func (b *NameBuilder) SetOrganization(parent *organization.Name) *NameBuilder
- func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
- func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder
- func (b *NameBuilder) SetProjectId(id string) *NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Group) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Group_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted GroupList, elem *Group) (GroupList, 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 GroupList)
- 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 ParentName
- func (name *ParentName) AsRawReference() gotenresource.Reference
- func (name *ParentName) AsReference() *ParentReference
- func (name *ParentName) DescendsFrom(ancestor string) bool
- func (name *ParentName) FullyQualifiedName() (string, error)
- func (name *ParentName) GetIParentName() gotenresource.Name
- func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
- func (name *ParentName) GetIdParts() map[string]string
- func (name *ParentName) GetOrganizationName() *organization.Name
- func (name *ParentName) GetPattern() gotenresource.NamePattern
- func (name *ParentName) GetProjectName() *project.Name
- func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
- func (name *ParentName) GetSegments() gotenresource.NameSegments
- func (name *ParentName) GotenEqual(other interface{}) bool
- func (name *ParentName) IsFullyQualified() bool
- func (name *ParentName) IsSpecified() bool
- func (name *ParentName) Matches(other interface{}) bool
- func (name *ParentName) ParseProtoString(data string) error
- func (name *ParentName) ProtoString() (string, error)
- func (name *ParentName) SetFromCliFlag(raw string) error
- func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *ParentName) String() string
- type ParentReference
- func (ref *ParentReference) ClearCached()
- func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
- func (name *ParentReference) Equal(other ref.Val) ref.Val
- func (ref *ParentReference) GetIParentName() gotenresource.Name
- func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *ParentReference) GetIdParts() map[string]string
- func (ref *ParentReference) GetOrganization() *organization.Organization
- func (ref *ParentReference) GetOrganizationReference() *organization.Reference
- func (ref *ParentReference) GetPattern() gotenresource.NamePattern
- func (ref *ParentReference) GetProject() *project.Project
- func (ref *ParentReference) GetProjectReference() *project.Reference
- func (ref *ParentReference) GetRawResource() gotenresource.Resource
- func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *ParentReference) GetSegments() gotenresource.NameSegments
- func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
- func (ref *ParentReference) GotenEqual(other interface{}) bool
- func (name *ParentReference) HasTrait(trait int) bool
- func (ref *ParentReference) IsFullyQualified() bool
- func (ref *ParentReference) IsSpecified() bool
- func (name *ParentReference) Match(pattern ref.Val) ref.Val
- func (name *ParentReference) Matches(other interface{}) bool
- func (ref *ParentReference) ParseProtoString(data string) error
- func (ref *ParentReference) ProtoString() (string, error)
- func (name *ParentReference) Receive(function string, overload string, args []ref.Val) ref.Val
- func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
- func (ref *ParentReference) Resolved() bool
- func (ref *ParentReference) SetFromCliFlag(raw string) error
- func (ref *ParentReference) String() string
- func (name *ParentReference) Type() ref.Type
- func (name *ParentReference) TypeName() string
- func (name *ParentReference) Value() interface{}
- type QueryResultChange
- func (qr *QueryResultChange) GetIsCurrent() bool
- func (qr *QueryResultChange) GetIsHardReset() bool
- func (qr *QueryResultChange) GetIsSoftReset() bool
- func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
- func (qr *QueryResultChange) GetResumeToken() string
- func (qr *QueryResultChange) GetSnapshotSize() int64
- func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultChange) SetIsCurrent()
- func (qr *QueryResultChange) SetIsHardReset()
- func (qr *QueryResultChange) SetIsSoftReset()
- func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
- func (qr *QueryResultChange) SetResumeToken(token string)
- func (qr *QueryResultChange) SetSnapshotSize(size int64)
- type QueryResultSnapshot
- func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
- func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
- func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) GetGroup() *Group
- func (ref *Reference) GetIParentName() gotenresource.Name
- func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *Reference) GetIdParts() map[string]string
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) 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 *Group)
- 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 = "groups/{group}" NamePattern_Project = "projects/{project}/groups/{group}" NamePattern_Organization = "organizations/{organization}/groups/{group}" )
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access GroupAccess) 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) 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) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
type FilterBuilder ¶
type FilterBuilder struct {
// contains filtered or unexported fields
}
func NewAndFilterBuilder ¶
func NewAndFilterBuilder() *FilterBuilder
func NewFilterBuilder ¶
func NewFilterBuilder() *FilterBuilder
func NewOrFilterBuilder ¶
func NewOrFilterBuilder() *FilterBuilder
func (*FilterBuilder) Filter ¶
func (b *FilterBuilder) Filter() *Filter
func (*FilterBuilder) Where ¶
func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
func (*FilterBuilder) WherePath ¶
func (b *FilterBuilder) WherePath(fp Group_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 *Group) bool // Whether this condition is at least as specific as other. // When true, any Group 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 Group_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Group_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 *Group) 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 Group_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 *Group) 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 Group_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 Group_FieldPath Value Group_FieldPathArrayItemValue Values []Group_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 *Group) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Group_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 Group_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 {
Group_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 *Group) 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 Group_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 Group_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 *Group) 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 Group_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 Group_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 *Group) 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 Group_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 *Group) 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 Group_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 {
Group_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 *Group) 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 Group_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 *Group_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 Group ¶
type Group struct { // Name of Group Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Display Name DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"` // Unique email address for this [Group]. Generated based on its // [name][ntt.iam.v1alpha.Group.name] with following rules: // // 1. System group: `{group_id}@groups.iam.edgelq.com` // 2. Organization group: `{group_id}@{organization_id}.groups.iam.edgelq.com` // 3. Project group: `{group_id}@{project_id}.groups.iam.edgelq.com` // // This email can be used in // [RoleBindings][ntt.iam.v1alpha.RoleBinding.member] field. // // Note: Currently there is way to assign custom domain for [Organization] or // [Project]. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty" firestore:"email"` // Metadata Metadata *ntt_meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // contains filtered or unexported fields }
Group Resource
Allows grouping members like: [ServiceAccounts][ntt.iam.v1alpha.ServiceAccount], [Users][ntt.iam.v1alpha.User], or other [Groups][ntt.iam.v1alpha.Group] by managing [memberships][ntt.iam.v1alpha.GroupMember].
Groups can then be used to simplify access management by referring to them through via [email][ntt.iam.v1alpha.Group.email] in [RoleBindings][ntt.iam.v1alpha.RoleBinding.member].
func (*Group) CloneRaw ¶
func (o *Group) CloneRaw() gotenobject.GotenObjectExt
func (*Group) Descriptor ¶
Deprecated, Use Group.ProtoReflect.Descriptor instead.
func (*Group) GetDisplayName ¶
func (*Group) GetMetadata ¶
func (*Group) GetRawName ¶
func (r *Group) GetRawName() gotenresource.Name
func (*Group) GetResourceDescriptor ¶
func (r *Group) GetResourceDescriptor() gotenresource.Descriptor
func (*Group) GotenMessage ¶
func (*Group) GotenMessage()
func (*Group) GotenObjectExt ¶
func (o *Group) GotenObjectExt()
func (*Group) GotenValidate ¶
func (*Group) MakeDiffFieldMask ¶
func (o *Group) MakeDiffFieldMask(other *Group) *Group_FieldMask
func (*Group) MakeFullFieldMask ¶
func (o *Group) MakeFullFieldMask() *Group_FieldMask
func (*Group) MakeRawDiffFieldMask ¶
func (o *Group) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Group) MakeRawFullFieldMask ¶
func (o *Group) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Group) MarshalJSON ¶
func (*Group) MaybePopulateDefaults ¶
func (*Group) MergeRaw ¶
func (o *Group) MergeRaw(source gotenobject.GotenObjectExt)
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (*Group) SetDisplayName ¶
func (*Group) SetMetadata ¶
func (*Group) UnmarshalJSON ¶
type GroupAccess ¶
type GroupAccess interface { GetGroup(context.Context, *GetQuery) (*Group, error) BatchGetGroups(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryGroups(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchGroup(context.Context, *GetQuery, func(*GroupChange) error) error WatchGroups(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveGroup(context.Context, *Group, ...gotenresource.SaveOption) error DeleteGroup(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type GroupChange ¶
type GroupChange struct { // Group change // // Types that are valid to be assigned to ChangeType: // *GroupChange_Added_ // *GroupChange_Modified_ // *GroupChange_Current_ // *GroupChange_Removed_ ChangeType isGroupChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
GroupChange is used by Watch notifications Responses to describe change of single Group One of Added, Modified, Removed
func (*GroupChange) Descriptor ¶
func (*GroupChange) Descriptor() ([]byte, []int)
Deprecated, Use GroupChange.ProtoReflect.Descriptor instead.
func (*GroupChange) GetAdded ¶
func (m *GroupChange) GetAdded() *GroupChange_Added
func (*GroupChange) GetChangeType ¶
func (m *GroupChange) GetChangeType() isGroupChange_ChangeType
func (*GroupChange) GetCurrent ¶
func (m *GroupChange) GetCurrent() *GroupChange_Current
func (*GroupChange) GetCurrentViewIndex ¶
func (c *GroupChange) GetCurrentViewIndex() int32
func (*GroupChange) GetGroup ¶
func (c *GroupChange) GetGroup() *Group
func (*GroupChange) GetGroupName ¶
func (c *GroupChange) GetGroupName() *Name
func (*GroupChange) GetModified ¶
func (m *GroupChange) GetModified() *GroupChange_Modified
func (*GroupChange) GetPreviousViewIndex ¶
func (c *GroupChange) GetPreviousViewIndex() int32
func (*GroupChange) GetRawName ¶
func (c *GroupChange) GetRawName() gotenresource.Name
func (*GroupChange) GetRawResource ¶ added in v0.5.1
func (c *GroupChange) GetRawResource() gotenresource.Resource
func (*GroupChange) GetRemoved ¶
func (m *GroupChange) GetRemoved() *GroupChange_Removed
func (*GroupChange) GotenMessage ¶
func (*GroupChange) GotenMessage()
func (*GroupChange) GotenValidate ¶
func (obj *GroupChange) GotenValidate() error
func (*GroupChange) IsAdd ¶
func (c *GroupChange) IsAdd() bool
func (*GroupChange) IsCurrent ¶
func (c *GroupChange) IsCurrent() bool
func (*GroupChange) IsDelete ¶
func (c *GroupChange) IsDelete() bool
func (*GroupChange) IsModify ¶
func (c *GroupChange) IsModify() bool
func (*GroupChange) Marshal ¶
func (m *GroupChange) Marshal() ([]byte, error)
func (*GroupChange) MarshalJSON ¶
func (m *GroupChange) MarshalJSON() ([]byte, error)
func (*GroupChange) ProtoMessage ¶
func (*GroupChange) ProtoMessage()
func (*GroupChange) ProtoReflect ¶
func (m *GroupChange) ProtoReflect() preflect.Message
func (*GroupChange) Reset ¶
func (m *GroupChange) Reset()
func (*GroupChange) SetAdded ¶
func (m *GroupChange) SetAdded(fv *GroupChange_Added)
func (*GroupChange) SetAddedRaw ¶
func (c *GroupChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*GroupChange) SetChangeType ¶
func (m *GroupChange) SetChangeType(ofv isGroupChange_ChangeType)
func (*GroupChange) SetCurrent ¶
func (m *GroupChange) SetCurrent(fv *GroupChange_Current)
func (*GroupChange) SetCurrentRaw ¶
func (c *GroupChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*GroupChange) SetDeletedRaw ¶
func (c *GroupChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*GroupChange) SetModified ¶
func (m *GroupChange) SetModified(fv *GroupChange_Modified)
func (*GroupChange) SetModifiedRaw ¶
func (c *GroupChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*GroupChange) SetRemoved ¶
func (m *GroupChange) SetRemoved(fv *GroupChange_Removed)
func (*GroupChange) String ¶
func (m *GroupChange) String() string
func (*GroupChange) Unmarshal ¶
func (m *GroupChange) Unmarshal(b []byte) error
func (*GroupChange) UnmarshalJSON ¶
func (m *GroupChange) UnmarshalJSON(data []byte) error
type GroupChangeList ¶
type GroupChangeList []*GroupChange
func (GroupChangeList) Append ¶
func (l GroupChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (GroupChangeList) AppendList ¶
func (l GroupChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (GroupChangeList) At ¶
func (l GroupChangeList) At(idx int) gotenresource.ResourceChange
func (GroupChangeList) Length ¶
func (l GroupChangeList) Length() int
func (GroupChangeList) Set ¶
func (l GroupChangeList) Set(idx int, change gotenresource.ResourceChange)
func (GroupChangeList) Slice ¶
func (l GroupChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type GroupChangeMap ¶
type GroupChangeMap map[Name]*GroupChange
func (GroupChangeMap) Delete ¶
func (m GroupChangeMap) Delete(name gotenresource.Name)
func (GroupChangeMap) ForEach ¶
func (m GroupChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (GroupChangeMap) Get ¶
func (m GroupChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (GroupChangeMap) Length ¶
func (m GroupChangeMap) Length() int
func (GroupChangeMap) Set ¶
func (m GroupChangeMap) Set(change gotenresource.ResourceChange)
type GroupChange_Added ¶
type GroupChange_Added struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty" firestore:"group"` // Integer describing index of added Group 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 }
Group has been added to query view
func (*GroupChange_Added) Descriptor ¶
func (*GroupChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use GroupChange_Added.ProtoReflect.Descriptor instead.
func (*GroupChange_Added) GetGroup ¶
func (m *GroupChange_Added) GetGroup() *Group
func (*GroupChange_Added) GetViewIndex ¶
func (m *GroupChange_Added) GetViewIndex() int32
func (*GroupChange_Added) GotenMessage ¶
func (*GroupChange_Added) GotenMessage()
func (*GroupChange_Added) GotenValidate ¶
func (obj *GroupChange_Added) GotenValidate() error
func (*GroupChange_Added) Marshal ¶
func (m *GroupChange_Added) Marshal() ([]byte, error)
func (*GroupChange_Added) MarshalJSON ¶
func (m *GroupChange_Added) MarshalJSON() ([]byte, error)
func (*GroupChange_Added) ProtoMessage ¶
func (*GroupChange_Added) ProtoMessage()
func (*GroupChange_Added) ProtoReflect ¶
func (m *GroupChange_Added) ProtoReflect() preflect.Message
func (*GroupChange_Added) Reset ¶
func (m *GroupChange_Added) Reset()
func (*GroupChange_Added) SetGroup ¶
func (m *GroupChange_Added) SetGroup(fv *Group)
func (*GroupChange_Added) SetViewIndex ¶
func (m *GroupChange_Added) SetViewIndex(fv int32)
func (*GroupChange_Added) String ¶
func (m *GroupChange_Added) String() string
func (*GroupChange_Added) Unmarshal ¶
func (m *GroupChange_Added) Unmarshal(b []byte) error
func (*GroupChange_Added) UnmarshalJSON ¶
func (m *GroupChange_Added) UnmarshalJSON(data []byte) error
type GroupChange_Added_ ¶
type GroupChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *GroupChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type GroupChange_Current ¶
type GroupChange_Current struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty" firestore:"group"` // contains filtered or unexported fields }
Group has been added or modified in a query view. Version used for stateless watching
func (*GroupChange_Current) Descriptor ¶
func (*GroupChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use GroupChange_Current.ProtoReflect.Descriptor instead.
func (*GroupChange_Current) GetGroup ¶
func (m *GroupChange_Current) GetGroup() *Group
func (*GroupChange_Current) GotenMessage ¶
func (*GroupChange_Current) GotenMessage()
func (*GroupChange_Current) GotenValidate ¶
func (obj *GroupChange_Current) GotenValidate() error
func (*GroupChange_Current) Marshal ¶
func (m *GroupChange_Current) Marshal() ([]byte, error)
func (*GroupChange_Current) MarshalJSON ¶
func (m *GroupChange_Current) MarshalJSON() ([]byte, error)
func (*GroupChange_Current) ProtoMessage ¶
func (*GroupChange_Current) ProtoMessage()
func (*GroupChange_Current) ProtoReflect ¶
func (m *GroupChange_Current) ProtoReflect() preflect.Message
func (*GroupChange_Current) Reset ¶
func (m *GroupChange_Current) Reset()
func (*GroupChange_Current) SetGroup ¶
func (m *GroupChange_Current) SetGroup(fv *Group)
func (*GroupChange_Current) String ¶
func (m *GroupChange_Current) String() string
func (*GroupChange_Current) Unmarshal ¶
func (m *GroupChange_Current) Unmarshal(b []byte) error
func (*GroupChange_Current) UnmarshalJSON ¶
func (m *GroupChange_Current) UnmarshalJSON(data []byte) error
type GroupChange_Current_ ¶
type GroupChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *GroupChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type GroupChange_Modified ¶
type GroupChange_Modified struct { // Name of modified Group Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Group or masked difference, depending on mask_changes // instrumentation of issued [WatchGroupRequest] or [WatchGroupsRequest] Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty" firestore:"group"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Group_FieldMask `` /* 137-byte string literal not displayed */ // Previous view index specifies previous position of modified Group. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Group 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 }
Group changed some of it's fields - contains either full document or masked change
func (*GroupChange_Modified) Descriptor ¶
func (*GroupChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use GroupChange_Modified.ProtoReflect.Descriptor instead.
func (*GroupChange_Modified) GetFieldMask ¶
func (m *GroupChange_Modified) GetFieldMask() *Group_FieldMask
func (*GroupChange_Modified) GetGroup ¶
func (m *GroupChange_Modified) GetGroup() *Group
func (*GroupChange_Modified) GetName ¶
func (m *GroupChange_Modified) GetName() *Name
func (*GroupChange_Modified) GetPreviousViewIndex ¶
func (m *GroupChange_Modified) GetPreviousViewIndex() int32
func (*GroupChange_Modified) GetViewIndex ¶
func (m *GroupChange_Modified) GetViewIndex() int32
func (*GroupChange_Modified) GotenMessage ¶
func (*GroupChange_Modified) GotenMessage()
func (*GroupChange_Modified) GotenValidate ¶
func (obj *GroupChange_Modified) GotenValidate() error
func (*GroupChange_Modified) Marshal ¶
func (m *GroupChange_Modified) Marshal() ([]byte, error)
func (*GroupChange_Modified) MarshalJSON ¶
func (m *GroupChange_Modified) MarshalJSON() ([]byte, error)
func (*GroupChange_Modified) ProtoMessage ¶
func (*GroupChange_Modified) ProtoMessage()
func (*GroupChange_Modified) ProtoReflect ¶
func (m *GroupChange_Modified) ProtoReflect() preflect.Message
func (*GroupChange_Modified) Reset ¶
func (m *GroupChange_Modified) Reset()
func (*GroupChange_Modified) SetFieldMask ¶
func (m *GroupChange_Modified) SetFieldMask(fv *Group_FieldMask)
func (*GroupChange_Modified) SetGroup ¶
func (m *GroupChange_Modified) SetGroup(fv *Group)
func (*GroupChange_Modified) SetName ¶
func (m *GroupChange_Modified) SetName(fv *Name)
func (*GroupChange_Modified) SetPreviousViewIndex ¶
func (m *GroupChange_Modified) SetPreviousViewIndex(fv int32)
func (*GroupChange_Modified) SetViewIndex ¶
func (m *GroupChange_Modified) SetViewIndex(fv int32)
func (*GroupChange_Modified) String ¶
func (m *GroupChange_Modified) String() string
func (*GroupChange_Modified) Unmarshal ¶
func (m *GroupChange_Modified) Unmarshal(b []byte) error
func (*GroupChange_Modified) UnmarshalJSON ¶
func (m *GroupChange_Modified) UnmarshalJSON(data []byte) error
type GroupChange_Modified_ ¶
type GroupChange_Modified_ struct { // Modified is returned when watched document is modified Modified *GroupChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type GroupChange_Removed ¶
type GroupChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Group 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 Group is deleted or leaves Query view
func (*GroupChange_Removed) Descriptor ¶
func (*GroupChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use GroupChange_Removed.ProtoReflect.Descriptor instead.
func (*GroupChange_Removed) GetName ¶
func (m *GroupChange_Removed) GetName() *Name
func (*GroupChange_Removed) GetViewIndex ¶
func (m *GroupChange_Removed) GetViewIndex() int32
func (*GroupChange_Removed) GotenMessage ¶
func (*GroupChange_Removed) GotenMessage()
func (*GroupChange_Removed) GotenValidate ¶
func (obj *GroupChange_Removed) GotenValidate() error
func (*GroupChange_Removed) Marshal ¶
func (m *GroupChange_Removed) Marshal() ([]byte, error)
func (*GroupChange_Removed) MarshalJSON ¶
func (m *GroupChange_Removed) MarshalJSON() ([]byte, error)
func (*GroupChange_Removed) ProtoMessage ¶
func (*GroupChange_Removed) ProtoMessage()
func (*GroupChange_Removed) ProtoReflect ¶
func (m *GroupChange_Removed) ProtoReflect() preflect.Message
func (*GroupChange_Removed) Reset ¶
func (m *GroupChange_Removed) Reset()
func (*GroupChange_Removed) SetName ¶
func (m *GroupChange_Removed) SetName(fv *Name)
func (*GroupChange_Removed) SetViewIndex ¶
func (m *GroupChange_Removed) SetViewIndex(fv int32)
func (*GroupChange_Removed) String ¶
func (m *GroupChange_Removed) String() string
func (*GroupChange_Removed) Unmarshal ¶
func (m *GroupChange_Removed) Unmarshal(b []byte) error
func (*GroupChange_Removed) UnmarshalJSON ¶
func (m *GroupChange_Removed) UnmarshalJSON(data []byte) error
type GroupChange_Removed_ ¶
type GroupChange_Removed_ struct { // Removed is returned when Group is deleted or leaves Query view Removed *GroupChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type GroupFieldPathBuilder ¶
type GroupFieldPathBuilder struct{}
func NewGroupFieldPathBuilder ¶
func NewGroupFieldPathBuilder() GroupFieldPathBuilder
func (GroupFieldPathBuilder) DisplayName ¶
func (GroupFieldPathBuilder) DisplayName() GroupPathSelectorDisplayName
func (GroupFieldPathBuilder) Email ¶
func (GroupFieldPathBuilder) Email() GroupPathSelectorEmail
func (GroupFieldPathBuilder) Metadata ¶
func (GroupFieldPathBuilder) Metadata() GroupPathSelectorMetadata
func (GroupFieldPathBuilder) Name ¶
func (GroupFieldPathBuilder) Name() GroupPathSelectorName
type GroupList ¶
type GroupList []*Group
func (GroupList) Append ¶
func (l GroupList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (GroupList) AppendList ¶
func (l GroupList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (GroupList) Slice ¶
func (l GroupList) Slice(first, second int) gotenresource.ResourceList
type GroupMap ¶
func (GroupMap) Delete ¶
func (m GroupMap) Delete(name gotenresource.Name)
func (GroupMap) ForEach ¶
func (m GroupMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (GroupMap) Get ¶
func (m GroupMap) Get(name gotenresource.Name) gotenresource.Resource
func (GroupMap) Set ¶
func (m GroupMap) Set(res gotenresource.Resource)
type GroupMapPathSelectorMetadataAnnotations ¶
type GroupMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (GroupMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s GroupMapPathSelectorMetadataAnnotations) FieldPath() *Group_FieldSubPath
func (GroupMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s GroupMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupMapPathSelectorMetadataAnnotations) WithValue ¶
func (s GroupMapPathSelectorMetadataAnnotations) WithValue(value string) *Group_FieldSubPathValue
type GroupMapPathSelectorMetadataLabels ¶
type GroupMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (GroupMapPathSelectorMetadataLabels) FieldPath ¶
func (s GroupMapPathSelectorMetadataLabels) FieldPath() *Group_FieldSubPath
func (GroupMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s GroupMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupMapPathSelectorMetadataLabels) WithValue ¶
func (s GroupMapPathSelectorMetadataLabels) WithValue(value string) *Group_FieldSubPathValue
type GroupMapPathSelectorMetadataShards ¶
type GroupMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (GroupMapPathSelectorMetadataShards) FieldPath ¶
func (s GroupMapPathSelectorMetadataShards) FieldPath() *Group_FieldSubPath
func (GroupMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s GroupMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Group_FieldSubPathArrayOfValues
func (GroupMapPathSelectorMetadataShards) WithValue ¶
func (s GroupMapPathSelectorMetadataShards) WithValue(value int64) *Group_FieldSubPathValue
type GroupNameList ¶
type GroupNameList []*Name
func (GroupNameList) Append ¶
func (l GroupNameList) Append(name gotenresource.Name) gotenresource.NameList
func (GroupNameList) AppendList ¶
func (l GroupNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (GroupNameList) At ¶
func (l GroupNameList) At(idx int) gotenresource.Name
func (GroupNameList) Length ¶
func (l GroupNameList) Length() int
func (GroupNameList) Set ¶
func (l GroupNameList) Set(idx int, name gotenresource.Name)
func (GroupNameList) Slice ¶
func (l GroupNameList) Slice(first, second int) gotenresource.NameList
type GroupParentNameList ¶
type GroupParentNameList []*ParentName
func (GroupParentNameList) Append ¶
func (l GroupParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
func (GroupParentNameList) AppendList ¶
func (l GroupParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
func (GroupParentNameList) At ¶
func (l GroupParentNameList) At(idx int) gotenresource.Name
func (GroupParentNameList) Length ¶
func (l GroupParentNameList) Length() int
func (GroupParentNameList) Set ¶
func (l GroupParentNameList) Set(idx int, name gotenresource.Name)
func (GroupParentNameList) Slice ¶
func (l GroupParentNameList) Slice(first, second int) gotenresource.ParentNameList
type GroupParentReferenceList ¶
type GroupParentReferenceList []*ParentReference
func (GroupParentReferenceList) Append ¶
func (l GroupParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
func (GroupParentReferenceList) AppendList ¶
func (l GroupParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
func (GroupParentReferenceList) At ¶
func (l GroupParentReferenceList) At(idx int) gotenresource.Reference
func (GroupParentReferenceList) Length ¶
func (l GroupParentReferenceList) Length() int
func (GroupParentReferenceList) Set ¶
func (l GroupParentReferenceList) Set(idx int, ref gotenresource.Reference)
func (GroupParentReferenceList) Slice ¶
func (l GroupParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
type GroupPathSelectorDisplayName ¶
type GroupPathSelectorDisplayName struct{}
func (GroupPathSelectorDisplayName) FieldPath ¶
func (GroupPathSelectorDisplayName) FieldPath() *Group_FieldTerminalPath
func (GroupPathSelectorDisplayName) WithArrayOfValues ¶
func (s GroupPathSelectorDisplayName) WithArrayOfValues(values []string) *Group_FieldTerminalPathArrayOfValues
func (GroupPathSelectorDisplayName) WithValue ¶
func (s GroupPathSelectorDisplayName) WithValue(value string) *Group_FieldTerminalPathValue
type GroupPathSelectorEmail ¶
type GroupPathSelectorEmail struct{}
func (GroupPathSelectorEmail) FieldPath ¶
func (GroupPathSelectorEmail) FieldPath() *Group_FieldTerminalPath
func (GroupPathSelectorEmail) WithArrayOfValues ¶
func (s GroupPathSelectorEmail) WithArrayOfValues(values []string) *Group_FieldTerminalPathArrayOfValues
func (GroupPathSelectorEmail) WithValue ¶
func (s GroupPathSelectorEmail) WithValue(value string) *Group_FieldTerminalPathValue
type GroupPathSelectorMetadata ¶
type GroupPathSelectorMetadata struct{}
func (GroupPathSelectorMetadata) Annotations ¶
func (GroupPathSelectorMetadata) Annotations() GroupPathSelectorMetadataAnnotations
func (GroupPathSelectorMetadata) CreateTime ¶
func (GroupPathSelectorMetadata) CreateTime() GroupPathSelectorMetadataCreateTime
func (GroupPathSelectorMetadata) DeleteTime ¶ added in v0.8.0
func (GroupPathSelectorMetadata) DeleteTime() GroupPathSelectorMetadataDeleteTime
func (GroupPathSelectorMetadata) FieldPath ¶
func (GroupPathSelectorMetadata) FieldPath() *Group_FieldTerminalPath
func (GroupPathSelectorMetadata) Generation ¶
func (GroupPathSelectorMetadata) Generation() GroupPathSelectorMetadataGeneration
func (GroupPathSelectorMetadata) Labels ¶
func (GroupPathSelectorMetadata) Labels() GroupPathSelectorMetadataLabels
func (GroupPathSelectorMetadata) Lifecycle ¶ added in v0.8.0
func (GroupPathSelectorMetadata) Lifecycle() GroupPathSelectorMetadataLifecycle
func (GroupPathSelectorMetadata) OwnerReferences ¶
func (GroupPathSelectorMetadata) OwnerReferences() GroupPathSelectorMetadataOwnerReferences
func (GroupPathSelectorMetadata) ResourceVersion ¶
func (GroupPathSelectorMetadata) ResourceVersion() GroupPathSelectorMetadataResourceVersion
func (GroupPathSelectorMetadata) Shards ¶
func (GroupPathSelectorMetadata) Shards() GroupPathSelectorMetadataShards
func (GroupPathSelectorMetadata) Syncing ¶
func (GroupPathSelectorMetadata) Syncing() GroupPathSelectorMetadataSyncing
func (GroupPathSelectorMetadata) Tags ¶
func (GroupPathSelectorMetadata) Tags() GroupPathSelectorMetadataTags
func (GroupPathSelectorMetadata) UpdateTime ¶
func (GroupPathSelectorMetadata) UpdateTime() GroupPathSelectorMetadataUpdateTime
func (GroupPathSelectorMetadata) Uuid ¶
func (GroupPathSelectorMetadata) Uuid() GroupPathSelectorMetadataUuid
func (GroupPathSelectorMetadata) WithArrayOfValues ¶
func (s GroupPathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Group_FieldTerminalPathArrayOfValues
func (GroupPathSelectorMetadata) WithSubArrayItemValue ¶
func (s GroupPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Group_FieldSubPathArrayItemValue
func (GroupPathSelectorMetadata) WithSubArrayOfValues ¶
func (s GroupPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadata) WithSubPath ¶
func (GroupPathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Group_FieldSubPath
func (GroupPathSelectorMetadata) WithSubValue ¶
func (s GroupPathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Group_FieldSubPathValue
func (GroupPathSelectorMetadata) WithValue ¶
func (s GroupPathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Group_FieldTerminalPathValue
type GroupPathSelectorMetadataAnnotations ¶
type GroupPathSelectorMetadataAnnotations struct{}
func (GroupPathSelectorMetadataAnnotations) FieldPath ¶
func (GroupPathSelectorMetadataAnnotations) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataAnnotations) WithKey ¶
func (GroupPathSelectorMetadataAnnotations) WithKey(key string) GroupMapPathSelectorMetadataAnnotations
func (GroupPathSelectorMetadataAnnotations) WithValue ¶
func (s GroupPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataCreateTime ¶
type GroupPathSelectorMetadataCreateTime struct{}
func (GroupPathSelectorMetadataCreateTime) FieldPath ¶
func (GroupPathSelectorMetadataCreateTime) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataCreateTime) WithValue ¶
func (s GroupPathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
type GroupPathSelectorMetadataDeleteTime ¶ added in v0.8.0
type GroupPathSelectorMetadataDeleteTime struct{}
func (GroupPathSelectorMetadataDeleteTime) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataDeleteTime) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataDeleteTime) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataDeleteTime) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
type GroupPathSelectorMetadataGeneration ¶
type GroupPathSelectorMetadataGeneration struct{}
func (GroupPathSelectorMetadataGeneration) FieldPath ¶
func (GroupPathSelectorMetadataGeneration) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataGeneration) WithValue ¶
func (s GroupPathSelectorMetadataGeneration) WithValue(value int64) *Group_FieldSubPathValue
type GroupPathSelectorMetadataLabels ¶
type GroupPathSelectorMetadataLabels struct{}
func (GroupPathSelectorMetadataLabels) FieldPath ¶
func (GroupPathSelectorMetadataLabels) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataLabels) WithKey ¶
func (GroupPathSelectorMetadataLabels) WithKey(key string) GroupMapPathSelectorMetadataLabels
func (GroupPathSelectorMetadataLabels) WithValue ¶
func (s GroupPathSelectorMetadataLabels) WithValue(value map[string]string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataLifecycle ¶ added in v0.8.0
type GroupPathSelectorMetadataLifecycle struct{}
func (GroupPathSelectorMetadataLifecycle) BlockDeletion ¶ added in v0.8.0
func (GroupPathSelectorMetadataLifecycle) BlockDeletion() GroupPathSelectorMetadataLifecycleBlockDeletion
func (GroupPathSelectorMetadataLifecycle) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataLifecycle) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataLifecycle) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataLifecycle) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Group_FieldSubPathValue
type GroupPathSelectorMetadataLifecycleBlockDeletion ¶ added in v0.8.0
type GroupPathSelectorMetadataLifecycleBlockDeletion struct{}
func (GroupPathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataLifecycleBlockDeletion) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Group_FieldSubPathValue
type GroupPathSelectorMetadataLifecycleState ¶ added in v0.8.0
type GroupPathSelectorMetadataLifecycleState struct{}
func (GroupPathSelectorMetadataLifecycleState) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataLifecycleState) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataLifecycleState) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataLifecycleState) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferences ¶
type GroupPathSelectorMetadataOwnerReferences struct{}
func (GroupPathSelectorMetadataOwnerReferences) BlockOwnerDeletion ¶
func (GroupPathSelectorMetadataOwnerReferences) BlockOwnerDeletion() GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion
func (GroupPathSelectorMetadataOwnerReferences) Controller ¶
func (GroupPathSelectorMetadataOwnerReferences) FieldPath ¶
func (GroupPathSelectorMetadataOwnerReferences) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶ added in v0.8.0
func (GroupPathSelectorMetadataOwnerReferences) RequiresOwnerReference() GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (GroupPathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s GroupPathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Group_FieldSubPathArrayItemValue
func (GroupPathSelectorMetadataOwnerReferences) WithValue ¶
func (s GroupPathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion ¶
type GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}
func (GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath ¶
func (GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue ¶
func (s GroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesController ¶
type GroupPathSelectorMetadataOwnerReferencesController struct{}
func (GroupPathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (GroupPathSelectorMetadataOwnerReferencesController) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s GroupPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesKind ¶
type GroupPathSelectorMetadataOwnerReferencesKind struct{}
func (GroupPathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (GroupPathSelectorMetadataOwnerReferencesKind) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s GroupPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesName ¶
type GroupPathSelectorMetadataOwnerReferencesName struct{}
func (GroupPathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (GroupPathSelectorMetadataOwnerReferencesName) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s GroupPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesRegion ¶ added in v0.8.0
type GroupPathSelectorMetadataOwnerReferencesRegion struct{}
func (GroupPathSelectorMetadataOwnerReferencesRegion) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesRegion) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶ added in v0.8.0
type GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Group_FieldSubPathValue
type GroupPathSelectorMetadataOwnerReferencesVersion ¶ added in v0.8.0
type GroupPathSelectorMetadataOwnerReferencesVersion struct{}
func (GroupPathSelectorMetadataOwnerReferencesVersion) FieldPath ¶ added in v0.8.0
func (GroupPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataOwnerReferencesVersion) WithValue ¶ added in v0.8.0
func (s GroupPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataResourceVersion ¶
type GroupPathSelectorMetadataResourceVersion struct{}
func (GroupPathSelectorMetadataResourceVersion) FieldPath ¶
func (GroupPathSelectorMetadataResourceVersion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataResourceVersion) WithValue ¶
func (s GroupPathSelectorMetadataResourceVersion) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataShards ¶
type GroupPathSelectorMetadataShards struct{}
func (GroupPathSelectorMetadataShards) FieldPath ¶
func (GroupPathSelectorMetadataShards) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataShards) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataShards) WithKey ¶
func (GroupPathSelectorMetadataShards) WithKey(key string) GroupMapPathSelectorMetadataShards
func (GroupPathSelectorMetadataShards) WithValue ¶
func (s GroupPathSelectorMetadataShards) WithValue(value map[string]int64) *Group_FieldSubPathValue
type GroupPathSelectorMetadataSyncing ¶
type GroupPathSelectorMetadataSyncing struct{}
func (GroupPathSelectorMetadataSyncing) FieldPath ¶
func (GroupPathSelectorMetadataSyncing) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataSyncing) OwningRegion ¶
func (GroupPathSelectorMetadataSyncing) OwningRegion() GroupPathSelectorMetadataSyncingOwningRegion
func (GroupPathSelectorMetadataSyncing) Regions ¶
func (GroupPathSelectorMetadataSyncing) Regions() GroupPathSelectorMetadataSyncingRegions
func (GroupPathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataSyncing) WithValue ¶
func (s GroupPathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Group_FieldSubPathValue
type GroupPathSelectorMetadataSyncingOwningRegion ¶
type GroupPathSelectorMetadataSyncingOwningRegion struct{}
func (GroupPathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (GroupPathSelectorMetadataSyncingOwningRegion) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s GroupPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataSyncingRegions ¶
type GroupPathSelectorMetadataSyncingRegions struct{}
func (GroupPathSelectorMetadataSyncingRegions) FieldPath ¶
func (GroupPathSelectorMetadataSyncingRegions) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s GroupPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Group_FieldSubPathArrayItemValue
func (GroupPathSelectorMetadataSyncingRegions) WithValue ¶
func (s GroupPathSelectorMetadataSyncingRegions) WithValue(value []string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataTags ¶
type GroupPathSelectorMetadataTags struct{}
func (GroupPathSelectorMetadataTags) FieldPath ¶
func (GroupPathSelectorMetadataTags) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataTags) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataTags) WithItemValue ¶
func (s GroupPathSelectorMetadataTags) WithItemValue(value string) *Group_FieldSubPathArrayItemValue
func (GroupPathSelectorMetadataTags) WithValue ¶
func (s GroupPathSelectorMetadataTags) WithValue(value []string) *Group_FieldSubPathValue
type GroupPathSelectorMetadataUpdateTime ¶
type GroupPathSelectorMetadataUpdateTime struct{}
func (GroupPathSelectorMetadataUpdateTime) FieldPath ¶
func (GroupPathSelectorMetadataUpdateTime) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataUpdateTime) WithValue ¶
func (s GroupPathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Group_FieldSubPathValue
type GroupPathSelectorMetadataUuid ¶
type GroupPathSelectorMetadataUuid struct{}
func (GroupPathSelectorMetadataUuid) FieldPath ¶
func (GroupPathSelectorMetadataUuid) FieldPath() *Group_FieldSubPath
func (GroupPathSelectorMetadataUuid) WithArrayOfValues ¶
func (s GroupPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Group_FieldSubPathArrayOfValues
func (GroupPathSelectorMetadataUuid) WithValue ¶
func (s GroupPathSelectorMetadataUuid) WithValue(value string) *Group_FieldSubPathValue
type GroupPathSelectorName ¶
type GroupPathSelectorName struct{}
func (GroupPathSelectorName) FieldPath ¶
func (GroupPathSelectorName) FieldPath() *Group_FieldTerminalPath
func (GroupPathSelectorName) WithArrayOfValues ¶
func (s GroupPathSelectorName) WithArrayOfValues(values []*Name) *Group_FieldTerminalPathArrayOfValues
func (GroupPathSelectorName) WithValue ¶
func (s GroupPathSelectorName) WithValue(value *Name) *Group_FieldTerminalPathValue
type GroupReferenceList ¶
type GroupReferenceList []*Reference
func (GroupReferenceList) Append ¶
func (l GroupReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (GroupReferenceList) AppendList ¶
func (l GroupReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (GroupReferenceList) At ¶
func (l GroupReferenceList) At(idx int) gotenresource.Reference
func (GroupReferenceList) Length ¶
func (l GroupReferenceList) Length() int
func (GroupReferenceList) Set ¶
func (l GroupReferenceList) Set(idx int, ref gotenresource.Reference)
func (GroupReferenceList) Slice ¶
func (l GroupReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Group_FieldMask ¶
type Group_FieldMask struct {
Paths []Group_FieldPath
}
func FullGroup_FieldMask ¶
func FullGroup_FieldMask() *Group_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Group_FieldMask) *Group_FieldMask
func (*Group_FieldMask) AppendPath ¶
func (fieldMask *Group_FieldMask) AppendPath(path Group_FieldPath)
func (*Group_FieldMask) AppendRawPath ¶
func (fieldMask *Group_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Group_FieldMask) DecodeFirestore ¶
func (fieldMask *Group_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Group_FieldMask) EncodeFirestore ¶
func (fieldMask *Group_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Group_FieldMask) FilterInputFields ¶
func (fieldMask *Group_FieldMask) FilterInputFields() *Group_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Group_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Group_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Group_FieldMask) GetPaths ¶
func (fieldMask *Group_FieldMask) GetPaths() []Group_FieldPath
func (*Group_FieldMask) GetRawPaths ¶
func (fieldMask *Group_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Group_FieldMask) IsFull ¶
func (fieldMask *Group_FieldMask) IsFull() bool
func (Group_FieldMask) Marshal ¶
func (fieldMask Group_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Group_FieldMask) MarshalJSON ¶
func (fieldMask Group_FieldMask) MarshalJSON() ([]byte, error)
func (*Group_FieldMask) PathsCount ¶
func (fieldMask *Group_FieldMask) PathsCount() int
func (*Group_FieldMask) Project ¶
func (fieldMask *Group_FieldMask) Project(source *Group) *Group
func (*Group_FieldMask) ProjectRaw ¶
func (fieldMask *Group_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Group_FieldMask) ProtoMessage ¶
func (fieldMask *Group_FieldMask) ProtoMessage()
func (*Group_FieldMask) ProtoReflect ¶
func (fieldMask *Group_FieldMask) ProtoReflect() preflect.Message
func (*Group_FieldMask) Reset ¶
func (fieldMask *Group_FieldMask) Reset()
func (*Group_FieldMask) Set ¶
func (fieldMask *Group_FieldMask) Set(target, source *Group)
func (*Group_FieldMask) SetFromCliFlag ¶
func (fieldMask *Group_FieldMask) SetFromCliFlag(raw string) error
func (*Group_FieldMask) SetRaw ¶
func (fieldMask *Group_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Group_FieldMask) Size ¶
func (fieldMask *Group_FieldMask) Size() int
func (*Group_FieldMask) String ¶
func (fieldMask *Group_FieldMask) String() string
func (*Group_FieldMask) Subtract ¶
func (fieldMask *Group_FieldMask) Subtract(other *Group_FieldMask) *Group_FieldMask
func (*Group_FieldMask) SubtractRaw ¶
func (fieldMask *Group_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Group_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Group_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Group_FieldMask) Unmarshal ¶
func (fieldMask *Group_FieldMask) Unmarshal(data []byte) error
func (*Group_FieldMask) UnmarshalJSON ¶
func (fieldMask *Group_FieldMask) UnmarshalJSON(data []byte) error
type Group_FieldPath ¶
type Group_FieldPath interface { gotenobject.FieldPath Selector() Group_FieldPathSelector Get(source *Group) []interface{} GetSingle(source *Group) (interface{}, bool) ClearValue(item *Group) // Those methods build corresponding Group_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Group_FieldPathValue WithIArrayOfValues(values interface{}) Group_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Group_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildGroup_FieldPath ¶
func BuildGroup_FieldPath(fp gotenobject.RawFieldPath) (Group_FieldPath, error)
func MustParseGroup_FieldPath ¶
func MustParseGroup_FieldPath(rawField string) Group_FieldPath
func ParseGroup_FieldPath ¶
func ParseGroup_FieldPath(rawField string) (Group_FieldPath, error)
type Group_FieldPathArrayItemValue ¶
type Group_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Group_FieldPath ContainsValue(*Group) bool }
Group_FieldPathArrayItemValue allows storing single item in Path-specific values for Group according to their type Present only for array (repeated) types.
func MustParseGroup_FieldPathArrayItemValue ¶
func MustParseGroup_FieldPathArrayItemValue(pathStr, valueStr string) Group_FieldPathArrayItemValue
func ParseGroup_FieldPathArrayItemValue ¶
func ParseGroup_FieldPathArrayItemValue(pathStr, valueStr string) (Group_FieldPathArrayItemValue, error)
ParseGroup_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Group_FieldPathArrayOfValues ¶
type Group_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Group_FieldPath }
Group_FieldPathArrayOfValues allows storing slice of values for Group fields according to their type
func MustParseGroup_FieldPathArrayOfValues ¶
func MustParseGroup_FieldPathArrayOfValues(pathStr, valuesStr string) Group_FieldPathArrayOfValues
func ParseGroup_FieldPathArrayOfValues ¶
func ParseGroup_FieldPathArrayOfValues(pathStr, valuesStr string) (Group_FieldPathArrayOfValues, error)
type Group_FieldPathSelector ¶
type Group_FieldPathSelector int32
const ( Group_FieldPathSelectorName Group_FieldPathSelector = 0 Group_FieldPathSelectorDisplayName Group_FieldPathSelector = 1 Group_FieldPathSelectorEmail Group_FieldPathSelector = 2 Group_FieldPathSelectorMetadata Group_FieldPathSelector = 3 )
func (Group_FieldPathSelector) String ¶
func (s Group_FieldPathSelector) String() string
type Group_FieldPathValue ¶
type Group_FieldPathValue interface { Group_FieldPath gotenobject.FieldPathValue SetTo(target **Group) CompareWith(*Group) (cmp int, comparable bool) }
Group_FieldPathValue allows storing values for Group fields according to their type
func MustParseGroup_FieldPathValue ¶
func MustParseGroup_FieldPathValue(pathStr, valueStr string) Group_FieldPathValue
func ParseGroup_FieldPathValue ¶
func ParseGroup_FieldPathValue(pathStr, valueStr string) (Group_FieldPathValue, error)
type Group_FieldSubPath ¶
type Group_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Group_FieldSubPath) AsMetadataSubPath ¶
func (fps *Group_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
func (*Group_FieldSubPath) ClearValue ¶
func (fps *Group_FieldSubPath) ClearValue(item *Group)
func (*Group_FieldSubPath) ClearValueRaw ¶
func (fps *Group_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Group_FieldSubPath) Get ¶
func (fps *Group_FieldSubPath) Get(source *Group) (values []interface{})
Get returns all values pointed by selected field from source Group
func (*Group_FieldSubPath) GetDefault ¶
func (fps *Group_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Group_FieldSubPath) GetRaw ¶
func (fps *Group_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Group_FieldSubPath) GetSingle ¶
func (fps *Group_FieldSubPath) GetSingle(source *Group) (interface{}, bool)
GetSingle returns value of selected field from source Group
func (*Group_FieldSubPath) GetSingleRaw ¶
func (fps *Group_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Group_FieldSubPath) IsLeaf ¶
func (fps *Group_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Group_FieldSubPath) JSONString ¶
func (fps *Group_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Group_FieldSubPath) Selector ¶
func (fps *Group_FieldSubPath) Selector() Group_FieldPathSelector
func (*Group_FieldSubPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fps *Group_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Group_FieldSubPath) String ¶
func (fps *Group_FieldSubPath) String() string
String returns path representation in proto convention
func (*Group_FieldSubPath) WithIArrayItemValue ¶
func (fps *Group_FieldSubPath) WithIArrayItemValue(value interface{}) Group_FieldPathArrayItemValue
func (*Group_FieldSubPath) WithIArrayOfValues ¶
func (fps *Group_FieldSubPath) WithIArrayOfValues(values interface{}) Group_FieldPathArrayOfValues
func (*Group_FieldSubPath) WithIValue ¶
func (fps *Group_FieldSubPath) WithIValue(value interface{}) Group_FieldPathValue
func (*Group_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Group_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Group_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Group_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Group_FieldSubPath) WithRawIValue ¶
func (fps *Group_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Group_FieldSubPathArrayItemValue ¶
type Group_FieldSubPathArrayItemValue struct { Group_FieldPath // contains filtered or unexported fields }
func (*Group_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *Group_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (ntt_meta.Meta_FieldPathArrayItemValue, bool)
func (*Group_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Group_FieldSubPathArrayItemValue) ContainsValue(source *Group) bool
Contains returns a boolean indicating if value that is being held is present in given 'Group'
func (*Group_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Group_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Group_FieldSubPathArrayOfValues ¶
type Group_FieldSubPathArrayOfValues struct { Group_FieldPath // contains filtered or unexported fields }
func (*Group_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *Group_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)
func (*Group_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Group_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Group_FieldSubPathValue ¶
type Group_FieldSubPathValue struct { Group_FieldPath // contains filtered or unexported fields }
func (*Group_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *Group_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
func (*Group_FieldSubPathValue) CompareWith ¶
func (fpvs *Group_FieldSubPathValue) CompareWith(source *Group) (int, bool)
func (*Group_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Group_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Group_FieldSubPathValue) GetRawValue ¶
func (fpvs *Group_FieldSubPathValue) GetRawValue() interface{}
func (*Group_FieldSubPathValue) SetTo ¶
func (fpvs *Group_FieldSubPathValue) SetTo(target **Group)
func (*Group_FieldSubPathValue) SetToRaw ¶
func (fpvs *Group_FieldSubPathValue) SetToRaw(target proto.Message)
type Group_FieldTerminalPath ¶
type Group_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Group_FieldTerminalPath) ClearValue ¶
func (fp *Group_FieldTerminalPath) ClearValue(item *Group)
func (*Group_FieldTerminalPath) ClearValueRaw ¶
func (fp *Group_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Group_FieldTerminalPath) Get ¶
func (fp *Group_FieldTerminalPath) Get(source *Group) (values []interface{})
Get returns all values pointed by specific field from source Group
func (*Group_FieldTerminalPath) GetDefault ¶
func (fp *Group_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Group_FieldTerminalPath) GetRaw ¶
func (fp *Group_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Group_FieldTerminalPath) GetSingle ¶
func (fp *Group_FieldTerminalPath) GetSingle(source *Group) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Group
func (*Group_FieldTerminalPath) GetSingleRaw ¶
func (fp *Group_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Group_FieldTerminalPath) IsLeaf ¶
func (fp *Group_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Group_FieldTerminalPath) JSONString ¶
func (fp *Group_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Group_FieldTerminalPath) Selector ¶
func (fp *Group_FieldTerminalPath) Selector() Group_FieldPathSelector
func (*Group_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Group_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Group_FieldTerminalPath) String ¶
func (fp *Group_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Group_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Group_FieldTerminalPath) WithIArrayItemValue(value interface{}) Group_FieldPathArrayItemValue
func (*Group_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Group_FieldTerminalPath) WithIArrayOfValues(values interface{}) Group_FieldPathArrayOfValues
func (*Group_FieldTerminalPath) WithIValue ¶
func (fp *Group_FieldTerminalPath) WithIValue(value interface{}) Group_FieldPathValue
func (*Group_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Group_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Group_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Group_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Group_FieldTerminalPath) WithRawIValue ¶
func (fp *Group_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Group_FieldTerminalPathArrayItemValue ¶
type Group_FieldTerminalPathArrayItemValue struct { Group_FieldTerminalPath // contains filtered or unexported fields }
func (*Group_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Group_FieldTerminalPathArrayItemValue) ContainsValue(source *Group) bool
Contains returns a boolean indicating if value that is being held is present in given 'Group'
func (*Group_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Group as interface{}
func (*Group_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetSingle(source *Group) (interface{}, bool)
func (*Group_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Group_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Group_FieldTerminalPathArrayOfValues ¶
type Group_FieldTerminalPathArrayOfValues struct { Group_FieldTerminalPath // contains filtered or unexported fields }
func (*Group_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues ¶
func (fpaov *Group_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
func (*Group_FieldTerminalPathArrayOfValues) AsEmailArrayOfValues ¶
func (fpaov *Group_FieldTerminalPathArrayOfValues) AsEmailArrayOfValues() ([]string, bool)
func (*Group_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *Group_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
func (*Group_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Group_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Group_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Group_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Group_FieldTerminalPathValue ¶
type Group_FieldTerminalPathValue struct { Group_FieldTerminalPath // contains filtered or unexported fields }
func (*Group_FieldTerminalPathValue) AsDisplayNameValue ¶
func (fpv *Group_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
func (*Group_FieldTerminalPathValue) AsEmailValue ¶
func (fpv *Group_FieldTerminalPathValue) AsEmailValue() (string, bool)
func (*Group_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *Group_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
func (*Group_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Group_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Group_FieldTerminalPathValue) CompareWith ¶
func (fpv *Group_FieldTerminalPathValue) CompareWith(source *Group) (int, bool)
CompareWith compares value in the 'Group_FieldTerminalPathValue' with the value under path in 'Group'.
func (*Group_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Group_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Group_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Group_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Group' as interface{}
func (*Group_FieldTerminalPathValue) SetTo ¶
func (fpv *Group_FieldTerminalPathValue) SetTo(target **Group)
SetTo stores value for selected field for object Group
func (*Group_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Group_FieldTerminalPathValue) SetToRaw(target proto.Message)
type ListQuery ¶
type ListQuery struct { Filter *Filter Pager *PagerQuery Mask *Group_FieldMask WithPagingInfo bool }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GetWithPagingInfo ¶ added in v0.10.1
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
func (*ListQuery) SetWithPagingInfo ¶ added in v0.10.1
type Name ¶
type Name struct { ParentName GroupId string `firestore:"groupId"` }
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) GetOrganizationName ¶
func (name *Name) GetOrganizationName() *organization.Name
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetProjectName ¶
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) Parent ¶
func (b *NameBuilder) Parent() *ParentName
func (*NameBuilder) ParentReference ¶
func (b *NameBuilder) ParentReference() *ParentReference
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
func (*NameBuilder) SetOrganization ¶
func (b *NameBuilder) SetOrganization(parent *organization.Name) *NameBuilder
func (*NameBuilder) SetOrganizationId ¶
func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
func (*NameBuilder) SetProject ¶
func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder
func (*NameBuilder) SetProjectId ¶
func (b *NameBuilder) SetProjectId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Group_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
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) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Group_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 *Group) 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 ParentName ¶
type ParentName struct { NamePattern ProjectId string `firestore:"projectId"` OrganizationId string `firestore:"organizationId"` }
func MustParseParentName ¶
func MustParseParentName(name string) *ParentName
func ParseParentName ¶
func ParseParentName(name string) (*ParentName, error)
func (*ParentName) AsRawReference ¶
func (name *ParentName) AsRawReference() gotenresource.Reference
func (*ParentName) AsReference ¶
func (name *ParentName) AsReference() *ParentReference
func (*ParentName) DescendsFrom ¶
func (name *ParentName) DescendsFrom(ancestor string) bool
func (*ParentName) FullyQualifiedName ¶
func (name *ParentName) FullyQualifiedName() (string, error)
func (*ParentName) GetIParentName ¶ added in v0.8.0
func (name *ParentName) GetIParentName() gotenresource.Name
func (*ParentName) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
func (*ParentName) GetIdParts ¶
func (name *ParentName) GetIdParts() map[string]string
func (*ParentName) GetOrganizationName ¶
func (name *ParentName) GetOrganizationName() *organization.Name
func (*ParentName) GetPattern ¶
func (name *ParentName) GetPattern() gotenresource.NamePattern
func (*ParentName) GetProjectName ¶
func (name *ParentName) GetProjectName() *project.Name
func (*ParentName) GetResourceDescriptor ¶
func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentName) GetSegments ¶
func (name *ParentName) GetSegments() gotenresource.NameSegments
func (*ParentName) GotenEqual ¶
func (name *ParentName) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentName) IsFullyQualified ¶
func (name *ParentName) IsFullyQualified() bool
func (*ParentName) IsSpecified ¶
func (name *ParentName) IsSpecified() bool
func (*ParentName) Matches ¶
func (name *ParentName) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentName) ParseProtoString ¶
func (name *ParentName) ParseProtoString(data string) error
func (*ParentName) ProtoString ¶
func (name *ParentName) ProtoString() (string, error)
func (*ParentName) SetFromCliFlag ¶
func (name *ParentName) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentName) SetFromSegments ¶
func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
func (*ParentName) String ¶
func (name *ParentName) String() string
type ParentReference ¶
type ParentReference struct { ParentName // contains filtered or unexported fields }
func MakeParentReference ¶
func MakeParentReference(name *ParentName) (*ParentReference, error)
func MustParseParentReference ¶
func MustParseParentReference(name string) *ParentReference
func ParseParentReference ¶
func ParseParentReference(name string) (*ParentReference, error)
func (*ParentReference) ClearCached ¶
func (ref *ParentReference) ClearCached()
func (*ParentReference) ConvertToNative ¶ added in v0.6.9
func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
func (*ParentReference) ConvertToType ¶ added in v0.6.9
func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
func (*ParentReference) Equal ¶ added in v0.6.9
func (name *ParentReference) Equal(other ref.Val) ref.Val
func (*ParentReference) GetIParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIParentName() gotenresource.Name
func (*ParentReference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
func (*ParentReference) GetIdParts ¶
func (ref *ParentReference) GetIdParts() map[string]string
func (*ParentReference) GetOrganization ¶
func (ref *ParentReference) GetOrganization() *organization.Organization
func (*ParentReference) GetOrganizationReference ¶
func (ref *ParentReference) GetOrganizationReference() *organization.Reference
func (*ParentReference) GetPattern ¶
func (ref *ParentReference) GetPattern() gotenresource.NamePattern
func (*ParentReference) GetProject ¶
func (ref *ParentReference) GetProject() *project.Project
func (*ParentReference) GetProjectReference ¶
func (ref *ParentReference) GetProjectReference() *project.Reference
func (*ParentReference) GetRawResource ¶
func (ref *ParentReference) GetRawResource() gotenresource.Resource
func (*ParentReference) GetResourceDescriptor ¶
func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentReference) GetSegments ¶
func (ref *ParentReference) GetSegments() gotenresource.NameSegments
func (*ParentReference) GetUnderlyingReference ¶
func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
func (*ParentReference) GotenEqual ¶
func (ref *ParentReference) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentReference) HasTrait ¶ added in v0.6.9
func (name *ParentReference) HasTrait(trait int) bool
func (*ParentReference) IsFullyQualified ¶
func (ref *ParentReference) IsFullyQualified() bool
func (*ParentReference) IsSpecified ¶
func (ref *ParentReference) IsSpecified() bool
func (*ParentReference) Match ¶ added in v0.6.9
func (name *ParentReference) Match(pattern ref.Val) ref.Val
func (*ParentReference) Matches ¶
func (name *ParentReference) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentReference) ParseProtoString ¶
func (ref *ParentReference) ParseProtoString(data string) error
func (*ParentReference) ProtoString ¶
func (ref *ParentReference) ProtoString() (string, error)
func (*ParentReference) ResolveRaw ¶
func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
func (*ParentReference) Resolved ¶
func (ref *ParentReference) Resolved() bool
func (*ParentReference) SetFromCliFlag ¶
func (ref *ParentReference) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentReference) String ¶
func (ref *ParentReference) String() string
func (*ParentReference) Type ¶ added in v0.6.9
func (name *ParentReference) Type() ref.Type
func (*ParentReference) TypeName ¶ added in v0.6.9
func (name *ParentReference) TypeName() string
func (*ParentReference) Value ¶ added in v0.6.9
func (name *ParentReference) Value() interface{}
type QueryResultChange ¶
type QueryResultChange struct { Changes []*GroupChange 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 { Groups []*Group PrevPageCursor *PagerCursor NextPageCursor *PagerCursor TotalResultsCount int32 CurrentOffset int32 }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetPagingInfo ¶ added in v0.10.1
func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
func (*QueryResultSnapshot) GetPrevPageCursor ¶
func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetResults ¶
func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
func (*QueryResultSnapshot) SetCursors ¶
func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultSnapshot) SetPagingInfo ¶ added in v0.10.1
func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
func (*QueryResultSnapshot) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetIParentName ¶ 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) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResourceDescriptor ¶
func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
func (*Reference) GetSegments ¶
func (ref *Reference) GetSegments() gotenresource.NameSegments
func (*Reference) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
type 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 ¶
- group.pb.access.go
- group.pb.collections.go
- group.pb.descriptor.go
- group.pb.fieldmask.go
- group.pb.fieldpath.go
- group.pb.fieldpathbuilder.go
- group.pb.filter.go
- group.pb.filterbuilder.go
- group.pb.go
- group.pb.name.go
- group.pb.namebuilder.go
- group.pb.object_ext.go
- group.pb.pagination.go
- group.pb.parentname.go
- group.pb.query.go
- group.pb.validate.go
- group.pb.view.go
- group_change.pb.change.go
- group_change.pb.go
- group_change.pb.validate.go