plan_assignment

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil          = "planAssignments/{plan_assignment}"
	NamePattern_Project      = "projects/{project}/planAssignments/{plan_assignment}"
	NamePattern_Organization = "organizations/{organization}/planAssignments/{plan_assignment}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access PlanAssignmentAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors added in v1.0.21

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask

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

func (*Descriptor) NewResourceFilter

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy

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

func (*Descriptor) NewResourcePager added in v0.9.0

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

func (*Descriptor) SupportsMetadata added in v1.0.21

func (d *Descriptor) SupportsMetadata() bool

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 *PlanAssignment) 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 []*PlanAssignment) (out []*PlanAssignment)

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 PlanAssignment_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 *PlanAssignment) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	PlanAssignment_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *PlanAssignment) 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 PlanAssignment_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 *PlanAssignment) 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 PlanAssignment_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 *PlanAssignment) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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 PlanAssignment_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 {
	PlanAssignment_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *PlanAssignment) 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 PlanAssignment_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 PlanAssignment_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *PlanAssignment) 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 PlanAssignment_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 PlanAssignment_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *PlanAssignment) 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 PlanAssignment_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 *PlanAssignment) 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 PlanAssignment_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 {
	PlanAssignment_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *PlanAssignment) 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 PlanAssignment_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      *PlanAssignment_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           *PlanAssignment_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

func (q *ListQuery) GetFieldMask() gotenobject.FieldMask

func (*ListQuery) GetFilter

func (q *ListQuery) GetFilter() gotenresource.Filter

func (*ListQuery) GetPager

func (q *ListQuery) GetPager() gotenresource.PagerQuery

func (*ListQuery) GetResourceDescriptor

func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*ListQuery) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*ListQuery) SetFilter

func (q *ListQuery) SetFilter(filter gotenresource.Filter)

func (*ListQuery) SetPager

func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	PlanAssignmentId string `firestore:"planAssignmentId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetOrganizationName

func (name *Name) GetOrganizationName() *iam_organization.Name

func (*Name) GetPattern

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

func (*Name) GetProjectName

func (name *Name) GetProjectName() *iam_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) SetOrganization

func (b *NameBuilder) SetOrganization(parent *iam_organization.Name) *NameBuilder

func (*NameBuilder) SetOrganizationId

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

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *iam_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 *PlanAssignment) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *PlanAssignment_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 PlanAssignmentList, elem *PlanAssignment) (PlanAssignmentList, 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 PlanAssignmentList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

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

func (*ParentName) AsRawReference

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

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative added in v1.0.21

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

func (*ParentName) ConvertToType added in v1.0.21

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

func (*ParentName) DescendsFrom

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

func (*ParentName) Equal added in v1.0.21

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName added in v0.8.0

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

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetOrganizationName

func (name *ParentName) GetOrganizationName() *iam_organization.Name

func (*ParentName) GetPattern

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

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *iam_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) HasTrait added in v1.0.21

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match added in v1.0.21

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

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) Receive added in v1.0.21

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

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

func (*ParentName) Type added in v1.0.21

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

func (*ParentName) TypeName added in v1.0.21

func (name *ParentName) TypeName() string

func (*ParentName) Value added in v1.0.21

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

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) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetOrganization

func (ref *ParentReference) GetOrganization() *iam_organization.Organization

func (*ParentReference) GetOrganizationReference

func (ref *ParentReference) GetOrganizationReference() *iam_organization.Reference

func (*ParentReference) GetPattern

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

func (*ParentReference) GetProject

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

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *iam_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 PlanAssignment

type PlanAssignment struct {

	// Name of PlanAssignment
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [a-zA-Z0-9_.-]{1,128}
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Plan with basic set of limits
	Plan *plan.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=plan,proto3" json:"plan,omitempty" firestore:"plan"`
	// Service associated with plan
	Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// Additional extensions (but may be negative) on top of regular plan.
	Extensions []*common.Allowance `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty" firestore:"extensions"`
	// Regional distributions across regions. This field makes sense only
	// for projects, because limit pools are regionless.
	RegionalDistributions []*common.RegionalDistribution `` /* 158-byte string literal not displayed */
	// Source with which this PlanAssignment is synchronized.
	Source *accepted_plan.Reference `protobuf:"bytes,6,opt,customtype=Reference,name=source,proto3" json:"source,omitempty" firestore:"source"`
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

PlanAssignment binds plan (with optional customizations) with specific entity (assignee - either system, organization or project). Plan assignments (sum of them) are used to compute configured size of limit pools (system and organizations) AND limits (projects). They are not modifiable - limits are passed from system to projects, so each PlanAssignment must be agreed by higher instance (parent organization or system). System recognizes acceptance by existence of AcceptedPlan instances - it synchronizes PlanAssignment instances with them.

func (*PlanAssignment) Clone

func (o *PlanAssignment) Clone() *PlanAssignment

func (*PlanAssignment) CloneRaw

func (*PlanAssignment) Descriptor

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

Deprecated, Use PlanAssignment.ProtoReflect.Descriptor instead.

func (*PlanAssignment) EnsureMetadata added in v1.0.21

func (r *PlanAssignment) EnsureMetadata() *meta.Meta

func (*PlanAssignment) GetExtensions

func (m *PlanAssignment) GetExtensions() []*common.Allowance

func (*PlanAssignment) GetMetadata

func (m *PlanAssignment) GetMetadata() *meta.Meta

func (*PlanAssignment) GetName

func (m *PlanAssignment) GetName() *Name

func (*PlanAssignment) GetPlan

func (m *PlanAssignment) GetPlan() *plan.Reference

func (*PlanAssignment) GetRawName

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

func (*PlanAssignment) GetRegionalDistributions

func (m *PlanAssignment) GetRegionalDistributions() []*common.RegionalDistribution

func (*PlanAssignment) GetResourceDescriptor

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

func (*PlanAssignment) GetService

func (m *PlanAssignment) GetService() *meta_service.Reference

func (*PlanAssignment) GetSource

func (m *PlanAssignment) GetSource() *accepted_plan.Reference

func (*PlanAssignment) GotenMessage

func (*PlanAssignment) GotenMessage()

func (*PlanAssignment) GotenObjectExt

func (o *PlanAssignment) GotenObjectExt()

func (*PlanAssignment) GotenValidate

func (obj *PlanAssignment) GotenValidate() error

func (*PlanAssignment) MakeDiffFieldMask

func (o *PlanAssignment) MakeDiffFieldMask(other *PlanAssignment) *PlanAssignment_FieldMask

func (*PlanAssignment) MakeFullFieldMask

func (o *PlanAssignment) MakeFullFieldMask() *PlanAssignment_FieldMask

func (*PlanAssignment) MakeRawDiffFieldMask

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

func (*PlanAssignment) MakeRawFullFieldMask

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

func (*PlanAssignment) Marshal

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

func (*PlanAssignment) MarshalJSON

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

func (*PlanAssignment) MaybePopulateDefaults

func (r *PlanAssignment) MaybePopulateDefaults() error

func (*PlanAssignment) Merge

func (o *PlanAssignment) Merge(source *PlanAssignment)

func (*PlanAssignment) MergeRaw

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

func (*PlanAssignment) ProtoMessage

func (*PlanAssignment) ProtoMessage()

func (*PlanAssignment) ProtoReflect

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

func (*PlanAssignment) Reset

func (m *PlanAssignment) Reset()

func (*PlanAssignment) SetExtensions

func (m *PlanAssignment) SetExtensions(fv []*common.Allowance)

func (*PlanAssignment) SetMetadata

func (m *PlanAssignment) SetMetadata(fv *meta.Meta)

func (*PlanAssignment) SetName

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

func (*PlanAssignment) SetPlan

func (m *PlanAssignment) SetPlan(fv *plan.Reference)

func (*PlanAssignment) SetRegionalDistributions

func (m *PlanAssignment) SetRegionalDistributions(fv []*common.RegionalDistribution)

func (*PlanAssignment) SetService

func (m *PlanAssignment) SetService(fv *meta_service.Reference)

func (*PlanAssignment) SetSource

func (m *PlanAssignment) SetSource(fv *accepted_plan.Reference)

func (*PlanAssignment) String

func (m *PlanAssignment) String() string

func (*PlanAssignment) Unmarshal

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

func (*PlanAssignment) UnmarshalJSON

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

type PlanAssignmentAccess

type PlanAssignmentAccess interface {
	GetPlanAssignment(context.Context, *GetQuery) (*PlanAssignment, error)
	BatchGetPlanAssignments(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryPlanAssignments(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchPlanAssignment(context.Context, *GetQuery, func(*PlanAssignmentChange) error) error
	WatchPlanAssignments(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SavePlanAssignment(context.Context, *PlanAssignment, ...gotenresource.SaveOption) error
	DeletePlanAssignment(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type PlanAssignmentChange

type PlanAssignmentChange struct {

	// PlanAssignment change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*PlanAssignmentChange_Added_
	//	*PlanAssignmentChange_Modified_
	//	*PlanAssignmentChange_Current_
	//	*PlanAssignmentChange_Removed_
	ChangeType isPlanAssignmentChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*PlanAssignmentChange) Descriptor

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

Deprecated, Use PlanAssignmentChange.ProtoReflect.Descriptor instead.

func (*PlanAssignmentChange) GetAdded

func (*PlanAssignmentChange) GetChangeType

func (m *PlanAssignmentChange) GetChangeType() isPlanAssignmentChange_ChangeType

func (*PlanAssignmentChange) GetCurrent

func (*PlanAssignmentChange) GetCurrentViewIndex

func (c *PlanAssignmentChange) GetCurrentViewIndex() int32

func (*PlanAssignmentChange) GetModified

func (*PlanAssignmentChange) GetPlanAssignment

func (c *PlanAssignmentChange) GetPlanAssignment() *PlanAssignment

func (*PlanAssignmentChange) GetPlanAssignmentName

func (c *PlanAssignmentChange) GetPlanAssignmentName() *Name

func (*PlanAssignmentChange) GetPreviousViewIndex

func (c *PlanAssignmentChange) GetPreviousViewIndex() int32

func (*PlanAssignmentChange) GetRawName

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

func (*PlanAssignmentChange) GetRawResource

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

func (*PlanAssignmentChange) GetRemoved

func (*PlanAssignmentChange) GotenMessage

func (*PlanAssignmentChange) GotenMessage()

func (*PlanAssignmentChange) GotenValidate

func (obj *PlanAssignmentChange) GotenValidate() error

func (*PlanAssignmentChange) IsAdd

func (c *PlanAssignmentChange) IsAdd() bool

func (*PlanAssignmentChange) IsCurrent

func (c *PlanAssignmentChange) IsCurrent() bool

func (*PlanAssignmentChange) IsDelete

func (c *PlanAssignmentChange) IsDelete() bool

func (*PlanAssignmentChange) IsModify

func (c *PlanAssignmentChange) IsModify() bool

func (*PlanAssignmentChange) Marshal

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

func (*PlanAssignmentChange) MarshalJSON

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

func (*PlanAssignmentChange) ProtoMessage

func (*PlanAssignmentChange) ProtoMessage()

func (*PlanAssignmentChange) ProtoReflect

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

func (*PlanAssignmentChange) Reset

func (m *PlanAssignmentChange) Reset()

func (*PlanAssignmentChange) SetAdded

func (*PlanAssignmentChange) SetAddedRaw

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

func (*PlanAssignmentChange) SetChangeType

func (m *PlanAssignmentChange) SetChangeType(ofv isPlanAssignmentChange_ChangeType)

func (*PlanAssignmentChange) SetCurrent

func (*PlanAssignmentChange) SetCurrentRaw

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

func (*PlanAssignmentChange) SetDeletedRaw

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

func (*PlanAssignmentChange) SetModified

func (*PlanAssignmentChange) SetModifiedRaw

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

func (*PlanAssignmentChange) SetRemoved

func (*PlanAssignmentChange) String

func (m *PlanAssignmentChange) String() string

func (*PlanAssignmentChange) Unmarshal

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

func (*PlanAssignmentChange) UnmarshalJSON

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

type PlanAssignmentChangeList

type PlanAssignmentChangeList []*PlanAssignmentChange

func (PlanAssignmentChangeList) Append

func (PlanAssignmentChangeList) AppendList

func (PlanAssignmentChangeList) At

func (PlanAssignmentChangeList) Length

func (l PlanAssignmentChangeList) Length() int

func (PlanAssignmentChangeList) Set

func (PlanAssignmentChangeList) Slice

type PlanAssignmentChangeMap

type PlanAssignmentChangeMap map[Name]*PlanAssignmentChange

func (PlanAssignmentChangeMap) Delete

func (PlanAssignmentChangeMap) ForEach

func (PlanAssignmentChangeMap) Get

func (PlanAssignmentChangeMap) Length

func (m PlanAssignmentChangeMap) Length() int

func (PlanAssignmentChangeMap) Set

type PlanAssignmentChange_Added

type PlanAssignmentChange_Added struct {
	PlanAssignment *PlanAssignment `` /* 130-byte string literal not displayed */
	// Integer describing index of added PlanAssignment 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
}

PlanAssignment has been added to query view

func (*PlanAssignmentChange_Added) Descriptor

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

Deprecated, Use PlanAssignmentChange_Added.ProtoReflect.Descriptor instead.

func (*PlanAssignmentChange_Added) GetPlanAssignment

func (m *PlanAssignmentChange_Added) GetPlanAssignment() *PlanAssignment

func (*PlanAssignmentChange_Added) GetViewIndex

func (m *PlanAssignmentChange_Added) GetViewIndex() int32

func (*PlanAssignmentChange_Added) GotenMessage

func (*PlanAssignmentChange_Added) GotenMessage()

func (*PlanAssignmentChange_Added) GotenValidate

func (obj *PlanAssignmentChange_Added) GotenValidate() error

func (*PlanAssignmentChange_Added) Marshal

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

func (*PlanAssignmentChange_Added) MarshalJSON

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

func (*PlanAssignmentChange_Added) ProtoMessage

func (*PlanAssignmentChange_Added) ProtoMessage()

func (*PlanAssignmentChange_Added) ProtoReflect

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

func (*PlanAssignmentChange_Added) Reset

func (m *PlanAssignmentChange_Added) Reset()

func (*PlanAssignmentChange_Added) SetPlanAssignment

func (m *PlanAssignmentChange_Added) SetPlanAssignment(fv *PlanAssignment)

func (*PlanAssignmentChange_Added) SetViewIndex

func (m *PlanAssignmentChange_Added) SetViewIndex(fv int32)

func (*PlanAssignmentChange_Added) String

func (m *PlanAssignmentChange_Added) String() string

func (*PlanAssignmentChange_Added) Unmarshal

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

func (*PlanAssignmentChange_Added) UnmarshalJSON

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

type PlanAssignmentChange_Added_

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

type PlanAssignmentChange_Current

type PlanAssignmentChange_Current struct {
	PlanAssignment *PlanAssignment `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*PlanAssignmentChange_Current) Descriptor

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

Deprecated, Use PlanAssignmentChange_Current.ProtoReflect.Descriptor instead.

func (*PlanAssignmentChange_Current) GetPlanAssignment

func (m *PlanAssignmentChange_Current) GetPlanAssignment() *PlanAssignment

func (*PlanAssignmentChange_Current) GotenMessage

func (*PlanAssignmentChange_Current) GotenMessage()

func (*PlanAssignmentChange_Current) GotenValidate

func (obj *PlanAssignmentChange_Current) GotenValidate() error

func (*PlanAssignmentChange_Current) Marshal

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

func (*PlanAssignmentChange_Current) MarshalJSON

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

func (*PlanAssignmentChange_Current) ProtoMessage

func (*PlanAssignmentChange_Current) ProtoMessage()

func (*PlanAssignmentChange_Current) ProtoReflect

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

func (*PlanAssignmentChange_Current) Reset

func (m *PlanAssignmentChange_Current) Reset()

func (*PlanAssignmentChange_Current) SetPlanAssignment

func (m *PlanAssignmentChange_Current) SetPlanAssignment(fv *PlanAssignment)

func (*PlanAssignmentChange_Current) String

func (*PlanAssignmentChange_Current) Unmarshal

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

func (*PlanAssignmentChange_Current) UnmarshalJSON

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

type PlanAssignmentChange_Current_

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

type PlanAssignmentChange_Modified

type PlanAssignmentChange_Modified struct {

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

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

func (*PlanAssignmentChange_Modified) Descriptor

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

Deprecated, Use PlanAssignmentChange_Modified.ProtoReflect.Descriptor instead.

func (*PlanAssignmentChange_Modified) GetFieldMask

func (*PlanAssignmentChange_Modified) GetName

func (m *PlanAssignmentChange_Modified) GetName() *Name

func (*PlanAssignmentChange_Modified) GetPlanAssignment

func (m *PlanAssignmentChange_Modified) GetPlanAssignment() *PlanAssignment

func (*PlanAssignmentChange_Modified) GetPreviousViewIndex

func (m *PlanAssignmentChange_Modified) GetPreviousViewIndex() int32

func (*PlanAssignmentChange_Modified) GetViewIndex

func (m *PlanAssignmentChange_Modified) GetViewIndex() int32

func (*PlanAssignmentChange_Modified) GotenMessage

func (*PlanAssignmentChange_Modified) GotenMessage()

func (*PlanAssignmentChange_Modified) GotenValidate

func (obj *PlanAssignmentChange_Modified) GotenValidate() error

func (*PlanAssignmentChange_Modified) Marshal

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

func (*PlanAssignmentChange_Modified) MarshalJSON

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

func (*PlanAssignmentChange_Modified) ProtoMessage

func (*PlanAssignmentChange_Modified) ProtoMessage()

func (*PlanAssignmentChange_Modified) ProtoReflect

func (*PlanAssignmentChange_Modified) Reset

func (m *PlanAssignmentChange_Modified) Reset()

func (*PlanAssignmentChange_Modified) SetFieldMask

func (*PlanAssignmentChange_Modified) SetName

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

func (*PlanAssignmentChange_Modified) SetPlanAssignment

func (m *PlanAssignmentChange_Modified) SetPlanAssignment(fv *PlanAssignment)

func (*PlanAssignmentChange_Modified) SetPreviousViewIndex

func (m *PlanAssignmentChange_Modified) SetPreviousViewIndex(fv int32)

func (*PlanAssignmentChange_Modified) SetViewIndex

func (m *PlanAssignmentChange_Modified) SetViewIndex(fv int32)

func (*PlanAssignmentChange_Modified) String

func (*PlanAssignmentChange_Modified) Unmarshal

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

func (*PlanAssignmentChange_Modified) UnmarshalJSON

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

type PlanAssignmentChange_Modified_

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

type PlanAssignmentChange_Removed

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

func (*PlanAssignmentChange_Removed) Descriptor

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

Deprecated, Use PlanAssignmentChange_Removed.ProtoReflect.Descriptor instead.

func (*PlanAssignmentChange_Removed) GetName

func (m *PlanAssignmentChange_Removed) GetName() *Name

func (*PlanAssignmentChange_Removed) GetViewIndex

func (m *PlanAssignmentChange_Removed) GetViewIndex() int32

func (*PlanAssignmentChange_Removed) GotenMessage

func (*PlanAssignmentChange_Removed) GotenMessage()

func (*PlanAssignmentChange_Removed) GotenValidate

func (obj *PlanAssignmentChange_Removed) GotenValidate() error

func (*PlanAssignmentChange_Removed) Marshal

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

func (*PlanAssignmentChange_Removed) MarshalJSON

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

func (*PlanAssignmentChange_Removed) ProtoMessage

func (*PlanAssignmentChange_Removed) ProtoMessage()

func (*PlanAssignmentChange_Removed) ProtoReflect

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

func (*PlanAssignmentChange_Removed) Reset

func (m *PlanAssignmentChange_Removed) Reset()

func (*PlanAssignmentChange_Removed) SetName

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

func (*PlanAssignmentChange_Removed) SetViewIndex

func (m *PlanAssignmentChange_Removed) SetViewIndex(fv int32)

func (*PlanAssignmentChange_Removed) String

func (*PlanAssignmentChange_Removed) Unmarshal

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

func (*PlanAssignmentChange_Removed) UnmarshalJSON

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

type PlanAssignmentChange_Removed_

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

type PlanAssignmentFieldPathBuilder

type PlanAssignmentFieldPathBuilder struct{}

func NewPlanAssignmentFieldPathBuilder

func NewPlanAssignmentFieldPathBuilder() PlanAssignmentFieldPathBuilder

func (PlanAssignmentFieldPathBuilder) Extensions

func (PlanAssignmentFieldPathBuilder) Metadata

func (PlanAssignmentFieldPathBuilder) Name

func (PlanAssignmentFieldPathBuilder) Plan

func (PlanAssignmentFieldPathBuilder) RegionalDistributions

func (PlanAssignmentFieldPathBuilder) Service

func (PlanAssignmentFieldPathBuilder) Source

type PlanAssignmentList

type PlanAssignmentList []*PlanAssignment

func (PlanAssignmentList) Append

func (PlanAssignmentList) AppendList

func (PlanAssignmentList) At

func (PlanAssignmentList) Length

func (l PlanAssignmentList) Length() int

func (PlanAssignmentList) Set

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

func (PlanAssignmentList) Slice

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

type PlanAssignmentMap

type PlanAssignmentMap map[Name]*PlanAssignment

func (PlanAssignmentMap) Delete

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

func (PlanAssignmentMap) ForEach

func (PlanAssignmentMap) Get

func (PlanAssignmentMap) Length

func (m PlanAssignmentMap) Length() int

func (PlanAssignmentMap) Set

type PlanAssignmentMapPathSelectorMetadataAnnotations

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

func (PlanAssignmentMapPathSelectorMetadataAnnotations) FieldPath

func (PlanAssignmentMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (PlanAssignmentMapPathSelectorMetadataAnnotations) WithValue

type PlanAssignmentMapPathSelectorMetadataLabels

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

func (PlanAssignmentMapPathSelectorMetadataLabels) FieldPath

func (PlanAssignmentMapPathSelectorMetadataLabels) WithArrayOfValues

func (PlanAssignmentMapPathSelectorMetadataLabels) WithValue

type PlanAssignmentMapPathSelectorMetadataShards

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

func (PlanAssignmentMapPathSelectorMetadataShards) FieldPath

func (PlanAssignmentMapPathSelectorMetadataShards) WithArrayOfValues

func (PlanAssignmentMapPathSelectorMetadataShards) WithValue

type PlanAssignmentMapPathSelectorRegionalDistributionsLimitsByRegion

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

func (PlanAssignmentMapPathSelectorRegionalDistributionsLimitsByRegion) FieldPath

func (PlanAssignmentMapPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues

func (PlanAssignmentMapPathSelectorRegionalDistributionsLimitsByRegion) WithValue

type PlanAssignmentNameList

type PlanAssignmentNameList []*Name

func (PlanAssignmentNameList) Append

func (PlanAssignmentNameList) AppendList

func (PlanAssignmentNameList) At

func (PlanAssignmentNameList) Length

func (l PlanAssignmentNameList) Length() int

func (PlanAssignmentNameList) Set

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

func (PlanAssignmentNameList) Slice

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

type PlanAssignmentParentNameList

type PlanAssignmentParentNameList []*ParentName

func (PlanAssignmentParentNameList) Append

func (PlanAssignmentParentNameList) AppendList

func (PlanAssignmentParentNameList) At

func (PlanAssignmentParentNameList) Length

func (l PlanAssignmentParentNameList) Length() int

func (PlanAssignmentParentNameList) Set

func (PlanAssignmentParentNameList) Slice

type PlanAssignmentParentReferenceList

type PlanAssignmentParentReferenceList []*ParentReference

func (PlanAssignmentParentReferenceList) Append

func (PlanAssignmentParentReferenceList) AppendList

func (PlanAssignmentParentReferenceList) At

func (PlanAssignmentParentReferenceList) Length

func (PlanAssignmentParentReferenceList) Set

func (PlanAssignmentParentReferenceList) Slice

type PlanAssignmentPathSelectorExtensions

type PlanAssignmentPathSelectorExtensions struct{}

func (PlanAssignmentPathSelectorExtensions) FieldPath

func (PlanAssignmentPathSelectorExtensions) Resource

func (PlanAssignmentPathSelectorExtensions) Value

func (PlanAssignmentPathSelectorExtensions) WithArrayOfValues

func (PlanAssignmentPathSelectorExtensions) WithItemValue

func (PlanAssignmentPathSelectorExtensions) WithSubArrayItemValue

func (PlanAssignmentPathSelectorExtensions) WithSubArrayOfValues

func (PlanAssignmentPathSelectorExtensions) WithSubPath

func (PlanAssignmentPathSelectorExtensions) WithSubValue

func (PlanAssignmentPathSelectorExtensions) WithValue

type PlanAssignmentPathSelectorExtensionsResource

type PlanAssignmentPathSelectorExtensionsResource struct{}

func (PlanAssignmentPathSelectorExtensionsResource) FieldPath

func (PlanAssignmentPathSelectorExtensionsResource) WithArrayOfValues

func (PlanAssignmentPathSelectorExtensionsResource) WithValue

type PlanAssignmentPathSelectorExtensionsValue

type PlanAssignmentPathSelectorExtensionsValue struct{}

func (PlanAssignmentPathSelectorExtensionsValue) FieldPath

func (PlanAssignmentPathSelectorExtensionsValue) WithArrayOfValues

func (PlanAssignmentPathSelectorExtensionsValue) WithValue

type PlanAssignmentPathSelectorMetadata

type PlanAssignmentPathSelectorMetadata struct{}

func (PlanAssignmentPathSelectorMetadata) Annotations

func (PlanAssignmentPathSelectorMetadata) CreateTime

func (PlanAssignmentPathSelectorMetadata) DeleteTime added in v0.8.0

func (PlanAssignmentPathSelectorMetadata) FieldPath

func (PlanAssignmentPathSelectorMetadata) Generation

func (PlanAssignmentPathSelectorMetadata) Labels

func (PlanAssignmentPathSelectorMetadata) Lifecycle added in v0.8.0

func (PlanAssignmentPathSelectorMetadata) OwnerReferences

func (PlanAssignmentPathSelectorMetadata) ResourceVersion

func (PlanAssignmentPathSelectorMetadata) Services added in v1.0.21

func (PlanAssignmentPathSelectorMetadata) Shards

func (PlanAssignmentPathSelectorMetadata) Syncing

func (PlanAssignmentPathSelectorMetadata) Tags

func (PlanAssignmentPathSelectorMetadata) UpdateTime

func (PlanAssignmentPathSelectorMetadata) Uuid

func (PlanAssignmentPathSelectorMetadata) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadata) WithSubArrayItemValue

func (PlanAssignmentPathSelectorMetadata) WithSubArrayOfValues

func (PlanAssignmentPathSelectorMetadata) WithSubPath

func (PlanAssignmentPathSelectorMetadata) WithSubValue

func (PlanAssignmentPathSelectorMetadata) WithValue

type PlanAssignmentPathSelectorMetadataAnnotations

type PlanAssignmentPathSelectorMetadataAnnotations struct{}

func (PlanAssignmentPathSelectorMetadataAnnotations) FieldPath

func (PlanAssignmentPathSelectorMetadataAnnotations) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataAnnotations) WithKey

func (PlanAssignmentPathSelectorMetadataAnnotations) WithValue

type PlanAssignmentPathSelectorMetadataCreateTime

type PlanAssignmentPathSelectorMetadataCreateTime struct{}

func (PlanAssignmentPathSelectorMetadataCreateTime) FieldPath

func (PlanAssignmentPathSelectorMetadataCreateTime) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataCreateTime) WithValue

type PlanAssignmentPathSelectorMetadataDeleteTime added in v0.8.0

type PlanAssignmentPathSelectorMetadataDeleteTime struct{}

func (PlanAssignmentPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataGeneration

type PlanAssignmentPathSelectorMetadataGeneration struct{}

func (PlanAssignmentPathSelectorMetadataGeneration) FieldPath

func (PlanAssignmentPathSelectorMetadataGeneration) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataGeneration) WithValue

type PlanAssignmentPathSelectorMetadataLabels

type PlanAssignmentPathSelectorMetadataLabels struct{}

func (PlanAssignmentPathSelectorMetadataLabels) FieldPath

func (PlanAssignmentPathSelectorMetadataLabels) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataLabels) WithKey

func (PlanAssignmentPathSelectorMetadataLabels) WithValue

type PlanAssignmentPathSelectorMetadataLifecycle added in v0.8.0

type PlanAssignmentPathSelectorMetadataLifecycle struct{}

func (PlanAssignmentPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycle) State added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion struct{}

func (PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataLifecycleState added in v0.8.0

type PlanAssignmentPathSelectorMetadataLifecycleState struct{}

func (PlanAssignmentPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferences

type PlanAssignmentPathSelectorMetadataOwnerReferences struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferences) Controller

func (PlanAssignmentPathSelectorMetadataOwnerReferences) FieldPath

func (PlanAssignmentPathSelectorMetadataOwnerReferences) Kind

func (PlanAssignmentPathSelectorMetadataOwnerReferences) Name

func (PlanAssignmentPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataOwnerReferences) WithItemValue

func (PlanAssignmentPathSelectorMetadataOwnerReferences) WithValue

type PlanAssignmentPathSelectorMetadataOwnerReferencesController

type PlanAssignmentPathSelectorMetadataOwnerReferencesController struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesController) FieldPath

func (PlanAssignmentPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataOwnerReferencesController) WithValue

type PlanAssignmentPathSelectorMetadataOwnerReferencesKind

type PlanAssignmentPathSelectorMetadataOwnerReferencesKind struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesKind) FieldPath

func (PlanAssignmentPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataOwnerReferencesKind) WithValue

type PlanAssignmentPathSelectorMetadataOwnerReferencesName

type PlanAssignmentPathSelectorMetadataOwnerReferencesName struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesName) FieldPath

func (PlanAssignmentPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataOwnerReferencesName) WithValue

type PlanAssignmentPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferencesRegion struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type PlanAssignmentPathSelectorMetadataOwnerReferencesVersion struct{}

func (PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (PlanAssignmentPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type PlanAssignmentPathSelectorMetadataResourceVersion

type PlanAssignmentPathSelectorMetadataResourceVersion struct{}

func (PlanAssignmentPathSelectorMetadataResourceVersion) FieldPath

func (PlanAssignmentPathSelectorMetadataResourceVersion) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataResourceVersion) WithValue

type PlanAssignmentPathSelectorMetadataServices added in v1.0.21

type PlanAssignmentPathSelectorMetadataServices struct{}

func (PlanAssignmentPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServices) FieldPath added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServices) OwningService added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServices) WithValue added in v1.0.21

type PlanAssignmentPathSelectorMetadataServicesAllowedServices added in v1.0.21

type PlanAssignmentPathSelectorMetadataServicesAllowedServices struct{}

func (PlanAssignmentPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type PlanAssignmentPathSelectorMetadataServicesOwningService added in v1.0.21

type PlanAssignmentPathSelectorMetadataServicesOwningService struct{}

func (PlanAssignmentPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (PlanAssignmentPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type PlanAssignmentPathSelectorMetadataShards

type PlanAssignmentPathSelectorMetadataShards struct{}

func (PlanAssignmentPathSelectorMetadataShards) FieldPath

func (PlanAssignmentPathSelectorMetadataShards) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataShards) WithKey

func (PlanAssignmentPathSelectorMetadataShards) WithValue

type PlanAssignmentPathSelectorMetadataSyncing

type PlanAssignmentPathSelectorMetadataSyncing struct{}

func (PlanAssignmentPathSelectorMetadataSyncing) FieldPath

func (PlanAssignmentPathSelectorMetadataSyncing) OwningRegion

func (PlanAssignmentPathSelectorMetadataSyncing) Regions

func (PlanAssignmentPathSelectorMetadataSyncing) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataSyncing) WithValue

type PlanAssignmentPathSelectorMetadataSyncingOwningRegion

type PlanAssignmentPathSelectorMetadataSyncingOwningRegion struct{}

func (PlanAssignmentPathSelectorMetadataSyncingOwningRegion) FieldPath

func (PlanAssignmentPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataSyncingOwningRegion) WithValue

type PlanAssignmentPathSelectorMetadataSyncingRegions

type PlanAssignmentPathSelectorMetadataSyncingRegions struct{}

func (PlanAssignmentPathSelectorMetadataSyncingRegions) FieldPath

func (PlanAssignmentPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataSyncingRegions) WithItemValue

func (PlanAssignmentPathSelectorMetadataSyncingRegions) WithValue

type PlanAssignmentPathSelectorMetadataTags

type PlanAssignmentPathSelectorMetadataTags struct{}

func (PlanAssignmentPathSelectorMetadataTags) FieldPath

func (PlanAssignmentPathSelectorMetadataTags) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataTags) WithItemValue

func (PlanAssignmentPathSelectorMetadataTags) WithValue

type PlanAssignmentPathSelectorMetadataUpdateTime

type PlanAssignmentPathSelectorMetadataUpdateTime struct{}

func (PlanAssignmentPathSelectorMetadataUpdateTime) FieldPath

func (PlanAssignmentPathSelectorMetadataUpdateTime) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataUpdateTime) WithValue

type PlanAssignmentPathSelectorMetadataUuid

type PlanAssignmentPathSelectorMetadataUuid struct{}

func (PlanAssignmentPathSelectorMetadataUuid) FieldPath

func (PlanAssignmentPathSelectorMetadataUuid) WithArrayOfValues

func (PlanAssignmentPathSelectorMetadataUuid) WithValue

type PlanAssignmentPathSelectorName

type PlanAssignmentPathSelectorName struct{}

func (PlanAssignmentPathSelectorName) FieldPath

func (PlanAssignmentPathSelectorName) WithArrayOfValues

func (PlanAssignmentPathSelectorName) WithValue

type PlanAssignmentPathSelectorPlan

type PlanAssignmentPathSelectorPlan struct{}

func (PlanAssignmentPathSelectorPlan) FieldPath

func (PlanAssignmentPathSelectorPlan) WithArrayOfValues

func (PlanAssignmentPathSelectorPlan) WithValue

type PlanAssignmentPathSelectorRegionalDistributions

type PlanAssignmentPathSelectorRegionalDistributions struct{}

func (PlanAssignmentPathSelectorRegionalDistributions) FieldPath

func (PlanAssignmentPathSelectorRegionalDistributions) LimitsByRegion

func (PlanAssignmentPathSelectorRegionalDistributions) Resource

func (PlanAssignmentPathSelectorRegionalDistributions) WithArrayOfValues

func (PlanAssignmentPathSelectorRegionalDistributions) WithItemValue

func (PlanAssignmentPathSelectorRegionalDistributions) WithSubArrayItemValue

func (PlanAssignmentPathSelectorRegionalDistributions) WithSubArrayOfValues

func (PlanAssignmentPathSelectorRegionalDistributions) WithSubPath

func (PlanAssignmentPathSelectorRegionalDistributions) WithSubValue

func (PlanAssignmentPathSelectorRegionalDistributions) WithValue

type PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion

type PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion struct{}

func (PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion) FieldPath

func (PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion) WithArrayOfValues

func (PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion) WithKey

func (PlanAssignmentPathSelectorRegionalDistributionsLimitsByRegion) WithValue

type PlanAssignmentPathSelectorRegionalDistributionsResource

type PlanAssignmentPathSelectorRegionalDistributionsResource struct{}

func (PlanAssignmentPathSelectorRegionalDistributionsResource) FieldPath

func (PlanAssignmentPathSelectorRegionalDistributionsResource) WithArrayOfValues

func (PlanAssignmentPathSelectorRegionalDistributionsResource) WithValue

type PlanAssignmentPathSelectorService

type PlanAssignmentPathSelectorService struct{}

func (PlanAssignmentPathSelectorService) FieldPath

func (PlanAssignmentPathSelectorService) WithArrayOfValues

func (PlanAssignmentPathSelectorService) WithValue

type PlanAssignmentPathSelectorSource

type PlanAssignmentPathSelectorSource struct{}

func (PlanAssignmentPathSelectorSource) FieldPath

func (PlanAssignmentPathSelectorSource) WithArrayOfValues

func (PlanAssignmentPathSelectorSource) WithValue

type PlanAssignmentReferenceList

type PlanAssignmentReferenceList []*Reference

func (PlanAssignmentReferenceList) Append

func (PlanAssignmentReferenceList) AppendList

func (PlanAssignmentReferenceList) At

func (PlanAssignmentReferenceList) Length

func (l PlanAssignmentReferenceList) Length() int

func (PlanAssignmentReferenceList) Set

func (PlanAssignmentReferenceList) Slice

type PlanAssignment_FieldMask

type PlanAssignment_FieldMask struct {
	Paths []PlanAssignment_FieldPath
}

func FullPlanAssignment_FieldMask

func FullPlanAssignment_FieldMask() *PlanAssignment_FieldMask

func ResourceViewFieldMask

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

func (*PlanAssignment_FieldMask) AppendPath

func (fieldMask *PlanAssignment_FieldMask) AppendPath(path PlanAssignment_FieldPath)

func (*PlanAssignment_FieldMask) AppendRawPath

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

func (*PlanAssignment_FieldMask) DecodeFirestore

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

func (*PlanAssignment_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*PlanAssignment_FieldMask) FilterInputFields

func (fieldMask *PlanAssignment_FieldMask) FilterInputFields() *PlanAssignment_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*PlanAssignment_FieldMask) FromProtoFieldMask

func (fieldMask *PlanAssignment_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*PlanAssignment_FieldMask) GetPaths

func (fieldMask *PlanAssignment_FieldMask) GetPaths() []PlanAssignment_FieldPath

func (*PlanAssignment_FieldMask) GetRawPaths

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

func (*PlanAssignment_FieldMask) IsFull

func (fieldMask *PlanAssignment_FieldMask) IsFull() bool

func (PlanAssignment_FieldMask) Marshal

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

implement methods required by customType

func (PlanAssignment_FieldMask) MarshalJSON

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

func (*PlanAssignment_FieldMask) PathsCount

func (fieldMask *PlanAssignment_FieldMask) PathsCount() int

func (*PlanAssignment_FieldMask) Project

func (fieldMask *PlanAssignment_FieldMask) Project(source *PlanAssignment) *PlanAssignment

func (*PlanAssignment_FieldMask) ProjectRaw

func (*PlanAssignment_FieldMask) ProtoMessage

func (fieldMask *PlanAssignment_FieldMask) ProtoMessage()

func (*PlanAssignment_FieldMask) ProtoReflect

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

func (*PlanAssignment_FieldMask) Reset

func (fieldMask *PlanAssignment_FieldMask) Reset()

func (*PlanAssignment_FieldMask) Set

func (fieldMask *PlanAssignment_FieldMask) Set(target, source *PlanAssignment)

func (*PlanAssignment_FieldMask) SetFromCliFlag

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

func (*PlanAssignment_FieldMask) SetRaw

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

func (*PlanAssignment_FieldMask) Size

func (fieldMask *PlanAssignment_FieldMask) Size() int

func (*PlanAssignment_FieldMask) String

func (fieldMask *PlanAssignment_FieldMask) String() string

func (*PlanAssignment_FieldMask) Subtract

func (*PlanAssignment_FieldMask) SubtractRaw

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

func (*PlanAssignment_FieldMask) ToProtoFieldMask

func (fieldMask *PlanAssignment_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*PlanAssignment_FieldMask) Unmarshal

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

func (*PlanAssignment_FieldMask) UnmarshalJSON

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

type PlanAssignment_FieldPath

type PlanAssignment_FieldPath interface {
	gotenobject.FieldPath
	Selector() PlanAssignment_FieldPathSelector
	Get(source *PlanAssignment) []interface{}
	GetSingle(source *PlanAssignment) (interface{}, bool)
	ClearValue(item *PlanAssignment)

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

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

func MustParsePlanAssignment_FieldPath

func MustParsePlanAssignment_FieldPath(rawField string) PlanAssignment_FieldPath

func ParsePlanAssignment_FieldPath

func ParsePlanAssignment_FieldPath(rawField string) (PlanAssignment_FieldPath, error)

type PlanAssignment_FieldPathArrayItemValue

type PlanAssignment_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	PlanAssignment_FieldPath
	ContainsValue(*PlanAssignment) bool
}

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

func MustParsePlanAssignment_FieldPathArrayItemValue

func MustParsePlanAssignment_FieldPathArrayItemValue(pathStr, valueStr string) PlanAssignment_FieldPathArrayItemValue

func ParsePlanAssignment_FieldPathArrayItemValue

func ParsePlanAssignment_FieldPathArrayItemValue(pathStr, valueStr string) (PlanAssignment_FieldPathArrayItemValue, error)

ParsePlanAssignment_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type PlanAssignment_FieldPathArrayOfValues

type PlanAssignment_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	PlanAssignment_FieldPath
}

PlanAssignment_FieldPathArrayOfValues allows storing slice of values for PlanAssignment fields according to their type

func MustParsePlanAssignment_FieldPathArrayOfValues

func MustParsePlanAssignment_FieldPathArrayOfValues(pathStr, valuesStr string) PlanAssignment_FieldPathArrayOfValues

func ParsePlanAssignment_FieldPathArrayOfValues

func ParsePlanAssignment_FieldPathArrayOfValues(pathStr, valuesStr string) (PlanAssignment_FieldPathArrayOfValues, error)

type PlanAssignment_FieldPathSelector

type PlanAssignment_FieldPathSelector int32
const (
	PlanAssignment_FieldPathSelectorName                  PlanAssignment_FieldPathSelector = 0
	PlanAssignment_FieldPathSelectorPlan                  PlanAssignment_FieldPathSelector = 1
	PlanAssignment_FieldPathSelectorService               PlanAssignment_FieldPathSelector = 2
	PlanAssignment_FieldPathSelectorExtensions            PlanAssignment_FieldPathSelector = 3
	PlanAssignment_FieldPathSelectorRegionalDistributions PlanAssignment_FieldPathSelector = 4
	PlanAssignment_FieldPathSelectorSource                PlanAssignment_FieldPathSelector = 5
	PlanAssignment_FieldPathSelectorMetadata              PlanAssignment_FieldPathSelector = 6
)

func (PlanAssignment_FieldPathSelector) String

type PlanAssignment_FieldPathValue

type PlanAssignment_FieldPathValue interface {
	PlanAssignment_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **PlanAssignment)
	CompareWith(*PlanAssignment) (cmp int, comparable bool)
}

PlanAssignment_FieldPathValue allows storing values for PlanAssignment fields according to their type

func MustParsePlanAssignment_FieldPathValue

func MustParsePlanAssignment_FieldPathValue(pathStr, valueStr string) PlanAssignment_FieldPathValue

func ParsePlanAssignment_FieldPathValue

func ParsePlanAssignment_FieldPathValue(pathStr, valueStr string) (PlanAssignment_FieldPathValue, error)

type PlanAssignment_FieldSubPath

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

func (*PlanAssignment_FieldSubPath) AsExtensionsSubPath

func (fps *PlanAssignment_FieldSubPath) AsExtensionsSubPath() (common.Allowance_FieldPath, bool)

func (*PlanAssignment_FieldSubPath) AsMetadataSubPath

func (fps *PlanAssignment_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*PlanAssignment_FieldSubPath) AsRegionalDistributionsSubPath

func (fps *PlanAssignment_FieldSubPath) AsRegionalDistributionsSubPath() (common.RegionalDistribution_FieldPath, bool)

func (*PlanAssignment_FieldSubPath) ClearValue

func (fps *PlanAssignment_FieldSubPath) ClearValue(item *PlanAssignment)

func (*PlanAssignment_FieldSubPath) ClearValueRaw

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

func (*PlanAssignment_FieldSubPath) Get

func (fps *PlanAssignment_FieldSubPath) Get(source *PlanAssignment) (values []interface{})

Get returns all values pointed by selected field from source PlanAssignment

func (*PlanAssignment_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*PlanAssignment_FieldSubPath) GetRaw

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

func (*PlanAssignment_FieldSubPath) GetSingle

func (fps *PlanAssignment_FieldSubPath) GetSingle(source *PlanAssignment) (interface{}, bool)

GetSingle returns value of selected field from source PlanAssignment

func (*PlanAssignment_FieldSubPath) GetSingleRaw

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

func (*PlanAssignment_FieldSubPath) IsLeaf

func (fps *PlanAssignment_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*PlanAssignment_FieldSubPath) JSONString

func (fps *PlanAssignment_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*PlanAssignment_FieldSubPath) Selector

func (*PlanAssignment_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*PlanAssignment_FieldSubPath) String

func (fps *PlanAssignment_FieldSubPath) String() string

String returns path representation in proto convention

func (*PlanAssignment_FieldSubPath) WithIArrayItemValue

func (fps *PlanAssignment_FieldSubPath) WithIArrayItemValue(value interface{}) PlanAssignment_FieldPathArrayItemValue

func (*PlanAssignment_FieldSubPath) WithIArrayOfValues

func (fps *PlanAssignment_FieldSubPath) WithIArrayOfValues(values interface{}) PlanAssignment_FieldPathArrayOfValues

func (*PlanAssignment_FieldSubPath) WithIValue

func (fps *PlanAssignment_FieldSubPath) WithIValue(value interface{}) PlanAssignment_FieldPathValue

func (*PlanAssignment_FieldSubPath) WithRawIArrayItemValue

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

func (*PlanAssignment_FieldSubPath) WithRawIArrayOfValues

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

func (*PlanAssignment_FieldSubPath) WithRawIValue

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

type PlanAssignment_FieldSubPathArrayItemValue

type PlanAssignment_FieldSubPathArrayItemValue struct {
	PlanAssignment_FieldPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldSubPathArrayItemValue) AsExtensionsPathItemValue

func (*PlanAssignment_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*PlanAssignment_FieldSubPathArrayItemValue) AsRegionalDistributionsPathItemValue

func (*PlanAssignment_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *PlanAssignment_FieldSubPathArrayItemValue) ContainsValue(source *PlanAssignment) bool

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

func (*PlanAssignment_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type PlanAssignment_FieldSubPathArrayOfValues

type PlanAssignment_FieldSubPathArrayOfValues struct {
	PlanAssignment_FieldPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldSubPathArrayOfValues) AsExtensionsPathArrayOfValues

func (fpsaov *PlanAssignment_FieldSubPathArrayOfValues) AsExtensionsPathArrayOfValues() (common.Allowance_FieldPathArrayOfValues, bool)

func (*PlanAssignment_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *PlanAssignment_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*PlanAssignment_FieldSubPathArrayOfValues) AsRegionalDistributionsPathArrayOfValues

func (fpsaov *PlanAssignment_FieldSubPathArrayOfValues) AsRegionalDistributionsPathArrayOfValues() (common.RegionalDistribution_FieldPathArrayOfValues, bool)

func (*PlanAssignment_FieldSubPathArrayOfValues) GetRawValues

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

type PlanAssignment_FieldSubPathValue

type PlanAssignment_FieldSubPathValue struct {
	PlanAssignment_FieldPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldSubPathValue) AsExtensionsPathValue

func (fpvs *PlanAssignment_FieldSubPathValue) AsExtensionsPathValue() (common.Allowance_FieldPathValue, bool)

func (*PlanAssignment_FieldSubPathValue) AsMetadataPathValue

func (fpvs *PlanAssignment_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*PlanAssignment_FieldSubPathValue) AsRegionalDistributionsPathValue

func (fpvs *PlanAssignment_FieldSubPathValue) AsRegionalDistributionsPathValue() (common.RegionalDistribution_FieldPathValue, bool)

func (*PlanAssignment_FieldSubPathValue) CompareWith

func (fpvs *PlanAssignment_FieldSubPathValue) CompareWith(source *PlanAssignment) (int, bool)

func (*PlanAssignment_FieldSubPathValue) CompareWithRaw

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

func (*PlanAssignment_FieldSubPathValue) GetRawValue

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

func (*PlanAssignment_FieldSubPathValue) SetTo

func (fpvs *PlanAssignment_FieldSubPathValue) SetTo(target **PlanAssignment)

func (*PlanAssignment_FieldSubPathValue) SetToRaw

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

type PlanAssignment_FieldTerminalPath

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

func (*PlanAssignment_FieldTerminalPath) ClearValue

func (fp *PlanAssignment_FieldTerminalPath) ClearValue(item *PlanAssignment)

func (*PlanAssignment_FieldTerminalPath) ClearValueRaw

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

func (*PlanAssignment_FieldTerminalPath) Get

func (fp *PlanAssignment_FieldTerminalPath) Get(source *PlanAssignment) (values []interface{})

Get returns all values pointed by specific field from source PlanAssignment

func (*PlanAssignment_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*PlanAssignment_FieldTerminalPath) GetRaw

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

func (*PlanAssignment_FieldTerminalPath) GetSingle

func (fp *PlanAssignment_FieldTerminalPath) GetSingle(source *PlanAssignment) (interface{}, bool)

GetSingle returns value pointed by specific field of from source PlanAssignment

func (*PlanAssignment_FieldTerminalPath) GetSingleRaw

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

func (*PlanAssignment_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*PlanAssignment_FieldTerminalPath) JSONString

func (fp *PlanAssignment_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*PlanAssignment_FieldTerminalPath) Selector

func (*PlanAssignment_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*PlanAssignment_FieldTerminalPath) String

String returns path representation in proto convention

func (*PlanAssignment_FieldTerminalPath) WithIArrayItemValue

func (fp *PlanAssignment_FieldTerminalPath) WithIArrayItemValue(value interface{}) PlanAssignment_FieldPathArrayItemValue

func (*PlanAssignment_FieldTerminalPath) WithIArrayOfValues

func (fp *PlanAssignment_FieldTerminalPath) WithIArrayOfValues(values interface{}) PlanAssignment_FieldPathArrayOfValues

func (*PlanAssignment_FieldTerminalPath) WithIValue

func (fp *PlanAssignment_FieldTerminalPath) WithIValue(value interface{}) PlanAssignment_FieldPathValue

func (*PlanAssignment_FieldTerminalPath) WithRawIArrayItemValue

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

func (*PlanAssignment_FieldTerminalPath) WithRawIArrayOfValues

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

func (*PlanAssignment_FieldTerminalPath) WithRawIValue

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

type PlanAssignment_FieldTerminalPathArrayItemValue

type PlanAssignment_FieldTerminalPathArrayItemValue struct {
	PlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldTerminalPathArrayItemValue) AsExtensionsItemValue

func (fpaiv *PlanAssignment_FieldTerminalPathArrayItemValue) AsExtensionsItemValue() (*common.Allowance, bool)

func (*PlanAssignment_FieldTerminalPathArrayItemValue) AsRegionalDistributionsItemValue

func (fpaiv *PlanAssignment_FieldTerminalPathArrayItemValue) AsRegionalDistributionsItemValue() (*common.RegionalDistribution, bool)

func (*PlanAssignment_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*PlanAssignment_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*PlanAssignment_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *PlanAssignment_FieldTerminalPathArrayItemValue) GetSingle(source *PlanAssignment) (interface{}, bool)

func (*PlanAssignment_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type PlanAssignment_FieldTerminalPathArrayOfValues

type PlanAssignment_FieldTerminalPathArrayOfValues struct {
	PlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsExtensionsArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsExtensionsArrayOfValues() ([][]*common.Allowance, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsPlanArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsPlanArrayOfValues() ([]*plan.Reference, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsRegionalDistributionsArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsRegionalDistributionsArrayOfValues() ([][]*common.RegionalDistribution, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues() ([]*meta_service.Reference, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues

func (fpaov *PlanAssignment_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues() ([]*accepted_plan.Reference, bool)

func (*PlanAssignment_FieldTerminalPathArrayOfValues) GetRawValues

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

type PlanAssignment_FieldTerminalPathValue

type PlanAssignment_FieldTerminalPathValue struct {
	PlanAssignment_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanAssignment_FieldTerminalPathValue) AsExtensionsValue

func (fpv *PlanAssignment_FieldTerminalPathValue) AsExtensionsValue() ([]*common.Allowance, bool)

func (*PlanAssignment_FieldTerminalPathValue) AsMetadataValue

func (fpv *PlanAssignment_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*PlanAssignment_FieldTerminalPathValue) AsNameValue

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

func (*PlanAssignment_FieldTerminalPathValue) AsPlanValue

func (*PlanAssignment_FieldTerminalPathValue) AsRegionalDistributionsValue

func (fpv *PlanAssignment_FieldTerminalPathValue) AsRegionalDistributionsValue() ([]*common.RegionalDistribution, bool)

func (*PlanAssignment_FieldTerminalPathValue) AsServiceValue

func (*PlanAssignment_FieldTerminalPathValue) AsSourceValue

func (*PlanAssignment_FieldTerminalPathValue) CompareWith

func (fpv *PlanAssignment_FieldTerminalPathValue) CompareWith(source *PlanAssignment) (int, bool)

CompareWith compares value in the 'PlanAssignment_FieldTerminalPathValue' with the value under path in 'PlanAssignment'.

func (*PlanAssignment_FieldTerminalPathValue) CompareWithRaw

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

func (*PlanAssignment_FieldTerminalPathValue) GetRawValue

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

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

func (*PlanAssignment_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object PlanAssignment

func (*PlanAssignment_FieldTerminalPathValue) SetToRaw

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

type QueryResultChange

type QueryResultChange struct {
	Changes        []*PlanAssignmentChange
	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 {
	PlanAssignments   []*PlanAssignment
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*QueryResultSnapshot) GetPrevPageCursor

func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, planAssignment *PlanAssignment) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

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

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

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

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetPlanAssignment

func (ref *Reference) GetPlanAssignment() *PlanAssignment

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

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 WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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