probe_group

package
v0.4.40 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/probeGroups/{probe_group}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ProbeGroupAccess) 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) 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 *ProbeGroup) 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 []*ProbeGroup) (out []*ProbeGroup)

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 ProbeGroup_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 *ProbeGroup) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	ProbeGroup_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *ProbeGroup) 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 ProbeGroup_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 *ProbeGroup) 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 ProbeGroup_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

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 *ProbeGroup) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *ProbeGroup) 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 ProbeGroup_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 ProbeGroup_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *ProbeGroup) 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 ProbeGroup_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 ProbeGroup_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *ProbeGroup) 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 ProbeGroup_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 *ProbeGroup) 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 ProbeGroup_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 {
	ProbeGroup_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *ProbeGroup) 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 ProbeGroup_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      *ProbeGroup_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   *ProbeGroup_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
	ProbeGroupId string `firestore:"probeGroupId"`
}

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) 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 *ProbeGroup) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *ProbeGroup_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 ProbeGroupList, elem *ProbeGroup) (ProbeGroupList, 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 ProbeGroupList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

type 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) 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) 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) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

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

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

func (*ParentReference) ParseProtoString

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

func (*ParentReference) ProtoString

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

func (*ParentReference) ResolveRaw

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

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type ProbeGroup

type ProbeGroup struct {

	// Name of ProbeGroup
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Display Name of ProbeGroup
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// state of group
	State *ProbeGroup_State `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty" firestore:"state"`
	// metadata is additional information of the probe group.
	Metadata *ntt_meta.Meta `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

ProbeGroup Resource

func (*ProbeGroup) Clone

func (o *ProbeGroup) Clone() *ProbeGroup

func (*ProbeGroup) CloneRaw

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

func (*ProbeGroup) Descriptor

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

Deprecated, Use ProbeGroup.ProtoReflect.Descriptor instead.

func (*ProbeGroup) GetDisplayName

func (m *ProbeGroup) GetDisplayName() string

func (*ProbeGroup) GetMetadata

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

func (*ProbeGroup) GetName

func (m *ProbeGroup) GetName() *Name

func (*ProbeGroup) GetRawName

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

func (*ProbeGroup) GetResourceDescriptor

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

func (*ProbeGroup) GetState

func (m *ProbeGroup) GetState() *ProbeGroup_State

func (*ProbeGroup) GotenMessage

func (*ProbeGroup) GotenMessage()

func (*ProbeGroup) GotenObjectExt

func (o *ProbeGroup) GotenObjectExt()

func (*ProbeGroup) GotenValidate

func (obj *ProbeGroup) GotenValidate() error

func (*ProbeGroup) MakeDiffFieldMask

func (o *ProbeGroup) MakeDiffFieldMask(other *ProbeGroup) *ProbeGroup_FieldMask

func (*ProbeGroup) MakeFullFieldMask

func (o *ProbeGroup) MakeFullFieldMask() *ProbeGroup_FieldMask

func (*ProbeGroup) MakeRawDiffFieldMask

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

func (*ProbeGroup) MakeRawFullFieldMask

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

func (*ProbeGroup) Marshal

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

func (*ProbeGroup) MarshalJSON

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

func (*ProbeGroup) MaybePopulateDefaults

func (r *ProbeGroup) MaybePopulateDefaults() error

func (*ProbeGroup) Merge

func (o *ProbeGroup) Merge(source *ProbeGroup)

func (*ProbeGroup) MergeRaw

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

func (*ProbeGroup) ProtoMessage

func (*ProbeGroup) ProtoMessage()

func (*ProbeGroup) ProtoReflect

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

func (*ProbeGroup) Reset

func (m *ProbeGroup) Reset()

func (*ProbeGroup) SetDisplayName

func (m *ProbeGroup) SetDisplayName(fv string)

func (*ProbeGroup) SetMetadata

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

func (*ProbeGroup) SetName

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

func (*ProbeGroup) SetState

func (m *ProbeGroup) SetState(fv *ProbeGroup_State)

func (*ProbeGroup) String

func (m *ProbeGroup) String() string

func (*ProbeGroup) Unmarshal

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

func (*ProbeGroup) UnmarshalJSON

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

type ProbeGroupAccess

type ProbeGroupAccess interface {
	GetProbeGroup(context.Context, *GetQuery) (*ProbeGroup, error)
	BatchGetProbeGroups(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryProbeGroups(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	SearchProbeGroups(context.Context, *SearchQuery) (*SearchQueryResultSnapshot, error)
	WatchProbeGroup(context.Context, *GetQuery, func(*ProbeGroupChange) error) error
	WatchProbeGroups(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveProbeGroup(context.Context, *ProbeGroup, ...gotenresource.SaveOption) error
	DeleteProbeGroup(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ProbeGroupChange

type ProbeGroupChange struct {

	// ProbeGroup change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ProbeGroupChange_Added_
	//	*ProbeGroupChange_Modified_
	//	*ProbeGroupChange_Current_
	//	*ProbeGroupChange_Removed_
	ChangeType isProbeGroupChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*ProbeGroupChange) Descriptor

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

Deprecated, Use ProbeGroupChange.ProtoReflect.Descriptor instead.

func (*ProbeGroupChange) GetAdded

func (*ProbeGroupChange) GetChangeType

func (m *ProbeGroupChange) GetChangeType() isProbeGroupChange_ChangeType

func (*ProbeGroupChange) GetCurrent

func (m *ProbeGroupChange) GetCurrent() *ProbeGroupChange_Current

func (*ProbeGroupChange) GetCurrentViewIndex

func (c *ProbeGroupChange) GetCurrentViewIndex() int32

func (*ProbeGroupChange) GetModified

func (m *ProbeGroupChange) GetModified() *ProbeGroupChange_Modified

func (*ProbeGroupChange) GetPreviousViewIndex

func (c *ProbeGroupChange) GetPreviousViewIndex() int32

func (*ProbeGroupChange) GetProbeGroup

func (c *ProbeGroupChange) GetProbeGroup() *ProbeGroup

func (*ProbeGroupChange) GetProbeGroupName

func (c *ProbeGroupChange) GetProbeGroupName() *Name

func (*ProbeGroupChange) GetRawName

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

func (*ProbeGroupChange) GetRemoved

func (m *ProbeGroupChange) GetRemoved() *ProbeGroupChange_Removed

func (*ProbeGroupChange) GetResource

func (c *ProbeGroupChange) GetResource() gotenresource.Resource

func (*ProbeGroupChange) GotenMessage

func (*ProbeGroupChange) GotenMessage()

func (*ProbeGroupChange) GotenValidate

func (obj *ProbeGroupChange) GotenValidate() error

func (*ProbeGroupChange) IsAdd

func (c *ProbeGroupChange) IsAdd() bool

func (*ProbeGroupChange) IsCurrent

func (c *ProbeGroupChange) IsCurrent() bool

func (*ProbeGroupChange) IsDelete

func (c *ProbeGroupChange) IsDelete() bool

func (*ProbeGroupChange) IsModify

func (c *ProbeGroupChange) IsModify() bool

func (*ProbeGroupChange) Marshal

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

func (*ProbeGroupChange) MarshalJSON

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

func (*ProbeGroupChange) ProtoMessage

func (*ProbeGroupChange) ProtoMessage()

func (*ProbeGroupChange) ProtoReflect

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

func (*ProbeGroupChange) Reset

func (m *ProbeGroupChange) Reset()

func (*ProbeGroupChange) SetAdded

func (m *ProbeGroupChange) SetAdded(fv *ProbeGroupChange_Added)

func (*ProbeGroupChange) SetAddedRaw

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

func (*ProbeGroupChange) SetChangeType

func (m *ProbeGroupChange) SetChangeType(ofv isProbeGroupChange_ChangeType)

func (*ProbeGroupChange) SetCurrent

func (m *ProbeGroupChange) SetCurrent(fv *ProbeGroupChange_Current)

func (*ProbeGroupChange) SetCurrentRaw

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

func (*ProbeGroupChange) SetDeletedRaw

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

func (*ProbeGroupChange) SetModified

func (m *ProbeGroupChange) SetModified(fv *ProbeGroupChange_Modified)

func (*ProbeGroupChange) SetModifiedRaw

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

func (*ProbeGroupChange) SetRemoved

func (m *ProbeGroupChange) SetRemoved(fv *ProbeGroupChange_Removed)

func (*ProbeGroupChange) String

func (m *ProbeGroupChange) String() string

func (*ProbeGroupChange) Unmarshal

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

func (*ProbeGroupChange) UnmarshalJSON

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

type ProbeGroupChangeList

type ProbeGroupChangeList []*ProbeGroupChange

func (ProbeGroupChangeList) Append

func (ProbeGroupChangeList) At

func (ProbeGroupChangeList) Length

func (l ProbeGroupChangeList) Length() int

func (ProbeGroupChangeList) Set

func (ProbeGroupChangeList) Slice

type ProbeGroupChangeMap

type ProbeGroupChangeMap map[Name]*ProbeGroupChange

func (ProbeGroupChangeMap) Delete

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

func (ProbeGroupChangeMap) ForEach

func (ProbeGroupChangeMap) Get

func (ProbeGroupChangeMap) Length

func (m ProbeGroupChangeMap) Length() int

func (ProbeGroupChangeMap) Set

type ProbeGroupChange_Added

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

ProbeGroup has been added to query view

func (*ProbeGroupChange_Added) Descriptor

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

Deprecated, Use ProbeGroupChange_Added.ProtoReflect.Descriptor instead.

func (*ProbeGroupChange_Added) GetProbeGroup

func (m *ProbeGroupChange_Added) GetProbeGroup() *ProbeGroup

func (*ProbeGroupChange_Added) GetViewIndex

func (m *ProbeGroupChange_Added) GetViewIndex() int32

func (*ProbeGroupChange_Added) GotenMessage

func (*ProbeGroupChange_Added) GotenMessage()

func (*ProbeGroupChange_Added) GotenValidate

func (obj *ProbeGroupChange_Added) GotenValidate() error

func (*ProbeGroupChange_Added) Marshal

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

func (*ProbeGroupChange_Added) MarshalJSON

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

func (*ProbeGroupChange_Added) ProtoMessage

func (*ProbeGroupChange_Added) ProtoMessage()

func (*ProbeGroupChange_Added) ProtoReflect

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

func (*ProbeGroupChange_Added) Reset

func (m *ProbeGroupChange_Added) Reset()

func (*ProbeGroupChange_Added) SetProbeGroup

func (m *ProbeGroupChange_Added) SetProbeGroup(fv *ProbeGroup)

func (*ProbeGroupChange_Added) SetViewIndex

func (m *ProbeGroupChange_Added) SetViewIndex(fv int32)

func (*ProbeGroupChange_Added) String

func (m *ProbeGroupChange_Added) String() string

func (*ProbeGroupChange_Added) Unmarshal

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

func (*ProbeGroupChange_Added) UnmarshalJSON

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

type ProbeGroupChange_Added_

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

type ProbeGroupChange_Current

type ProbeGroupChange_Current struct {
	ProbeGroup *ProbeGroup `protobuf:"bytes,1,opt,name=probe_group,json=probeGroup,proto3" json:"probe_group,omitempty" firestore:"probeGroup"`
	// contains filtered or unexported fields
}

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

func (*ProbeGroupChange_Current) Descriptor

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

Deprecated, Use ProbeGroupChange_Current.ProtoReflect.Descriptor instead.

func (*ProbeGroupChange_Current) GetProbeGroup

func (m *ProbeGroupChange_Current) GetProbeGroup() *ProbeGroup

func (*ProbeGroupChange_Current) GotenMessage

func (*ProbeGroupChange_Current) GotenMessage()

func (*ProbeGroupChange_Current) GotenValidate

func (obj *ProbeGroupChange_Current) GotenValidate() error

func (*ProbeGroupChange_Current) Marshal

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

func (*ProbeGroupChange_Current) MarshalJSON

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

func (*ProbeGroupChange_Current) ProtoMessage

func (*ProbeGroupChange_Current) ProtoMessage()

func (*ProbeGroupChange_Current) ProtoReflect

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

func (*ProbeGroupChange_Current) Reset

func (m *ProbeGroupChange_Current) Reset()

func (*ProbeGroupChange_Current) SetProbeGroup

func (m *ProbeGroupChange_Current) SetProbeGroup(fv *ProbeGroup)

func (*ProbeGroupChange_Current) String

func (m *ProbeGroupChange_Current) String() string

func (*ProbeGroupChange_Current) Unmarshal

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

func (*ProbeGroupChange_Current) UnmarshalJSON

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

type ProbeGroupChange_Current_

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

type ProbeGroupChange_Modified

type ProbeGroupChange_Modified struct {

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

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

func (*ProbeGroupChange_Modified) Descriptor

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

Deprecated, Use ProbeGroupChange_Modified.ProtoReflect.Descriptor instead.

func (*ProbeGroupChange_Modified) GetFieldMask

func (*ProbeGroupChange_Modified) GetName

func (m *ProbeGroupChange_Modified) GetName() *Name

func (*ProbeGroupChange_Modified) GetPreviousViewIndex

func (m *ProbeGroupChange_Modified) GetPreviousViewIndex() int32

func (*ProbeGroupChange_Modified) GetProbeGroup

func (m *ProbeGroupChange_Modified) GetProbeGroup() *ProbeGroup

func (*ProbeGroupChange_Modified) GetViewIndex

func (m *ProbeGroupChange_Modified) GetViewIndex() int32

func (*ProbeGroupChange_Modified) GotenMessage

func (*ProbeGroupChange_Modified) GotenMessage()

func (*ProbeGroupChange_Modified) GotenValidate

func (obj *ProbeGroupChange_Modified) GotenValidate() error

func (*ProbeGroupChange_Modified) Marshal

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

func (*ProbeGroupChange_Modified) MarshalJSON

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

func (*ProbeGroupChange_Modified) ProtoMessage

func (*ProbeGroupChange_Modified) ProtoMessage()

func (*ProbeGroupChange_Modified) ProtoReflect

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

func (*ProbeGroupChange_Modified) Reset

func (m *ProbeGroupChange_Modified) Reset()

func (*ProbeGroupChange_Modified) SetFieldMask

func (m *ProbeGroupChange_Modified) SetFieldMask(fv *ProbeGroup_FieldMask)

func (*ProbeGroupChange_Modified) SetName

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

func (*ProbeGroupChange_Modified) SetPreviousViewIndex

func (m *ProbeGroupChange_Modified) SetPreviousViewIndex(fv int32)

func (*ProbeGroupChange_Modified) SetProbeGroup

func (m *ProbeGroupChange_Modified) SetProbeGroup(fv *ProbeGroup)

func (*ProbeGroupChange_Modified) SetViewIndex

func (m *ProbeGroupChange_Modified) SetViewIndex(fv int32)

func (*ProbeGroupChange_Modified) String

func (m *ProbeGroupChange_Modified) String() string

func (*ProbeGroupChange_Modified) Unmarshal

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

func (*ProbeGroupChange_Modified) UnmarshalJSON

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

type ProbeGroupChange_Modified_

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

type ProbeGroupChange_Removed

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

func (*ProbeGroupChange_Removed) Descriptor

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

Deprecated, Use ProbeGroupChange_Removed.ProtoReflect.Descriptor instead.

func (*ProbeGroupChange_Removed) GetName

func (m *ProbeGroupChange_Removed) GetName() *Name

func (*ProbeGroupChange_Removed) GetViewIndex

func (m *ProbeGroupChange_Removed) GetViewIndex() int32

func (*ProbeGroupChange_Removed) GotenMessage

func (*ProbeGroupChange_Removed) GotenMessage()

func (*ProbeGroupChange_Removed) GotenValidate

func (obj *ProbeGroupChange_Removed) GotenValidate() error

func (*ProbeGroupChange_Removed) Marshal

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

func (*ProbeGroupChange_Removed) MarshalJSON

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

func (*ProbeGroupChange_Removed) ProtoMessage

func (*ProbeGroupChange_Removed) ProtoMessage()

func (*ProbeGroupChange_Removed) ProtoReflect

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

func (*ProbeGroupChange_Removed) Reset

func (m *ProbeGroupChange_Removed) Reset()

func (*ProbeGroupChange_Removed) SetName

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

func (*ProbeGroupChange_Removed) SetViewIndex

func (m *ProbeGroupChange_Removed) SetViewIndex(fv int32)

func (*ProbeGroupChange_Removed) String

func (m *ProbeGroupChange_Removed) String() string

func (*ProbeGroupChange_Removed) Unmarshal

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

func (*ProbeGroupChange_Removed) UnmarshalJSON

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

type ProbeGroupChange_Removed_

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

type ProbeGroupFieldPathBuilder

type ProbeGroupFieldPathBuilder struct{}

func NewProbeGroupFieldPathBuilder

func NewProbeGroupFieldPathBuilder() ProbeGroupFieldPathBuilder

func (ProbeGroupFieldPathBuilder) DisplayName

func (ProbeGroupFieldPathBuilder) Metadata

func (ProbeGroupFieldPathBuilder) Name

func (ProbeGroupFieldPathBuilder) State

type ProbeGroupList

type ProbeGroupList []*ProbeGroup

func (ProbeGroupList) Append

func (ProbeGroupList) AppendList

func (ProbeGroupList) At

func (ProbeGroupList) Length

func (l ProbeGroupList) Length() int

func (ProbeGroupList) Set

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

func (ProbeGroupList) Slice

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

type ProbeGroupMap

type ProbeGroupMap map[Name]*ProbeGroup

func (ProbeGroupMap) Delete

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

func (ProbeGroupMap) ForEach

func (ProbeGroupMap) Get

func (ProbeGroupMap) Length

func (m ProbeGroupMap) Length() int

func (ProbeGroupMap) Set

type ProbeGroupMapPathSelectorMetadataAnnotations

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

func (ProbeGroupMapPathSelectorMetadataAnnotations) FieldPath

func (ProbeGroupMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (ProbeGroupMapPathSelectorMetadataAnnotations) WithValue

type ProbeGroupMapPathSelectorMetadataLabels

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

func (ProbeGroupMapPathSelectorMetadataLabels) FieldPath

func (ProbeGroupMapPathSelectorMetadataLabels) WithArrayOfValues

func (ProbeGroupMapPathSelectorMetadataLabels) WithValue

type ProbeGroupMapPathSelectorMetadataShards

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

func (ProbeGroupMapPathSelectorMetadataShards) FieldPath

func (ProbeGroupMapPathSelectorMetadataShards) WithArrayOfValues

func (ProbeGroupMapPathSelectorMetadataShards) WithValue

type ProbeGroupMapPathSelectorStateRegionalTargetCounts

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

func (ProbeGroupMapPathSelectorStateRegionalTargetCounts) FieldPath

func (ProbeGroupMapPathSelectorStateRegionalTargetCounts) WithArrayOfValues

func (ProbeGroupMapPathSelectorStateRegionalTargetCounts) WithValue

type ProbeGroupNameList

type ProbeGroupNameList []*Name

func (ProbeGroupNameList) Append

func (ProbeGroupNameList) AppendList

func (ProbeGroupNameList) At

func (ProbeGroupNameList) Length

func (l ProbeGroupNameList) Length() int

func (ProbeGroupNameList) Set

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

func (ProbeGroupNameList) Slice

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

type ProbeGroupParentNameList

type ProbeGroupParentNameList []*ParentName

func (ProbeGroupParentNameList) Append

func (ProbeGroupParentNameList) AppendList

func (ProbeGroupParentNameList) At

func (ProbeGroupParentNameList) Length

func (l ProbeGroupParentNameList) Length() int

func (ProbeGroupParentNameList) Set

func (ProbeGroupParentNameList) Slice

type ProbeGroupParentReferenceList

type ProbeGroupParentReferenceList []*ParentReference

func (ProbeGroupParentReferenceList) Append

func (ProbeGroupParentReferenceList) AppendList

func (ProbeGroupParentReferenceList) At

func (ProbeGroupParentReferenceList) Length

func (ProbeGroupParentReferenceList) Set

func (ProbeGroupParentReferenceList) Slice

type ProbeGroupPathSelectorDisplayName

type ProbeGroupPathSelectorDisplayName struct{}

func (ProbeGroupPathSelectorDisplayName) FieldPath

func (ProbeGroupPathSelectorDisplayName) WithArrayOfValues

func (ProbeGroupPathSelectorDisplayName) WithValue

type ProbeGroupPathSelectorMetadata

type ProbeGroupPathSelectorMetadata struct{}

func (ProbeGroupPathSelectorMetadata) Annotations

func (ProbeGroupPathSelectorMetadata) CreateTime

func (ProbeGroupPathSelectorMetadata) FieldPath

func (ProbeGroupPathSelectorMetadata) Generation

func (ProbeGroupPathSelectorMetadata) Labels

func (ProbeGroupPathSelectorMetadata) OwnerReferences

func (ProbeGroupPathSelectorMetadata) ResourceVersion

func (ProbeGroupPathSelectorMetadata) Shards

func (ProbeGroupPathSelectorMetadata) Syncing

func (ProbeGroupPathSelectorMetadata) Tags

func (ProbeGroupPathSelectorMetadata) UpdateTime

func (ProbeGroupPathSelectorMetadata) Uuid

func (ProbeGroupPathSelectorMetadata) WithArrayOfValues

func (ProbeGroupPathSelectorMetadata) WithSubArrayItemValue

func (ProbeGroupPathSelectorMetadata) WithSubArrayOfValues

func (ProbeGroupPathSelectorMetadata) WithSubPath

func (ProbeGroupPathSelectorMetadata) WithSubValue

func (ProbeGroupPathSelectorMetadata) WithValue

type ProbeGroupPathSelectorMetadataAnnotations

type ProbeGroupPathSelectorMetadataAnnotations struct{}

func (ProbeGroupPathSelectorMetadataAnnotations) FieldPath

func (ProbeGroupPathSelectorMetadataAnnotations) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataAnnotations) WithKey

func (ProbeGroupPathSelectorMetadataAnnotations) WithValue

type ProbeGroupPathSelectorMetadataCreateTime

type ProbeGroupPathSelectorMetadataCreateTime struct{}

func (ProbeGroupPathSelectorMetadataCreateTime) FieldPath

func (ProbeGroupPathSelectorMetadataCreateTime) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataCreateTime) WithValue

type ProbeGroupPathSelectorMetadataGeneration

type ProbeGroupPathSelectorMetadataGeneration struct{}

func (ProbeGroupPathSelectorMetadataGeneration) FieldPath

func (ProbeGroupPathSelectorMetadataGeneration) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataGeneration) WithValue

type ProbeGroupPathSelectorMetadataLabels

type ProbeGroupPathSelectorMetadataLabels struct{}

func (ProbeGroupPathSelectorMetadataLabels) FieldPath

func (ProbeGroupPathSelectorMetadataLabels) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataLabels) WithKey

func (ProbeGroupPathSelectorMetadataLabels) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferences

type ProbeGroupPathSelectorMetadataOwnerReferences struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferences) ApiVersion

func (ProbeGroupPathSelectorMetadataOwnerReferences) BlockOwnerDeletion

func (ProbeGroupPathSelectorMetadataOwnerReferences) Controller

func (ProbeGroupPathSelectorMetadataOwnerReferences) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferences) Kind

func (ProbeGroupPathSelectorMetadataOwnerReferences) Name

func (ProbeGroupPathSelectorMetadataOwnerReferences) Uid

func (ProbeGroupPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferences) WithItemValue

func (ProbeGroupPathSelectorMetadataOwnerReferences) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesApiVersion

type ProbeGroupPathSelectorMetadataOwnerReferencesApiVersion struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesApiVersion) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesApiVersion) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesApiVersion) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion

type ProbeGroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesController

type ProbeGroupPathSelectorMetadataOwnerReferencesController struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesController) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesController) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesKind

type ProbeGroupPathSelectorMetadataOwnerReferencesKind struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesKind) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesKind) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesName

type ProbeGroupPathSelectorMetadataOwnerReferencesName struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesName) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesName) WithValue

type ProbeGroupPathSelectorMetadataOwnerReferencesUid

type ProbeGroupPathSelectorMetadataOwnerReferencesUid struct{}

func (ProbeGroupPathSelectorMetadataOwnerReferencesUid) FieldPath

func (ProbeGroupPathSelectorMetadataOwnerReferencesUid) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataOwnerReferencesUid) WithValue

type ProbeGroupPathSelectorMetadataResourceVersion

type ProbeGroupPathSelectorMetadataResourceVersion struct{}

func (ProbeGroupPathSelectorMetadataResourceVersion) FieldPath

func (ProbeGroupPathSelectorMetadataResourceVersion) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataResourceVersion) WithValue

type ProbeGroupPathSelectorMetadataShards

type ProbeGroupPathSelectorMetadataShards struct{}

func (ProbeGroupPathSelectorMetadataShards) FieldPath

func (ProbeGroupPathSelectorMetadataShards) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataShards) WithKey

func (ProbeGroupPathSelectorMetadataShards) WithValue

type ProbeGroupPathSelectorMetadataSyncing

type ProbeGroupPathSelectorMetadataSyncing struct{}

func (ProbeGroupPathSelectorMetadataSyncing) FieldPath

func (ProbeGroupPathSelectorMetadataSyncing) OwningRegion

func (ProbeGroupPathSelectorMetadataSyncing) Regions

func (ProbeGroupPathSelectorMetadataSyncing) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataSyncing) WithValue

type ProbeGroupPathSelectorMetadataSyncingOwningRegion

type ProbeGroupPathSelectorMetadataSyncingOwningRegion struct{}

func (ProbeGroupPathSelectorMetadataSyncingOwningRegion) FieldPath

func (ProbeGroupPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataSyncingOwningRegion) WithValue

type ProbeGroupPathSelectorMetadataSyncingRegions

type ProbeGroupPathSelectorMetadataSyncingRegions struct{}

func (ProbeGroupPathSelectorMetadataSyncingRegions) FieldPath

func (ProbeGroupPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataSyncingRegions) WithItemValue

func (ProbeGroupPathSelectorMetadataSyncingRegions) WithValue

type ProbeGroupPathSelectorMetadataTags

type ProbeGroupPathSelectorMetadataTags struct{}

func (ProbeGroupPathSelectorMetadataTags) FieldPath

func (ProbeGroupPathSelectorMetadataTags) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataTags) WithItemValue

func (ProbeGroupPathSelectorMetadataTags) WithValue

type ProbeGroupPathSelectorMetadataUpdateTime

type ProbeGroupPathSelectorMetadataUpdateTime struct{}

func (ProbeGroupPathSelectorMetadataUpdateTime) FieldPath

func (ProbeGroupPathSelectorMetadataUpdateTime) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataUpdateTime) WithValue

type ProbeGroupPathSelectorMetadataUuid

type ProbeGroupPathSelectorMetadataUuid struct{}

func (ProbeGroupPathSelectorMetadataUuid) FieldPath

func (ProbeGroupPathSelectorMetadataUuid) WithArrayOfValues

func (ProbeGroupPathSelectorMetadataUuid) WithValue

type ProbeGroupPathSelectorName

type ProbeGroupPathSelectorName struct{}

func (ProbeGroupPathSelectorName) FieldPath

func (ProbeGroupPathSelectorName) WithArrayOfValues

func (ProbeGroupPathSelectorName) WithValue

type ProbeGroupPathSelectorState

type ProbeGroupPathSelectorState struct{}

func (ProbeGroupPathSelectorState) FieldPath

func (ProbeGroupPathSelectorState) RegionalTargetCounts

func (ProbeGroupPathSelectorState) TargetCount

func (ProbeGroupPathSelectorState) WithArrayOfValues

func (ProbeGroupPathSelectorState) WithSubArrayItemValue

func (ProbeGroupPathSelectorState) WithSubArrayOfValues

func (ProbeGroupPathSelectorState) WithSubPath

func (ProbeGroupPathSelectorState) WithSubValue

func (ProbeGroupPathSelectorState) WithValue

type ProbeGroupPathSelectorStateRegionalTargetCounts

type ProbeGroupPathSelectorStateRegionalTargetCounts struct{}

func (ProbeGroupPathSelectorStateRegionalTargetCounts) FieldPath

func (ProbeGroupPathSelectorStateRegionalTargetCounts) WithArrayOfValues

func (ProbeGroupPathSelectorStateRegionalTargetCounts) WithKey

func (ProbeGroupPathSelectorStateRegionalTargetCounts) WithValue

type ProbeGroupPathSelectorStateTargetCount

type ProbeGroupPathSelectorStateTargetCount struct{}

func (ProbeGroupPathSelectorStateTargetCount) FieldPath

func (ProbeGroupPathSelectorStateTargetCount) WithArrayOfValues

func (ProbeGroupPathSelectorStateTargetCount) WithValue

type ProbeGroupReferenceList

type ProbeGroupReferenceList []*Reference

func (ProbeGroupReferenceList) Append

func (ProbeGroupReferenceList) AppendList

func (ProbeGroupReferenceList) At

func (ProbeGroupReferenceList) Length

func (l ProbeGroupReferenceList) Length() int

func (ProbeGroupReferenceList) Set

func (ProbeGroupReferenceList) Slice

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

type ProbeGroupStateFieldPathBuilder

type ProbeGroupStateFieldPathBuilder struct{}

func NewProbeGroupStateFieldPathBuilder

func NewProbeGroupStateFieldPathBuilder() ProbeGroupStateFieldPathBuilder

func (ProbeGroupStateFieldPathBuilder) RegionalTargetCounts

func (ProbeGroupStateFieldPathBuilder) TargetCount

type ProbeGroupState_FieldPath

type ProbeGroupState_FieldPath interface {
	gotenobject.FieldPath
	Selector() ProbeGroupState_FieldPathSelector
	Get(source *ProbeGroup_State) []interface{}
	GetSingle(source *ProbeGroup_State) (interface{}, bool)
	ClearValue(item *ProbeGroup_State)

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

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

func MustParseProbeGroupState_FieldPath

func MustParseProbeGroupState_FieldPath(rawField string) ProbeGroupState_FieldPath

func ParseProbeGroupState_FieldPath

func ParseProbeGroupState_FieldPath(rawField string) (ProbeGroupState_FieldPath, error)

type ProbeGroupState_FieldPathArrayItemValue

type ProbeGroupState_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ProbeGroupState_FieldPath
	ContainsValue(*ProbeGroup_State) bool
}

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

func MustParseProbeGroupState_FieldPathArrayItemValue

func MustParseProbeGroupState_FieldPathArrayItemValue(pathStr, valueStr string) ProbeGroupState_FieldPathArrayItemValue

func ParseProbeGroupState_FieldPathArrayItemValue

func ParseProbeGroupState_FieldPathArrayItemValue(pathStr, valueStr string) (ProbeGroupState_FieldPathArrayItemValue, error)

ParseProbeGroupState_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ProbeGroupState_FieldPathArrayOfValues

type ProbeGroupState_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ProbeGroupState_FieldPath
}

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

func MustParseProbeGroupState_FieldPathArrayOfValues

func MustParseProbeGroupState_FieldPathArrayOfValues(pathStr, valuesStr string) ProbeGroupState_FieldPathArrayOfValues

func ParseProbeGroupState_FieldPathArrayOfValues

func ParseProbeGroupState_FieldPathArrayOfValues(pathStr, valuesStr string) (ProbeGroupState_FieldPathArrayOfValues, error)

type ProbeGroupState_FieldPathMap

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

FieldPath for map type with additional Key information

func (*ProbeGroupState_FieldPathMap) ClearValue

func (fpm *ProbeGroupState_FieldPathMap) ClearValue(item *ProbeGroup_State)

func (*ProbeGroupState_FieldPathMap) ClearValueRaw

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

func (*ProbeGroupState_FieldPathMap) Get

func (fpm *ProbeGroupState_FieldPathMap) Get(source *ProbeGroup_State) (values []interface{})

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

func (*ProbeGroupState_FieldPathMap) GetDefault

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

GetDefault returns a default value of the field type

func (*ProbeGroupState_FieldPathMap) GetRaw

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

func (*ProbeGroupState_FieldPathMap) GetSingle

func (fpm *ProbeGroupState_FieldPathMap) GetSingle(source *ProbeGroup_State) (interface{}, bool)

GetSingle returns value by selected field map key from source ProbeGroup_State

func (*ProbeGroupState_FieldPathMap) GetSingleRaw

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

func (*ProbeGroupState_FieldPathMap) IsLeaf

func (fpm *ProbeGroupState_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ProbeGroupState_FieldPathMap) JSONString

func (fpm *ProbeGroupState_FieldPathMap) JSONString() string

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

func (*ProbeGroupState_FieldPathMap) Key

func (*ProbeGroupState_FieldPathMap) Selector

func (*ProbeGroupState_FieldPathMap) String

func (fpm *ProbeGroupState_FieldPathMap) String() string

String returns path representation in proto convention

func (*ProbeGroupState_FieldPathMap) WithIArrayItemValue

func (fpm *ProbeGroupState_FieldPathMap) WithIArrayItemValue(value interface{}) ProbeGroupState_FieldPathArrayItemValue

func (*ProbeGroupState_FieldPathMap) WithIArrayOfValues

func (fpm *ProbeGroupState_FieldPathMap) WithIArrayOfValues(values interface{}) ProbeGroupState_FieldPathArrayOfValues

func (*ProbeGroupState_FieldPathMap) WithIValue

func (fpm *ProbeGroupState_FieldPathMap) WithIValue(value interface{}) ProbeGroupState_FieldPathValue

func (*ProbeGroupState_FieldPathMap) WithRawIArrayItemValue

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

func (*ProbeGroupState_FieldPathMap) WithRawIArrayOfValues

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

func (*ProbeGroupState_FieldPathMap) WithRawIValue

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

type ProbeGroupState_FieldPathMapArrayOfValues

type ProbeGroupState_FieldPathMapArrayOfValues struct {
	ProbeGroupState_FieldPathMap
	// contains filtered or unexported fields
}

func (*ProbeGroupState_FieldPathMapArrayOfValues) AsRegionalTargetCountsArrayOfElementValues

func (fpmaov *ProbeGroupState_FieldPathMapArrayOfValues) AsRegionalTargetCountsArrayOfElementValues() ([]int64, bool)

func (*ProbeGroupState_FieldPathMapArrayOfValues) GetRawValues

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

type ProbeGroupState_FieldPathMapValue

type ProbeGroupState_FieldPathMapValue struct {
	ProbeGroupState_FieldPathMap
	// contains filtered or unexported fields
}

func (*ProbeGroupState_FieldPathMapValue) AsRegionalTargetCountsElementValue

func (fpmv *ProbeGroupState_FieldPathMapValue) AsRegionalTargetCountsElementValue() (int64, bool)

func (*ProbeGroupState_FieldPathMapValue) CompareWith

func (fpmv *ProbeGroupState_FieldPathMapValue) CompareWith(source *ProbeGroup_State) (int, bool)

CompareWith compares value in the 'ProbeGroupState_FieldPathMapValue' with the value under path in 'ProbeGroup_State'.

func (*ProbeGroupState_FieldPathMapValue) CompareWithRaw

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

func (*ProbeGroupState_FieldPathMapValue) GetRawValue

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

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

func (*ProbeGroupState_FieldPathMapValue) SetTo

SetTo stores value for selected field in State

func (*ProbeGroupState_FieldPathMapValue) SetToRaw

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

type ProbeGroupState_FieldPathSelector

type ProbeGroupState_FieldPathSelector int32
const (
	ProbeGroupState_FieldPathSelectorTargetCount          ProbeGroupState_FieldPathSelector = 0
	ProbeGroupState_FieldPathSelectorRegionalTargetCounts ProbeGroupState_FieldPathSelector = 1
)

func (ProbeGroupState_FieldPathSelector) String

type ProbeGroupState_FieldPathValue

type ProbeGroupState_FieldPathValue interface {
	ProbeGroupState_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ProbeGroup_State)
	CompareWith(*ProbeGroup_State) (cmp int, comparable bool)
}

ProbeGroupState_FieldPathValue allows storing values for State fields according to their type

func MustParseProbeGroupState_FieldPathValue

func MustParseProbeGroupState_FieldPathValue(pathStr, valueStr string) ProbeGroupState_FieldPathValue

func ParseProbeGroupState_FieldPathValue

func ParseProbeGroupState_FieldPathValue(pathStr, valueStr string) (ProbeGroupState_FieldPathValue, error)

type ProbeGroupState_FieldTerminalPath

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

func (*ProbeGroupState_FieldTerminalPath) ClearValue

func (*ProbeGroupState_FieldTerminalPath) ClearValueRaw

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

func (*ProbeGroupState_FieldTerminalPath) Get

func (fp *ProbeGroupState_FieldTerminalPath) Get(source *ProbeGroup_State) (values []interface{})

Get returns all values pointed by specific field from source ProbeGroup_State

func (*ProbeGroupState_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ProbeGroupState_FieldTerminalPath) GetRaw

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

func (*ProbeGroupState_FieldTerminalPath) GetSingle

func (fp *ProbeGroupState_FieldTerminalPath) GetSingle(source *ProbeGroup_State) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ProbeGroup_State

func (*ProbeGroupState_FieldTerminalPath) GetSingleRaw

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

func (*ProbeGroupState_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ProbeGroupState_FieldTerminalPath) JSONString

func (fp *ProbeGroupState_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ProbeGroupState_FieldTerminalPath) Selector

func (*ProbeGroupState_FieldTerminalPath) String

String returns path representation in proto convention

func (*ProbeGroupState_FieldTerminalPath) WithIArrayItemValue

func (fp *ProbeGroupState_FieldTerminalPath) WithIArrayItemValue(value interface{}) ProbeGroupState_FieldPathArrayItemValue

func (*ProbeGroupState_FieldTerminalPath) WithIArrayOfValues

func (fp *ProbeGroupState_FieldTerminalPath) WithIArrayOfValues(values interface{}) ProbeGroupState_FieldPathArrayOfValues

func (*ProbeGroupState_FieldTerminalPath) WithIValue

func (fp *ProbeGroupState_FieldTerminalPath) WithIValue(value interface{}) ProbeGroupState_FieldPathValue

func (*ProbeGroupState_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ProbeGroupState_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ProbeGroupState_FieldTerminalPath) WithRawIValue

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

type ProbeGroupState_FieldTerminalPathArrayItemValue

type ProbeGroupState_FieldTerminalPathArrayItemValue struct {
	ProbeGroupState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroupState_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ProbeGroupState_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ProbeGroupState_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ProbeGroupState_FieldTerminalPathArrayItemValue) GetSingle(source *ProbeGroup_State) (interface{}, bool)

func (*ProbeGroupState_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ProbeGroupState_FieldTerminalPathArrayOfValues

type ProbeGroupState_FieldTerminalPathArrayOfValues struct {
	ProbeGroupState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroupState_FieldTerminalPathArrayOfValues) AsRegionalTargetCountsArrayOfValues

func (fpaov *ProbeGroupState_FieldTerminalPathArrayOfValues) AsRegionalTargetCountsArrayOfValues() ([]map[string]int64, bool)

func (*ProbeGroupState_FieldTerminalPathArrayOfValues) AsTargetCountArrayOfValues

func (fpaov *ProbeGroupState_FieldTerminalPathArrayOfValues) AsTargetCountArrayOfValues() ([]int64, bool)

func (*ProbeGroupState_FieldTerminalPathArrayOfValues) GetRawValues

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

type ProbeGroupState_FieldTerminalPathValue

type ProbeGroupState_FieldTerminalPathValue struct {
	ProbeGroupState_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroupState_FieldTerminalPathValue) AsRegionalTargetCountsValue

func (fpv *ProbeGroupState_FieldTerminalPathValue) AsRegionalTargetCountsValue() (map[string]int64, bool)

func (*ProbeGroupState_FieldTerminalPathValue) AsTargetCountValue

func (fpv *ProbeGroupState_FieldTerminalPathValue) AsTargetCountValue() (int64, bool)

func (*ProbeGroupState_FieldTerminalPathValue) CompareWith

func (fpv *ProbeGroupState_FieldTerminalPathValue) CompareWith(source *ProbeGroup_State) (int, bool)

CompareWith compares value in the 'ProbeGroupState_FieldTerminalPathValue' with the value under path in 'ProbeGroup_State'.

func (*ProbeGroupState_FieldTerminalPathValue) CompareWithRaw

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

func (*ProbeGroupState_FieldTerminalPathValue) GetRawValue

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

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

func (*ProbeGroupState_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object State

func (*ProbeGroupState_FieldTerminalPathValue) SetToRaw

type ProbeGroup_FieldMask

type ProbeGroup_FieldMask struct {
	Paths []ProbeGroup_FieldPath
}

func FullProbeGroup_FieldMask

func FullProbeGroup_FieldMask() *ProbeGroup_FieldMask

func ResourceViewFieldMask

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

func (*ProbeGroup_FieldMask) AppendPath

func (fieldMask *ProbeGroup_FieldMask) AppendPath(path ProbeGroup_FieldPath)

func (*ProbeGroup_FieldMask) AppendRawPath

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

func (*ProbeGroup_FieldMask) DecodeFirestore

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

func (*ProbeGroup_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ProbeGroup_FieldMask) FilterInputFields

func (fieldMask *ProbeGroup_FieldMask) FilterInputFields() *ProbeGroup_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ProbeGroup_FieldMask) FromProtoFieldMask

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

func (*ProbeGroup_FieldMask) GetPaths

func (fieldMask *ProbeGroup_FieldMask) GetPaths() []ProbeGroup_FieldPath

func (*ProbeGroup_FieldMask) GetRawPaths

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

func (*ProbeGroup_FieldMask) IsFull

func (fieldMask *ProbeGroup_FieldMask) IsFull() bool

func (ProbeGroup_FieldMask) Marshal

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

implement methods required by customType

func (ProbeGroup_FieldMask) MarshalJSON

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

func (*ProbeGroup_FieldMask) PathsCount

func (fieldMask *ProbeGroup_FieldMask) PathsCount() int

func (*ProbeGroup_FieldMask) Project

func (fieldMask *ProbeGroup_FieldMask) Project(source *ProbeGroup) *ProbeGroup

func (*ProbeGroup_FieldMask) ProjectRaw

func (*ProbeGroup_FieldMask) ProtoMessage

func (fieldMask *ProbeGroup_FieldMask) ProtoMessage()

func (*ProbeGroup_FieldMask) ProtoReflect

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

func (*ProbeGroup_FieldMask) Reset

func (fieldMask *ProbeGroup_FieldMask) Reset()

func (*ProbeGroup_FieldMask) Set

func (fieldMask *ProbeGroup_FieldMask) Set(target, source *ProbeGroup)

func (*ProbeGroup_FieldMask) SetFromCliFlag

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

func (*ProbeGroup_FieldMask) SetRaw

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

func (*ProbeGroup_FieldMask) Size

func (fieldMask *ProbeGroup_FieldMask) Size() int

func (*ProbeGroup_FieldMask) String

func (fieldMask *ProbeGroup_FieldMask) String() string

func (*ProbeGroup_FieldMask) Subtract

func (fieldMask *ProbeGroup_FieldMask) Subtract(other *ProbeGroup_FieldMask) *ProbeGroup_FieldMask

func (*ProbeGroup_FieldMask) SubtractRaw

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

func (*ProbeGroup_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ProbeGroup_FieldMask) Unmarshal

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

func (*ProbeGroup_FieldMask) UnmarshalJSON

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

type ProbeGroup_FieldPath

type ProbeGroup_FieldPath interface {
	gotenobject.FieldPath
	Selector() ProbeGroup_FieldPathSelector
	Get(source *ProbeGroup) []interface{}
	GetSingle(source *ProbeGroup) (interface{}, bool)
	ClearValue(item *ProbeGroup)

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

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

func BuildProbeGroup_FieldPath

func BuildProbeGroup_FieldPath(fp gotenobject.RawFieldPath) (ProbeGroup_FieldPath, error)

func MustParseProbeGroup_FieldPath

func MustParseProbeGroup_FieldPath(rawField string) ProbeGroup_FieldPath

func ParseProbeGroup_FieldPath

func ParseProbeGroup_FieldPath(rawField string) (ProbeGroup_FieldPath, error)

type ProbeGroup_FieldPathArrayItemValue

type ProbeGroup_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ProbeGroup_FieldPath
	ContainsValue(*ProbeGroup) bool
}

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

func MustParseProbeGroup_FieldPathArrayItemValue

func MustParseProbeGroup_FieldPathArrayItemValue(pathStr, valueStr string) ProbeGroup_FieldPathArrayItemValue

func ParseProbeGroup_FieldPathArrayItemValue

func ParseProbeGroup_FieldPathArrayItemValue(pathStr, valueStr string) (ProbeGroup_FieldPathArrayItemValue, error)

ParseProbeGroup_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ProbeGroup_FieldPathArrayOfValues

type ProbeGroup_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ProbeGroup_FieldPath
}

ProbeGroup_FieldPathArrayOfValues allows storing slice of values for ProbeGroup fields according to their type

func MustParseProbeGroup_FieldPathArrayOfValues

func MustParseProbeGroup_FieldPathArrayOfValues(pathStr, valuesStr string) ProbeGroup_FieldPathArrayOfValues

func ParseProbeGroup_FieldPathArrayOfValues

func ParseProbeGroup_FieldPathArrayOfValues(pathStr, valuesStr string) (ProbeGroup_FieldPathArrayOfValues, error)

type ProbeGroup_FieldPathSelector

type ProbeGroup_FieldPathSelector int32
const (
	ProbeGroup_FieldPathSelectorName        ProbeGroup_FieldPathSelector = 0
	ProbeGroup_FieldPathSelectorDisplayName ProbeGroup_FieldPathSelector = 1
	ProbeGroup_FieldPathSelectorState       ProbeGroup_FieldPathSelector = 2
	ProbeGroup_FieldPathSelectorMetadata    ProbeGroup_FieldPathSelector = 3
)

func (ProbeGroup_FieldPathSelector) String

type ProbeGroup_FieldPathValue

type ProbeGroup_FieldPathValue interface {
	ProbeGroup_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ProbeGroup)
	CompareWith(*ProbeGroup) (cmp int, comparable bool)
}

ProbeGroup_FieldPathValue allows storing values for ProbeGroup fields according to their type

func MustParseProbeGroup_FieldPathValue

func MustParseProbeGroup_FieldPathValue(pathStr, valueStr string) ProbeGroup_FieldPathValue

func ParseProbeGroup_FieldPathValue

func ParseProbeGroup_FieldPathValue(pathStr, valueStr string) (ProbeGroup_FieldPathValue, error)

type ProbeGroup_FieldSubPath

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

func (*ProbeGroup_FieldSubPath) AsMetadataSubPath

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

func (*ProbeGroup_FieldSubPath) AsStateSubPath

func (fps *ProbeGroup_FieldSubPath) AsStateSubPath() (ProbeGroupState_FieldPath, bool)

func (*ProbeGroup_FieldSubPath) ClearValue

func (fps *ProbeGroup_FieldSubPath) ClearValue(item *ProbeGroup)

func (*ProbeGroup_FieldSubPath) ClearValueRaw

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

func (*ProbeGroup_FieldSubPath) Get

func (fps *ProbeGroup_FieldSubPath) Get(source *ProbeGroup) (values []interface{})

Get returns all values pointed by selected field from source ProbeGroup

func (*ProbeGroup_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ProbeGroup_FieldSubPath) GetRaw

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

func (*ProbeGroup_FieldSubPath) GetSingle

func (fps *ProbeGroup_FieldSubPath) GetSingle(source *ProbeGroup) (interface{}, bool)

GetSingle returns value of selected field from source ProbeGroup

func (*ProbeGroup_FieldSubPath) GetSingleRaw

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

func (*ProbeGroup_FieldSubPath) IsLeaf

func (fps *ProbeGroup_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ProbeGroup_FieldSubPath) JSONString

func (fps *ProbeGroup_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ProbeGroup_FieldSubPath) Selector

func (*ProbeGroup_FieldSubPath) String

func (fps *ProbeGroup_FieldSubPath) String() string

String returns path representation in proto convention

func (*ProbeGroup_FieldSubPath) WithIArrayItemValue

func (fps *ProbeGroup_FieldSubPath) WithIArrayItemValue(value interface{}) ProbeGroup_FieldPathArrayItemValue

func (*ProbeGroup_FieldSubPath) WithIArrayOfValues

func (fps *ProbeGroup_FieldSubPath) WithIArrayOfValues(values interface{}) ProbeGroup_FieldPathArrayOfValues

func (*ProbeGroup_FieldSubPath) WithIValue

func (fps *ProbeGroup_FieldSubPath) WithIValue(value interface{}) ProbeGroup_FieldPathValue

func (*ProbeGroup_FieldSubPath) WithRawIArrayItemValue

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

func (*ProbeGroup_FieldSubPath) WithRawIArrayOfValues

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

func (*ProbeGroup_FieldSubPath) WithRawIValue

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

type ProbeGroup_FieldSubPathArrayItemValue

type ProbeGroup_FieldSubPathArrayItemValue struct {
	ProbeGroup_FieldPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*ProbeGroup_FieldSubPathArrayItemValue) AsStatePathItemValue

func (*ProbeGroup_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *ProbeGroup_FieldSubPathArrayItemValue) ContainsValue(source *ProbeGroup) bool

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

func (*ProbeGroup_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type ProbeGroup_FieldSubPathArrayOfValues

type ProbeGroup_FieldSubPathArrayOfValues struct {
	ProbeGroup_FieldPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*ProbeGroup_FieldSubPathArrayOfValues) AsStatePathArrayOfValues

func (*ProbeGroup_FieldSubPathArrayOfValues) GetRawValues

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

type ProbeGroup_FieldSubPathValue

type ProbeGroup_FieldSubPathValue struct {
	ProbeGroup_FieldPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldSubPathValue) AsMetadataPathValue

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

func (*ProbeGroup_FieldSubPathValue) AsStatePathValue

func (*ProbeGroup_FieldSubPathValue) CompareWith

func (fpvs *ProbeGroup_FieldSubPathValue) CompareWith(source *ProbeGroup) (int, bool)

func (*ProbeGroup_FieldSubPathValue) CompareWithRaw

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

func (*ProbeGroup_FieldSubPathValue) GetRawValue

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

func (*ProbeGroup_FieldSubPathValue) SetTo

func (fpvs *ProbeGroup_FieldSubPathValue) SetTo(target **ProbeGroup)

func (*ProbeGroup_FieldSubPathValue) SetToRaw

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

type ProbeGroup_FieldTerminalPath

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

func (*ProbeGroup_FieldTerminalPath) ClearValue

func (fp *ProbeGroup_FieldTerminalPath) ClearValue(item *ProbeGroup)

func (*ProbeGroup_FieldTerminalPath) ClearValueRaw

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

func (*ProbeGroup_FieldTerminalPath) Get

func (fp *ProbeGroup_FieldTerminalPath) Get(source *ProbeGroup) (values []interface{})

Get returns all values pointed by specific field from source ProbeGroup

func (*ProbeGroup_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ProbeGroup_FieldTerminalPath) GetRaw

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

func (*ProbeGroup_FieldTerminalPath) GetSingle

func (fp *ProbeGroup_FieldTerminalPath) GetSingle(source *ProbeGroup) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ProbeGroup

func (*ProbeGroup_FieldTerminalPath) GetSingleRaw

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

func (*ProbeGroup_FieldTerminalPath) IsLeaf

func (fp *ProbeGroup_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ProbeGroup_FieldTerminalPath) JSONString

func (fp *ProbeGroup_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ProbeGroup_FieldTerminalPath) Selector

func (*ProbeGroup_FieldTerminalPath) String

func (fp *ProbeGroup_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*ProbeGroup_FieldTerminalPath) WithIArrayItemValue

func (fp *ProbeGroup_FieldTerminalPath) WithIArrayItemValue(value interface{}) ProbeGroup_FieldPathArrayItemValue

func (*ProbeGroup_FieldTerminalPath) WithIArrayOfValues

func (fp *ProbeGroup_FieldTerminalPath) WithIArrayOfValues(values interface{}) ProbeGroup_FieldPathArrayOfValues

func (*ProbeGroup_FieldTerminalPath) WithIValue

func (fp *ProbeGroup_FieldTerminalPath) WithIValue(value interface{}) ProbeGroup_FieldPathValue

func (*ProbeGroup_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ProbeGroup_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ProbeGroup_FieldTerminalPath) WithRawIValue

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

type ProbeGroup_FieldTerminalPathArrayItemValue

type ProbeGroup_FieldTerminalPathArrayItemValue struct {
	ProbeGroup_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ProbeGroup_FieldTerminalPathArrayItemValue) ContainsValue(source *ProbeGroup) bool

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

func (*ProbeGroup_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ProbeGroup_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ProbeGroup_FieldTerminalPathArrayItemValue) GetSingle(source *ProbeGroup) (interface{}, bool)

func (*ProbeGroup_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ProbeGroup_FieldTerminalPathArrayOfValues

type ProbeGroup_FieldTerminalPathArrayOfValues struct {
	ProbeGroup_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*ProbeGroup_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*ProbeGroup_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*ProbeGroup_FieldTerminalPathArrayOfValues) AsStateArrayOfValues

func (fpaov *ProbeGroup_FieldTerminalPathArrayOfValues) AsStateArrayOfValues() ([]*ProbeGroup_State, bool)

func (*ProbeGroup_FieldTerminalPathArrayOfValues) GetRawValues

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

type ProbeGroup_FieldTerminalPathValue

type ProbeGroup_FieldTerminalPathValue struct {
	ProbeGroup_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProbeGroup_FieldTerminalPathValue) AsDisplayNameValue

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

func (*ProbeGroup_FieldTerminalPathValue) AsMetadataValue

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

func (*ProbeGroup_FieldTerminalPathValue) AsNameValue

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

func (*ProbeGroup_FieldTerminalPathValue) AsStateValue

func (*ProbeGroup_FieldTerminalPathValue) CompareWith

func (fpv *ProbeGroup_FieldTerminalPathValue) CompareWith(source *ProbeGroup) (int, bool)

CompareWith compares value in the 'ProbeGroup_FieldTerminalPathValue' with the value under path in 'ProbeGroup'.

func (*ProbeGroup_FieldTerminalPathValue) CompareWithRaw

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

func (*ProbeGroup_FieldTerminalPathValue) GetRawValue

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

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

func (*ProbeGroup_FieldTerminalPathValue) SetTo

func (fpv *ProbeGroup_FieldTerminalPathValue) SetTo(target **ProbeGroup)

SetTo stores value for selected field for object ProbeGroup

func (*ProbeGroup_FieldTerminalPathValue) SetToRaw

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

type ProbeGroup_State

type ProbeGroup_State struct {

	// total count of [Probes][ntt.watchdog.v1alpha2.Probe] associated with this
	// group
	TargetCount int64 `protobuf:"varint,1,opt,name=target_count,json=targetCount,proto3" json:"target_count,omitempty" firestore:"targetCount"`
	// Count per region
	RegionalTargetCounts map[string]int64 `` /* 245-byte string literal not displayed */
	// contains filtered or unexported fields
}

Group State

func (*ProbeGroup_State) Clone

func (o *ProbeGroup_State) Clone() *ProbeGroup_State

func (*ProbeGroup_State) CloneRaw

func (*ProbeGroup_State) Descriptor

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

Deprecated, Use ProbeGroup_State.ProtoReflect.Descriptor instead.

func (*ProbeGroup_State) GetRegionalTargetCounts

func (m *ProbeGroup_State) GetRegionalTargetCounts() map[string]int64

func (*ProbeGroup_State) GetTargetCount

func (m *ProbeGroup_State) GetTargetCount() int64

func (*ProbeGroup_State) GotenMessage

func (*ProbeGroup_State) GotenMessage()

func (*ProbeGroup_State) GotenObjectExt

func (o *ProbeGroup_State) GotenObjectExt()

func (*ProbeGroup_State) GotenValidate

func (obj *ProbeGroup_State) GotenValidate() error

func (*ProbeGroup_State) MakeDiffFieldMask

func (o *ProbeGroup_State) MakeDiffFieldMask(other *ProbeGroup_State) *ProbeGroup_State_FieldMask

func (*ProbeGroup_State) MakeFullFieldMask

func (o *ProbeGroup_State) MakeFullFieldMask() *ProbeGroup_State_FieldMask

func (*ProbeGroup_State) MakeRawDiffFieldMask

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

func (*ProbeGroup_State) MakeRawFullFieldMask

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

func (*ProbeGroup_State) Marshal

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

func (*ProbeGroup_State) MarshalJSON

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

func (*ProbeGroup_State) Merge

func (o *ProbeGroup_State) Merge(source *ProbeGroup_State)

func (*ProbeGroup_State) MergeRaw

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

func (*ProbeGroup_State) ProtoMessage

func (*ProbeGroup_State) ProtoMessage()

func (*ProbeGroup_State) ProtoReflect

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

func (*ProbeGroup_State) Reset

func (m *ProbeGroup_State) Reset()

func (*ProbeGroup_State) SetRegionalTargetCounts

func (m *ProbeGroup_State) SetRegionalTargetCounts(fv map[string]int64)

func (*ProbeGroup_State) SetTargetCount

func (m *ProbeGroup_State) SetTargetCount(fv int64)

func (*ProbeGroup_State) String

func (m *ProbeGroup_State) String() string

func (*ProbeGroup_State) Unmarshal

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

func (*ProbeGroup_State) UnmarshalJSON

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

type ProbeGroup_StateMapPathSelectorRegionalTargetCounts

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

func (ProbeGroup_StateMapPathSelectorRegionalTargetCounts) FieldPath

func (ProbeGroup_StateMapPathSelectorRegionalTargetCounts) WithArrayOfValues

func (ProbeGroup_StateMapPathSelectorRegionalTargetCounts) WithValue

type ProbeGroup_StatePathSelectorRegionalTargetCounts

type ProbeGroup_StatePathSelectorRegionalTargetCounts struct{}

func (ProbeGroup_StatePathSelectorRegionalTargetCounts) FieldPath

func (ProbeGroup_StatePathSelectorRegionalTargetCounts) WithArrayOfValues

func (ProbeGroup_StatePathSelectorRegionalTargetCounts) WithKey

func (ProbeGroup_StatePathSelectorRegionalTargetCounts) WithValue

type ProbeGroup_StatePathSelectorTargetCount

type ProbeGroup_StatePathSelectorTargetCount struct{}

func (ProbeGroup_StatePathSelectorTargetCount) FieldPath

func (ProbeGroup_StatePathSelectorTargetCount) WithArrayOfValues

func (ProbeGroup_StatePathSelectorTargetCount) WithValue

type ProbeGroup_State_FieldMask

type ProbeGroup_State_FieldMask struct {
	Paths []ProbeGroupState_FieldPath
}

func FullProbeGroup_State_FieldMask

func FullProbeGroup_State_FieldMask() *ProbeGroup_State_FieldMask

func (*ProbeGroup_State_FieldMask) AppendPath

func (fieldMask *ProbeGroup_State_FieldMask) AppendPath(path ProbeGroupState_FieldPath)

func (*ProbeGroup_State_FieldMask) AppendRawPath

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

func (*ProbeGroup_State_FieldMask) DecodeFirestore

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

func (*ProbeGroup_State_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ProbeGroup_State_FieldMask) FilterInputFields

func (fieldMask *ProbeGroup_State_FieldMask) FilterInputFields() *ProbeGroup_State_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ProbeGroup_State_FieldMask) FromProtoFieldMask

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

func (*ProbeGroup_State_FieldMask) GetPaths

func (fieldMask *ProbeGroup_State_FieldMask) GetPaths() []ProbeGroupState_FieldPath

func (*ProbeGroup_State_FieldMask) GetRawPaths

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

func (*ProbeGroup_State_FieldMask) IsFull

func (fieldMask *ProbeGroup_State_FieldMask) IsFull() bool

func (ProbeGroup_State_FieldMask) Marshal

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

implement methods required by customType

func (ProbeGroup_State_FieldMask) MarshalJSON

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

func (*ProbeGroup_State_FieldMask) PathsCount

func (fieldMask *ProbeGroup_State_FieldMask) PathsCount() int

func (*ProbeGroup_State_FieldMask) Project

func (fieldMask *ProbeGroup_State_FieldMask) Project(source *ProbeGroup_State) *ProbeGroup_State

func (*ProbeGroup_State_FieldMask) ProjectRaw

func (*ProbeGroup_State_FieldMask) ProtoMessage

func (fieldMask *ProbeGroup_State_FieldMask) ProtoMessage()

func (*ProbeGroup_State_FieldMask) ProtoReflect

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

func (*ProbeGroup_State_FieldMask) Reset

func (fieldMask *ProbeGroup_State_FieldMask) Reset()

func (*ProbeGroup_State_FieldMask) Set

func (fieldMask *ProbeGroup_State_FieldMask) Set(target, source *ProbeGroup_State)

func (*ProbeGroup_State_FieldMask) SetFromCliFlag

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

func (*ProbeGroup_State_FieldMask) SetRaw

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

func (*ProbeGroup_State_FieldMask) Size

func (fieldMask *ProbeGroup_State_FieldMask) Size() int

func (*ProbeGroup_State_FieldMask) String

func (fieldMask *ProbeGroup_State_FieldMask) String() string

func (*ProbeGroup_State_FieldMask) Subtract

func (*ProbeGroup_State_FieldMask) SubtractRaw

func (*ProbeGroup_State_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ProbeGroup_State_FieldMask) Unmarshal

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

func (*ProbeGroup_State_FieldMask) UnmarshalJSON

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

type QueryResultChange

type QueryResultChange struct {
	Changes        []*ProbeGroupChange
	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 {
	ProbeGroups    []*ProbeGroup
	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, probeGroup *ProbeGroup) (*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) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetProbeGroup

func (ref *Reference) GetProbeGroup() *ProbeGroup

func (*Reference) GetRawResource

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

func (*Reference) GetResourceDescriptor

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

func (*Reference) GetSegments

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

func (*Reference) GotenEqual

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 *ProbeGroup)

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 SearchQuery

type SearchQuery struct {
	ListQuery
	Phrase string
}

func (*SearchQuery) GetPhrase

func (q *SearchQuery) GetPhrase() string

func (*SearchQuery) SetPhrase

func (q *SearchQuery) SetPhrase(phrase string)

func (*SearchQuery) String

func (q *SearchQuery) String() string

type SearchQueryResultSnapshot

type SearchQueryResultSnapshot struct {
	QueryResultSnapshot
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*SearchQueryResultSnapshot) GetPagingInfo

func (sqr *SearchQueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*SearchQueryResultSnapshot) SetPagingInfo

func (sqr *SearchQueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType   watch_type.WatchType
	ChunkSize   int
	ResumeToken string
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.26

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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