Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access ServiceAccess) 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) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Service) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Service) (out []*Service)
- 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 Service_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 *Service) 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 Service_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 *Service) 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 Service_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 *Service) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Service_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 Service_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 *Service) 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 Service_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 *Service) 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 Service_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 *Service) 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 Service_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 *Service) 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 Service_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 *Service) 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 Service_FieldPath) bool
- func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNotIn) String() string
- type GetQuery
- func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
- func (q *GetQuery) GetReference() gotenresource.Reference
- func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *GetQuery) GotenQuery()
- func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *GetQuery) SetReference(ref gotenresource.Reference)
- func (q *GetQuery) String() string
- type ListQuery
- func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
- func (q *ListQuery) GetFilter() gotenresource.Filter
- func (q *ListQuery) GetPager() gotenresource.PagerQuery
- func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *ListQuery) GotenQuery()
- func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *ListQuery) SetFilter(filter gotenresource.Filter)
- func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
- func (q *ListQuery) String() string
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Service) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Service_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted ServiceList, elem *Service) (ServiceList, 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 ServiceList)
- 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
- type QueryResultChange
- func (qr *QueryResultChange) GetIsCurrent() bool
- func (qr *QueryResultChange) GetIsHardReset() bool
- func (qr *QueryResultChange) GetIsSoftReset() bool
- func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
- func (qr *QueryResultChange) GetResumeToken() string
- func (qr *QueryResultChange) GetSnapshotSize() int64
- func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultChange) SetIsCurrent()
- func (qr *QueryResultChange) SetIsHardReset()
- func (qr *QueryResultChange) SetIsSoftReset()
- func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
- func (qr *QueryResultChange) SetResumeToken(token string)
- func (qr *QueryResultChange) SetSnapshotSize(size int64)
- type QueryResultSnapshot
- func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) 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) GetService() *Service
- 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 *Service)
- 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 Service
- func (o *Service) Clone() *Service
- func (o *Service) CloneRaw() gotenobject.GotenObjectExt
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetMetadata() *ntt_meta.Meta
- func (m *Service) GetName() *Name
- func (r *Service) GetRawName() gotenresource.Name
- func (r *Service) GetResourceDescriptor() gotenresource.Descriptor
- func (*Service) GotenMessage()
- func (o *Service) GotenObjectExt()
- func (obj *Service) GotenValidate() error
- func (o *Service) MakeDiffFieldMask(other *Service) *Service_FieldMask
- func (o *Service) MakeFullFieldMask() *Service_FieldMask
- func (o *Service) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Service) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Service) Marshal() ([]byte, error)
- func (m *Service) MarshalJSON() ([]byte, error)
- func (r *Service) MaybePopulateDefaults() error
- func (o *Service) Merge(source *Service)
- func (o *Service) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Service) ProtoMessage()
- func (m *Service) ProtoReflect() preflect.Message
- func (m *Service) Reset()
- func (m *Service) SetMetadata(fv *ntt_meta.Meta)
- func (m *Service) SetName(fv *Name)
- func (m *Service) String() string
- func (m *Service) Unmarshal(b []byte) error
- func (m *Service) UnmarshalJSON(data []byte) error
- type ServiceAccess
- type ServiceChange
- func (*ServiceChange) Descriptor() ([]byte, []int)
- func (m *ServiceChange) GetAdded() *ServiceChange_Added
- func (m *ServiceChange) GetChangeType() isServiceChange_ChangeType
- func (m *ServiceChange) GetCurrent() *ServiceChange_Current
- func (c *ServiceChange) GetCurrentViewIndex() int32
- func (m *ServiceChange) GetModified() *ServiceChange_Modified
- func (c *ServiceChange) GetPreviousViewIndex() int32
- func (c *ServiceChange) GetRawName() gotenresource.Name
- func (m *ServiceChange) GetRemoved() *ServiceChange_Removed
- func (c *ServiceChange) GetResource() gotenresource.Resource
- func (c *ServiceChange) GetService() *Service
- func (c *ServiceChange) GetServiceName() *Name
- func (*ServiceChange) GotenMessage()
- func (obj *ServiceChange) GotenValidate() error
- func (c *ServiceChange) IsAdd() bool
- func (c *ServiceChange) IsCurrent() bool
- func (c *ServiceChange) IsDelete() bool
- func (c *ServiceChange) IsModify() bool
- func (m *ServiceChange) Marshal() ([]byte, error)
- func (m *ServiceChange) MarshalJSON() ([]byte, error)
- func (*ServiceChange) ProtoMessage()
- func (m *ServiceChange) ProtoReflect() preflect.Message
- func (m *ServiceChange) Reset()
- func (m *ServiceChange) SetAdded(fv *ServiceChange_Added)
- func (c *ServiceChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *ServiceChange) SetChangeType(ofv isServiceChange_ChangeType)
- func (m *ServiceChange) SetCurrent(fv *ServiceChange_Current)
- func (c *ServiceChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *ServiceChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *ServiceChange) SetModified(fv *ServiceChange_Modified)
- func (c *ServiceChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *ServiceChange) SetRemoved(fv *ServiceChange_Removed)
- func (m *ServiceChange) String() string
- func (m *ServiceChange) Unmarshal(b []byte) error
- func (m *ServiceChange) UnmarshalJSON(data []byte) error
- type ServiceChangeList
- func (l ServiceChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l ServiceChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l ServiceChangeList) At(idx int) gotenresource.ResourceChange
- func (l ServiceChangeList) Length() int
- func (l ServiceChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l ServiceChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type ServiceChangeMap
- func (m ServiceChangeMap) Delete(name gotenresource.Name)
- func (m ServiceChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m ServiceChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m ServiceChangeMap) Length() int
- func (m ServiceChangeMap) Set(change gotenresource.ResourceChange)
- type ServiceChange_Added
- func (*ServiceChange_Added) Descriptor() ([]byte, []int)
- func (m *ServiceChange_Added) GetService() *Service
- func (m *ServiceChange_Added) GetViewIndex() int32
- func (*ServiceChange_Added) GotenMessage()
- func (obj *ServiceChange_Added) GotenValidate() error
- func (m *ServiceChange_Added) Marshal() ([]byte, error)
- func (m *ServiceChange_Added) MarshalJSON() ([]byte, error)
- func (*ServiceChange_Added) ProtoMessage()
- func (m *ServiceChange_Added) ProtoReflect() preflect.Message
- func (m *ServiceChange_Added) Reset()
- func (m *ServiceChange_Added) SetService(fv *Service)
- func (m *ServiceChange_Added) SetViewIndex(fv int32)
- func (m *ServiceChange_Added) String() string
- func (m *ServiceChange_Added) Unmarshal(b []byte) error
- func (m *ServiceChange_Added) UnmarshalJSON(data []byte) error
- type ServiceChange_Added_
- type ServiceChange_Current
- func (*ServiceChange_Current) Descriptor() ([]byte, []int)
- func (m *ServiceChange_Current) GetService() *Service
- func (*ServiceChange_Current) GotenMessage()
- func (obj *ServiceChange_Current) GotenValidate() error
- func (m *ServiceChange_Current) Marshal() ([]byte, error)
- func (m *ServiceChange_Current) MarshalJSON() ([]byte, error)
- func (*ServiceChange_Current) ProtoMessage()
- func (m *ServiceChange_Current) ProtoReflect() preflect.Message
- func (m *ServiceChange_Current) Reset()
- func (m *ServiceChange_Current) SetService(fv *Service)
- func (m *ServiceChange_Current) String() string
- func (m *ServiceChange_Current) Unmarshal(b []byte) error
- func (m *ServiceChange_Current) UnmarshalJSON(data []byte) error
- type ServiceChange_Current_
- type ServiceChange_Modified
- func (*ServiceChange_Modified) Descriptor() ([]byte, []int)
- func (m *ServiceChange_Modified) GetFieldMask() *Service_FieldMask
- func (m *ServiceChange_Modified) GetName() *Name
- func (m *ServiceChange_Modified) GetPreviousViewIndex() int32
- func (m *ServiceChange_Modified) GetService() *Service
- func (m *ServiceChange_Modified) GetViewIndex() int32
- func (*ServiceChange_Modified) GotenMessage()
- func (obj *ServiceChange_Modified) GotenValidate() error
- func (m *ServiceChange_Modified) Marshal() ([]byte, error)
- func (m *ServiceChange_Modified) MarshalJSON() ([]byte, error)
- func (*ServiceChange_Modified) ProtoMessage()
- func (m *ServiceChange_Modified) ProtoReflect() preflect.Message
- func (m *ServiceChange_Modified) Reset()
- func (m *ServiceChange_Modified) SetFieldMask(fv *Service_FieldMask)
- func (m *ServiceChange_Modified) SetName(fv *Name)
- func (m *ServiceChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *ServiceChange_Modified) SetService(fv *Service)
- func (m *ServiceChange_Modified) SetViewIndex(fv int32)
- func (m *ServiceChange_Modified) String() string
- func (m *ServiceChange_Modified) Unmarshal(b []byte) error
- func (m *ServiceChange_Modified) UnmarshalJSON(data []byte) error
- type ServiceChange_Modified_
- type ServiceChange_Removed
- func (*ServiceChange_Removed) Descriptor() ([]byte, []int)
- func (m *ServiceChange_Removed) GetName() *Name
- func (m *ServiceChange_Removed) GetViewIndex() int32
- func (*ServiceChange_Removed) GotenMessage()
- func (obj *ServiceChange_Removed) GotenValidate() error
- func (m *ServiceChange_Removed) Marshal() ([]byte, error)
- func (m *ServiceChange_Removed) MarshalJSON() ([]byte, error)
- func (*ServiceChange_Removed) ProtoMessage()
- func (m *ServiceChange_Removed) ProtoReflect() preflect.Message
- func (m *ServiceChange_Removed) Reset()
- func (m *ServiceChange_Removed) SetName(fv *Name)
- func (m *ServiceChange_Removed) SetViewIndex(fv int32)
- func (m *ServiceChange_Removed) String() string
- func (m *ServiceChange_Removed) Unmarshal(b []byte) error
- func (m *ServiceChange_Removed) UnmarshalJSON(data []byte) error
- type ServiceChange_Removed_
- type ServiceFieldPathBuilder
- type ServiceList
- func (l ServiceList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l ServiceList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l ServiceList) At(idx int) gotenresource.Resource
- func (l ServiceList) Length() int
- func (l ServiceList) Set(idx int, res gotenresource.Resource)
- func (l ServiceList) Slice(first, second int) gotenresource.ResourceList
- type ServiceMap
- type ServiceMapPathSelectorMetadataAnnotations
- func (s ServiceMapPathSelectorMetadataAnnotations) FieldPath() *Service_FieldSubPath
- func (s ServiceMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServiceMapPathSelectorMetadataAnnotations) WithValue(value string) *Service_FieldSubPathValue
- type ServiceMapPathSelectorMetadataLabels
- type ServiceMapPathSelectorMetadataShards
- type ServiceNameList
- func (l ServiceNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l ServiceNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l ServiceNameList) At(idx int) gotenresource.Name
- func (l ServiceNameList) Length() int
- func (l ServiceNameList) Set(idx int, name gotenresource.Name)
- func (l ServiceNameList) Slice(first, second int) gotenresource.NameList
- type ServicePathSelectorMetadata
- func (ServicePathSelectorMetadata) Annotations() ServicePathSelectorMetadataAnnotations
- func (ServicePathSelectorMetadata) CreateTime() ServicePathSelectorMetadataCreateTime
- func (ServicePathSelectorMetadata) FieldPath() *Service_FieldTerminalPath
- func (ServicePathSelectorMetadata) Generation() ServicePathSelectorMetadataGeneration
- func (ServicePathSelectorMetadata) Labels() ServicePathSelectorMetadataLabels
- func (ServicePathSelectorMetadata) OwnerReferences() ServicePathSelectorMetadataOwnerReferences
- func (ServicePathSelectorMetadata) ResourceVersion() ServicePathSelectorMetadataResourceVersion
- func (ServicePathSelectorMetadata) Shards() ServicePathSelectorMetadataShards
- func (ServicePathSelectorMetadata) Syncing() ServicePathSelectorMetadataSyncing
- func (ServicePathSelectorMetadata) Tags() ServicePathSelectorMetadataTags
- func (ServicePathSelectorMetadata) UpdateTime() ServicePathSelectorMetadataUpdateTime
- func (ServicePathSelectorMetadata) Uuid() ServicePathSelectorMetadataUuid
- func (s ServicePathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Service_FieldTerminalPathArrayOfValues
- func (s ServicePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Service_FieldSubPathArrayItemValue
- func (s ServicePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Service_FieldSubPathArrayOfValues
- func (ServicePathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Service_FieldSubPath
- func (s ServicePathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Service_FieldSubPathValue
- func (s ServicePathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Service_FieldTerminalPathValue
- type ServicePathSelectorMetadataAnnotations
- func (ServicePathSelectorMetadataAnnotations) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Service_FieldSubPathArrayOfValues
- func (ServicePathSelectorMetadataAnnotations) WithKey(key string) ServiceMapPathSelectorMetadataAnnotations
- func (s ServicePathSelectorMetadataAnnotations) WithValue(value map[string]string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataCreateTime
- func (ServicePathSelectorMetadataCreateTime) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataGeneration
- type ServicePathSelectorMetadataLabels
- func (ServicePathSelectorMetadataLabels) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Service_FieldSubPathArrayOfValues
- func (ServicePathSelectorMetadataLabels) WithKey(key string) ServiceMapPathSelectorMetadataLabels
- func (s ServicePathSelectorMetadataLabels) WithValue(value map[string]string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferences
- func (ServicePathSelectorMetadataOwnerReferences) ApiVersion() ServicePathSelectorMetadataOwnerReferencesApiVersion
- func (ServicePathSelectorMetadataOwnerReferences) BlockOwnerDeletion() ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (ServicePathSelectorMetadataOwnerReferences) Controller() ServicePathSelectorMetadataOwnerReferencesController
- func (ServicePathSelectorMetadataOwnerReferences) FieldPath() *Service_FieldSubPath
- func (ServicePathSelectorMetadataOwnerReferences) Kind() ServicePathSelectorMetadataOwnerReferencesKind
- func (ServicePathSelectorMetadataOwnerReferences) Name() ServicePathSelectorMetadataOwnerReferencesName
- func (ServicePathSelectorMetadataOwnerReferences) Uid() ServicePathSelectorMetadataOwnerReferencesUid
- func (s ServicePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Service_FieldSubPathArrayItemValue
- func (s ServicePathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesApiVersion
- func (ServicePathSelectorMetadataOwnerReferencesApiVersion) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesApiVersion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesApiVersion) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesController
- func (ServicePathSelectorMetadataOwnerReferencesController) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesKind
- func (ServicePathSelectorMetadataOwnerReferencesKind) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesName
- func (ServicePathSelectorMetadataOwnerReferencesName) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesName) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataOwnerReferencesUid
- func (ServicePathSelectorMetadataOwnerReferencesUid) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataOwnerReferencesUid) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataOwnerReferencesUid) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataResourceVersion
- func (ServicePathSelectorMetadataResourceVersion) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataResourceVersion) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataShards
- func (ServicePathSelectorMetadataShards) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Service_FieldSubPathArrayOfValues
- func (ServicePathSelectorMetadataShards) WithKey(key string) ServiceMapPathSelectorMetadataShards
- func (s ServicePathSelectorMetadataShards) WithValue(value map[string]int64) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataSyncing
- func (ServicePathSelectorMetadataSyncing) FieldPath() *Service_FieldSubPath
- func (ServicePathSelectorMetadataSyncing) OwningRegion() ServicePathSelectorMetadataSyncingOwningRegion
- func (ServicePathSelectorMetadataSyncing) Regions() ServicePathSelectorMetadataSyncingRegions
- func (s ServicePathSelectorMetadataSyncing) WithArrayOfValues(values []*syncing_meta.SyncingMeta) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataSyncing) WithValue(value *syncing_meta.SyncingMeta) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataSyncingOwningRegion
- func (ServicePathSelectorMetadataSyncingOwningRegion) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataSyncingRegions
- func (ServicePathSelectorMetadataSyncingRegions) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataSyncingRegions) WithItemValue(value string) *Service_FieldSubPathArrayItemValue
- func (s ServicePathSelectorMetadataSyncingRegions) WithValue(value []string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataTags
- func (ServicePathSelectorMetadataTags) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataTags) WithItemValue(value string) *Service_FieldSubPathArrayItemValue
- func (s ServicePathSelectorMetadataTags) WithValue(value []string) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataUpdateTime
- func (ServicePathSelectorMetadataUpdateTime) FieldPath() *Service_FieldSubPath
- func (s ServicePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Service_FieldSubPathArrayOfValues
- func (s ServicePathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Service_FieldSubPathValue
- type ServicePathSelectorMetadataUuid
- type ServicePathSelectorName
- type ServiceReferenceList
- func (l ServiceReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l ServiceReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l ServiceReferenceList) At(idx int) gotenresource.Reference
- func (l ServiceReferenceList) Length() int
- func (l ServiceReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ServiceReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Service_FieldMask
- func (fieldMask *Service_FieldMask) AppendPath(path Service_FieldPath)
- func (fieldMask *Service_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Service_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Service_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Service_FieldMask) FilterInputFields() *Service_FieldMask
- func (fieldMask *Service_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Service_FieldMask) GetPaths() []Service_FieldPath
- func (fieldMask *Service_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Service_FieldMask) IsFull() bool
- func (fieldMask Service_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Service_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Service_FieldMask) PathsCount() int
- func (fieldMask *Service_FieldMask) Project(source *Service) *Service
- func (fieldMask *Service_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Service_FieldMask) ProtoMessage()
- func (fieldMask *Service_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Service_FieldMask) Reset()
- func (fieldMask *Service_FieldMask) Set(target, source *Service)
- func (fieldMask *Service_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Service_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Service_FieldMask) Size() int
- func (fieldMask *Service_FieldMask) String() string
- func (fieldMask *Service_FieldMask) Subtract(other *Service_FieldMask) *Service_FieldMask
- func (fieldMask *Service_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Service_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Service_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Service_FieldMask) UnmarshalJSON(data []byte) error
- type Service_FieldPath
- type Service_FieldPathArrayItemValue
- type Service_FieldPathArrayOfValues
- type Service_FieldPathSelector
- type Service_FieldPathValue
- type Service_FieldSubPath
- func (fps *Service_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
- func (fps *Service_FieldSubPath) ClearValue(item *Service)
- func (fps *Service_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Service_FieldSubPath) Get(source *Service) (values []interface{})
- func (fps *Service_FieldSubPath) GetDefault() interface{}
- func (fps *Service_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Service_FieldSubPath) GetSingle(source *Service) (interface{}, bool)
- func (fps *Service_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Service_FieldSubPath) IsLeaf() bool
- func (fps *Service_FieldSubPath) JSONString() string
- func (fps *Service_FieldSubPath) Selector() Service_FieldPathSelector
- func (fps *Service_FieldSubPath) String() string
- func (fps *Service_FieldSubPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue
- func (fps *Service_FieldSubPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues
- func (fps *Service_FieldSubPath) WithIValue(value interface{}) Service_FieldPathValue
- func (fps *Service_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Service_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Service_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Service_FieldSubPathArrayItemValue
- type Service_FieldSubPathArrayOfValues
- type Service_FieldSubPathValue
- func (fpvs *Service_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
- func (fpvs *Service_FieldSubPathValue) CompareWith(source *Service) (int, bool)
- func (fpvs *Service_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Service_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Service_FieldSubPathValue) SetTo(target **Service)
- func (fpvs *Service_FieldSubPathValue) SetToRaw(target proto.Message)
- type Service_FieldTerminalPath
- func (fp *Service_FieldTerminalPath) ClearValue(item *Service)
- func (fp *Service_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Service_FieldTerminalPath) Get(source *Service) (values []interface{})
- func (fp *Service_FieldTerminalPath) GetDefault() interface{}
- func (fp *Service_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Service_FieldTerminalPath) GetSingle(source *Service) (interface{}, bool)
- func (fp *Service_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Service_FieldTerminalPath) IsLeaf() bool
- func (fp *Service_FieldTerminalPath) JSONString() string
- func (fp *Service_FieldTerminalPath) Selector() Service_FieldPathSelector
- func (fp *Service_FieldTerminalPath) String() string
- func (fp *Service_FieldTerminalPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue
- func (fp *Service_FieldTerminalPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues
- func (fp *Service_FieldTerminalPath) WithIValue(value interface{}) Service_FieldPathValue
- func (fp *Service_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Service_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Service_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Service_FieldTerminalPathArrayItemValue
- func (fpaiv *Service_FieldTerminalPathArrayItemValue) ContainsValue(source *Service) bool
- func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetSingle(source *Service) (interface{}, bool)
- func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Service_FieldTerminalPathArrayOfValues
- type Service_FieldTerminalPathValue
- func (fpv *Service_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
- func (fpv *Service_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Service_FieldTerminalPathValue) CompareWith(source *Service) (int, bool)
- func (fpv *Service_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Service_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Service_FieldTerminalPathValue) SetTo(target **Service)
- func (fpv *Service_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const (
NamePattern_Nil = "services/{service}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access ServiceAccess) 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) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewSearchQueryResultSnapshot ¶
func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) DecodeFirestore ¶
func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Filter) EncodeFirestore ¶
func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Filter) 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 Service_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 *Service) bool // Whether this condition is at least as specific as other. // When true, any Service 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 Service_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Service_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 *Service) 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 Service_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 *Service) 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 Service_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 Service_FieldPath Value Service_FieldPathArrayItemValue Values []Service_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 *Service) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Service_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 Service_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 {
Service_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 *Service) 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 Service_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 Service_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 *Service) 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 Service_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 Service_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 *Service) 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 Service_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 *Service) 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 Service_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 {
Service_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 *Service) 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 Service_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 *Service_FieldMask }
func (*GetQuery) GetFieldMask ¶
func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
func (*GetQuery) GetReference ¶
func (q *GetQuery) GetReference() gotenresource.Reference
func (*GetQuery) GetResourceDescriptor ¶
func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*GetQuery) GotenQuery ¶
func (q *GetQuery) GotenQuery()
func (*GetQuery) SetFieldMask ¶
func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*GetQuery) SetReference ¶
func (q *GetQuery) SetReference(ref gotenresource.Reference)
type ListQuery ¶
type ListQuery struct { Filter *Filter Pager *PagerQuery Mask *Service_FieldMask }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
type Name ¶
type Name struct { NamePattern ServiceId string `firestore:"serviceId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
func (*Name) GetIdParts ¶
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Service_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
func (orderBy *OrderBy) InsertSorted(sorted ServiceList, elem *Service) (ServiceList, int)
func (*OrderBy) InsertSortedRaw ¶
func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
func (*OrderBy) ParseProtoString ¶
func (*OrderBy) ProtoString ¶
func (*OrderBy) SetFromCliFlag ¶
func (*OrderBy) Sort ¶
func (orderBy *OrderBy) Sort(results ServiceList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Service_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 *Service) 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
type QueryResultChange ¶
type QueryResultChange struct { Changes []*ServiceChange 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 { Services []*Service PrevPageCursor *PagerCursor NextPageCursor *PagerCursor }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetPrevPageCursor ¶
func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetResults ¶
func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
func (*QueryResultSnapshot) SetCursors ¶
func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultSnapshot) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
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) GetService ¶
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 Service ¶
type Service struct { // Name of Service Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Metadata Metadata *ntt_meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // contains filtered or unexported fields }
Service Resource
func (*Service) CloneRaw ¶
func (o *Service) CloneRaw() gotenobject.GotenObjectExt
func (*Service) Descriptor ¶
Deprecated, Use Service.ProtoReflect.Descriptor instead.
func (*Service) GetMetadata ¶
func (*Service) GetRawName ¶
func (r *Service) GetRawName() gotenresource.Name
func (*Service) GetResourceDescriptor ¶
func (r *Service) GetResourceDescriptor() gotenresource.Descriptor
func (*Service) GotenMessage ¶
func (*Service) GotenMessage()
func (*Service) GotenObjectExt ¶
func (o *Service) GotenObjectExt()
func (*Service) GotenValidate ¶
func (*Service) MakeDiffFieldMask ¶
func (o *Service) MakeDiffFieldMask(other *Service) *Service_FieldMask
func (*Service) MakeFullFieldMask ¶
func (o *Service) MakeFullFieldMask() *Service_FieldMask
func (*Service) MakeRawDiffFieldMask ¶
func (o *Service) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Service) MakeRawFullFieldMask ¶
func (o *Service) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Service) MarshalJSON ¶
func (*Service) MaybePopulateDefaults ¶
func (*Service) MergeRaw ¶
func (o *Service) MergeRaw(source gotenobject.GotenObjectExt)
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (*Service) SetMetadata ¶
func (*Service) UnmarshalJSON ¶
type ServiceAccess ¶
type ServiceAccess interface { GetService(context.Context, *GetQuery) (*Service, error) BatchGetServices(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryServices(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchService(context.Context, *GetQuery, func(*ServiceChange) error) error WatchServices(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveService(context.Context, *Service, ...gotenresource.SaveOption) error DeleteService(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type ServiceChange ¶
type ServiceChange struct { // Service change // // Types that are valid to be assigned to ChangeType: // *ServiceChange_Added_ // *ServiceChange_Modified_ // *ServiceChange_Current_ // *ServiceChange_Removed_ ChangeType isServiceChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
ServiceChange is used by Watch notifications Responses to describe change of single Service One of Added, Modified, Removed
func (*ServiceChange) Descriptor ¶
func (*ServiceChange) Descriptor() ([]byte, []int)
Deprecated, Use ServiceChange.ProtoReflect.Descriptor instead.
func (*ServiceChange) GetAdded ¶
func (m *ServiceChange) GetAdded() *ServiceChange_Added
func (*ServiceChange) GetChangeType ¶
func (m *ServiceChange) GetChangeType() isServiceChange_ChangeType
func (*ServiceChange) GetCurrent ¶
func (m *ServiceChange) GetCurrent() *ServiceChange_Current
func (*ServiceChange) GetCurrentViewIndex ¶
func (c *ServiceChange) GetCurrentViewIndex() int32
func (*ServiceChange) GetModified ¶
func (m *ServiceChange) GetModified() *ServiceChange_Modified
func (*ServiceChange) GetPreviousViewIndex ¶
func (c *ServiceChange) GetPreviousViewIndex() int32
func (*ServiceChange) GetRawName ¶
func (c *ServiceChange) GetRawName() gotenresource.Name
func (*ServiceChange) GetRemoved ¶
func (m *ServiceChange) GetRemoved() *ServiceChange_Removed
func (*ServiceChange) GetResource ¶
func (c *ServiceChange) GetResource() gotenresource.Resource
func (*ServiceChange) GetService ¶
func (c *ServiceChange) GetService() *Service
func (*ServiceChange) GetServiceName ¶
func (c *ServiceChange) GetServiceName() *Name
func (*ServiceChange) GotenMessage ¶
func (*ServiceChange) GotenMessage()
func (*ServiceChange) GotenValidate ¶
func (obj *ServiceChange) GotenValidate() error
func (*ServiceChange) IsAdd ¶
func (c *ServiceChange) IsAdd() bool
func (*ServiceChange) IsCurrent ¶
func (c *ServiceChange) IsCurrent() bool
func (*ServiceChange) IsDelete ¶
func (c *ServiceChange) IsDelete() bool
func (*ServiceChange) IsModify ¶
func (c *ServiceChange) IsModify() bool
func (*ServiceChange) Marshal ¶
func (m *ServiceChange) Marshal() ([]byte, error)
func (*ServiceChange) MarshalJSON ¶
func (m *ServiceChange) MarshalJSON() ([]byte, error)
func (*ServiceChange) ProtoMessage ¶
func (*ServiceChange) ProtoMessage()
func (*ServiceChange) ProtoReflect ¶
func (m *ServiceChange) ProtoReflect() preflect.Message
func (*ServiceChange) Reset ¶
func (m *ServiceChange) Reset()
func (*ServiceChange) SetAdded ¶
func (m *ServiceChange) SetAdded(fv *ServiceChange_Added)
func (*ServiceChange) SetAddedRaw ¶
func (c *ServiceChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*ServiceChange) SetChangeType ¶
func (m *ServiceChange) SetChangeType(ofv isServiceChange_ChangeType)
func (*ServiceChange) SetCurrent ¶
func (m *ServiceChange) SetCurrent(fv *ServiceChange_Current)
func (*ServiceChange) SetCurrentRaw ¶
func (c *ServiceChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*ServiceChange) SetDeletedRaw ¶
func (c *ServiceChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*ServiceChange) SetModified ¶
func (m *ServiceChange) SetModified(fv *ServiceChange_Modified)
func (*ServiceChange) SetModifiedRaw ¶
func (c *ServiceChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*ServiceChange) SetRemoved ¶
func (m *ServiceChange) SetRemoved(fv *ServiceChange_Removed)
func (*ServiceChange) String ¶
func (m *ServiceChange) String() string
func (*ServiceChange) Unmarshal ¶
func (m *ServiceChange) Unmarshal(b []byte) error
func (*ServiceChange) UnmarshalJSON ¶
func (m *ServiceChange) UnmarshalJSON(data []byte) error
type ServiceChangeList ¶
type ServiceChangeList []*ServiceChange
func (ServiceChangeList) Append ¶
func (l ServiceChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (ServiceChangeList) AppendList ¶
func (l ServiceChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (ServiceChangeList) At ¶
func (l ServiceChangeList) At(idx int) gotenresource.ResourceChange
func (ServiceChangeList) Length ¶
func (l ServiceChangeList) Length() int
func (ServiceChangeList) Set ¶
func (l ServiceChangeList) Set(idx int, change gotenresource.ResourceChange)
func (ServiceChangeList) Slice ¶
func (l ServiceChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type ServiceChangeMap ¶
type ServiceChangeMap map[Name]*ServiceChange
func (ServiceChangeMap) Delete ¶
func (m ServiceChangeMap) Delete(name gotenresource.Name)
func (ServiceChangeMap) ForEach ¶
func (m ServiceChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (ServiceChangeMap) Get ¶
func (m ServiceChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (ServiceChangeMap) Length ¶
func (m ServiceChangeMap) Length() int
func (ServiceChangeMap) Set ¶
func (m ServiceChangeMap) Set(change gotenresource.ResourceChange)
type ServiceChange_Added ¶
type ServiceChange_Added struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty" firestore:"service"` // Integer describing index of added Service 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 }
Service has been added to query view
func (*ServiceChange_Added) Descriptor ¶
func (*ServiceChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use ServiceChange_Added.ProtoReflect.Descriptor instead.
func (*ServiceChange_Added) GetService ¶
func (m *ServiceChange_Added) GetService() *Service
func (*ServiceChange_Added) GetViewIndex ¶
func (m *ServiceChange_Added) GetViewIndex() int32
func (*ServiceChange_Added) GotenMessage ¶
func (*ServiceChange_Added) GotenMessage()
func (*ServiceChange_Added) GotenValidate ¶
func (obj *ServiceChange_Added) GotenValidate() error
func (*ServiceChange_Added) Marshal ¶
func (m *ServiceChange_Added) Marshal() ([]byte, error)
func (*ServiceChange_Added) MarshalJSON ¶
func (m *ServiceChange_Added) MarshalJSON() ([]byte, error)
func (*ServiceChange_Added) ProtoMessage ¶
func (*ServiceChange_Added) ProtoMessage()
func (*ServiceChange_Added) ProtoReflect ¶
func (m *ServiceChange_Added) ProtoReflect() preflect.Message
func (*ServiceChange_Added) Reset ¶
func (m *ServiceChange_Added) Reset()
func (*ServiceChange_Added) SetService ¶
func (m *ServiceChange_Added) SetService(fv *Service)
func (*ServiceChange_Added) SetViewIndex ¶
func (m *ServiceChange_Added) SetViewIndex(fv int32)
func (*ServiceChange_Added) String ¶
func (m *ServiceChange_Added) String() string
func (*ServiceChange_Added) Unmarshal ¶
func (m *ServiceChange_Added) Unmarshal(b []byte) error
func (*ServiceChange_Added) UnmarshalJSON ¶
func (m *ServiceChange_Added) UnmarshalJSON(data []byte) error
type ServiceChange_Added_ ¶
type ServiceChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *ServiceChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type ServiceChange_Current ¶
type ServiceChange_Current struct { Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty" firestore:"service"` // contains filtered or unexported fields }
Service has been added or modified in a query view. Version used for stateless watching
func (*ServiceChange_Current) Descriptor ¶
func (*ServiceChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use ServiceChange_Current.ProtoReflect.Descriptor instead.
func (*ServiceChange_Current) GetService ¶
func (m *ServiceChange_Current) GetService() *Service
func (*ServiceChange_Current) GotenMessage ¶
func (*ServiceChange_Current) GotenMessage()
func (*ServiceChange_Current) GotenValidate ¶
func (obj *ServiceChange_Current) GotenValidate() error
func (*ServiceChange_Current) Marshal ¶
func (m *ServiceChange_Current) Marshal() ([]byte, error)
func (*ServiceChange_Current) MarshalJSON ¶
func (m *ServiceChange_Current) MarshalJSON() ([]byte, error)
func (*ServiceChange_Current) ProtoMessage ¶
func (*ServiceChange_Current) ProtoMessage()
func (*ServiceChange_Current) ProtoReflect ¶
func (m *ServiceChange_Current) ProtoReflect() preflect.Message
func (*ServiceChange_Current) Reset ¶
func (m *ServiceChange_Current) Reset()
func (*ServiceChange_Current) SetService ¶
func (m *ServiceChange_Current) SetService(fv *Service)
func (*ServiceChange_Current) String ¶
func (m *ServiceChange_Current) String() string
func (*ServiceChange_Current) Unmarshal ¶
func (m *ServiceChange_Current) Unmarshal(b []byte) error
func (*ServiceChange_Current) UnmarshalJSON ¶
func (m *ServiceChange_Current) UnmarshalJSON(data []byte) error
type ServiceChange_Current_ ¶
type ServiceChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *ServiceChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type ServiceChange_Modified ¶
type ServiceChange_Modified struct { // Name of modified Service Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Service or masked difference, depending on mask_changes // instrumentation of issued [WatchServiceRequest] or [WatchServicesRequest] Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty" firestore:"service"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Service_FieldMask `` /* 139-byte string literal not displayed */ // Previous view index specifies previous position of modified Service. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Service 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 }
Service changed some of it's fields - contains either full document or masked change
func (*ServiceChange_Modified) Descriptor ¶
func (*ServiceChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use ServiceChange_Modified.ProtoReflect.Descriptor instead.
func (*ServiceChange_Modified) GetFieldMask ¶
func (m *ServiceChange_Modified) GetFieldMask() *Service_FieldMask
func (*ServiceChange_Modified) GetName ¶
func (m *ServiceChange_Modified) GetName() *Name
func (*ServiceChange_Modified) GetPreviousViewIndex ¶
func (m *ServiceChange_Modified) GetPreviousViewIndex() int32
func (*ServiceChange_Modified) GetService ¶
func (m *ServiceChange_Modified) GetService() *Service
func (*ServiceChange_Modified) GetViewIndex ¶
func (m *ServiceChange_Modified) GetViewIndex() int32
func (*ServiceChange_Modified) GotenMessage ¶
func (*ServiceChange_Modified) GotenMessage()
func (*ServiceChange_Modified) GotenValidate ¶
func (obj *ServiceChange_Modified) GotenValidate() error
func (*ServiceChange_Modified) Marshal ¶
func (m *ServiceChange_Modified) Marshal() ([]byte, error)
func (*ServiceChange_Modified) MarshalJSON ¶
func (m *ServiceChange_Modified) MarshalJSON() ([]byte, error)
func (*ServiceChange_Modified) ProtoMessage ¶
func (*ServiceChange_Modified) ProtoMessage()
func (*ServiceChange_Modified) ProtoReflect ¶
func (m *ServiceChange_Modified) ProtoReflect() preflect.Message
func (*ServiceChange_Modified) Reset ¶
func (m *ServiceChange_Modified) Reset()
func (*ServiceChange_Modified) SetFieldMask ¶
func (m *ServiceChange_Modified) SetFieldMask(fv *Service_FieldMask)
func (*ServiceChange_Modified) SetName ¶
func (m *ServiceChange_Modified) SetName(fv *Name)
func (*ServiceChange_Modified) SetPreviousViewIndex ¶
func (m *ServiceChange_Modified) SetPreviousViewIndex(fv int32)
func (*ServiceChange_Modified) SetService ¶
func (m *ServiceChange_Modified) SetService(fv *Service)
func (*ServiceChange_Modified) SetViewIndex ¶
func (m *ServiceChange_Modified) SetViewIndex(fv int32)
func (*ServiceChange_Modified) String ¶
func (m *ServiceChange_Modified) String() string
func (*ServiceChange_Modified) Unmarshal ¶
func (m *ServiceChange_Modified) Unmarshal(b []byte) error
func (*ServiceChange_Modified) UnmarshalJSON ¶
func (m *ServiceChange_Modified) UnmarshalJSON(data []byte) error
type ServiceChange_Modified_ ¶
type ServiceChange_Modified_ struct { // Modified is returned when watched document is modified Modified *ServiceChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type ServiceChange_Removed ¶
type ServiceChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Service 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 Service is deleted or leaves Query view
func (*ServiceChange_Removed) Descriptor ¶
func (*ServiceChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use ServiceChange_Removed.ProtoReflect.Descriptor instead.
func (*ServiceChange_Removed) GetName ¶
func (m *ServiceChange_Removed) GetName() *Name
func (*ServiceChange_Removed) GetViewIndex ¶
func (m *ServiceChange_Removed) GetViewIndex() int32
func (*ServiceChange_Removed) GotenMessage ¶
func (*ServiceChange_Removed) GotenMessage()
func (*ServiceChange_Removed) GotenValidate ¶
func (obj *ServiceChange_Removed) GotenValidate() error
func (*ServiceChange_Removed) Marshal ¶
func (m *ServiceChange_Removed) Marshal() ([]byte, error)
func (*ServiceChange_Removed) MarshalJSON ¶
func (m *ServiceChange_Removed) MarshalJSON() ([]byte, error)
func (*ServiceChange_Removed) ProtoMessage ¶
func (*ServiceChange_Removed) ProtoMessage()
func (*ServiceChange_Removed) ProtoReflect ¶
func (m *ServiceChange_Removed) ProtoReflect() preflect.Message
func (*ServiceChange_Removed) Reset ¶
func (m *ServiceChange_Removed) Reset()
func (*ServiceChange_Removed) SetName ¶
func (m *ServiceChange_Removed) SetName(fv *Name)
func (*ServiceChange_Removed) SetViewIndex ¶
func (m *ServiceChange_Removed) SetViewIndex(fv int32)
func (*ServiceChange_Removed) String ¶
func (m *ServiceChange_Removed) String() string
func (*ServiceChange_Removed) Unmarshal ¶
func (m *ServiceChange_Removed) Unmarshal(b []byte) error
func (*ServiceChange_Removed) UnmarshalJSON ¶
func (m *ServiceChange_Removed) UnmarshalJSON(data []byte) error
type ServiceChange_Removed_ ¶
type ServiceChange_Removed_ struct { // Removed is returned when Service is deleted or leaves Query view Removed *ServiceChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type ServiceFieldPathBuilder ¶
type ServiceFieldPathBuilder struct{}
func NewServiceFieldPathBuilder ¶
func NewServiceFieldPathBuilder() ServiceFieldPathBuilder
func (ServiceFieldPathBuilder) Metadata ¶
func (ServiceFieldPathBuilder) Metadata() ServicePathSelectorMetadata
func (ServiceFieldPathBuilder) Name ¶
func (ServiceFieldPathBuilder) Name() ServicePathSelectorName
type ServiceList ¶
type ServiceList []*Service
func (ServiceList) Append ¶
func (l ServiceList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (ServiceList) AppendList ¶
func (l ServiceList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (ServiceList) At ¶
func (l ServiceList) At(idx int) gotenresource.Resource
func (ServiceList) Length ¶
func (l ServiceList) Length() int
func (ServiceList) Set ¶
func (l ServiceList) Set(idx int, res gotenresource.Resource)
func (ServiceList) Slice ¶
func (l ServiceList) Slice(first, second int) gotenresource.ResourceList
type ServiceMap ¶
func (ServiceMap) Delete ¶
func (m ServiceMap) Delete(name gotenresource.Name)
func (ServiceMap) ForEach ¶
func (m ServiceMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (ServiceMap) Get ¶
func (m ServiceMap) Get(name gotenresource.Name) gotenresource.Resource
func (ServiceMap) Length ¶
func (m ServiceMap) Length() int
func (ServiceMap) Set ¶
func (m ServiceMap) Set(res gotenresource.Resource)
type ServiceMapPathSelectorMetadataAnnotations ¶
type ServiceMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (ServiceMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s ServiceMapPathSelectorMetadataAnnotations) FieldPath() *Service_FieldSubPath
func (ServiceMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ServiceMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServiceMapPathSelectorMetadataAnnotations) WithValue ¶
func (s ServiceMapPathSelectorMetadataAnnotations) WithValue(value string) *Service_FieldSubPathValue
type ServiceMapPathSelectorMetadataLabels ¶
type ServiceMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (ServiceMapPathSelectorMetadataLabels) FieldPath ¶
func (s ServiceMapPathSelectorMetadataLabels) FieldPath() *Service_FieldSubPath
func (ServiceMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ServiceMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServiceMapPathSelectorMetadataLabels) WithValue ¶
func (s ServiceMapPathSelectorMetadataLabels) WithValue(value string) *Service_FieldSubPathValue
type ServiceMapPathSelectorMetadataShards ¶
type ServiceMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (ServiceMapPathSelectorMetadataShards) FieldPath ¶
func (s ServiceMapPathSelectorMetadataShards) FieldPath() *Service_FieldSubPath
func (ServiceMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s ServiceMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Service_FieldSubPathArrayOfValues
func (ServiceMapPathSelectorMetadataShards) WithValue ¶
func (s ServiceMapPathSelectorMetadataShards) WithValue(value int64) *Service_FieldSubPathValue
type ServiceNameList ¶
type ServiceNameList []*Name
func (ServiceNameList) Append ¶
func (l ServiceNameList) Append(name gotenresource.Name) gotenresource.NameList
func (ServiceNameList) AppendList ¶
func (l ServiceNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (ServiceNameList) At ¶
func (l ServiceNameList) At(idx int) gotenresource.Name
func (ServiceNameList) Length ¶
func (l ServiceNameList) Length() int
func (ServiceNameList) Set ¶
func (l ServiceNameList) Set(idx int, name gotenresource.Name)
func (ServiceNameList) Slice ¶
func (l ServiceNameList) Slice(first, second int) gotenresource.NameList
type ServicePathSelectorMetadata ¶
type ServicePathSelectorMetadata struct{}
func (ServicePathSelectorMetadata) Annotations ¶
func (ServicePathSelectorMetadata) Annotations() ServicePathSelectorMetadataAnnotations
func (ServicePathSelectorMetadata) CreateTime ¶
func (ServicePathSelectorMetadata) CreateTime() ServicePathSelectorMetadataCreateTime
func (ServicePathSelectorMetadata) FieldPath ¶
func (ServicePathSelectorMetadata) FieldPath() *Service_FieldTerminalPath
func (ServicePathSelectorMetadata) Generation ¶
func (ServicePathSelectorMetadata) Generation() ServicePathSelectorMetadataGeneration
func (ServicePathSelectorMetadata) Labels ¶
func (ServicePathSelectorMetadata) Labels() ServicePathSelectorMetadataLabels
func (ServicePathSelectorMetadata) OwnerReferences ¶
func (ServicePathSelectorMetadata) OwnerReferences() ServicePathSelectorMetadataOwnerReferences
func (ServicePathSelectorMetadata) ResourceVersion ¶
func (ServicePathSelectorMetadata) ResourceVersion() ServicePathSelectorMetadataResourceVersion
func (ServicePathSelectorMetadata) Shards ¶
func (ServicePathSelectorMetadata) Shards() ServicePathSelectorMetadataShards
func (ServicePathSelectorMetadata) Syncing ¶
func (ServicePathSelectorMetadata) Syncing() ServicePathSelectorMetadataSyncing
func (ServicePathSelectorMetadata) Tags ¶
func (ServicePathSelectorMetadata) Tags() ServicePathSelectorMetadataTags
func (ServicePathSelectorMetadata) UpdateTime ¶
func (ServicePathSelectorMetadata) UpdateTime() ServicePathSelectorMetadataUpdateTime
func (ServicePathSelectorMetadata) Uuid ¶
func (ServicePathSelectorMetadata) Uuid() ServicePathSelectorMetadataUuid
func (ServicePathSelectorMetadata) WithArrayOfValues ¶
func (s ServicePathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Service_FieldTerminalPathArrayOfValues
func (ServicePathSelectorMetadata) WithSubArrayItemValue ¶
func (s ServicePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Service_FieldSubPathArrayItemValue
func (ServicePathSelectorMetadata) WithSubArrayOfValues ¶
func (s ServicePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadata) WithSubPath ¶
func (ServicePathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Service_FieldSubPath
func (ServicePathSelectorMetadata) WithSubValue ¶
func (s ServicePathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Service_FieldSubPathValue
func (ServicePathSelectorMetadata) WithValue ¶
func (s ServicePathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Service_FieldTerminalPathValue
type ServicePathSelectorMetadataAnnotations ¶
type ServicePathSelectorMetadataAnnotations struct{}
func (ServicePathSelectorMetadataAnnotations) FieldPath ¶
func (ServicePathSelectorMetadataAnnotations) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataAnnotations) WithKey ¶
func (ServicePathSelectorMetadataAnnotations) WithKey(key string) ServiceMapPathSelectorMetadataAnnotations
func (ServicePathSelectorMetadataAnnotations) WithValue ¶
func (s ServicePathSelectorMetadataAnnotations) WithValue(value map[string]string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataCreateTime ¶
type ServicePathSelectorMetadataCreateTime struct{}
func (ServicePathSelectorMetadataCreateTime) FieldPath ¶
func (ServicePathSelectorMetadataCreateTime) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataCreateTime) WithValue ¶
func (s ServicePathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Service_FieldSubPathValue
type ServicePathSelectorMetadataGeneration ¶
type ServicePathSelectorMetadataGeneration struct{}
func (ServicePathSelectorMetadataGeneration) FieldPath ¶
func (ServicePathSelectorMetadataGeneration) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataGeneration) WithValue ¶
func (s ServicePathSelectorMetadataGeneration) WithValue(value int64) *Service_FieldSubPathValue
type ServicePathSelectorMetadataLabels ¶
type ServicePathSelectorMetadataLabels struct{}
func (ServicePathSelectorMetadataLabels) FieldPath ¶
func (ServicePathSelectorMetadataLabels) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataLabels) WithKey ¶
func (ServicePathSelectorMetadataLabels) WithKey(key string) ServiceMapPathSelectorMetadataLabels
func (ServicePathSelectorMetadataLabels) WithValue ¶
func (s ServicePathSelectorMetadataLabels) WithValue(value map[string]string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferences ¶
type ServicePathSelectorMetadataOwnerReferences struct{}
func (ServicePathSelectorMetadataOwnerReferences) ApiVersion ¶
func (ServicePathSelectorMetadataOwnerReferences) BlockOwnerDeletion ¶
func (ServicePathSelectorMetadataOwnerReferences) BlockOwnerDeletion() ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
func (ServicePathSelectorMetadataOwnerReferences) Controller ¶
func (ServicePathSelectorMetadataOwnerReferences) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferences) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s ServicePathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Service_FieldSubPathArrayItemValue
func (ServicePathSelectorMetadataOwnerReferences) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesApiVersion ¶
type ServicePathSelectorMetadataOwnerReferencesApiVersion struct{}
func (ServicePathSelectorMetadataOwnerReferencesApiVersion) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesApiVersion) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesApiVersion) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesApiVersion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesApiVersion) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesApiVersion) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion ¶
type ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}
func (ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesController ¶
type ServicePathSelectorMetadataOwnerReferencesController struct{}
func (ServicePathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesController) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesKind ¶
type ServicePathSelectorMetadataOwnerReferencesKind struct{}
func (ServicePathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesKind) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesName ¶
type ServicePathSelectorMetadataOwnerReferencesName struct{}
func (ServicePathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesName) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesName) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataOwnerReferencesUid ¶
type ServicePathSelectorMetadataOwnerReferencesUid struct{}
func (ServicePathSelectorMetadataOwnerReferencesUid) FieldPath ¶
func (ServicePathSelectorMetadataOwnerReferencesUid) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataOwnerReferencesUid) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataOwnerReferencesUid) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataOwnerReferencesUid) WithValue ¶
func (s ServicePathSelectorMetadataOwnerReferencesUid) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataResourceVersion ¶
type ServicePathSelectorMetadataResourceVersion struct{}
func (ServicePathSelectorMetadataResourceVersion) FieldPath ¶
func (ServicePathSelectorMetadataResourceVersion) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataResourceVersion) WithValue ¶
func (s ServicePathSelectorMetadataResourceVersion) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataShards ¶
type ServicePathSelectorMetadataShards struct{}
func (ServicePathSelectorMetadataShards) FieldPath ¶
func (ServicePathSelectorMetadataShards) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataShards) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataShards) WithKey ¶
func (ServicePathSelectorMetadataShards) WithKey(key string) ServiceMapPathSelectorMetadataShards
func (ServicePathSelectorMetadataShards) WithValue ¶
func (s ServicePathSelectorMetadataShards) WithValue(value map[string]int64) *Service_FieldSubPathValue
type ServicePathSelectorMetadataSyncing ¶
type ServicePathSelectorMetadataSyncing struct{}
func (ServicePathSelectorMetadataSyncing) FieldPath ¶
func (ServicePathSelectorMetadataSyncing) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataSyncing) OwningRegion ¶
func (ServicePathSelectorMetadataSyncing) OwningRegion() ServicePathSelectorMetadataSyncingOwningRegion
func (ServicePathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataSyncing) WithArrayOfValues(values []*syncing_meta.SyncingMeta) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataSyncing) WithValue ¶
func (s ServicePathSelectorMetadataSyncing) WithValue(value *syncing_meta.SyncingMeta) *Service_FieldSubPathValue
type ServicePathSelectorMetadataSyncingOwningRegion ¶
type ServicePathSelectorMetadataSyncingOwningRegion struct{}
func (ServicePathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (ServicePathSelectorMetadataSyncingOwningRegion) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s ServicePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataSyncingRegions ¶
type ServicePathSelectorMetadataSyncingRegions struct{}
func (ServicePathSelectorMetadataSyncingRegions) FieldPath ¶
func (ServicePathSelectorMetadataSyncingRegions) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s ServicePathSelectorMetadataSyncingRegions) WithItemValue(value string) *Service_FieldSubPathArrayItemValue
func (ServicePathSelectorMetadataSyncingRegions) WithValue ¶
func (s ServicePathSelectorMetadataSyncingRegions) WithValue(value []string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataTags ¶
type ServicePathSelectorMetadataTags struct{}
func (ServicePathSelectorMetadataTags) FieldPath ¶
func (ServicePathSelectorMetadataTags) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataTags) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataTags) WithItemValue ¶
func (s ServicePathSelectorMetadataTags) WithItemValue(value string) *Service_FieldSubPathArrayItemValue
func (ServicePathSelectorMetadataTags) WithValue ¶
func (s ServicePathSelectorMetadataTags) WithValue(value []string) *Service_FieldSubPathValue
type ServicePathSelectorMetadataUpdateTime ¶
type ServicePathSelectorMetadataUpdateTime struct{}
func (ServicePathSelectorMetadataUpdateTime) FieldPath ¶
func (ServicePathSelectorMetadataUpdateTime) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataUpdateTime) WithValue ¶
func (s ServicePathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Service_FieldSubPathValue
type ServicePathSelectorMetadataUuid ¶
type ServicePathSelectorMetadataUuid struct{}
func (ServicePathSelectorMetadataUuid) FieldPath ¶
func (ServicePathSelectorMetadataUuid) FieldPath() *Service_FieldSubPath
func (ServicePathSelectorMetadataUuid) WithArrayOfValues ¶
func (s ServicePathSelectorMetadataUuid) WithArrayOfValues(values []string) *Service_FieldSubPathArrayOfValues
func (ServicePathSelectorMetadataUuid) WithValue ¶
func (s ServicePathSelectorMetadataUuid) WithValue(value string) *Service_FieldSubPathValue
type ServicePathSelectorName ¶
type ServicePathSelectorName struct{}
func (ServicePathSelectorName) FieldPath ¶
func (ServicePathSelectorName) FieldPath() *Service_FieldTerminalPath
func (ServicePathSelectorName) WithArrayOfValues ¶
func (s ServicePathSelectorName) WithArrayOfValues(values []*Name) *Service_FieldTerminalPathArrayOfValues
func (ServicePathSelectorName) WithValue ¶
func (s ServicePathSelectorName) WithValue(value *Name) *Service_FieldTerminalPathValue
type ServiceReferenceList ¶
type ServiceReferenceList []*Reference
func (ServiceReferenceList) Append ¶
func (l ServiceReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (ServiceReferenceList) AppendList ¶
func (l ServiceReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (ServiceReferenceList) At ¶
func (l ServiceReferenceList) At(idx int) gotenresource.Reference
func (ServiceReferenceList) Length ¶
func (l ServiceReferenceList) Length() int
func (ServiceReferenceList) Set ¶
func (l ServiceReferenceList) Set(idx int, ref gotenresource.Reference)
func (ServiceReferenceList) Slice ¶
func (l ServiceReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Service_FieldMask ¶
type Service_FieldMask struct {
Paths []Service_FieldPath
}
func FullService_FieldMask ¶
func FullService_FieldMask() *Service_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Service_FieldMask) *Service_FieldMask
func (*Service_FieldMask) AppendPath ¶
func (fieldMask *Service_FieldMask) AppendPath(path Service_FieldPath)
func (*Service_FieldMask) AppendRawPath ¶
func (fieldMask *Service_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Service_FieldMask) DecodeFirestore ¶
func (fieldMask *Service_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Service_FieldMask) EncodeFirestore ¶
func (fieldMask *Service_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Service_FieldMask) FilterInputFields ¶
func (fieldMask *Service_FieldMask) FilterInputFields() *Service_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Service_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Service_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Service_FieldMask) GetPaths ¶
func (fieldMask *Service_FieldMask) GetPaths() []Service_FieldPath
func (*Service_FieldMask) GetRawPaths ¶
func (fieldMask *Service_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Service_FieldMask) IsFull ¶
func (fieldMask *Service_FieldMask) IsFull() bool
func (Service_FieldMask) Marshal ¶
func (fieldMask Service_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Service_FieldMask) MarshalJSON ¶
func (fieldMask Service_FieldMask) MarshalJSON() ([]byte, error)
func (*Service_FieldMask) PathsCount ¶
func (fieldMask *Service_FieldMask) PathsCount() int
func (*Service_FieldMask) Project ¶
func (fieldMask *Service_FieldMask) Project(source *Service) *Service
func (*Service_FieldMask) ProjectRaw ¶
func (fieldMask *Service_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Service_FieldMask) ProtoMessage ¶
func (fieldMask *Service_FieldMask) ProtoMessage()
func (*Service_FieldMask) ProtoReflect ¶
func (fieldMask *Service_FieldMask) ProtoReflect() preflect.Message
func (*Service_FieldMask) Reset ¶
func (fieldMask *Service_FieldMask) Reset()
func (*Service_FieldMask) Set ¶
func (fieldMask *Service_FieldMask) Set(target, source *Service)
func (*Service_FieldMask) SetFromCliFlag ¶
func (fieldMask *Service_FieldMask) SetFromCliFlag(raw string) error
func (*Service_FieldMask) SetRaw ¶
func (fieldMask *Service_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Service_FieldMask) Size ¶
func (fieldMask *Service_FieldMask) Size() int
func (*Service_FieldMask) String ¶
func (fieldMask *Service_FieldMask) String() string
func (*Service_FieldMask) Subtract ¶
func (fieldMask *Service_FieldMask) Subtract(other *Service_FieldMask) *Service_FieldMask
func (*Service_FieldMask) SubtractRaw ¶
func (fieldMask *Service_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Service_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Service_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Service_FieldMask) Unmarshal ¶
func (fieldMask *Service_FieldMask) Unmarshal(data []byte) error
func (*Service_FieldMask) UnmarshalJSON ¶
func (fieldMask *Service_FieldMask) UnmarshalJSON(data []byte) error
type Service_FieldPath ¶
type Service_FieldPath interface { gotenobject.FieldPath Selector() Service_FieldPathSelector Get(source *Service) []interface{} GetSingle(source *Service) (interface{}, bool) ClearValue(item *Service) // Those methods build corresponding Service_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Service_FieldPathValue WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildService_FieldPath ¶
func BuildService_FieldPath(fp gotenobject.RawFieldPath) (Service_FieldPath, error)
func MustParseService_FieldPath ¶
func MustParseService_FieldPath(rawField string) Service_FieldPath
func ParseService_FieldPath ¶
func ParseService_FieldPath(rawField string) (Service_FieldPath, error)
type Service_FieldPathArrayItemValue ¶
type Service_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Service_FieldPath ContainsValue(*Service) bool }
Service_FieldPathArrayItemValue allows storing single item in Path-specific values for Service according to their type Present only for array (repeated) types.
func MustParseService_FieldPathArrayItemValue ¶
func MustParseService_FieldPathArrayItemValue(pathStr, valueStr string) Service_FieldPathArrayItemValue
func ParseService_FieldPathArrayItemValue ¶
func ParseService_FieldPathArrayItemValue(pathStr, valueStr string) (Service_FieldPathArrayItemValue, error)
ParseService_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Service_FieldPathArrayOfValues ¶
type Service_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Service_FieldPath }
Service_FieldPathArrayOfValues allows storing slice of values for Service fields according to their type
func MustParseService_FieldPathArrayOfValues ¶
func MustParseService_FieldPathArrayOfValues(pathStr, valuesStr string) Service_FieldPathArrayOfValues
func ParseService_FieldPathArrayOfValues ¶
func ParseService_FieldPathArrayOfValues(pathStr, valuesStr string) (Service_FieldPathArrayOfValues, error)
type Service_FieldPathSelector ¶
type Service_FieldPathSelector int32
const ( Service_FieldPathSelectorName Service_FieldPathSelector = 0 Service_FieldPathSelectorMetadata Service_FieldPathSelector = 1 )
func (Service_FieldPathSelector) String ¶
func (s Service_FieldPathSelector) String() string
type Service_FieldPathValue ¶
type Service_FieldPathValue interface { Service_FieldPath gotenobject.FieldPathValue SetTo(target **Service) CompareWith(*Service) (cmp int, comparable bool) }
Service_FieldPathValue allows storing values for Service fields according to their type
func MustParseService_FieldPathValue ¶
func MustParseService_FieldPathValue(pathStr, valueStr string) Service_FieldPathValue
func ParseService_FieldPathValue ¶
func ParseService_FieldPathValue(pathStr, valueStr string) (Service_FieldPathValue, error)
type Service_FieldSubPath ¶
type Service_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Service_FieldSubPath) AsMetadataSubPath ¶
func (fps *Service_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
func (*Service_FieldSubPath) ClearValue ¶
func (fps *Service_FieldSubPath) ClearValue(item *Service)
func (*Service_FieldSubPath) ClearValueRaw ¶
func (fps *Service_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Service_FieldSubPath) Get ¶
func (fps *Service_FieldSubPath) Get(source *Service) (values []interface{})
Get returns all values pointed by selected field from source Service
func (*Service_FieldSubPath) GetDefault ¶
func (fps *Service_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Service_FieldSubPath) GetRaw ¶
func (fps *Service_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Service_FieldSubPath) GetSingle ¶
func (fps *Service_FieldSubPath) GetSingle(source *Service) (interface{}, bool)
GetSingle returns value of selected field from source Service
func (*Service_FieldSubPath) GetSingleRaw ¶
func (fps *Service_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Service_FieldSubPath) IsLeaf ¶
func (fps *Service_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Service_FieldSubPath) JSONString ¶
func (fps *Service_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Service_FieldSubPath) Selector ¶
func (fps *Service_FieldSubPath) Selector() Service_FieldPathSelector
func (*Service_FieldSubPath) String ¶
func (fps *Service_FieldSubPath) String() string
String returns path representation in proto convention
func (*Service_FieldSubPath) WithIArrayItemValue ¶
func (fps *Service_FieldSubPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue
func (*Service_FieldSubPath) WithIArrayOfValues ¶
func (fps *Service_FieldSubPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues
func (*Service_FieldSubPath) WithIValue ¶
func (fps *Service_FieldSubPath) WithIValue(value interface{}) Service_FieldPathValue
func (*Service_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Service_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Service_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Service_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Service_FieldSubPath) WithRawIValue ¶
func (fps *Service_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Service_FieldSubPathArrayItemValue ¶
type Service_FieldSubPathArrayItemValue struct { Service_FieldPath // contains filtered or unexported fields }
func (*Service_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *Service_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (ntt_meta.Meta_FieldPathArrayItemValue, bool)
func (*Service_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Service_FieldSubPathArrayItemValue) ContainsValue(source *Service) bool
Contains returns a boolean indicating if value that is being held is present in given 'Service'
func (*Service_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Service_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Service_FieldSubPathArrayOfValues ¶
type Service_FieldSubPathArrayOfValues struct { Service_FieldPath // contains filtered or unexported fields }
func (*Service_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *Service_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)
func (*Service_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Service_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Service_FieldSubPathValue ¶
type Service_FieldSubPathValue struct { Service_FieldPath // contains filtered or unexported fields }
func (*Service_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *Service_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
func (*Service_FieldSubPathValue) CompareWith ¶
func (fpvs *Service_FieldSubPathValue) CompareWith(source *Service) (int, bool)
func (*Service_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Service_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Service_FieldSubPathValue) GetRawValue ¶
func (fpvs *Service_FieldSubPathValue) GetRawValue() interface{}
func (*Service_FieldSubPathValue) SetTo ¶
func (fpvs *Service_FieldSubPathValue) SetTo(target **Service)
func (*Service_FieldSubPathValue) SetToRaw ¶
func (fpvs *Service_FieldSubPathValue) SetToRaw(target proto.Message)
type Service_FieldTerminalPath ¶
type Service_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Service_FieldTerminalPath) ClearValue ¶
func (fp *Service_FieldTerminalPath) ClearValue(item *Service)
func (*Service_FieldTerminalPath) ClearValueRaw ¶
func (fp *Service_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Service_FieldTerminalPath) Get ¶
func (fp *Service_FieldTerminalPath) Get(source *Service) (values []interface{})
Get returns all values pointed by specific field from source Service
func (*Service_FieldTerminalPath) GetDefault ¶
func (fp *Service_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Service_FieldTerminalPath) GetRaw ¶
func (fp *Service_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Service_FieldTerminalPath) GetSingle ¶
func (fp *Service_FieldTerminalPath) GetSingle(source *Service) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Service
func (*Service_FieldTerminalPath) GetSingleRaw ¶
func (fp *Service_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Service_FieldTerminalPath) IsLeaf ¶
func (fp *Service_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Service_FieldTerminalPath) JSONString ¶
func (fp *Service_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Service_FieldTerminalPath) Selector ¶
func (fp *Service_FieldTerminalPath) Selector() Service_FieldPathSelector
func (*Service_FieldTerminalPath) String ¶
func (fp *Service_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Service_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Service_FieldTerminalPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue
func (*Service_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Service_FieldTerminalPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues
func (*Service_FieldTerminalPath) WithIValue ¶
func (fp *Service_FieldTerminalPath) WithIValue(value interface{}) Service_FieldPathValue
func (*Service_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Service_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Service_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Service_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Service_FieldTerminalPath) WithRawIValue ¶
func (fp *Service_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Service_FieldTerminalPathArrayItemValue ¶
type Service_FieldTerminalPathArrayItemValue struct { Service_FieldTerminalPath // contains filtered or unexported fields }
func (*Service_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Service_FieldTerminalPathArrayItemValue) ContainsValue(source *Service) bool
Contains returns a boolean indicating if value that is being held is present in given 'Service'
func (*Service_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Service as interface{}
func (*Service_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetSingle(source *Service) (interface{}, bool)
func (*Service_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Service_FieldTerminalPathArrayOfValues ¶
type Service_FieldTerminalPathArrayOfValues struct { Service_FieldTerminalPath // contains filtered or unexported fields }
func (*Service_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *Service_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
func (*Service_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Service_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Service_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Service_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Service_FieldTerminalPathValue ¶
type Service_FieldTerminalPathValue struct { Service_FieldTerminalPath // contains filtered or unexported fields }
func (*Service_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *Service_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
func (*Service_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Service_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Service_FieldTerminalPathValue) CompareWith ¶
func (fpv *Service_FieldTerminalPathValue) CompareWith(source *Service) (int, bool)
CompareWith compares value in the 'Service_FieldTerminalPathValue' with the value under path in 'Service'.
func (*Service_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Service_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Service_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Service_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Service' as interface{}
func (*Service_FieldTerminalPathValue) SetTo ¶
func (fpv *Service_FieldTerminalPathValue) SetTo(target **Service)
SetTo stores value for selected field for object Service
func (*Service_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Service_FieldTerminalPathValue) SetToRaw(target proto.Message)
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
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) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶ added in v0.4.29
func (q *WatchQuery) String() string
Source Files ¶
- service.pb.access.go
- service.pb.collections.go
- service.pb.descriptor.go
- service.pb.fieldmask.go
- service.pb.fieldpath.go
- service.pb.fieldpathbuilder.go
- service.pb.filter.go
- service.pb.filterbuilder.go
- service.pb.go
- service.pb.name.go
- service.pb.namebuilder.go
- service.pb.object_ext.go
- service.pb.pagination.go
- service.pb.query.go
- service.pb.validate.go
- service.pb.view.go
- service_change.pb.change.go
- service_change.pb.go
- service_change.pb.validate.go