tag

package
v0.7.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 67 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/tags/{tag}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access TagAccess) 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

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager added in v0.7.13

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

func (*Descriptor) NewSearchQueryResultSnapshot

func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

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) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *Tag) bool

Evaluate is a wrapper on FilterCondition, which also handles nil pointer

func (*Filter) EvaluateRaw

func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool

func (*Filter) FilterSlice

func (filter *Filter) FilterSlice(in []*Tag) (out []*Tag)

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) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

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 Tag_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *Tag) bool

	// Whether this condition is at least as specific as other.
	// When true, any Tag 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 Tag_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Tag_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Tag) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

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 Tag_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 (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *Tag) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

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 Tag_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 Tag_FieldPath

	Value  Tag_FieldPathArrayItemValue
	Values []Tag_FieldPathArrayItemValue
}

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *Tag) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Tag_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 Tag_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 {
	Tag_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Tag) 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 Tag_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 Tag_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Tag) 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 Tag_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 Tag_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Tag) 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 Tag_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 (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *Tag) 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 Tag_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 {
	Tag_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Tag) 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 Tag_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      *Tag_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)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter *Filter
	Pager  *PagerQuery
	Mask   *Tag_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)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	TagId string `firestore:"tagId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName added in v0.7.1

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName added in v0.7.1

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetProjectName

func (name *Name) GetProjectName() *project.Name

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

type NameBuilder struct {
	// contains filtered or unexported fields
}

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(id string) *NameBuilder

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

func (orderBy *OrderBy) Compare(left, right *Tag) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Tag_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 TagList, elem *Tag) (TagList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results TagList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Tag_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 *Tag) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor added in v0.7.1

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit added in v0.7.1

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.7.1

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection added in v0.7.1

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward added in v0.7.1

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId string `firestore:"projectId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName added in v0.7.1

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName added in v0.7.1

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *project.Name

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) ConvertToNative added in v0.6.2

func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentReference) ConvertToType added in v0.6.2

func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentReference) Equal added in v0.6.2

func (name *ParentReference) Equal(other ref.Val) ref.Val

func (*ParentReference) GetIParentName added in v0.7.1

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName added in v0.7.1

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetProject

func (ref *ParentReference) GetProject() *project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *project.Reference

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) HasTrait added in v0.6.2

func (name *ParentReference) HasTrait(trait int) bool

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Match added in v0.6.2

func (name *ParentReference) Match(pattern ref.Val) ref.Val

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) Receive added in v0.6.2

func (name *ParentReference) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

func (*ParentReference) Type added in v0.6.2

func (name *ParentReference) Type() ref.Type

func (*ParentReference) TypeName added in v0.6.2

func (name *ParentReference) TypeName() string

func (*ParentReference) Value added in v0.6.2

func (name *ParentReference) Value() interface{}

type QueryResultChange

type QueryResultChange struct {
	Changes        []*TagChange
	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 (*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 {
	Tags           []*Tag
	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 (*QueryResultSnapshot) SetCursors

func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultSnapshot) SetResults

func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)

type Reference

type Reference struct {
	Name
	// contains filtered or unexported fields
}

func MakeReference

func MakeReference(name *Name, tag *Tag) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetIParentName added in v0.7.1

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName added in v0.7.1

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

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) GetTag

func (ref *Reference) GetTag() *Tag

func (*Reference) GotenEqual

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *Tag)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type Tag

type Tag struct {

	// Name of Tag. Id
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// User-friendly name of tag.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Tag state. Contains resource counters.
	State *Tag_State `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty" firestore:"state"`
	// metadata is additional information of the tag.
	Metadata *ntt_meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

Tag Resource

func (*Tag) Clone

func (o *Tag) Clone() *Tag

func (*Tag) CloneRaw

func (o *Tag) CloneRaw() gotenobject.GotenObjectExt

func (*Tag) Descriptor

func (*Tag) Descriptor() ([]byte, []int)

Deprecated, Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDisplayName

func (m *Tag) GetDisplayName() string

func (*Tag) GetMetadata

func (m *Tag) GetMetadata() *ntt_meta.Meta

func (*Tag) GetName

func (m *Tag) GetName() *Name

func (*Tag) GetRawName

func (r *Tag) GetRawName() gotenresource.Name

func (*Tag) GetResourceDescriptor

func (r *Tag) GetResourceDescriptor() gotenresource.Descriptor

func (*Tag) GetState

func (m *Tag) GetState() *Tag_State

func (*Tag) GotenMessage

func (*Tag) GotenMessage()

func (*Tag) GotenObjectExt

func (o *Tag) GotenObjectExt()

func (*Tag) GotenValidate

func (obj *Tag) GotenValidate() error

func (*Tag) MakeDiffFieldMask

func (o *Tag) MakeDiffFieldMask(other *Tag) *Tag_FieldMask

func (*Tag) MakeFullFieldMask

func (o *Tag) MakeFullFieldMask() *Tag_FieldMask

func (*Tag) MakeRawDiffFieldMask

func (o *Tag) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Tag) MakeRawFullFieldMask

func (o *Tag) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Tag) Marshal

func (m *Tag) Marshal() ([]byte, error)

func (*Tag) MarshalJSON

func (m *Tag) MarshalJSON() ([]byte, error)

func (*Tag) MaybePopulateDefaults

func (r *Tag) MaybePopulateDefaults() error

func (*Tag) Merge

func (o *Tag) Merge(source *Tag)

func (*Tag) MergeRaw

func (o *Tag) MergeRaw(source gotenobject.GotenObjectExt)

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (m *Tag) ProtoReflect() preflect.Message

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) SetDisplayName

func (m *Tag) SetDisplayName(fv string)

func (*Tag) SetMetadata

func (m *Tag) SetMetadata(fv *ntt_meta.Meta)

func (*Tag) SetName

func (m *Tag) SetName(fv *Name)

func (*Tag) SetState

func (m *Tag) SetState(fv *Tag_State)

func (*Tag) String

func (m *Tag) String() string

func (*Tag) Unmarshal

func (m *Tag) Unmarshal(b []byte) error

func (*Tag) UnmarshalJSON

func (m *Tag) UnmarshalJSON(data []byte) error

type TagChange

type TagChange struct {

	// Tag change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*TagChange_Added_
	//	*TagChange_Modified_
	//	*TagChange_Current_
	//	*TagChange_Removed_
	ChangeType isTagChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

TagChange is used by Watch notifications Responses to describe change of single Tag One of Added, Modified, Removed

func (*TagChange) Descriptor

func (*TagChange) Descriptor() ([]byte, []int)

Deprecated, Use TagChange.ProtoReflect.Descriptor instead.

func (*TagChange) GetAdded

func (m *TagChange) GetAdded() *TagChange_Added

func (*TagChange) GetChangeType

func (m *TagChange) GetChangeType() isTagChange_ChangeType

func (*TagChange) GetCurrent

func (m *TagChange) GetCurrent() *TagChange_Current

func (*TagChange) GetCurrentViewIndex

func (c *TagChange) GetCurrentViewIndex() int32

func (*TagChange) GetModified

func (m *TagChange) GetModified() *TagChange_Modified

func (*TagChange) GetPreviousViewIndex

func (c *TagChange) GetPreviousViewIndex() int32

func (*TagChange) GetRawName

func (c *TagChange) GetRawName() gotenresource.Name

func (*TagChange) GetRawResource added in v0.5.1

func (c *TagChange) GetRawResource() gotenresource.Resource

func (*TagChange) GetRemoved

func (m *TagChange) GetRemoved() *TagChange_Removed

func (*TagChange) GetTag

func (c *TagChange) GetTag() *Tag

func (*TagChange) GetTagName

func (c *TagChange) GetTagName() *Name

func (*TagChange) GotenMessage

func (*TagChange) GotenMessage()

func (*TagChange) GotenValidate

func (obj *TagChange) GotenValidate() error

func (*TagChange) IsAdd

func (c *TagChange) IsAdd() bool

func (*TagChange) IsCurrent

func (c *TagChange) IsCurrent() bool

func (*TagChange) IsDelete

func (c *TagChange) IsDelete() bool

func (*TagChange) IsModify

func (c *TagChange) IsModify() bool

func (*TagChange) Marshal

func (m *TagChange) Marshal() ([]byte, error)

func (*TagChange) MarshalJSON

func (m *TagChange) MarshalJSON() ([]byte, error)

func (*TagChange) ProtoMessage

func (*TagChange) ProtoMessage()

func (*TagChange) ProtoReflect

func (m *TagChange) ProtoReflect() preflect.Message

func (*TagChange) Reset

func (m *TagChange) Reset()

func (*TagChange) SetAdded

func (m *TagChange) SetAdded(fv *TagChange_Added)

func (*TagChange) SetAddedRaw

func (c *TagChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*TagChange) SetChangeType

func (m *TagChange) SetChangeType(ofv isTagChange_ChangeType)

func (*TagChange) SetCurrent

func (m *TagChange) SetCurrent(fv *TagChange_Current)

func (*TagChange) SetCurrentRaw

func (c *TagChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*TagChange) SetDeletedRaw

func (c *TagChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*TagChange) SetModified

func (m *TagChange) SetModified(fv *TagChange_Modified)

func (*TagChange) SetModifiedRaw

func (c *TagChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*TagChange) SetRemoved

func (m *TagChange) SetRemoved(fv *TagChange_Removed)

func (*TagChange) String

func (m *TagChange) String() string

func (*TagChange) Unmarshal

func (m *TagChange) Unmarshal(b []byte) error

func (*TagChange) UnmarshalJSON

func (m *TagChange) UnmarshalJSON(data []byte) error

type TagChangeList

type TagChangeList []*TagChange

func (TagChangeList) At

func (TagChangeList) Length

func (l TagChangeList) Length() int

func (TagChangeList) Set

func (l TagChangeList) Set(idx int, change gotenresource.ResourceChange)

func (TagChangeList) Slice

func (l TagChangeList) Slice(first, second int) gotenresource.ResourceChangeList

type TagChangeMap

type TagChangeMap map[Name]*TagChange

func (TagChangeMap) Delete

func (m TagChangeMap) Delete(name gotenresource.Name)

func (TagChangeMap) ForEach

func (TagChangeMap) Get

func (TagChangeMap) Length

func (m TagChangeMap) Length() int

func (TagChangeMap) Set

type TagChange_Added

type TagChange_Added struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty" firestore:"tag"`
	// Integer describing index of added Tag 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
}

Tag has been added to query view

func (*TagChange_Added) Descriptor

func (*TagChange_Added) Descriptor() ([]byte, []int)

Deprecated, Use TagChange_Added.ProtoReflect.Descriptor instead.

func (*TagChange_Added) GetTag

func (m *TagChange_Added) GetTag() *Tag

func (*TagChange_Added) GetViewIndex

func (m *TagChange_Added) GetViewIndex() int32

func (*TagChange_Added) GotenMessage

func (*TagChange_Added) GotenMessage()

func (*TagChange_Added) GotenValidate

func (obj *TagChange_Added) GotenValidate() error

func (*TagChange_Added) Marshal

func (m *TagChange_Added) Marshal() ([]byte, error)

func (*TagChange_Added) MarshalJSON

func (m *TagChange_Added) MarshalJSON() ([]byte, error)

func (*TagChange_Added) ProtoMessage

func (*TagChange_Added) ProtoMessage()

func (*TagChange_Added) ProtoReflect

func (m *TagChange_Added) ProtoReflect() preflect.Message

func (*TagChange_Added) Reset

func (m *TagChange_Added) Reset()

func (*TagChange_Added) SetTag

func (m *TagChange_Added) SetTag(fv *Tag)

func (*TagChange_Added) SetViewIndex

func (m *TagChange_Added) SetViewIndex(fv int32)

func (*TagChange_Added) String

func (m *TagChange_Added) String() string

func (*TagChange_Added) Unmarshal

func (m *TagChange_Added) Unmarshal(b []byte) error

func (*TagChange_Added) UnmarshalJSON

func (m *TagChange_Added) UnmarshalJSON(data []byte) error

type TagChange_Added_

type TagChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *TagChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type TagChange_Current

type TagChange_Current struct {
	Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty" firestore:"tag"`
	// contains filtered or unexported fields
}

Tag has been added or modified in a query view. Version used for stateless watching

func (*TagChange_Current) Descriptor

func (*TagChange_Current) Descriptor() ([]byte, []int)

Deprecated, Use TagChange_Current.ProtoReflect.Descriptor instead.

func (*TagChange_Current) GetTag

func (m *TagChange_Current) GetTag() *Tag

func (*TagChange_Current) GotenMessage

func (*TagChange_Current) GotenMessage()

func (*TagChange_Current) GotenValidate

func (obj *TagChange_Current) GotenValidate() error

func (*TagChange_Current) Marshal

func (m *TagChange_Current) Marshal() ([]byte, error)

func (*TagChange_Current) MarshalJSON

func (m *TagChange_Current) MarshalJSON() ([]byte, error)

func (*TagChange_Current) ProtoMessage

func (*TagChange_Current) ProtoMessage()

func (*TagChange_Current) ProtoReflect

func (m *TagChange_Current) ProtoReflect() preflect.Message

func (*TagChange_Current) Reset

func (m *TagChange_Current) Reset()

func (*TagChange_Current) SetTag

func (m *TagChange_Current) SetTag(fv *Tag)

func (*TagChange_Current) String

func (m *TagChange_Current) String() string

func (*TagChange_Current) Unmarshal

func (m *TagChange_Current) Unmarshal(b []byte) error

func (*TagChange_Current) UnmarshalJSON

func (m *TagChange_Current) UnmarshalJSON(data []byte) error

type TagChange_Current_

type TagChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *TagChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type TagChange_Modified

type TagChange_Modified struct {

	// Name of modified Tag
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of Tag or masked difference, depending on mask_changes
	// instrumentation of issued [WatchTagRequest] or [WatchTagsRequest]
	Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty" firestore:"tag"`
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *Tag_FieldMask `` /* 135-byte string literal not displayed */
	// Previous view index specifies previous position of modified Tag.
	// When modification doesn't affect sorted order, value will remain
	// identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying Tag 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
}

Tag changed some of it's fields - contains either full document or masked change

func (*TagChange_Modified) Descriptor

func (*TagChange_Modified) Descriptor() ([]byte, []int)

Deprecated, Use TagChange_Modified.ProtoReflect.Descriptor instead.

func (*TagChange_Modified) GetFieldMask

func (m *TagChange_Modified) GetFieldMask() *Tag_FieldMask

func (*TagChange_Modified) GetName

func (m *TagChange_Modified) GetName() *Name

func (*TagChange_Modified) GetPreviousViewIndex

func (m *TagChange_Modified) GetPreviousViewIndex() int32

func (*TagChange_Modified) GetTag

func (m *TagChange_Modified) GetTag() *Tag

func (*TagChange_Modified) GetViewIndex

func (m *TagChange_Modified) GetViewIndex() int32

func (*TagChange_Modified) GotenMessage

func (*TagChange_Modified) GotenMessage()

func (*TagChange_Modified) GotenValidate

func (obj *TagChange_Modified) GotenValidate() error

func (*TagChange_Modified) Marshal

func (m *TagChange_Modified) Marshal() ([]byte, error)

func (*TagChange_Modified) MarshalJSON

func (m *TagChange_Modified) MarshalJSON() ([]byte, error)

func (*TagChange_Modified) ProtoMessage

func (*TagChange_Modified) ProtoMessage()

func (*TagChange_Modified) ProtoReflect

func (m *TagChange_Modified) ProtoReflect() preflect.Message

func (*TagChange_Modified) Reset

func (m *TagChange_Modified) Reset()

func (*TagChange_Modified) SetFieldMask

func (m *TagChange_Modified) SetFieldMask(fv *Tag_FieldMask)

func (*TagChange_Modified) SetName

func (m *TagChange_Modified) SetName(fv *Name)

func (*TagChange_Modified) SetPreviousViewIndex

func (m *TagChange_Modified) SetPreviousViewIndex(fv int32)

func (*TagChange_Modified) SetTag

func (m *TagChange_Modified) SetTag(fv *Tag)

func (*TagChange_Modified) SetViewIndex

func (m *TagChange_Modified) SetViewIndex(fv int32)

func (*TagChange_Modified) String

func (m *TagChange_Modified) String() string

func (*TagChange_Modified) Unmarshal

func (m *TagChange_Modified) Unmarshal(b []byte) error

func (*TagChange_Modified) UnmarshalJSON

func (m *TagChange_Modified) UnmarshalJSON(data []byte) error

type TagChange_Modified_

type TagChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *TagChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type TagChange_Removed

type TagChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed Tag 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 Tag is deleted or leaves Query view

func (*TagChange_Removed) Descriptor

func (*TagChange_Removed) Descriptor() ([]byte, []int)

Deprecated, Use TagChange_Removed.ProtoReflect.Descriptor instead.

func (*TagChange_Removed) GetName

func (m *TagChange_Removed) GetName() *Name

func (*TagChange_Removed) GetViewIndex

func (m *TagChange_Removed) GetViewIndex() int32

func (*TagChange_Removed) GotenMessage

func (*TagChange_Removed) GotenMessage()

func (*TagChange_Removed) GotenValidate

func (obj *TagChange_Removed) GotenValidate() error

func (*TagChange_Removed) Marshal

func (m *TagChange_Removed) Marshal() ([]byte, error)

func (*TagChange_Removed) MarshalJSON

func (m *TagChange_Removed) MarshalJSON() ([]byte, error)

func (*TagChange_Removed) ProtoMessage

func (*TagChange_Removed) ProtoMessage()

func (*TagChange_Removed) ProtoReflect

func (m *TagChange_Removed) ProtoReflect() preflect.Message

func (*TagChange_Removed) Reset

func (m *TagChange_Removed) Reset()

func (*TagChange_Removed) SetName

func (m *TagChange_Removed) SetName(fv *Name)

func (*TagChange_Removed) SetViewIndex

func (m *TagChange_Removed) SetViewIndex(fv int32)

func (*TagChange_Removed) String

func (m *TagChange_Removed) String() string

func (*TagChange_Removed) Unmarshal

func (m *TagChange_Removed) Unmarshal(b []byte) error

func (*TagChange_Removed) UnmarshalJSON

func (m *TagChange_Removed) UnmarshalJSON(data []byte) error

type TagChange_Removed_

type TagChange_Removed_ struct {
	// Removed is returned when Tag is deleted or leaves Query view
	Removed *TagChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type TagFieldPathBuilder

type TagFieldPathBuilder struct{}

func NewTagFieldPathBuilder

func NewTagFieldPathBuilder() TagFieldPathBuilder

func (TagFieldPathBuilder) DisplayName

func (TagFieldPathBuilder) Metadata

func (TagFieldPathBuilder) Name

func (TagFieldPathBuilder) State

type TagList

type TagList []*Tag

func (TagList) Append

func (TagList) AppendList

func (TagList) At

func (l TagList) At(idx int) gotenresource.Resource

func (TagList) Length

func (l TagList) Length() int

func (TagList) Set

func (l TagList) Set(idx int, res gotenresource.Resource)

func (TagList) Slice

func (l TagList) Slice(first, second int) gotenresource.ResourceList

type TagMap

type TagMap map[Name]*Tag

func (TagMap) Delete

func (m TagMap) Delete(name gotenresource.Name)

func (TagMap) ForEach

func (m TagMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)

func (TagMap) Get

func (TagMap) Length

func (m TagMap) Length() int

func (TagMap) Set

func (m TagMap) Set(res gotenresource.Resource)

type TagMapPathSelectorMetadataAnnotations

type TagMapPathSelectorMetadataAnnotations struct {
	// contains filtered or unexported fields
}

func (TagMapPathSelectorMetadataAnnotations) FieldPath

func (TagMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (TagMapPathSelectorMetadataAnnotations) WithValue

type TagMapPathSelectorMetadataLabels

type TagMapPathSelectorMetadataLabels struct {
	// contains filtered or unexported fields
}

func (TagMapPathSelectorMetadataLabels) FieldPath

func (TagMapPathSelectorMetadataLabels) WithArrayOfValues

func (TagMapPathSelectorMetadataLabels) WithValue

type TagMapPathSelectorMetadataShards

type TagMapPathSelectorMetadataShards struct {
	// contains filtered or unexported fields
}

func (TagMapPathSelectorMetadataShards) FieldPath

func (TagMapPathSelectorMetadataShards) WithArrayOfValues

func (TagMapPathSelectorMetadataShards) WithValue

type TagMapPathSelectorStateRegionalResourceCounters

type TagMapPathSelectorStateRegionalResourceCounters struct {
	// contains filtered or unexported fields
}

func (TagMapPathSelectorStateRegionalResourceCounters) FieldPath

func (TagMapPathSelectorStateRegionalResourceCounters) WithArrayOfValues

func (TagMapPathSelectorStateRegionalResourceCounters) WithValue

type TagMapPathSelectorStateResourceTypeCounters

type TagMapPathSelectorStateResourceTypeCounters struct {
	// contains filtered or unexported fields
}

func (TagMapPathSelectorStateResourceTypeCounters) FieldPath

func (TagMapPathSelectorStateResourceTypeCounters) WithArrayOfValues

func (TagMapPathSelectorStateResourceTypeCounters) WithValue

type TagNameList

type TagNameList []*Name

func (TagNameList) Append

func (TagNameList) AppendList

func (TagNameList) At

func (l TagNameList) At(idx int) gotenresource.Name

func (TagNameList) Length

func (l TagNameList) Length() int

func (TagNameList) Set

func (l TagNameList) Set(idx int, name gotenresource.Name)

func (TagNameList) Slice

func (l TagNameList) Slice(first, second int) gotenresource.NameList

type TagParentNameList

type TagParentNameList []*ParentName

func (TagParentNameList) Append

func (TagParentNameList) AppendList

func (TagParentNameList) At

func (TagParentNameList) Length

func (l TagParentNameList) Length() int

func (TagParentNameList) Set

func (l TagParentNameList) Set(idx int, name gotenresource.Name)

func (TagParentNameList) Slice

func (l TagParentNameList) Slice(first, second int) gotenresource.ParentNameList

type TagParentReferenceList

type TagParentReferenceList []*ParentReference

func (TagParentReferenceList) Append

func (TagParentReferenceList) At

func (TagParentReferenceList) Length

func (l TagParentReferenceList) Length() int

func (TagParentReferenceList) Set

func (TagParentReferenceList) Slice

type TagPathSelectorDisplayName

type TagPathSelectorDisplayName struct{}

func (TagPathSelectorDisplayName) FieldPath

func (TagPathSelectorDisplayName) WithArrayOfValues

func (TagPathSelectorDisplayName) WithValue

type TagPathSelectorMetadata

type TagPathSelectorMetadata struct{}

func (TagPathSelectorMetadata) Annotations

func (TagPathSelectorMetadata) CreateTime

func (TagPathSelectorMetadata) DeleteTime added in v0.7.1

func (TagPathSelectorMetadata) FieldPath

func (TagPathSelectorMetadata) Generation

func (TagPathSelectorMetadata) Labels

func (TagPathSelectorMetadata) Lifecycle added in v0.7.1

func (TagPathSelectorMetadata) OwnerReferences

func (TagPathSelectorMetadata) ResourceVersion

func (TagPathSelectorMetadata) Shards

func (TagPathSelectorMetadata) Syncing

func (TagPathSelectorMetadata) Tags

func (TagPathSelectorMetadata) UpdateTime

func (TagPathSelectorMetadata) Uuid

func (TagPathSelectorMetadata) WithArrayOfValues

func (TagPathSelectorMetadata) WithSubArrayItemValue

func (s TagPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Tag_FieldSubPathArrayItemValue

func (TagPathSelectorMetadata) WithSubArrayOfValues

func (s TagPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorMetadata) WithSubPath

func (TagPathSelectorMetadata) WithSubValue

func (TagPathSelectorMetadata) WithValue

type TagPathSelectorMetadataAnnotations

type TagPathSelectorMetadataAnnotations struct{}

func (TagPathSelectorMetadataAnnotations) FieldPath

func (TagPathSelectorMetadataAnnotations) WithArrayOfValues

func (TagPathSelectorMetadataAnnotations) WithKey

func (TagPathSelectorMetadataAnnotations) WithValue

type TagPathSelectorMetadataCreateTime

type TagPathSelectorMetadataCreateTime struct{}

func (TagPathSelectorMetadataCreateTime) FieldPath

func (TagPathSelectorMetadataCreateTime) WithArrayOfValues

func (TagPathSelectorMetadataCreateTime) WithValue

type TagPathSelectorMetadataDeleteTime added in v0.7.1

type TagPathSelectorMetadataDeleteTime struct{}

func (TagPathSelectorMetadataDeleteTime) FieldPath added in v0.7.1

func (TagPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataDeleteTime) WithValue added in v0.7.1

type TagPathSelectorMetadataGeneration

type TagPathSelectorMetadataGeneration struct{}

func (TagPathSelectorMetadataGeneration) FieldPath

func (TagPathSelectorMetadataGeneration) WithArrayOfValues

func (TagPathSelectorMetadataGeneration) WithValue

type TagPathSelectorMetadataLabels

type TagPathSelectorMetadataLabels struct{}

func (TagPathSelectorMetadataLabels) FieldPath

func (TagPathSelectorMetadataLabels) WithArrayOfValues

func (s TagPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorMetadataLabels) WithKey

func (TagPathSelectorMetadataLabels) WithValue

type TagPathSelectorMetadataLifecycle added in v0.7.1

type TagPathSelectorMetadataLifecycle struct{}

func (TagPathSelectorMetadataLifecycle) BlockDeletion added in v0.7.1

func (TagPathSelectorMetadataLifecycle) FieldPath added in v0.7.1

func (TagPathSelectorMetadataLifecycle) State added in v0.7.1

func (TagPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataLifecycle) WithValue added in v0.7.1

type TagPathSelectorMetadataLifecycleBlockDeletion added in v0.7.1

type TagPathSelectorMetadataLifecycleBlockDeletion struct{}

func (TagPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.7.1

func (TagPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.7.1

type TagPathSelectorMetadataLifecycleState added in v0.7.1

type TagPathSelectorMetadataLifecycleState struct{}

func (TagPathSelectorMetadataLifecycleState) FieldPath added in v0.7.1

func (TagPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataLifecycleState) WithValue added in v0.7.1

type TagPathSelectorMetadataOwnerReferences

type TagPathSelectorMetadataOwnerReferences struct{}

func (TagPathSelectorMetadataOwnerReferences) BlockOwnerDeletion

func (TagPathSelectorMetadataOwnerReferences) Controller

func (TagPathSelectorMetadataOwnerReferences) FieldPath

func (TagPathSelectorMetadataOwnerReferences) Kind

func (TagPathSelectorMetadataOwnerReferences) Name

func (TagPathSelectorMetadataOwnerReferences) Region added in v0.7.1

func (TagPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.7.1

func (TagPathSelectorMetadataOwnerReferences) Version added in v0.7.1

func (TagPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (TagPathSelectorMetadataOwnerReferences) WithItemValue

func (TagPathSelectorMetadataOwnerReferences) WithValue

type TagPathSelectorMetadataOwnerReferencesBlockOwnerDeletion

type TagPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (TagPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath

func (TagPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (TagPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue

type TagPathSelectorMetadataOwnerReferencesController

type TagPathSelectorMetadataOwnerReferencesController struct{}

func (TagPathSelectorMetadataOwnerReferencesController) FieldPath

func (TagPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (TagPathSelectorMetadataOwnerReferencesController) WithValue

type TagPathSelectorMetadataOwnerReferencesKind

type TagPathSelectorMetadataOwnerReferencesKind struct{}

func (TagPathSelectorMetadataOwnerReferencesKind) FieldPath

func (TagPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (TagPathSelectorMetadataOwnerReferencesKind) WithValue

type TagPathSelectorMetadataOwnerReferencesName

type TagPathSelectorMetadataOwnerReferencesName struct{}

func (TagPathSelectorMetadataOwnerReferencesName) FieldPath

func (TagPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (TagPathSelectorMetadataOwnerReferencesName) WithValue

type TagPathSelectorMetadataOwnerReferencesRegion added in v0.7.1

type TagPathSelectorMetadataOwnerReferencesRegion struct{}

func (TagPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.7.1

type TagPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.7.1

type TagPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (TagPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.7.1

type TagPathSelectorMetadataOwnerReferencesVersion added in v0.7.1

type TagPathSelectorMetadataOwnerReferencesVersion struct{}

func (TagPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.7.1

func (TagPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.7.1

type TagPathSelectorMetadataResourceVersion

type TagPathSelectorMetadataResourceVersion struct{}

func (TagPathSelectorMetadataResourceVersion) FieldPath

func (TagPathSelectorMetadataResourceVersion) WithArrayOfValues

func (TagPathSelectorMetadataResourceVersion) WithValue

type TagPathSelectorMetadataShards

type TagPathSelectorMetadataShards struct{}

func (TagPathSelectorMetadataShards) FieldPath

func (TagPathSelectorMetadataShards) WithArrayOfValues

func (s TagPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorMetadataShards) WithKey

func (TagPathSelectorMetadataShards) WithValue

type TagPathSelectorMetadataSyncing

type TagPathSelectorMetadataSyncing struct{}

func (TagPathSelectorMetadataSyncing) FieldPath

func (TagPathSelectorMetadataSyncing) OwningRegion

func (TagPathSelectorMetadataSyncing) Regions

func (TagPathSelectorMetadataSyncing) WithArrayOfValues

func (TagPathSelectorMetadataSyncing) WithValue

type TagPathSelectorMetadataSyncingOwningRegion

type TagPathSelectorMetadataSyncingOwningRegion struct{}

func (TagPathSelectorMetadataSyncingOwningRegion) FieldPath

func (TagPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (TagPathSelectorMetadataSyncingOwningRegion) WithValue

type TagPathSelectorMetadataSyncingRegions

type TagPathSelectorMetadataSyncingRegions struct{}

func (TagPathSelectorMetadataSyncingRegions) FieldPath

func (TagPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (TagPathSelectorMetadataSyncingRegions) WithItemValue

func (TagPathSelectorMetadataSyncingRegions) WithValue

type TagPathSelectorMetadataTags

type TagPathSelectorMetadataTags struct{}

func (TagPathSelectorMetadataTags) FieldPath

func (TagPathSelectorMetadataTags) WithArrayOfValues

func (s TagPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorMetadataTags) WithItemValue

func (TagPathSelectorMetadataTags) WithValue

type TagPathSelectorMetadataUpdateTime

type TagPathSelectorMetadataUpdateTime struct{}

func (TagPathSelectorMetadataUpdateTime) FieldPath

func (TagPathSelectorMetadataUpdateTime) WithArrayOfValues

func (TagPathSelectorMetadataUpdateTime) WithValue

type TagPathSelectorMetadataUuid

type TagPathSelectorMetadataUuid struct{}

func (TagPathSelectorMetadataUuid) FieldPath

func (TagPathSelectorMetadataUuid) WithArrayOfValues

func (s TagPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorMetadataUuid) WithValue

type TagPathSelectorName

type TagPathSelectorName struct{}

func (TagPathSelectorName) FieldPath

func (TagPathSelectorName) WithArrayOfValues

func (s TagPathSelectorName) WithArrayOfValues(values []*Name) *Tag_FieldTerminalPathArrayOfValues

func (TagPathSelectorName) WithValue

type TagPathSelectorState

type TagPathSelectorState struct{}

func (TagPathSelectorState) DistributionsViaProbeSelector

func (TagPathSelectorState) DistributionsViaTargetSelector

func (TagPathSelectorState) FieldPath

func (TagPathSelectorState) RegionalResourceCounters

func (TagPathSelectorState) ResourceTypeCounters

func (TagPathSelectorState) WithArrayOfValues

func (s TagPathSelectorState) WithArrayOfValues(values []*Tag_State) *Tag_FieldTerminalPathArrayOfValues

func (TagPathSelectorState) WithSubArrayItemValue

func (s TagPathSelectorState) WithSubArrayItemValue(subPathArrayItemValue TagState_FieldPathArrayItemValue) *Tag_FieldSubPathArrayItemValue

func (TagPathSelectorState) WithSubArrayOfValues

func (s TagPathSelectorState) WithSubArrayOfValues(subPathArrayOfValues TagState_FieldPathArrayOfValues) *Tag_FieldSubPathArrayOfValues

func (TagPathSelectorState) WithSubPath

func (TagPathSelectorState) WithSubValue

func (TagPathSelectorState) WithValue

type TagPathSelectorStateDistributionsViaProbeSelector

type TagPathSelectorStateDistributionsViaProbeSelector struct{}

func (TagPathSelectorStateDistributionsViaProbeSelector) FieldPath

func (TagPathSelectorStateDistributionsViaProbeSelector) WithArrayOfValues

func (TagPathSelectorStateDistributionsViaProbeSelector) WithItemValue

func (TagPathSelectorStateDistributionsViaProbeSelector) WithValue

type TagPathSelectorStateDistributionsViaTargetSelector

type TagPathSelectorStateDistributionsViaTargetSelector struct{}

func (TagPathSelectorStateDistributionsViaTargetSelector) FieldPath

func (TagPathSelectorStateDistributionsViaTargetSelector) WithArrayOfValues

func (TagPathSelectorStateDistributionsViaTargetSelector) WithItemValue

func (TagPathSelectorStateDistributionsViaTargetSelector) WithValue

type TagPathSelectorStateRegionalResourceCounters

type TagPathSelectorStateRegionalResourceCounters struct{}

func (TagPathSelectorStateRegionalResourceCounters) FieldPath

func (TagPathSelectorStateRegionalResourceCounters) WithArrayOfValues

func (TagPathSelectorStateRegionalResourceCounters) WithKey

func (TagPathSelectorStateRegionalResourceCounters) WithValue

type TagPathSelectorStateResourceTypeCounters

type TagPathSelectorStateResourceTypeCounters struct{}

func (TagPathSelectorStateResourceTypeCounters) FieldPath

func (TagPathSelectorStateResourceTypeCounters) WithArrayOfValues

func (TagPathSelectorStateResourceTypeCounters) WithKey

func (TagPathSelectorStateResourceTypeCounters) WithValue

type TagReferenceList

type TagReferenceList []*Reference

func (TagReferenceList) Append

func (TagReferenceList) AppendList

func (TagReferenceList) At

func (TagReferenceList) Length

func (l TagReferenceList) Length() int

func (TagReferenceList) Set

func (l TagReferenceList) Set(idx int, ref gotenresource.Reference)

func (TagReferenceList) Slice

func (l TagReferenceList) Slice(first, second int) gotenresource.ReferenceList

type TagStateFieldPathBuilder

type TagStateFieldPathBuilder struct{}

func NewTagStateFieldPathBuilder

func NewTagStateFieldPathBuilder() TagStateFieldPathBuilder

func (TagStateFieldPathBuilder) DistributionsViaProbeSelector

func (TagStateFieldPathBuilder) DistributionsViaTargetSelector

func (TagStateFieldPathBuilder) RegionalResourceCounters

func (TagStateFieldPathBuilder) ResourceTypeCounters

type TagStateRegionalCounterFieldPathBuilder

type TagStateRegionalCounterFieldPathBuilder struct{}

func NewTagStateRegionalCounterFieldPathBuilder

func NewTagStateRegionalCounterFieldPathBuilder() TagStateRegionalCounterFieldPathBuilder

func (TagStateRegionalCounterFieldPathBuilder) ByResourceType

type TagStateRegionalCounter_FieldPath

type TagStateRegionalCounter_FieldPath interface {
	gotenobject.FieldPath
	Selector() TagStateRegionalCounter_FieldPathSelector
	Get(source *Tag_State_RegionalCounter) []interface{}
	GetSingle(source *Tag_State_RegionalCounter) (interface{}, bool)
	ClearValue(item *Tag_State_RegionalCounter)

	// Those methods build corresponding TagStateRegionalCounter_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) TagStateRegionalCounter_FieldPathValue
	WithIArrayOfValues(values interface{}) TagStateRegionalCounter_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) TagStateRegionalCounter_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseTagStateRegionalCounter_FieldPath

func MustParseTagStateRegionalCounter_FieldPath(rawField string) TagStateRegionalCounter_FieldPath

func ParseTagStateRegionalCounter_FieldPath

func ParseTagStateRegionalCounter_FieldPath(rawField string) (TagStateRegionalCounter_FieldPath, error)

type TagStateRegionalCounter_FieldPathArrayItemValue

type TagStateRegionalCounter_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	TagStateRegionalCounter_FieldPath
	ContainsValue(*Tag_State_RegionalCounter) bool
}

TagStateRegionalCounter_FieldPathArrayItemValue allows storing single item in Path-specific values for RegionalCounter according to their type Present only for array (repeated) types.

func MustParseTagStateRegionalCounter_FieldPathArrayItemValue

func MustParseTagStateRegionalCounter_FieldPathArrayItemValue(pathStr, valueStr string) TagStateRegionalCounter_FieldPathArrayItemValue

func ParseTagStateRegionalCounter_FieldPathArrayItemValue

func ParseTagStateRegionalCounter_FieldPathArrayItemValue(pathStr, valueStr string) (TagStateRegionalCounter_FieldPathArrayItemValue, error)

ParseTagStateRegionalCounter_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type TagStateRegionalCounter_FieldPathArrayOfValues

type TagStateRegionalCounter_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	TagStateRegionalCounter_FieldPath
}

TagStateRegionalCounter_FieldPathArrayOfValues allows storing slice of values for RegionalCounter fields according to their type

func MustParseTagStateRegionalCounter_FieldPathArrayOfValues

func MustParseTagStateRegionalCounter_FieldPathArrayOfValues(pathStr, valuesStr string) TagStateRegionalCounter_FieldPathArrayOfValues

func ParseTagStateRegionalCounter_FieldPathArrayOfValues

func ParseTagStateRegionalCounter_FieldPathArrayOfValues(pathStr, valuesStr string) (TagStateRegionalCounter_FieldPathArrayOfValues, error)

type TagStateRegionalCounter_FieldPathMap

type TagStateRegionalCounter_FieldPathMap struct {
	// contains filtered or unexported fields
}

FieldPath for map type with additional Key information

func (*TagStateRegionalCounter_FieldPathMap) ClearValue

func (*TagStateRegionalCounter_FieldPathMap) ClearValueRaw

func (fpm *TagStateRegionalCounter_FieldPathMap) ClearValueRaw(item proto.Message)

func (*TagStateRegionalCounter_FieldPathMap) Get

func (fpm *TagStateRegionalCounter_FieldPathMap) Get(source *Tag_State_RegionalCounter) (values []interface{})

Get returns all values pointed by selected field map key from source Tag_State_RegionalCounter

func (*TagStateRegionalCounter_FieldPathMap) GetDefault

func (fpm *TagStateRegionalCounter_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*TagStateRegionalCounter_FieldPathMap) GetRaw

func (fpm *TagStateRegionalCounter_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*TagStateRegionalCounter_FieldPathMap) GetSingle

func (fpm *TagStateRegionalCounter_FieldPathMap) GetSingle(source *Tag_State_RegionalCounter) (interface{}, bool)

GetSingle returns value by selected field map key from source Tag_State_RegionalCounter

func (*TagStateRegionalCounter_FieldPathMap) GetSingleRaw

func (fpm *TagStateRegionalCounter_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*TagStateRegionalCounter_FieldPathMap) IsLeaf

IsLeaf - whether field path is holds simple value

func (*TagStateRegionalCounter_FieldPathMap) JSONString

func (fpm *TagStateRegionalCounter_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*TagStateRegionalCounter_FieldPathMap) Key

func (*TagStateRegionalCounter_FieldPathMap) Selector

func (*TagStateRegionalCounter_FieldPathMap) SplitIntoTerminalIPaths added in v0.7.1

func (fpm *TagStateRegionalCounter_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*TagStateRegionalCounter_FieldPathMap) String

String returns path representation in proto convention

func (*TagStateRegionalCounter_FieldPathMap) WithIArrayItemValue

func (*TagStateRegionalCounter_FieldPathMap) WithIArrayOfValues

func (*TagStateRegionalCounter_FieldPathMap) WithIValue

func (*TagStateRegionalCounter_FieldPathMap) WithRawIArrayItemValue

func (fpm *TagStateRegionalCounter_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*TagStateRegionalCounter_FieldPathMap) WithRawIArrayOfValues

func (fpm *TagStateRegionalCounter_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*TagStateRegionalCounter_FieldPathMap) WithRawIValue

func (fpm *TagStateRegionalCounter_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type TagStateRegionalCounter_FieldPathMapArrayOfValues

type TagStateRegionalCounter_FieldPathMapArrayOfValues struct {
	TagStateRegionalCounter_FieldPathMap
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldPathMapArrayOfValues) AsByResourceTypeArrayOfElementValues

func (fpmaov *TagStateRegionalCounter_FieldPathMapArrayOfValues) AsByResourceTypeArrayOfElementValues() ([]int64, bool)

func (*TagStateRegionalCounter_FieldPathMapArrayOfValues) GetRawValues

func (fpmaov *TagStateRegionalCounter_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type TagStateRegionalCounter_FieldPathMapValue

type TagStateRegionalCounter_FieldPathMapValue struct {
	TagStateRegionalCounter_FieldPathMap
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldPathMapValue) AsByResourceTypeElementValue

func (fpmv *TagStateRegionalCounter_FieldPathMapValue) AsByResourceTypeElementValue() (int64, bool)

func (*TagStateRegionalCounter_FieldPathMapValue) CompareWith

CompareWith compares value in the 'TagStateRegionalCounter_FieldPathMapValue' with the value under path in 'Tag_State_RegionalCounter'.

func (*TagStateRegionalCounter_FieldPathMapValue) CompareWithRaw

func (fpmv *TagStateRegionalCounter_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*TagStateRegionalCounter_FieldPathMapValue) GetRawValue

func (fpmv *TagStateRegionalCounter_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in RegionalCounter as interface{}

func (*TagStateRegionalCounter_FieldPathMapValue) SetTo

SetTo stores value for selected field in RegionalCounter

func (*TagStateRegionalCounter_FieldPathMapValue) SetToRaw

type TagStateRegionalCounter_FieldPathSelector

type TagStateRegionalCounter_FieldPathSelector int32
const (
	TagStateRegionalCounter_FieldPathSelectorByResourceType TagStateRegionalCounter_FieldPathSelector = 0
)

func (TagStateRegionalCounter_FieldPathSelector) String

type TagStateRegionalCounter_FieldPathValue

type TagStateRegionalCounter_FieldPathValue interface {
	TagStateRegionalCounter_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Tag_State_RegionalCounter)
	CompareWith(*Tag_State_RegionalCounter) (cmp int, comparable bool)
}

TagStateRegionalCounter_FieldPathValue allows storing values for RegionalCounter fields according to their type

func MustParseTagStateRegionalCounter_FieldPathValue

func MustParseTagStateRegionalCounter_FieldPathValue(pathStr, valueStr string) TagStateRegionalCounter_FieldPathValue

func ParseTagStateRegionalCounter_FieldPathValue

func ParseTagStateRegionalCounter_FieldPathValue(pathStr, valueStr string) (TagStateRegionalCounter_FieldPathValue, error)

type TagStateRegionalCounter_FieldTerminalPath

type TagStateRegionalCounter_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldTerminalPath) ClearValue

func (*TagStateRegionalCounter_FieldTerminalPath) ClearValueRaw

func (*TagStateRegionalCounter_FieldTerminalPath) Get

func (fp *TagStateRegionalCounter_FieldTerminalPath) Get(source *Tag_State_RegionalCounter) (values []interface{})

Get returns all values pointed by specific field from source Tag_State_RegionalCounter

func (*TagStateRegionalCounter_FieldTerminalPath) GetDefault

func (fp *TagStateRegionalCounter_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*TagStateRegionalCounter_FieldTerminalPath) GetRaw

func (fp *TagStateRegionalCounter_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*TagStateRegionalCounter_FieldTerminalPath) GetSingle

func (fp *TagStateRegionalCounter_FieldTerminalPath) GetSingle(source *Tag_State_RegionalCounter) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Tag_State_RegionalCounter

func (*TagStateRegionalCounter_FieldTerminalPath) GetSingleRaw

func (fp *TagStateRegionalCounter_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*TagStateRegionalCounter_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*TagStateRegionalCounter_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*TagStateRegionalCounter_FieldTerminalPath) Selector

func (*TagStateRegionalCounter_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.7.1

func (fp *TagStateRegionalCounter_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*TagStateRegionalCounter_FieldTerminalPath) String

String returns path representation in proto convention

func (*TagStateRegionalCounter_FieldTerminalPath) WithIArrayItemValue

func (*TagStateRegionalCounter_FieldTerminalPath) WithIArrayOfValues

func (*TagStateRegionalCounter_FieldTerminalPath) WithIValue

func (*TagStateRegionalCounter_FieldTerminalPath) WithRawIArrayItemValue

func (fp *TagStateRegionalCounter_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*TagStateRegionalCounter_FieldTerminalPath) WithRawIArrayOfValues

func (fp *TagStateRegionalCounter_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*TagStateRegionalCounter_FieldTerminalPath) WithRawIValue

func (fp *TagStateRegionalCounter_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type TagStateRegionalCounter_FieldTerminalPathArrayItemValue

type TagStateRegionalCounter_FieldTerminalPathArrayItemValue struct {
	TagStateRegionalCounter_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'RegionalCounter'

func (*TagStateRegionalCounter_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *TagStateRegionalCounter_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Tag_State_RegionalCounter as interface{}

func (*TagStateRegionalCounter_FieldTerminalPathArrayItemValue) GetSingle

func (*TagStateRegionalCounter_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *TagStateRegionalCounter_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type TagStateRegionalCounter_FieldTerminalPathArrayOfValues

type TagStateRegionalCounter_FieldTerminalPathArrayOfValues struct {
	TagStateRegionalCounter_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldTerminalPathArrayOfValues) AsByResourceTypeArrayOfValues

func (fpaov *TagStateRegionalCounter_FieldTerminalPathArrayOfValues) AsByResourceTypeArrayOfValues() ([]map[string]int64, bool)

func (*TagStateRegionalCounter_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *TagStateRegionalCounter_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type TagStateRegionalCounter_FieldTerminalPathValue

type TagStateRegionalCounter_FieldTerminalPathValue struct {
	TagStateRegionalCounter_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagStateRegionalCounter_FieldTerminalPathValue) AsByResourceTypeValue

func (fpv *TagStateRegionalCounter_FieldTerminalPathValue) AsByResourceTypeValue() (map[string]int64, bool)

func (*TagStateRegionalCounter_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'TagStateRegionalCounter_FieldTerminalPathValue' with the value under path in 'Tag_State_RegionalCounter'.

func (*TagStateRegionalCounter_FieldTerminalPathValue) CompareWithRaw

func (fpv *TagStateRegionalCounter_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*TagStateRegionalCounter_FieldTerminalPathValue) GetRawValue

func (fpv *TagStateRegionalCounter_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'RegionalCounter' as interface{}

func (*TagStateRegionalCounter_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object RegionalCounter

func (*TagStateRegionalCounter_FieldTerminalPathValue) SetToRaw

type TagState_FieldPath

type TagState_FieldPath interface {
	gotenobject.FieldPath
	Selector() TagState_FieldPathSelector
	Get(source *Tag_State) []interface{}
	GetSingle(source *Tag_State) (interface{}, bool)
	ClearValue(item *Tag_State)

	// Those methods build corresponding TagState_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) TagState_FieldPathValue
	WithIArrayOfValues(values interface{}) TagState_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) TagState_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildTagState_FieldPath

func BuildTagState_FieldPath(fp gotenobject.RawFieldPath) (TagState_FieldPath, error)

func MustParseTagState_FieldPath

func MustParseTagState_FieldPath(rawField string) TagState_FieldPath

func ParseTagState_FieldPath

func ParseTagState_FieldPath(rawField string) (TagState_FieldPath, error)

type TagState_FieldPathArrayItemValue

type TagState_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	TagState_FieldPath
	ContainsValue(*Tag_State) bool
}

TagState_FieldPathArrayItemValue allows storing single item in Path-specific values for State according to their type Present only for array (repeated) types.

func MustParseTagState_FieldPathArrayItemValue

func MustParseTagState_FieldPathArrayItemValue(pathStr, valueStr string) TagState_FieldPathArrayItemValue

func ParseTagState_FieldPathArrayItemValue

func ParseTagState_FieldPathArrayItemValue(pathStr, valueStr string) (TagState_FieldPathArrayItemValue, error)

ParseTagState_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type TagState_FieldPathArrayOfValues

type TagState_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	TagState_FieldPath
}

TagState_FieldPathArrayOfValues allows storing slice of values for State fields according to their type

func MustParseTagState_FieldPathArrayOfValues

func MustParseTagState_FieldPathArrayOfValues(pathStr, valuesStr string) TagState_FieldPathArrayOfValues

func ParseTagState_FieldPathArrayOfValues

func ParseTagState_FieldPathArrayOfValues(pathStr, valuesStr string) (TagState_FieldPathArrayOfValues, error)

type TagState_FieldPathMap

type TagState_FieldPathMap struct {
	// contains filtered or unexported fields
}

FieldPath for map type with additional Key information

func (*TagState_FieldPathMap) ClearValue

func (fpm *TagState_FieldPathMap) ClearValue(item *Tag_State)

func (*TagState_FieldPathMap) ClearValueRaw

func (fpm *TagState_FieldPathMap) ClearValueRaw(item proto.Message)

func (*TagState_FieldPathMap) Get

func (fpm *TagState_FieldPathMap) Get(source *Tag_State) (values []interface{})

Get returns all values pointed by selected field map key from source Tag_State

func (*TagState_FieldPathMap) GetDefault

func (fpm *TagState_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*TagState_FieldPathMap) GetRaw

func (fpm *TagState_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*TagState_FieldPathMap) GetSingle

func (fpm *TagState_FieldPathMap) GetSingle(source *Tag_State) (interface{}, bool)

GetSingle returns value by selected field map key from source Tag_State

func (*TagState_FieldPathMap) GetSingleRaw

func (fpm *TagState_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*TagState_FieldPathMap) IsLeaf

func (fpm *TagState_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*TagState_FieldPathMap) JSONString

func (fpm *TagState_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*TagState_FieldPathMap) Key

func (fpm *TagState_FieldPathMap) Key() string

func (*TagState_FieldPathMap) Selector

func (*TagState_FieldPathMap) SplitIntoTerminalIPaths added in v0.7.1

func (fpm *TagState_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*TagState_FieldPathMap) String

func (fpm *TagState_FieldPathMap) String() string

String returns path representation in proto convention

func (*TagState_FieldPathMap) WithIArrayItemValue

func (fpm *TagState_FieldPathMap) WithIArrayItemValue(value interface{}) TagState_FieldPathArrayItemValue

func (*TagState_FieldPathMap) WithIArrayOfValues

func (fpm *TagState_FieldPathMap) WithIArrayOfValues(values interface{}) TagState_FieldPathArrayOfValues

func (*TagState_FieldPathMap) WithIValue

func (fpm *TagState_FieldPathMap) WithIValue(value interface{}) TagState_FieldPathValue

func (*TagState_FieldPathMap) WithRawIArrayItemValue

func (fpm *TagState_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*TagState_FieldPathMap) WithRawIArrayOfValues

func (fpm *TagState_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*TagState_FieldPathMap) WithRawIValue

func (fpm *TagState_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type TagState_FieldPathMapArrayOfValues

type TagState_FieldPathMapArrayOfValues struct {
	TagState_FieldPathMap
	// contains filtered or unexported fields
}

func (*TagState_FieldPathMapArrayOfValues) AsRegionalResourceCountersArrayOfElementValues

func (fpmaov *TagState_FieldPathMapArrayOfValues) AsRegionalResourceCountersArrayOfElementValues() ([]*Tag_State_RegionalCounter, bool)

func (*TagState_FieldPathMapArrayOfValues) AsResourceTypeCountersArrayOfElementValues

func (fpmaov *TagState_FieldPathMapArrayOfValues) AsResourceTypeCountersArrayOfElementValues() ([]int64, bool)

func (*TagState_FieldPathMapArrayOfValues) GetRawValues

func (fpmaov *TagState_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type TagState_FieldPathMapValue

type TagState_FieldPathMapValue struct {
	TagState_FieldPathMap
	// contains filtered or unexported fields
}

func (*TagState_FieldPathMapValue) AsRegionalResourceCountersElementValue

func (fpmv *TagState_FieldPathMapValue) AsRegionalResourceCountersElementValue() (*Tag_State_RegionalCounter, bool)

func (*TagState_FieldPathMapValue) AsResourceTypeCountersElementValue

func (fpmv *TagState_FieldPathMapValue) AsResourceTypeCountersElementValue() (int64, bool)

func (*TagState_FieldPathMapValue) CompareWith

func (fpmv *TagState_FieldPathMapValue) CompareWith(source *Tag_State) (int, bool)

CompareWith compares value in the 'TagState_FieldPathMapValue' with the value under path in 'Tag_State'.

func (*TagState_FieldPathMapValue) CompareWithRaw

func (fpmv *TagState_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*TagState_FieldPathMapValue) GetRawValue

func (fpmv *TagState_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in State as interface{}

func (*TagState_FieldPathMapValue) SetTo

func (fpmv *TagState_FieldPathMapValue) SetTo(target **Tag_State)

SetTo stores value for selected field in State

func (*TagState_FieldPathMapValue) SetToRaw

func (fpmv *TagState_FieldPathMapValue) SetToRaw(target proto.Message)

type TagState_FieldPathSelector

type TagState_FieldPathSelector int32
const (
	TagState_FieldPathSelectorResourceTypeCounters           TagState_FieldPathSelector = 0
	TagState_FieldPathSelectorRegionalResourceCounters       TagState_FieldPathSelector = 1
	TagState_FieldPathSelectorDistributionsViaTargetSelector TagState_FieldPathSelector = 2
	TagState_FieldPathSelectorDistributionsViaProbeSelector  TagState_FieldPathSelector = 3
)

func (TagState_FieldPathSelector) String

type TagState_FieldPathValue

type TagState_FieldPathValue interface {
	TagState_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Tag_State)
	CompareWith(*Tag_State) (cmp int, comparable bool)
}

TagState_FieldPathValue allows storing values for State fields according to their type

func MustParseTagState_FieldPathValue

func MustParseTagState_FieldPathValue(pathStr, valueStr string) TagState_FieldPathValue

func ParseTagState_FieldPathValue

func ParseTagState_FieldPathValue(pathStr, valueStr string) (TagState_FieldPathValue, error)

type TagState_FieldTerminalPath

type TagState_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*TagState_FieldTerminalPath) ClearValue

func (fp *TagState_FieldTerminalPath) ClearValue(item *Tag_State)

func (*TagState_FieldTerminalPath) ClearValueRaw

func (fp *TagState_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*TagState_FieldTerminalPath) Get

func (fp *TagState_FieldTerminalPath) Get(source *Tag_State) (values []interface{})

Get returns all values pointed by specific field from source Tag_State

func (*TagState_FieldTerminalPath) GetDefault

func (fp *TagState_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*TagState_FieldTerminalPath) GetRaw

func (fp *TagState_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*TagState_FieldTerminalPath) GetSingle

func (fp *TagState_FieldTerminalPath) GetSingle(source *Tag_State) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Tag_State

func (*TagState_FieldTerminalPath) GetSingleRaw

func (fp *TagState_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*TagState_FieldTerminalPath) IsLeaf

func (fp *TagState_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*TagState_FieldTerminalPath) JSONString

func (fp *TagState_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*TagState_FieldTerminalPath) Selector

func (*TagState_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.7.1

func (fp *TagState_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*TagState_FieldTerminalPath) String

func (fp *TagState_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*TagState_FieldTerminalPath) WithIArrayItemValue

func (fp *TagState_FieldTerminalPath) WithIArrayItemValue(value interface{}) TagState_FieldPathArrayItemValue

func (*TagState_FieldTerminalPath) WithIArrayOfValues

func (fp *TagState_FieldTerminalPath) WithIArrayOfValues(values interface{}) TagState_FieldPathArrayOfValues

func (*TagState_FieldTerminalPath) WithIValue

func (fp *TagState_FieldTerminalPath) WithIValue(value interface{}) TagState_FieldPathValue

func (*TagState_FieldTerminalPath) WithRawIArrayItemValue

func (fp *TagState_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*TagState_FieldTerminalPath) WithRawIArrayOfValues

func (fp *TagState_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*TagState_FieldTerminalPath) WithRawIValue

func (fp *TagState_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type TagState_FieldTerminalPathArrayItemValue

type TagState_FieldTerminalPathArrayItemValue struct {
	TagState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagState_FieldTerminalPathArrayItemValue) AsDistributionsViaProbeSelectorItemValue

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) AsDistributionsViaProbeSelectorItemValue() (*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathArrayItemValue) AsDistributionsViaTargetSelectorItemValue

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) AsDistributionsViaTargetSelectorItemValue() (*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) ContainsValue(source *Tag_State) bool

Contains returns a boolean indicating if value that is being held is present in given 'State'

func (*TagState_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Tag_State as interface{}

func (*TagState_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) GetSingle(source *Tag_State) (interface{}, bool)

func (*TagState_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *TagState_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type TagState_FieldTerminalPathArrayOfValues

type TagState_FieldTerminalPathArrayOfValues struct {
	TagState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagState_FieldTerminalPathArrayOfValues) AsDistributionsViaProbeSelectorArrayOfValues

func (fpaov *TagState_FieldTerminalPathArrayOfValues) AsDistributionsViaProbeSelectorArrayOfValues() ([][]*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathArrayOfValues) AsDistributionsViaTargetSelectorArrayOfValues

func (fpaov *TagState_FieldTerminalPathArrayOfValues) AsDistributionsViaTargetSelectorArrayOfValues() ([][]*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathArrayOfValues) AsRegionalResourceCountersArrayOfValues

func (fpaov *TagState_FieldTerminalPathArrayOfValues) AsRegionalResourceCountersArrayOfValues() ([]map[string]*Tag_State_RegionalCounter, bool)

func (*TagState_FieldTerminalPathArrayOfValues) AsResourceTypeCountersArrayOfValues

func (fpaov *TagState_FieldTerminalPathArrayOfValues) AsResourceTypeCountersArrayOfValues() ([]map[string]int64, bool)

func (*TagState_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *TagState_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type TagState_FieldTerminalPathValue

type TagState_FieldTerminalPathValue struct {
	TagState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TagState_FieldTerminalPathValue) AsDistributionsViaProbeSelectorValue

func (fpv *TagState_FieldTerminalPathValue) AsDistributionsViaProbeSelectorValue() ([]*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathValue) AsDistributionsViaTargetSelectorValue

func (fpv *TagState_FieldTerminalPathValue) AsDistributionsViaTargetSelectorValue() ([]*probing_distribution.Reference, bool)

func (*TagState_FieldTerminalPathValue) AsRegionalResourceCountersValue

func (fpv *TagState_FieldTerminalPathValue) AsRegionalResourceCountersValue() (map[string]*Tag_State_RegionalCounter, bool)

func (*TagState_FieldTerminalPathValue) AsResourceTypeCountersValue

func (fpv *TagState_FieldTerminalPathValue) AsResourceTypeCountersValue() (map[string]int64, bool)

func (*TagState_FieldTerminalPathValue) CompareWith

func (fpv *TagState_FieldTerminalPathValue) CompareWith(source *Tag_State) (int, bool)

CompareWith compares value in the 'TagState_FieldTerminalPathValue' with the value under path in 'Tag_State'.

func (*TagState_FieldTerminalPathValue) CompareWithRaw

func (fpv *TagState_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*TagState_FieldTerminalPathValue) GetRawValue

func (fpv *TagState_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'State' as interface{}

func (*TagState_FieldTerminalPathValue) SetTo

func (fpv *TagState_FieldTerminalPathValue) SetTo(target **Tag_State)

SetTo stores value for selected field for object State

func (*TagState_FieldTerminalPathValue) SetToRaw

func (fpv *TagState_FieldTerminalPathValue) SetToRaw(target proto.Message)

type Tag_FieldMask

type Tag_FieldMask struct {
	Paths []Tag_FieldPath
}

func FullTag_FieldMask

func FullTag_FieldMask() *Tag_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *Tag_FieldMask) *Tag_FieldMask

func (*Tag_FieldMask) AppendPath

func (fieldMask *Tag_FieldMask) AppendPath(path Tag_FieldPath)

func (*Tag_FieldMask) AppendRawPath

func (fieldMask *Tag_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Tag_FieldMask) DecodeFirestore

func (fieldMask *Tag_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Tag_FieldMask) EncodeFirestore

func (fieldMask *Tag_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Tag_FieldMask) FilterInputFields

func (fieldMask *Tag_FieldMask) FilterInputFields() *Tag_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Tag_FieldMask) FromProtoFieldMask

func (fieldMask *Tag_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*Tag_FieldMask) GetPaths

func (fieldMask *Tag_FieldMask) GetPaths() []Tag_FieldPath

func (*Tag_FieldMask) GetRawPaths

func (fieldMask *Tag_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Tag_FieldMask) IsFull

func (fieldMask *Tag_FieldMask) IsFull() bool

func (Tag_FieldMask) Marshal

func (fieldMask Tag_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Tag_FieldMask) MarshalJSON

func (fieldMask Tag_FieldMask) MarshalJSON() ([]byte, error)

func (*Tag_FieldMask) PathsCount

func (fieldMask *Tag_FieldMask) PathsCount() int

func (*Tag_FieldMask) Project

func (fieldMask *Tag_FieldMask) Project(source *Tag) *Tag

func (*Tag_FieldMask) ProjectRaw

func (fieldMask *Tag_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt

func (*Tag_FieldMask) ProtoMessage

func (fieldMask *Tag_FieldMask) ProtoMessage()

func (*Tag_FieldMask) ProtoReflect

func (fieldMask *Tag_FieldMask) ProtoReflect() preflect.Message

func (*Tag_FieldMask) Reset

func (fieldMask *Tag_FieldMask) Reset()

func (*Tag_FieldMask) Set

func (fieldMask *Tag_FieldMask) Set(target, source *Tag)

func (*Tag_FieldMask) SetFromCliFlag

func (fieldMask *Tag_FieldMask) SetFromCliFlag(raw string) error

func (*Tag_FieldMask) SetRaw

func (fieldMask *Tag_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Tag_FieldMask) Size

func (fieldMask *Tag_FieldMask) Size() int

func (*Tag_FieldMask) String

func (fieldMask *Tag_FieldMask) String() string

func (*Tag_FieldMask) Subtract

func (fieldMask *Tag_FieldMask) Subtract(other *Tag_FieldMask) *Tag_FieldMask

func (*Tag_FieldMask) SubtractRaw

func (fieldMask *Tag_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*Tag_FieldMask) ToProtoFieldMask

func (fieldMask *Tag_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Tag_FieldMask) Unmarshal

func (fieldMask *Tag_FieldMask) Unmarshal(data []byte) error

func (*Tag_FieldMask) UnmarshalJSON

func (fieldMask *Tag_FieldMask) UnmarshalJSON(data []byte) error

type Tag_FieldPath

type Tag_FieldPath interface {
	gotenobject.FieldPath
	Selector() Tag_FieldPathSelector
	Get(source *Tag) []interface{}
	GetSingle(source *Tag) (interface{}, bool)
	ClearValue(item *Tag)

	// Those methods build corresponding Tag_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) Tag_FieldPathValue
	WithIArrayOfValues(values interface{}) Tag_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) Tag_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func BuildTag_FieldPath

func BuildTag_FieldPath(fp gotenobject.RawFieldPath) (Tag_FieldPath, error)

func MustParseTag_FieldPath

func MustParseTag_FieldPath(rawField string) Tag_FieldPath

func ParseTag_FieldPath

func ParseTag_FieldPath(rawField string) (Tag_FieldPath, error)

type Tag_FieldPathArrayItemValue

type Tag_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Tag_FieldPath
	ContainsValue(*Tag) bool
}

Tag_FieldPathArrayItemValue allows storing single item in Path-specific values for Tag according to their type Present only for array (repeated) types.

func MustParseTag_FieldPathArrayItemValue

func MustParseTag_FieldPathArrayItemValue(pathStr, valueStr string) Tag_FieldPathArrayItemValue

func ParseTag_FieldPathArrayItemValue

func ParseTag_FieldPathArrayItemValue(pathStr, valueStr string) (Tag_FieldPathArrayItemValue, error)

ParseTag_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Tag_FieldPathArrayOfValues

type Tag_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Tag_FieldPath
}

Tag_FieldPathArrayOfValues allows storing slice of values for Tag fields according to their type

func MustParseTag_FieldPathArrayOfValues

func MustParseTag_FieldPathArrayOfValues(pathStr, valuesStr string) Tag_FieldPathArrayOfValues

func ParseTag_FieldPathArrayOfValues

func ParseTag_FieldPathArrayOfValues(pathStr, valuesStr string) (Tag_FieldPathArrayOfValues, error)

type Tag_FieldPathSelector

type Tag_FieldPathSelector int32
const (
	Tag_FieldPathSelectorName        Tag_FieldPathSelector = 0
	Tag_FieldPathSelectorDisplayName Tag_FieldPathSelector = 1
	Tag_FieldPathSelectorState       Tag_FieldPathSelector = 2
	Tag_FieldPathSelectorMetadata    Tag_FieldPathSelector = 3
)

func (Tag_FieldPathSelector) String

func (s Tag_FieldPathSelector) String() string

type Tag_FieldPathValue

type Tag_FieldPathValue interface {
	Tag_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Tag)
	CompareWith(*Tag) (cmp int, comparable bool)
}

Tag_FieldPathValue allows storing values for Tag fields according to their type

func MustParseTag_FieldPathValue

func MustParseTag_FieldPathValue(pathStr, valueStr string) Tag_FieldPathValue

func ParseTag_FieldPathValue

func ParseTag_FieldPathValue(pathStr, valueStr string) (Tag_FieldPathValue, error)

type Tag_FieldSubPath

type Tag_FieldSubPath struct {
	// contains filtered or unexported fields
}

func (*Tag_FieldSubPath) AsMetadataSubPath

func (fps *Tag_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)

func (*Tag_FieldSubPath) AsStateSubPath

func (fps *Tag_FieldSubPath) AsStateSubPath() (TagState_FieldPath, bool)

func (*Tag_FieldSubPath) ClearValue

func (fps *Tag_FieldSubPath) ClearValue(item *Tag)

func (*Tag_FieldSubPath) ClearValueRaw

func (fps *Tag_FieldSubPath) ClearValueRaw(item proto.Message)

func (*Tag_FieldSubPath) Get

func (fps *Tag_FieldSubPath) Get(source *Tag) (values []interface{})

Get returns all values pointed by selected field from source Tag

func (*Tag_FieldSubPath) GetDefault

func (fps *Tag_FieldSubPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Tag_FieldSubPath) GetRaw

func (fps *Tag_FieldSubPath) GetRaw(source proto.Message) []interface{}

func (*Tag_FieldSubPath) GetSingle

func (fps *Tag_FieldSubPath) GetSingle(source *Tag) (interface{}, bool)

GetSingle returns value of selected field from source Tag

func (*Tag_FieldSubPath) GetSingleRaw

func (fps *Tag_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Tag_FieldSubPath) IsLeaf

func (fps *Tag_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Tag_FieldSubPath) JSONString

func (fps *Tag_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Tag_FieldSubPath) Selector

func (fps *Tag_FieldSubPath) Selector() Tag_FieldPathSelector

func (*Tag_FieldSubPath) SplitIntoTerminalIPaths added in v0.7.1

func (fps *Tag_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Tag_FieldSubPath) String

func (fps *Tag_FieldSubPath) String() string

String returns path representation in proto convention

func (*Tag_FieldSubPath) WithIArrayItemValue

func (fps *Tag_FieldSubPath) WithIArrayItemValue(value interface{}) Tag_FieldPathArrayItemValue

func (*Tag_FieldSubPath) WithIArrayOfValues

func (fps *Tag_FieldSubPath) WithIArrayOfValues(values interface{}) Tag_FieldPathArrayOfValues

func (*Tag_FieldSubPath) WithIValue

func (fps *Tag_FieldSubPath) WithIValue(value interface{}) Tag_FieldPathValue

func (*Tag_FieldSubPath) WithRawIArrayItemValue

func (fps *Tag_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Tag_FieldSubPath) WithRawIArrayOfValues

func (fps *Tag_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Tag_FieldSubPath) WithRawIValue

func (fps *Tag_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Tag_FieldSubPathArrayItemValue

type Tag_FieldSubPathArrayItemValue struct {
	Tag_FieldPath
	// contains filtered or unexported fields
}

func (*Tag_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (fpaivs *Tag_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (ntt_meta.Meta_FieldPathArrayItemValue, bool)

func (*Tag_FieldSubPathArrayItemValue) AsStatePathItemValue

func (fpaivs *Tag_FieldSubPathArrayItemValue) AsStatePathItemValue() (TagState_FieldPathArrayItemValue, bool)

func (*Tag_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Tag_FieldSubPathArrayItemValue) ContainsValue(source *Tag) bool

Contains returns a boolean indicating if value that is being held is present in given 'Tag'

func (*Tag_FieldSubPathArrayItemValue) GetRawItemValue

func (fpaivs *Tag_FieldSubPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored array item value

type Tag_FieldSubPathArrayOfValues

type Tag_FieldSubPathArrayOfValues struct {
	Tag_FieldPath
	// contains filtered or unexported fields
}

func (*Tag_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *Tag_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)

func (*Tag_FieldSubPathArrayOfValues) AsStatePathArrayOfValues

func (fpsaov *Tag_FieldSubPathArrayOfValues) AsStatePathArrayOfValues() (TagState_FieldPathArrayOfValues, bool)

func (*Tag_FieldSubPathArrayOfValues) GetRawValues

func (fpsaov *Tag_FieldSubPathArrayOfValues) GetRawValues() []interface{}

type Tag_FieldSubPathValue

type Tag_FieldSubPathValue struct {
	Tag_FieldPath
	// contains filtered or unexported fields
}

func (*Tag_FieldSubPathValue) AsMetadataPathValue

func (fpvs *Tag_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)

func (*Tag_FieldSubPathValue) AsStatePathValue

func (fpvs *Tag_FieldSubPathValue) AsStatePathValue() (TagState_FieldPathValue, bool)

func (*Tag_FieldSubPathValue) CompareWith

func (fpvs *Tag_FieldSubPathValue) CompareWith(source *Tag) (int, bool)

func (*Tag_FieldSubPathValue) CompareWithRaw

func (fpvs *Tag_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Tag_FieldSubPathValue) GetRawValue

func (fpvs *Tag_FieldSubPathValue) GetRawValue() interface{}

func (*Tag_FieldSubPathValue) SetTo

func (fpvs *Tag_FieldSubPathValue) SetTo(target **Tag)

func (*Tag_FieldSubPathValue) SetToRaw

func (fpvs *Tag_FieldSubPathValue) SetToRaw(target proto.Message)

type Tag_FieldTerminalPath

type Tag_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*Tag_FieldTerminalPath) ClearValue

func (fp *Tag_FieldTerminalPath) ClearValue(item *Tag)

func (*Tag_FieldTerminalPath) ClearValueRaw

func (fp *Tag_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*Tag_FieldTerminalPath) Get

func (fp *Tag_FieldTerminalPath) Get(source *Tag) (values []interface{})

Get returns all values pointed by specific field from source Tag

func (*Tag_FieldTerminalPath) GetDefault

func (fp *Tag_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Tag_FieldTerminalPath) GetRaw

func (fp *Tag_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*Tag_FieldTerminalPath) GetSingle

func (fp *Tag_FieldTerminalPath) GetSingle(source *Tag) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Tag

func (*Tag_FieldTerminalPath) GetSingleRaw

func (fp *Tag_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Tag_FieldTerminalPath) IsLeaf

func (fp *Tag_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Tag_FieldTerminalPath) JSONString

func (fp *Tag_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Tag_FieldTerminalPath) Selector

func (*Tag_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.7.1

func (fp *Tag_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Tag_FieldTerminalPath) String

func (fp *Tag_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Tag_FieldTerminalPath) WithIArrayItemValue

func (fp *Tag_FieldTerminalPath) WithIArrayItemValue(value interface{}) Tag_FieldPathArrayItemValue

func (*Tag_FieldTerminalPath) WithIArrayOfValues

func (fp *Tag_FieldTerminalPath) WithIArrayOfValues(values interface{}) Tag_FieldPathArrayOfValues

func (*Tag_FieldTerminalPath) WithIValue

func (fp *Tag_FieldTerminalPath) WithIValue(value interface{}) Tag_FieldPathValue

func (*Tag_FieldTerminalPath) WithRawIArrayItemValue

func (fp *Tag_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Tag_FieldTerminalPath) WithRawIArrayOfValues

func (fp *Tag_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Tag_FieldTerminalPath) WithRawIValue

func (fp *Tag_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Tag_FieldTerminalPathArrayItemValue

type Tag_FieldTerminalPathArrayItemValue struct {
	Tag_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Tag_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Tag_FieldTerminalPathArrayItemValue) ContainsValue(source *Tag) bool

Contains returns a boolean indicating if value that is being held is present in given 'Tag'

func (*Tag_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *Tag_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object Tag as interface{}

func (*Tag_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Tag_FieldTerminalPathArrayItemValue) GetSingle(source *Tag) (interface{}, bool)

func (*Tag_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *Tag_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type Tag_FieldTerminalPathArrayOfValues

type Tag_FieldTerminalPathArrayOfValues struct {
	Tag_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Tag_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *Tag_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*Tag_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *Tag_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)

func (*Tag_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *Tag_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*Tag_FieldTerminalPathArrayOfValues) AsStateArrayOfValues

func (fpaov *Tag_FieldTerminalPathArrayOfValues) AsStateArrayOfValues() ([]*Tag_State, bool)

func (*Tag_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *Tag_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type Tag_FieldTerminalPathValue

type Tag_FieldTerminalPathValue struct {
	Tag_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Tag_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *Tag_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*Tag_FieldTerminalPathValue) AsMetadataValue

func (fpv *Tag_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)

func (*Tag_FieldTerminalPathValue) AsNameValue

func (fpv *Tag_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*Tag_FieldTerminalPathValue) AsStateValue

func (fpv *Tag_FieldTerminalPathValue) AsStateValue() (*Tag_State, bool)

func (*Tag_FieldTerminalPathValue) CompareWith

func (fpv *Tag_FieldTerminalPathValue) CompareWith(source *Tag) (int, bool)

CompareWith compares value in the 'Tag_FieldTerminalPathValue' with the value under path in 'Tag'.

func (*Tag_FieldTerminalPathValue) CompareWithRaw

func (fpv *Tag_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Tag_FieldTerminalPathValue) GetRawValue

func (fpv *Tag_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Tag' as interface{}

func (*Tag_FieldTerminalPathValue) SetTo

func (fpv *Tag_FieldTerminalPathValue) SetTo(target **Tag)

SetTo stores value for selected field for object Tag

func (*Tag_FieldTerminalPathValue) SetToRaw

func (fpv *Tag_FieldTerminalPathValue) SetToRaw(target proto.Message)

type Tag_State

type Tag_State struct {

	// Counter per using resource type, e.g. "watchdog.edgelq.com/Probe": 32
	// indicates there are 32 agents associated with this tag via their
	// `metadata.tag` field.
	ResourceTypeCounters map[string]int64 `` /* 245-byte string literal not displayed */
	// As resource_type_counters, but counters are per each region
	RegionalResourceCounters map[string]*Tag_State_RegionalCounter `` /* 260-byte string literal not displayed */
	// List of back-references to distributions pointing to this tag via target
	// selector
	DistributionsViaTargetSelector []*probing_distribution.Reference `` /* 219-byte string literal not displayed */
	// List og back-references to distributions pointing to this tag via probe
	// selector
	DistributionsViaProbeSelector []*probing_distribution.Reference `` /* 215-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Tag_State) Clone

func (o *Tag_State) Clone() *Tag_State

func (*Tag_State) CloneRaw

func (o *Tag_State) CloneRaw() gotenobject.GotenObjectExt

func (*Tag_State) Descriptor

func (*Tag_State) Descriptor() ([]byte, []int)

Deprecated, Use Tag_State.ProtoReflect.Descriptor instead.

func (*Tag_State) GetDistributionsViaProbeSelector

func (m *Tag_State) GetDistributionsViaProbeSelector() []*probing_distribution.Reference

func (*Tag_State) GetDistributionsViaTargetSelector

func (m *Tag_State) GetDistributionsViaTargetSelector() []*probing_distribution.Reference

func (*Tag_State) GetRegionalResourceCounters

func (m *Tag_State) GetRegionalResourceCounters() map[string]*Tag_State_RegionalCounter

func (*Tag_State) GetResourceTypeCounters

func (m *Tag_State) GetResourceTypeCounters() map[string]int64

func (*Tag_State) GotenMessage

func (*Tag_State) GotenMessage()

func (*Tag_State) GotenObjectExt

func (o *Tag_State) GotenObjectExt()

func (*Tag_State) GotenValidate

func (obj *Tag_State) GotenValidate() error

func (*Tag_State) MakeDiffFieldMask

func (o *Tag_State) MakeDiffFieldMask(other *Tag_State) *Tag_State_FieldMask

func (*Tag_State) MakeFullFieldMask

func (o *Tag_State) MakeFullFieldMask() *Tag_State_FieldMask

func (*Tag_State) MakeRawDiffFieldMask

func (o *Tag_State) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*Tag_State) MakeRawFullFieldMask

func (o *Tag_State) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Tag_State) Marshal

func (m *Tag_State) Marshal() ([]byte, error)

func (*Tag_State) MarshalJSON

func (m *Tag_State) MarshalJSON() ([]byte, error)

func (*Tag_State) Merge

func (o *Tag_State) Merge(source *Tag_State)

func (*Tag_State) MergeRaw

func (o *Tag_State) MergeRaw(source gotenobject.GotenObjectExt)

func (*Tag_State) ProtoMessage

func (*Tag_State) ProtoMessage()

func (*Tag_State) ProtoReflect

func (m *Tag_State) ProtoReflect() preflect.Message

func (*Tag_State) Reset

func (m *Tag_State) Reset()

func (*Tag_State) SetDistributionsViaProbeSelector

func (m *Tag_State) SetDistributionsViaProbeSelector(fv []*probing_distribution.Reference)

func (*Tag_State) SetDistributionsViaTargetSelector

func (m *Tag_State) SetDistributionsViaTargetSelector(fv []*probing_distribution.Reference)

func (*Tag_State) SetRegionalResourceCounters

func (m *Tag_State) SetRegionalResourceCounters(fv map[string]*Tag_State_RegionalCounter)

func (*Tag_State) SetResourceTypeCounters

func (m *Tag_State) SetResourceTypeCounters(fv map[string]int64)

func (*Tag_State) String

func (m *Tag_State) String() string

func (*Tag_State) Unmarshal

func (m *Tag_State) Unmarshal(b []byte) error

func (*Tag_State) UnmarshalJSON

func (m *Tag_State) UnmarshalJSON(data []byte) error

type Tag_StateMapPathSelectorRegionalResourceCounters

type Tag_StateMapPathSelectorRegionalResourceCounters struct {
	// contains filtered or unexported fields
}

func (Tag_StateMapPathSelectorRegionalResourceCounters) FieldPath

func (Tag_StateMapPathSelectorRegionalResourceCounters) WithArrayOfValues

func (Tag_StateMapPathSelectorRegionalResourceCounters) WithValue

type Tag_StateMapPathSelectorResourceTypeCounters

type Tag_StateMapPathSelectorResourceTypeCounters struct {
	// contains filtered or unexported fields
}

func (Tag_StateMapPathSelectorResourceTypeCounters) FieldPath

func (Tag_StateMapPathSelectorResourceTypeCounters) WithArrayOfValues

func (Tag_StateMapPathSelectorResourceTypeCounters) WithValue

type Tag_StatePathSelectorDistributionsViaProbeSelector

type Tag_StatePathSelectorDistributionsViaProbeSelector struct{}

func (Tag_StatePathSelectorDistributionsViaProbeSelector) FieldPath

func (Tag_StatePathSelectorDistributionsViaProbeSelector) WithArrayOfValues

func (Tag_StatePathSelectorDistributionsViaProbeSelector) WithItemValue

func (Tag_StatePathSelectorDistributionsViaProbeSelector) WithValue

type Tag_StatePathSelectorDistributionsViaTargetSelector

type Tag_StatePathSelectorDistributionsViaTargetSelector struct{}

func (Tag_StatePathSelectorDistributionsViaTargetSelector) FieldPath

func (Tag_StatePathSelectorDistributionsViaTargetSelector) WithArrayOfValues

func (Tag_StatePathSelectorDistributionsViaTargetSelector) WithItemValue

func (Tag_StatePathSelectorDistributionsViaTargetSelector) WithValue

type Tag_StatePathSelectorRegionalResourceCounters

type Tag_StatePathSelectorRegionalResourceCounters struct{}

func (Tag_StatePathSelectorRegionalResourceCounters) FieldPath

func (Tag_StatePathSelectorRegionalResourceCounters) WithArrayOfValues

func (Tag_StatePathSelectorRegionalResourceCounters) WithKey

func (Tag_StatePathSelectorRegionalResourceCounters) WithValue

type Tag_StatePathSelectorResourceTypeCounters

type Tag_StatePathSelectorResourceTypeCounters struct{}

func (Tag_StatePathSelectorResourceTypeCounters) FieldPath

func (Tag_StatePathSelectorResourceTypeCounters) WithArrayOfValues

func (Tag_StatePathSelectorResourceTypeCounters) WithKey

func (Tag_StatePathSelectorResourceTypeCounters) WithValue

type Tag_State_FieldMask

type Tag_State_FieldMask struct {
	Paths []TagState_FieldPath
}

func FullTag_State_FieldMask

func FullTag_State_FieldMask() *Tag_State_FieldMask

func (*Tag_State_FieldMask) AppendPath

func (fieldMask *Tag_State_FieldMask) AppendPath(path TagState_FieldPath)

func (*Tag_State_FieldMask) AppendRawPath

func (fieldMask *Tag_State_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Tag_State_FieldMask) DecodeFirestore

func (fieldMask *Tag_State_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Tag_State_FieldMask) EncodeFirestore

func (fieldMask *Tag_State_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Tag_State_FieldMask) FilterInputFields

func (fieldMask *Tag_State_FieldMask) FilterInputFields() *Tag_State_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Tag_State_FieldMask) FromProtoFieldMask

func (fieldMask *Tag_State_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*Tag_State_FieldMask) GetPaths

func (fieldMask *Tag_State_FieldMask) GetPaths() []TagState_FieldPath

func (*Tag_State_FieldMask) GetRawPaths

func (fieldMask *Tag_State_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Tag_State_FieldMask) IsFull

func (fieldMask *Tag_State_FieldMask) IsFull() bool

func (Tag_State_FieldMask) Marshal

func (fieldMask Tag_State_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Tag_State_FieldMask) MarshalJSON

func (fieldMask Tag_State_FieldMask) MarshalJSON() ([]byte, error)

func (*Tag_State_FieldMask) PathsCount

func (fieldMask *Tag_State_FieldMask) PathsCount() int

func (*Tag_State_FieldMask) Project

func (fieldMask *Tag_State_FieldMask) Project(source *Tag_State) *Tag_State

func (*Tag_State_FieldMask) ProjectRaw

func (*Tag_State_FieldMask) ProtoMessage

func (fieldMask *Tag_State_FieldMask) ProtoMessage()

func (*Tag_State_FieldMask) ProtoReflect

func (fieldMask *Tag_State_FieldMask) ProtoReflect() preflect.Message

func (*Tag_State_FieldMask) Reset

func (fieldMask *Tag_State_FieldMask) Reset()

func (*Tag_State_FieldMask) Set

func (fieldMask *Tag_State_FieldMask) Set(target, source *Tag_State)

func (*Tag_State_FieldMask) SetFromCliFlag

func (fieldMask *Tag_State_FieldMask) SetFromCliFlag(raw string) error

func (*Tag_State_FieldMask) SetRaw

func (fieldMask *Tag_State_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Tag_State_FieldMask) Size

func (fieldMask *Tag_State_FieldMask) Size() int

func (*Tag_State_FieldMask) String

func (fieldMask *Tag_State_FieldMask) String() string

func (*Tag_State_FieldMask) Subtract

func (fieldMask *Tag_State_FieldMask) Subtract(other *Tag_State_FieldMask) *Tag_State_FieldMask

func (*Tag_State_FieldMask) SubtractRaw

func (fieldMask *Tag_State_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*Tag_State_FieldMask) ToProtoFieldMask

func (fieldMask *Tag_State_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Tag_State_FieldMask) Unmarshal

func (fieldMask *Tag_State_FieldMask) Unmarshal(data []byte) error

func (*Tag_State_FieldMask) UnmarshalJSON

func (fieldMask *Tag_State_FieldMask) UnmarshalJSON(data []byte) error

type Tag_State_RegionalCounter

type Tag_State_RegionalCounter struct {
	ByResourceType map[string]int64 `` /* 221-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Tag_State_RegionalCounter) Clone

func (*Tag_State_RegionalCounter) CloneRaw

func (*Tag_State_RegionalCounter) Descriptor

func (*Tag_State_RegionalCounter) Descriptor() ([]byte, []int)

Deprecated, Use Tag_State_RegionalCounter.ProtoReflect.Descriptor instead.

func (*Tag_State_RegionalCounter) GetByResourceType

func (m *Tag_State_RegionalCounter) GetByResourceType() map[string]int64

func (*Tag_State_RegionalCounter) GotenMessage

func (*Tag_State_RegionalCounter) GotenMessage()

func (*Tag_State_RegionalCounter) GotenObjectExt

func (o *Tag_State_RegionalCounter) GotenObjectExt()

func (*Tag_State_RegionalCounter) GotenValidate

func (obj *Tag_State_RegionalCounter) GotenValidate() error

func (*Tag_State_RegionalCounter) MakeDiffFieldMask

func (*Tag_State_RegionalCounter) MakeFullFieldMask

func (*Tag_State_RegionalCounter) MakeRawDiffFieldMask

func (*Tag_State_RegionalCounter) MakeRawFullFieldMask

func (o *Tag_State_RegionalCounter) MakeRawFullFieldMask() gotenobject.FieldMask

func (*Tag_State_RegionalCounter) Marshal

func (m *Tag_State_RegionalCounter) Marshal() ([]byte, error)

func (*Tag_State_RegionalCounter) MarshalJSON

func (m *Tag_State_RegionalCounter) MarshalJSON() ([]byte, error)

func (*Tag_State_RegionalCounter) Merge

func (*Tag_State_RegionalCounter) MergeRaw

func (*Tag_State_RegionalCounter) ProtoMessage

func (*Tag_State_RegionalCounter) ProtoMessage()

func (*Tag_State_RegionalCounter) ProtoReflect

func (m *Tag_State_RegionalCounter) ProtoReflect() preflect.Message

func (*Tag_State_RegionalCounter) Reset

func (m *Tag_State_RegionalCounter) Reset()

func (*Tag_State_RegionalCounter) SetByResourceType

func (m *Tag_State_RegionalCounter) SetByResourceType(fv map[string]int64)

func (*Tag_State_RegionalCounter) String

func (m *Tag_State_RegionalCounter) String() string

func (*Tag_State_RegionalCounter) Unmarshal

func (m *Tag_State_RegionalCounter) Unmarshal(b []byte) error

func (*Tag_State_RegionalCounter) UnmarshalJSON

func (m *Tag_State_RegionalCounter) UnmarshalJSON(data []byte) error

type Tag_State_RegionalCounterMapPathSelectorByResourceType

type Tag_State_RegionalCounterMapPathSelectorByResourceType struct {
	// contains filtered or unexported fields
}

func (Tag_State_RegionalCounterMapPathSelectorByResourceType) FieldPath

func (Tag_State_RegionalCounterMapPathSelectorByResourceType) WithArrayOfValues

func (Tag_State_RegionalCounterMapPathSelectorByResourceType) WithValue

type Tag_State_RegionalCounterPathSelectorByResourceType

type Tag_State_RegionalCounterPathSelectorByResourceType struct{}

func (Tag_State_RegionalCounterPathSelectorByResourceType) FieldPath

func (Tag_State_RegionalCounterPathSelectorByResourceType) WithArrayOfValues

func (Tag_State_RegionalCounterPathSelectorByResourceType) WithKey

func (Tag_State_RegionalCounterPathSelectorByResourceType) WithValue

type Tag_State_RegionalCounter_FieldMask

type Tag_State_RegionalCounter_FieldMask struct {
	Paths []TagStateRegionalCounter_FieldPath
}

func FullTag_State_RegionalCounter_FieldMask

func FullTag_State_RegionalCounter_FieldMask() *Tag_State_RegionalCounter_FieldMask

func (*Tag_State_RegionalCounter_FieldMask) AppendPath

func (*Tag_State_RegionalCounter_FieldMask) AppendRawPath

func (fieldMask *Tag_State_RegionalCounter_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*Tag_State_RegionalCounter_FieldMask) DecodeFirestore

func (fieldMask *Tag_State_RegionalCounter_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Tag_State_RegionalCounter_FieldMask) EncodeFirestore

func (fieldMask *Tag_State_RegionalCounter_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Tag_State_RegionalCounter_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Tag_State_RegionalCounter_FieldMask) FromProtoFieldMask

func (fieldMask *Tag_State_RegionalCounter_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*Tag_State_RegionalCounter_FieldMask) GetPaths

func (*Tag_State_RegionalCounter_FieldMask) GetRawPaths

func (fieldMask *Tag_State_RegionalCounter_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*Tag_State_RegionalCounter_FieldMask) IsFull

func (fieldMask *Tag_State_RegionalCounter_FieldMask) IsFull() bool

func (Tag_State_RegionalCounter_FieldMask) Marshal

func (fieldMask Tag_State_RegionalCounter_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (Tag_State_RegionalCounter_FieldMask) MarshalJSON

func (fieldMask Tag_State_RegionalCounter_FieldMask) MarshalJSON() ([]byte, error)

func (*Tag_State_RegionalCounter_FieldMask) PathsCount

func (fieldMask *Tag_State_RegionalCounter_FieldMask) PathsCount() int

func (*Tag_State_RegionalCounter_FieldMask) Project

func (*Tag_State_RegionalCounter_FieldMask) ProjectRaw

func (*Tag_State_RegionalCounter_FieldMask) ProtoMessage

func (fieldMask *Tag_State_RegionalCounter_FieldMask) ProtoMessage()

func (*Tag_State_RegionalCounter_FieldMask) ProtoReflect

func (fieldMask *Tag_State_RegionalCounter_FieldMask) ProtoReflect() preflect.Message

func (*Tag_State_RegionalCounter_FieldMask) Reset

func (fieldMask *Tag_State_RegionalCounter_FieldMask) Reset()

func (*Tag_State_RegionalCounter_FieldMask) Set

func (fieldMask *Tag_State_RegionalCounter_FieldMask) Set(target, source *Tag_State_RegionalCounter)

func (*Tag_State_RegionalCounter_FieldMask) SetFromCliFlag

func (fieldMask *Tag_State_RegionalCounter_FieldMask) SetFromCliFlag(raw string) error

func (*Tag_State_RegionalCounter_FieldMask) SetRaw

func (fieldMask *Tag_State_RegionalCounter_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*Tag_State_RegionalCounter_FieldMask) Size

func (fieldMask *Tag_State_RegionalCounter_FieldMask) Size() int

func (*Tag_State_RegionalCounter_FieldMask) String

func (fieldMask *Tag_State_RegionalCounter_FieldMask) String() string

func (*Tag_State_RegionalCounter_FieldMask) Subtract

func (*Tag_State_RegionalCounter_FieldMask) SubtractRaw

func (*Tag_State_RegionalCounter_FieldMask) ToProtoFieldMask

func (fieldMask *Tag_State_RegionalCounter_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*Tag_State_RegionalCounter_FieldMask) Unmarshal

func (fieldMask *Tag_State_RegionalCounter_FieldMask) Unmarshal(data []byte) error

func (*Tag_State_RegionalCounter_FieldMask) UnmarshalJSON

func (fieldMask *Tag_State_RegionalCounter_FieldMask) UnmarshalJSON(data []byte) error

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType    watch_type.WatchType
	ChunkSize    int
	ResumeToken  string
	StartingTime *timestamppb.Timestamp
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.7.13

func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp

func (*WatchQuery) GetWatchType

func (q *WatchQuery) GetWatchType() watch_type.WatchType

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.7.13

func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)

func (*WatchQuery) SetWatchType

func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)

func (*WatchQuery) String added in v0.4.26

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL