plan

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Service      = "services/{service}/plans/{plan}"
	NamePattern_Organization = "organizations/{organization}/plans/{plan}"
)

Variables

View Source
var (
	Plan_PlanLevel_name = map[int32]string{
		0: "UNDEFINED",
		1: "SERVICE",
		2: "ORGANIZATION",
		3: "PROJECT",
	}

	Plan_PlanLevel_value = map[string]int32{
		"UNDEFINED":    0,
		"SERVICE":      1,
		"ORGANIZATION": 2,
		"PROJECT":      3,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access PlanAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors

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

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

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

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 Plan_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 *Plan) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Plan_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Plan) 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 Plan_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 *Plan) 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 Plan_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

type FilterConditionContains struct {
	Type      gotenresource.ConditionContainsType
	FieldPath Plan_FieldPath

	Value  Plan_FieldPathArrayItemValue
	Values []Plan_FieldPathArrayItemValue
}

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Plan_FieldPath

func (*FilterConditionContains) GetRawFieldPath

func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionContains) GetRawFieldPathItemValue

func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue

func (*FilterConditionContains) GetRawFieldPathItemValues

func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)

func (*FilterConditionContains) Satisfies

func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool

func (*FilterConditionContains) SatisfiesRaw

func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionContains) SpecifiesFieldPath

func (cond *FilterConditionContains) SpecifiesFieldPath(fp Plan_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 {
	Plan_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Plan) 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 Plan_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 Plan_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Plan) 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 Plan_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 Plan_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Plan) 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 Plan_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 *Plan) 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 Plan_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 {
	Plan_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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

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

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	PlanId string `firestore:"planId"`
}

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

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

func (*Name) GetIUnderlyingParentName

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

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

func (*Name) GetSegments

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

func (*Name) GetServiceName

func (name *Name) GetServiceName() *meta_service.Name

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

func (b *NameBuilder) SetService(parent *meta_service.Name) *NameBuilder

func (*NameBuilder) SetServiceId

func (b *NameBuilder) SetServiceId(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 *Plan) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Plan_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 PlanList, elem *Plan) (PlanList, 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 PlanList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Plan_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 *Plan) 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

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ServiceId      string `firestore:"serviceId"`
	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

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

func (*ParentName) ConvertToType

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

func (*ParentName) DescendsFrom

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

func (*ParentName) Equal

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName

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

func (*ParentName) GetIUnderlyingParentName

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

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

func (*ParentName) GetSegments

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

func (*ParentName) GetServiceName

func (name *ParentName) GetServiceName() *meta_service.Name

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

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

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

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

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

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

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

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

func (*ParentReference) GetIUnderlyingParentName

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

func (ref *ParentReference) GetService() *meta_service.Service

func (*ParentReference) GetServiceReference

func (ref *ParentReference) GetServiceReference() *meta_service.Reference

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 Plan

type Plan struct {

	// Name of Plan
	// 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"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Plan display name
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Service where plan applies. If this Plan is a child of Service itself,
	// they must be equal.
	Service *meta_service.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// List of limits per each resource.
	ResourceLimits []*Plan_LimitValue `` /* 130-byte string literal not displayed */
	// Plan level
	PlanLevel Plan_PlanLevel `` /* 145-byte string literal not displayed */
	// Business tier - this only is used to determine default plan when
	// project/organization is created. It is possible to set this value to
	// UNDEFINED rendering this plan as non-default.
	BusinessTier iam_iam_common.BusinessTier `` /* 152-byte string literal not displayed */
	// Spec generation, incremented for every change in resource_limits field.
	Generation int64 `protobuf:"varint,8,opt,name=generation,proto3" json:"generation,omitempty" firestore:"generation"`
	// contains filtered or unexported fields
}

Plan is a bundle with set of limits for various resources in given service. Note that Plan limits are regional. For example, if plan predicts for example 1000 pods and is assigned for resource enabled for 2 regions, then project will be allowed to create 1000 pods in each region.

func (*Plan) Clone

func (o *Plan) Clone() *Plan

func (*Plan) CloneRaw

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

func (*Plan) Descriptor

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

Deprecated, Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) EnsureMetadata

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

func (*Plan) GetBusinessTier

func (m *Plan) GetBusinessTier() iam_iam_common.BusinessTier

func (*Plan) GetDisplayName

func (m *Plan) GetDisplayName() string

func (*Plan) GetGeneration

func (m *Plan) GetGeneration() int64

func (*Plan) GetMetadata

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

func (*Plan) GetName

func (m *Plan) GetName() *Name

func (*Plan) GetPlanLevel

func (m *Plan) GetPlanLevel() Plan_PlanLevel

func (*Plan) GetRawName

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

func (*Plan) GetResourceDescriptor

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

func (*Plan) GetResourceLimits

func (m *Plan) GetResourceLimits() []*Plan_LimitValue

func (*Plan) GetService

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

func (*Plan) GotenMessage

func (*Plan) GotenMessage()

func (*Plan) GotenObjectExt

func (o *Plan) GotenObjectExt()

func (*Plan) GotenValidate

func (obj *Plan) GotenValidate() error

func (*Plan) MakeDiffFieldMask

func (o *Plan) MakeDiffFieldMask(other *Plan) *Plan_FieldMask

func (*Plan) MakeFullFieldMask

func (o *Plan) MakeFullFieldMask() *Plan_FieldMask

func (*Plan) MakeRawDiffFieldMask

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

func (*Plan) MakeRawFullFieldMask

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

func (*Plan) Marshal

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

func (*Plan) MarshalJSON

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

func (*Plan) MaybePopulateDefaults

func (r *Plan) MaybePopulateDefaults() error

func (*Plan) Merge

func (o *Plan) Merge(source *Plan)

func (*Plan) MergeRaw

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

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

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

func (*Plan) Reset

func (m *Plan) Reset()

func (*Plan) SetBusinessTier

func (m *Plan) SetBusinessTier(fv iam_iam_common.BusinessTier)

func (*Plan) SetDisplayName

func (m *Plan) SetDisplayName(fv string)

func (*Plan) SetGeneration

func (m *Plan) SetGeneration(fv int64)

func (*Plan) SetMetadata

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

func (*Plan) SetName

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

func (*Plan) SetPlanLevel

func (m *Plan) SetPlanLevel(fv Plan_PlanLevel)

func (*Plan) SetResourceLimits

func (m *Plan) SetResourceLimits(fv []*Plan_LimitValue)

func (*Plan) SetService

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

func (*Plan) String

func (m *Plan) String() string

func (*Plan) Unmarshal

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

func (*Plan) UnmarshalJSON

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

type PlanChange

type PlanChange struct {

	// Plan change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*PlanChange_Added_
	//	*PlanChange_Modified_
	//	*PlanChange_Current_
	//	*PlanChange_Removed_
	ChangeType isPlanChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*PlanChange) Descriptor

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

Deprecated, Use PlanChange.ProtoReflect.Descriptor instead.

func (*PlanChange) GetAdded

func (m *PlanChange) GetAdded() *PlanChange_Added

func (*PlanChange) GetChangeType

func (m *PlanChange) GetChangeType() isPlanChange_ChangeType

func (*PlanChange) GetCurrent

func (m *PlanChange) GetCurrent() *PlanChange_Current

func (*PlanChange) GetCurrentViewIndex

func (c *PlanChange) GetCurrentViewIndex() int32

func (*PlanChange) GetModified

func (m *PlanChange) GetModified() *PlanChange_Modified

func (*PlanChange) GetPlan

func (c *PlanChange) GetPlan() *Plan

func (*PlanChange) GetPlanName

func (c *PlanChange) GetPlanName() *Name

func (*PlanChange) GetPreviousViewIndex

func (c *PlanChange) GetPreviousViewIndex() int32

func (*PlanChange) GetRawName

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

func (*PlanChange) GetRawResource

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

func (*PlanChange) GetRemoved

func (m *PlanChange) GetRemoved() *PlanChange_Removed

func (*PlanChange) GotenMessage

func (*PlanChange) GotenMessage()

func (*PlanChange) GotenValidate

func (obj *PlanChange) GotenValidate() error

func (*PlanChange) IsAdd

func (c *PlanChange) IsAdd() bool

func (*PlanChange) IsCurrent

func (c *PlanChange) IsCurrent() bool

func (*PlanChange) IsDelete

func (c *PlanChange) IsDelete() bool

func (*PlanChange) IsModify

func (c *PlanChange) IsModify() bool

func (*PlanChange) Marshal

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

func (*PlanChange) MarshalJSON

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

func (*PlanChange) ProtoMessage

func (*PlanChange) ProtoMessage()

func (*PlanChange) ProtoReflect

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

func (*PlanChange) Reset

func (m *PlanChange) Reset()

func (*PlanChange) SetAdded

func (m *PlanChange) SetAdded(fv *PlanChange_Added)

func (*PlanChange) SetAddedRaw

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

func (*PlanChange) SetChangeType

func (m *PlanChange) SetChangeType(ofv isPlanChange_ChangeType)

func (*PlanChange) SetCurrent

func (m *PlanChange) SetCurrent(fv *PlanChange_Current)

func (*PlanChange) SetCurrentRaw

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

func (*PlanChange) SetDeletedRaw

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

func (*PlanChange) SetModified

func (m *PlanChange) SetModified(fv *PlanChange_Modified)

func (*PlanChange) SetModifiedRaw

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

func (*PlanChange) SetRemoved

func (m *PlanChange) SetRemoved(fv *PlanChange_Removed)

func (*PlanChange) String

func (m *PlanChange) String() string

func (*PlanChange) Unmarshal

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

func (*PlanChange) UnmarshalJSON

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

type PlanChangeList

type PlanChangeList []*PlanChange

func (PlanChangeList) At

func (PlanChangeList) Length

func (l PlanChangeList) Length() int

func (PlanChangeList) Set

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

func (PlanChangeList) Slice

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

type PlanChangeMap

type PlanChangeMap map[Name]*PlanChange

func (PlanChangeMap) Delete

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

func (PlanChangeMap) ForEach

func (PlanChangeMap) Get

func (PlanChangeMap) Length

func (m PlanChangeMap) Length() int

func (PlanChangeMap) Set

type PlanChange_Added

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

Plan has been added to query view

func (*PlanChange_Added) Descriptor

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

Deprecated, Use PlanChange_Added.ProtoReflect.Descriptor instead.

func (*PlanChange_Added) GetPlan

func (m *PlanChange_Added) GetPlan() *Plan

func (*PlanChange_Added) GetViewIndex

func (m *PlanChange_Added) GetViewIndex() int32

func (*PlanChange_Added) GotenMessage

func (*PlanChange_Added) GotenMessage()

func (*PlanChange_Added) GotenValidate

func (obj *PlanChange_Added) GotenValidate() error

func (*PlanChange_Added) Marshal

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

func (*PlanChange_Added) MarshalJSON

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

func (*PlanChange_Added) ProtoMessage

func (*PlanChange_Added) ProtoMessage()

func (*PlanChange_Added) ProtoReflect

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

func (*PlanChange_Added) Reset

func (m *PlanChange_Added) Reset()

func (*PlanChange_Added) SetPlan

func (m *PlanChange_Added) SetPlan(fv *Plan)

func (*PlanChange_Added) SetViewIndex

func (m *PlanChange_Added) SetViewIndex(fv int32)

func (*PlanChange_Added) String

func (m *PlanChange_Added) String() string

func (*PlanChange_Added) Unmarshal

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

func (*PlanChange_Added) UnmarshalJSON

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

type PlanChange_Added_

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

type PlanChange_Current

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

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

func (*PlanChange_Current) Descriptor

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

Deprecated, Use PlanChange_Current.ProtoReflect.Descriptor instead.

func (*PlanChange_Current) GetPlan

func (m *PlanChange_Current) GetPlan() *Plan

func (*PlanChange_Current) GotenMessage

func (*PlanChange_Current) GotenMessage()

func (*PlanChange_Current) GotenValidate

func (obj *PlanChange_Current) GotenValidate() error

func (*PlanChange_Current) Marshal

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

func (*PlanChange_Current) MarshalJSON

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

func (*PlanChange_Current) ProtoMessage

func (*PlanChange_Current) ProtoMessage()

func (*PlanChange_Current) ProtoReflect

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

func (*PlanChange_Current) Reset

func (m *PlanChange_Current) Reset()

func (*PlanChange_Current) SetPlan

func (m *PlanChange_Current) SetPlan(fv *Plan)

func (*PlanChange_Current) String

func (m *PlanChange_Current) String() string

func (*PlanChange_Current) Unmarshal

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

func (*PlanChange_Current) UnmarshalJSON

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

type PlanChange_Current_

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

type PlanChange_Modified

type PlanChange_Modified struct {

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

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

func (*PlanChange_Modified) Descriptor

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

Deprecated, Use PlanChange_Modified.ProtoReflect.Descriptor instead.

func (*PlanChange_Modified) GetFieldMask

func (m *PlanChange_Modified) GetFieldMask() *Plan_FieldMask

func (*PlanChange_Modified) GetName

func (m *PlanChange_Modified) GetName() *Name

func (*PlanChange_Modified) GetPlan

func (m *PlanChange_Modified) GetPlan() *Plan

func (*PlanChange_Modified) GetPreviousViewIndex

func (m *PlanChange_Modified) GetPreviousViewIndex() int32

func (*PlanChange_Modified) GetViewIndex

func (m *PlanChange_Modified) GetViewIndex() int32

func (*PlanChange_Modified) GotenMessage

func (*PlanChange_Modified) GotenMessage()

func (*PlanChange_Modified) GotenValidate

func (obj *PlanChange_Modified) GotenValidate() error

func (*PlanChange_Modified) Marshal

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

func (*PlanChange_Modified) MarshalJSON

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

func (*PlanChange_Modified) ProtoMessage

func (*PlanChange_Modified) ProtoMessage()

func (*PlanChange_Modified) ProtoReflect

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

func (*PlanChange_Modified) Reset

func (m *PlanChange_Modified) Reset()

func (*PlanChange_Modified) SetFieldMask

func (m *PlanChange_Modified) SetFieldMask(fv *Plan_FieldMask)

func (*PlanChange_Modified) SetName

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

func (*PlanChange_Modified) SetPlan

func (m *PlanChange_Modified) SetPlan(fv *Plan)

func (*PlanChange_Modified) SetPreviousViewIndex

func (m *PlanChange_Modified) SetPreviousViewIndex(fv int32)

func (*PlanChange_Modified) SetViewIndex

func (m *PlanChange_Modified) SetViewIndex(fv int32)

func (*PlanChange_Modified) String

func (m *PlanChange_Modified) String() string

func (*PlanChange_Modified) Unmarshal

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

func (*PlanChange_Modified) UnmarshalJSON

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

type PlanChange_Modified_

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

type PlanChange_Removed

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

func (*PlanChange_Removed) Descriptor

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

Deprecated, Use PlanChange_Removed.ProtoReflect.Descriptor instead.

func (*PlanChange_Removed) GetName

func (m *PlanChange_Removed) GetName() *Name

func (*PlanChange_Removed) GetViewIndex

func (m *PlanChange_Removed) GetViewIndex() int32

func (*PlanChange_Removed) GotenMessage

func (*PlanChange_Removed) GotenMessage()

func (*PlanChange_Removed) GotenValidate

func (obj *PlanChange_Removed) GotenValidate() error

func (*PlanChange_Removed) Marshal

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

func (*PlanChange_Removed) MarshalJSON

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

func (*PlanChange_Removed) ProtoMessage

func (*PlanChange_Removed) ProtoMessage()

func (*PlanChange_Removed) ProtoReflect

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

func (*PlanChange_Removed) Reset

func (m *PlanChange_Removed) Reset()

func (*PlanChange_Removed) SetName

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

func (*PlanChange_Removed) SetViewIndex

func (m *PlanChange_Removed) SetViewIndex(fv int32)

func (*PlanChange_Removed) String

func (m *PlanChange_Removed) String() string

func (*PlanChange_Removed) Unmarshal

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

func (*PlanChange_Removed) UnmarshalJSON

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

type PlanChange_Removed_

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

type PlanFieldPathBuilder

type PlanFieldPathBuilder struct{}

func NewPlanFieldPathBuilder

func NewPlanFieldPathBuilder() PlanFieldPathBuilder

func (PlanFieldPathBuilder) BusinessTier

func (PlanFieldPathBuilder) DisplayName

func (PlanFieldPathBuilder) Generation

func (PlanFieldPathBuilder) Metadata

func (PlanFieldPathBuilder) Name

func (PlanFieldPathBuilder) PlanLevel

func (PlanFieldPathBuilder) ResourceLimits

func (PlanFieldPathBuilder) Service

type PlanLimitValueFieldPathBuilder

type PlanLimitValueFieldPathBuilder struct{}

func NewPlanLimitValueFieldPathBuilder

func NewPlanLimitValueFieldPathBuilder() PlanLimitValueFieldPathBuilder

func (PlanLimitValueFieldPathBuilder) Resource

func (PlanLimitValueFieldPathBuilder) Value

type PlanLimitValue_FieldPath

type PlanLimitValue_FieldPath interface {
	gotenobject.FieldPath
	Selector() PlanLimitValue_FieldPathSelector
	Get(source *Plan_LimitValue) []interface{}
	GetSingle(source *Plan_LimitValue) (interface{}, bool)
	ClearValue(item *Plan_LimitValue)

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

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

func MustParsePlanLimitValue_FieldPath

func MustParsePlanLimitValue_FieldPath(rawField string) PlanLimitValue_FieldPath

func ParsePlanLimitValue_FieldPath

func ParsePlanLimitValue_FieldPath(rawField string) (PlanLimitValue_FieldPath, error)

type PlanLimitValue_FieldPathArrayItemValue

type PlanLimitValue_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	PlanLimitValue_FieldPath
	ContainsValue(*Plan_LimitValue) bool
}

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

func MustParsePlanLimitValue_FieldPathArrayItemValue

func MustParsePlanLimitValue_FieldPathArrayItemValue(pathStr, valueStr string) PlanLimitValue_FieldPathArrayItemValue

func ParsePlanLimitValue_FieldPathArrayItemValue

func ParsePlanLimitValue_FieldPathArrayItemValue(pathStr, valueStr string) (PlanLimitValue_FieldPathArrayItemValue, error)

ParsePlanLimitValue_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type PlanLimitValue_FieldPathArrayOfValues

type PlanLimitValue_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	PlanLimitValue_FieldPath
}

PlanLimitValue_FieldPathArrayOfValues allows storing slice of values for LimitValue fields according to their type

func MustParsePlanLimitValue_FieldPathArrayOfValues

func MustParsePlanLimitValue_FieldPathArrayOfValues(pathStr, valuesStr string) PlanLimitValue_FieldPathArrayOfValues

func ParsePlanLimitValue_FieldPathArrayOfValues

func ParsePlanLimitValue_FieldPathArrayOfValues(pathStr, valuesStr string) (PlanLimitValue_FieldPathArrayOfValues, error)

type PlanLimitValue_FieldPathSelector

type PlanLimitValue_FieldPathSelector int32
const (
	PlanLimitValue_FieldPathSelectorResource PlanLimitValue_FieldPathSelector = 0
	PlanLimitValue_FieldPathSelectorValue    PlanLimitValue_FieldPathSelector = 1
)

func (PlanLimitValue_FieldPathSelector) String

type PlanLimitValue_FieldPathValue

type PlanLimitValue_FieldPathValue interface {
	PlanLimitValue_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Plan_LimitValue)
	CompareWith(*Plan_LimitValue) (cmp int, comparable bool)
}

PlanLimitValue_FieldPathValue allows storing values for LimitValue fields according to their type

func MustParsePlanLimitValue_FieldPathValue

func MustParsePlanLimitValue_FieldPathValue(pathStr, valueStr string) PlanLimitValue_FieldPathValue

func ParsePlanLimitValue_FieldPathValue

func ParsePlanLimitValue_FieldPathValue(pathStr, valueStr string) (PlanLimitValue_FieldPathValue, error)

type PlanLimitValue_FieldTerminalPath

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

func (*PlanLimitValue_FieldTerminalPath) ClearValue

func (fp *PlanLimitValue_FieldTerminalPath) ClearValue(item *Plan_LimitValue)

func (*PlanLimitValue_FieldTerminalPath) ClearValueRaw

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

func (*PlanLimitValue_FieldTerminalPath) Get

func (fp *PlanLimitValue_FieldTerminalPath) Get(source *Plan_LimitValue) (values []interface{})

Get returns all values pointed by specific field from source Plan_LimitValue

func (*PlanLimitValue_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*PlanLimitValue_FieldTerminalPath) GetRaw

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

func (*PlanLimitValue_FieldTerminalPath) GetSingle

func (fp *PlanLimitValue_FieldTerminalPath) GetSingle(source *Plan_LimitValue) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Plan_LimitValue

func (*PlanLimitValue_FieldTerminalPath) GetSingleRaw

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

func (*PlanLimitValue_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*PlanLimitValue_FieldTerminalPath) JSONString

func (fp *PlanLimitValue_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*PlanLimitValue_FieldTerminalPath) Selector

func (*PlanLimitValue_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*PlanLimitValue_FieldTerminalPath) String

String returns path representation in proto convention

func (*PlanLimitValue_FieldTerminalPath) WithIArrayItemValue

func (fp *PlanLimitValue_FieldTerminalPath) WithIArrayItemValue(value interface{}) PlanLimitValue_FieldPathArrayItemValue

func (*PlanLimitValue_FieldTerminalPath) WithIArrayOfValues

func (fp *PlanLimitValue_FieldTerminalPath) WithIArrayOfValues(values interface{}) PlanLimitValue_FieldPathArrayOfValues

func (*PlanLimitValue_FieldTerminalPath) WithIValue

func (fp *PlanLimitValue_FieldTerminalPath) WithIValue(value interface{}) PlanLimitValue_FieldPathValue

func (*PlanLimitValue_FieldTerminalPath) WithRawIArrayItemValue

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

func (*PlanLimitValue_FieldTerminalPath) WithRawIArrayOfValues

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

func (*PlanLimitValue_FieldTerminalPath) WithRawIValue

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

type PlanLimitValue_FieldTerminalPathArrayItemValue

type PlanLimitValue_FieldTerminalPathArrayItemValue struct {
	PlanLimitValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanLimitValue_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*PlanLimitValue_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*PlanLimitValue_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *PlanLimitValue_FieldTerminalPathArrayItemValue) GetSingle(source *Plan_LimitValue) (interface{}, bool)

func (*PlanLimitValue_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type PlanLimitValue_FieldTerminalPathArrayOfValues

type PlanLimitValue_FieldTerminalPathArrayOfValues struct {
	PlanLimitValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanLimitValue_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues

func (fpaov *PlanLimitValue_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues() ([]*meta_resource.Reference, bool)

func (*PlanLimitValue_FieldTerminalPathArrayOfValues) AsValueArrayOfValues

func (fpaov *PlanLimitValue_FieldTerminalPathArrayOfValues) AsValueArrayOfValues() ([]int64, bool)

func (*PlanLimitValue_FieldTerminalPathArrayOfValues) GetRawValues

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

type PlanLimitValue_FieldTerminalPathValue

type PlanLimitValue_FieldTerminalPathValue struct {
	PlanLimitValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*PlanLimitValue_FieldTerminalPathValue) AsResourceValue

func (*PlanLimitValue_FieldTerminalPathValue) AsValueValue

func (fpv *PlanLimitValue_FieldTerminalPathValue) AsValueValue() (int64, bool)

func (*PlanLimitValue_FieldTerminalPathValue) CompareWith

func (fpv *PlanLimitValue_FieldTerminalPathValue) CompareWith(source *Plan_LimitValue) (int, bool)

CompareWith compares value in the 'PlanLimitValue_FieldTerminalPathValue' with the value under path in 'Plan_LimitValue'.

func (*PlanLimitValue_FieldTerminalPathValue) CompareWithRaw

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

func (*PlanLimitValue_FieldTerminalPathValue) GetRawValue

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

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

func (*PlanLimitValue_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LimitValue

func (*PlanLimitValue_FieldTerminalPathValue) SetToRaw

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

type PlanList

type PlanList []*Plan

func (PlanList) Append

func (PlanList) AppendList

func (PlanList) At

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

func (PlanList) Length

func (l PlanList) Length() int

func (PlanList) Set

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

func (PlanList) Slice

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

type PlanMap

type PlanMap map[Name]*Plan

func (PlanMap) Delete

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

func (PlanMap) ForEach

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

func (PlanMap) Get

func (PlanMap) Length

func (m PlanMap) Length() int

func (PlanMap) Set

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

type PlanMapPathSelectorMetadataAnnotations

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

func (PlanMapPathSelectorMetadataAnnotations) FieldPath

func (PlanMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (PlanMapPathSelectorMetadataAnnotations) WithValue

type PlanMapPathSelectorMetadataLabels

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

func (PlanMapPathSelectorMetadataLabels) FieldPath

func (PlanMapPathSelectorMetadataLabels) WithArrayOfValues

func (PlanMapPathSelectorMetadataLabels) WithValue

type PlanMapPathSelectorMetadataShards

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

func (PlanMapPathSelectorMetadataShards) FieldPath

func (PlanMapPathSelectorMetadataShards) WithArrayOfValues

func (PlanMapPathSelectorMetadataShards) WithValue

type PlanNameList

type PlanNameList []*Name

func (PlanNameList) Append

func (PlanNameList) AppendList

func (PlanNameList) At

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

func (PlanNameList) Length

func (l PlanNameList) Length() int

func (PlanNameList) Set

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

func (PlanNameList) Slice

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

type PlanParentNameList

type PlanParentNameList []*ParentName

func (PlanParentNameList) Append

func (PlanParentNameList) AppendList

func (PlanParentNameList) At

func (PlanParentNameList) Length

func (l PlanParentNameList) Length() int

func (PlanParentNameList) Set

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

func (PlanParentNameList) Slice

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

type PlanParentReferenceList

type PlanParentReferenceList []*ParentReference

func (PlanParentReferenceList) Append

func (PlanParentReferenceList) At

func (PlanParentReferenceList) Length

func (l PlanParentReferenceList) Length() int

func (PlanParentReferenceList) Set

func (PlanParentReferenceList) Slice

type PlanPathSelectorBusinessTier

type PlanPathSelectorBusinessTier struct{}

func (PlanPathSelectorBusinessTier) FieldPath

func (PlanPathSelectorBusinessTier) WithArrayOfValues

func (PlanPathSelectorBusinessTier) WithValue

type PlanPathSelectorDisplayName

type PlanPathSelectorDisplayName struct{}

func (PlanPathSelectorDisplayName) FieldPath

func (PlanPathSelectorDisplayName) WithArrayOfValues

func (PlanPathSelectorDisplayName) WithValue

type PlanPathSelectorGeneration

type PlanPathSelectorGeneration struct{}

func (PlanPathSelectorGeneration) FieldPath

func (PlanPathSelectorGeneration) WithArrayOfValues

func (PlanPathSelectorGeneration) WithValue

type PlanPathSelectorMetadata

type PlanPathSelectorMetadata struct{}

func (PlanPathSelectorMetadata) Annotations

func (PlanPathSelectorMetadata) CreateTime

func (PlanPathSelectorMetadata) DeleteTime

func (PlanPathSelectorMetadata) FieldPath

func (PlanPathSelectorMetadata) Generation

func (PlanPathSelectorMetadata) Labels

func (PlanPathSelectorMetadata) Lifecycle

func (PlanPathSelectorMetadata) OwnerReferences

func (PlanPathSelectorMetadata) ResourceVersion

func (PlanPathSelectorMetadata) Services

func (PlanPathSelectorMetadata) Shards

func (PlanPathSelectorMetadata) Syncing

func (PlanPathSelectorMetadata) Tags

func (PlanPathSelectorMetadata) UpdateTime

func (PlanPathSelectorMetadata) Uuid

func (PlanPathSelectorMetadata) WithArrayOfValues

func (PlanPathSelectorMetadata) WithSubArrayItemValue

func (s PlanPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Plan_FieldSubPathArrayItemValue

func (PlanPathSelectorMetadata) WithSubArrayOfValues

func (s PlanPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Plan_FieldSubPathArrayOfValues

func (PlanPathSelectorMetadata) WithSubPath

func (PlanPathSelectorMetadata) WithSubValue

func (PlanPathSelectorMetadata) WithValue

type PlanPathSelectorMetadataAnnotations

type PlanPathSelectorMetadataAnnotations struct{}

func (PlanPathSelectorMetadataAnnotations) FieldPath

func (PlanPathSelectorMetadataAnnotations) WithArrayOfValues

func (PlanPathSelectorMetadataAnnotations) WithKey

func (PlanPathSelectorMetadataAnnotations) WithValue

type PlanPathSelectorMetadataCreateTime

type PlanPathSelectorMetadataCreateTime struct{}

func (PlanPathSelectorMetadataCreateTime) FieldPath

func (PlanPathSelectorMetadataCreateTime) WithArrayOfValues

func (PlanPathSelectorMetadataCreateTime) WithValue

type PlanPathSelectorMetadataDeleteTime

type PlanPathSelectorMetadataDeleteTime struct{}

func (PlanPathSelectorMetadataDeleteTime) FieldPath

func (PlanPathSelectorMetadataDeleteTime) WithArrayOfValues

func (PlanPathSelectorMetadataDeleteTime) WithValue

type PlanPathSelectorMetadataGeneration

type PlanPathSelectorMetadataGeneration struct{}

func (PlanPathSelectorMetadataGeneration) FieldPath

func (PlanPathSelectorMetadataGeneration) WithArrayOfValues

func (PlanPathSelectorMetadataGeneration) WithValue

type PlanPathSelectorMetadataLabels

type PlanPathSelectorMetadataLabels struct{}

func (PlanPathSelectorMetadataLabels) FieldPath

func (PlanPathSelectorMetadataLabels) WithArrayOfValues

func (PlanPathSelectorMetadataLabels) WithKey

func (PlanPathSelectorMetadataLabels) WithValue

type PlanPathSelectorMetadataLifecycle

type PlanPathSelectorMetadataLifecycle struct{}

func (PlanPathSelectorMetadataLifecycle) BlockDeletion

func (PlanPathSelectorMetadataLifecycle) FieldPath

func (PlanPathSelectorMetadataLifecycle) State

func (PlanPathSelectorMetadataLifecycle) WithArrayOfValues

func (PlanPathSelectorMetadataLifecycle) WithValue

type PlanPathSelectorMetadataLifecycleBlockDeletion

type PlanPathSelectorMetadataLifecycleBlockDeletion struct{}

func (PlanPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (PlanPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (PlanPathSelectorMetadataLifecycleBlockDeletion) WithValue

type PlanPathSelectorMetadataLifecycleState

type PlanPathSelectorMetadataLifecycleState struct{}

func (PlanPathSelectorMetadataLifecycleState) FieldPath

func (PlanPathSelectorMetadataLifecycleState) WithArrayOfValues

func (PlanPathSelectorMetadataLifecycleState) WithValue

type PlanPathSelectorMetadataOwnerReferences

type PlanPathSelectorMetadataOwnerReferences struct{}

func (PlanPathSelectorMetadataOwnerReferences) Controller

func (PlanPathSelectorMetadataOwnerReferences) FieldPath

func (PlanPathSelectorMetadataOwnerReferences) Kind

func (PlanPathSelectorMetadataOwnerReferences) Name

func (PlanPathSelectorMetadataOwnerReferences) Region

func (PlanPathSelectorMetadataOwnerReferences) RequiresOwnerReference

func (PlanPathSelectorMetadataOwnerReferences) Version

func (PlanPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferences) WithItemValue

func (PlanPathSelectorMetadataOwnerReferences) WithValue

type PlanPathSelectorMetadataOwnerReferencesController

type PlanPathSelectorMetadataOwnerReferencesController struct{}

func (PlanPathSelectorMetadataOwnerReferencesController) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesController) WithValue

type PlanPathSelectorMetadataOwnerReferencesKind

type PlanPathSelectorMetadataOwnerReferencesKind struct{}

func (PlanPathSelectorMetadataOwnerReferencesKind) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesKind) WithValue

type PlanPathSelectorMetadataOwnerReferencesName

type PlanPathSelectorMetadataOwnerReferencesName struct{}

func (PlanPathSelectorMetadataOwnerReferencesName) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesName) WithValue

type PlanPathSelectorMetadataOwnerReferencesRegion

type PlanPathSelectorMetadataOwnerReferencesRegion struct{}

func (PlanPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesRegion) WithValue

type PlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type PlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (PlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type PlanPathSelectorMetadataOwnerReferencesVersion

type PlanPathSelectorMetadataOwnerReferencesVersion struct{}

func (PlanPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (PlanPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (PlanPathSelectorMetadataOwnerReferencesVersion) WithValue

type PlanPathSelectorMetadataResourceVersion

type PlanPathSelectorMetadataResourceVersion struct{}

func (PlanPathSelectorMetadataResourceVersion) FieldPath

func (PlanPathSelectorMetadataResourceVersion) WithArrayOfValues

func (PlanPathSelectorMetadataResourceVersion) WithValue

type PlanPathSelectorMetadataServices

type PlanPathSelectorMetadataServices struct{}

func (PlanPathSelectorMetadataServices) AllowedServices

func (PlanPathSelectorMetadataServices) FieldPath

func (PlanPathSelectorMetadataServices) OwningService

func (PlanPathSelectorMetadataServices) WithArrayOfValues

func (PlanPathSelectorMetadataServices) WithValue

type PlanPathSelectorMetadataServicesAllowedServices

type PlanPathSelectorMetadataServicesAllowedServices struct{}

func (PlanPathSelectorMetadataServicesAllowedServices) FieldPath

func (PlanPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (PlanPathSelectorMetadataServicesAllowedServices) WithItemValue

func (PlanPathSelectorMetadataServicesAllowedServices) WithValue

type PlanPathSelectorMetadataServicesOwningService

type PlanPathSelectorMetadataServicesOwningService struct{}

func (PlanPathSelectorMetadataServicesOwningService) FieldPath

func (PlanPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (PlanPathSelectorMetadataServicesOwningService) WithValue

type PlanPathSelectorMetadataShards

type PlanPathSelectorMetadataShards struct{}

func (PlanPathSelectorMetadataShards) FieldPath

func (PlanPathSelectorMetadataShards) WithArrayOfValues

func (PlanPathSelectorMetadataShards) WithKey

func (PlanPathSelectorMetadataShards) WithValue

type PlanPathSelectorMetadataSyncing

type PlanPathSelectorMetadataSyncing struct{}

func (PlanPathSelectorMetadataSyncing) FieldPath

func (PlanPathSelectorMetadataSyncing) OwningRegion

func (PlanPathSelectorMetadataSyncing) Regions

func (PlanPathSelectorMetadataSyncing) WithArrayOfValues

func (PlanPathSelectorMetadataSyncing) WithValue

type PlanPathSelectorMetadataSyncingOwningRegion

type PlanPathSelectorMetadataSyncingOwningRegion struct{}

func (PlanPathSelectorMetadataSyncingOwningRegion) FieldPath

func (PlanPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (PlanPathSelectorMetadataSyncingOwningRegion) WithValue

type PlanPathSelectorMetadataSyncingRegions

type PlanPathSelectorMetadataSyncingRegions struct{}

func (PlanPathSelectorMetadataSyncingRegions) FieldPath

func (PlanPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (PlanPathSelectorMetadataSyncingRegions) WithItemValue

func (PlanPathSelectorMetadataSyncingRegions) WithValue

type PlanPathSelectorMetadataTags

type PlanPathSelectorMetadataTags struct{}

func (PlanPathSelectorMetadataTags) FieldPath

func (PlanPathSelectorMetadataTags) WithArrayOfValues

func (s PlanPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Plan_FieldSubPathArrayOfValues

func (PlanPathSelectorMetadataTags) WithItemValue

func (PlanPathSelectorMetadataTags) WithValue

type PlanPathSelectorMetadataUpdateTime

type PlanPathSelectorMetadataUpdateTime struct{}

func (PlanPathSelectorMetadataUpdateTime) FieldPath

func (PlanPathSelectorMetadataUpdateTime) WithArrayOfValues

func (PlanPathSelectorMetadataUpdateTime) WithValue

type PlanPathSelectorMetadataUuid

type PlanPathSelectorMetadataUuid struct{}

func (PlanPathSelectorMetadataUuid) FieldPath

func (PlanPathSelectorMetadataUuid) WithArrayOfValues

func (PlanPathSelectorMetadataUuid) WithValue

type PlanPathSelectorName

type PlanPathSelectorName struct{}

func (PlanPathSelectorName) FieldPath

func (PlanPathSelectorName) WithArrayOfValues

func (s PlanPathSelectorName) WithArrayOfValues(values []*Name) *Plan_FieldTerminalPathArrayOfValues

func (PlanPathSelectorName) WithValue

type PlanPathSelectorPlanLevel

type PlanPathSelectorPlanLevel struct{}

func (PlanPathSelectorPlanLevel) FieldPath

func (PlanPathSelectorPlanLevel) WithArrayOfValues

func (PlanPathSelectorPlanLevel) WithValue

type PlanPathSelectorResourceLimits

type PlanPathSelectorResourceLimits struct{}

func (PlanPathSelectorResourceLimits) FieldPath

func (PlanPathSelectorResourceLimits) Resource

func (PlanPathSelectorResourceLimits) Value

func (PlanPathSelectorResourceLimits) WithArrayOfValues

func (PlanPathSelectorResourceLimits) WithItemValue

func (PlanPathSelectorResourceLimits) WithSubArrayItemValue

func (PlanPathSelectorResourceLimits) WithSubArrayOfValues

func (PlanPathSelectorResourceLimits) WithSubPath

func (PlanPathSelectorResourceLimits) WithSubValue

func (PlanPathSelectorResourceLimits) WithValue

type PlanPathSelectorResourceLimitsResource

type PlanPathSelectorResourceLimitsResource struct{}

func (PlanPathSelectorResourceLimitsResource) FieldPath

func (PlanPathSelectorResourceLimitsResource) WithArrayOfValues

func (PlanPathSelectorResourceLimitsResource) WithValue

type PlanPathSelectorResourceLimitsValue

type PlanPathSelectorResourceLimitsValue struct{}

func (PlanPathSelectorResourceLimitsValue) FieldPath

func (PlanPathSelectorResourceLimitsValue) WithArrayOfValues

func (PlanPathSelectorResourceLimitsValue) WithValue

type PlanPathSelectorService

type PlanPathSelectorService struct{}

func (PlanPathSelectorService) FieldPath

func (PlanPathSelectorService) WithArrayOfValues

func (PlanPathSelectorService) WithValue

type PlanReferenceList

type PlanReferenceList []*Reference

func (PlanReferenceList) Append

func (PlanReferenceList) AppendList

func (PlanReferenceList) At

func (PlanReferenceList) Length

func (l PlanReferenceList) Length() int

func (PlanReferenceList) Set

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

func (PlanReferenceList) Slice

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

type Plan_FieldMask

type Plan_FieldMask struct {
	Paths []Plan_FieldPath
}

func FullPlan_FieldMask

func FullPlan_FieldMask() *Plan_FieldMask

func ResourceViewFieldMask

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

func (*Plan_FieldMask) AppendPath

func (fieldMask *Plan_FieldMask) AppendPath(path Plan_FieldPath)

func (*Plan_FieldMask) AppendRawPath

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

func (*Plan_FieldMask) DecodeFirestore

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

func (*Plan_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Plan_FieldMask) FilterInputFields

func (fieldMask *Plan_FieldMask) FilterInputFields() *Plan_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Plan_FieldMask) FromProtoFieldMask

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

func (*Plan_FieldMask) GetPaths

func (fieldMask *Plan_FieldMask) GetPaths() []Plan_FieldPath

func (*Plan_FieldMask) GetRawPaths

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

func (*Plan_FieldMask) IsFull

func (fieldMask *Plan_FieldMask) IsFull() bool

func (Plan_FieldMask) Marshal

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

implement methods required by customType

func (Plan_FieldMask) MarshalJSON

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

func (*Plan_FieldMask) PathsCount

func (fieldMask *Plan_FieldMask) PathsCount() int

func (*Plan_FieldMask) Project

func (fieldMask *Plan_FieldMask) Project(source *Plan) *Plan

func (*Plan_FieldMask) ProjectRaw

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

func (*Plan_FieldMask) ProtoMessage

func (fieldMask *Plan_FieldMask) ProtoMessage()

func (*Plan_FieldMask) ProtoReflect

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

func (*Plan_FieldMask) Reset

func (fieldMask *Plan_FieldMask) Reset()

func (*Plan_FieldMask) Set

func (fieldMask *Plan_FieldMask) Set(target, source *Plan)

func (*Plan_FieldMask) SetFromCliFlag

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

func (*Plan_FieldMask) SetRaw

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

func (*Plan_FieldMask) Size

func (fieldMask *Plan_FieldMask) Size() int

func (*Plan_FieldMask) String

func (fieldMask *Plan_FieldMask) String() string

func (*Plan_FieldMask) Subtract

func (fieldMask *Plan_FieldMask) Subtract(other *Plan_FieldMask) *Plan_FieldMask

func (*Plan_FieldMask) SubtractRaw

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

func (*Plan_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Plan_FieldMask) Unmarshal

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

func (*Plan_FieldMask) UnmarshalJSON

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

type Plan_FieldPath

type Plan_FieldPath interface {
	gotenobject.FieldPath
	Selector() Plan_FieldPathSelector
	Get(source *Plan) []interface{}
	GetSingle(source *Plan) (interface{}, bool)
	ClearValue(item *Plan)

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

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

func BuildPlan_FieldPath

func BuildPlan_FieldPath(fp gotenobject.RawFieldPath) (Plan_FieldPath, error)

func MustParsePlan_FieldPath

func MustParsePlan_FieldPath(rawField string) Plan_FieldPath

func ParsePlan_FieldPath

func ParsePlan_FieldPath(rawField string) (Plan_FieldPath, error)

type Plan_FieldPathArrayItemValue

type Plan_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Plan_FieldPath
	ContainsValue(*Plan) bool
}

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

func MustParsePlan_FieldPathArrayItemValue

func MustParsePlan_FieldPathArrayItemValue(pathStr, valueStr string) Plan_FieldPathArrayItemValue

func ParsePlan_FieldPathArrayItemValue

func ParsePlan_FieldPathArrayItemValue(pathStr, valueStr string) (Plan_FieldPathArrayItemValue, error)

ParsePlan_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Plan_FieldPathArrayOfValues

type Plan_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Plan_FieldPath
}

Plan_FieldPathArrayOfValues allows storing slice of values for Plan fields according to their type

func MustParsePlan_FieldPathArrayOfValues

func MustParsePlan_FieldPathArrayOfValues(pathStr, valuesStr string) Plan_FieldPathArrayOfValues

func ParsePlan_FieldPathArrayOfValues

func ParsePlan_FieldPathArrayOfValues(pathStr, valuesStr string) (Plan_FieldPathArrayOfValues, error)

type Plan_FieldPathSelector

type Plan_FieldPathSelector int32
const (
	Plan_FieldPathSelectorName           Plan_FieldPathSelector = 0
	Plan_FieldPathSelectorMetadata       Plan_FieldPathSelector = 1
	Plan_FieldPathSelectorDisplayName    Plan_FieldPathSelector = 2
	Plan_FieldPathSelectorService        Plan_FieldPathSelector = 3
	Plan_FieldPathSelectorResourceLimits Plan_FieldPathSelector = 4
	Plan_FieldPathSelectorPlanLevel      Plan_FieldPathSelector = 5
	Plan_FieldPathSelectorBusinessTier   Plan_FieldPathSelector = 6
	Plan_FieldPathSelectorGeneration     Plan_FieldPathSelector = 7
)

func (Plan_FieldPathSelector) String

func (s Plan_FieldPathSelector) String() string

type Plan_FieldPathValue

type Plan_FieldPathValue interface {
	Plan_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Plan)
	CompareWith(*Plan) (cmp int, comparable bool)
}

Plan_FieldPathValue allows storing values for Plan fields according to their type

func MustParsePlan_FieldPathValue

func MustParsePlan_FieldPathValue(pathStr, valueStr string) Plan_FieldPathValue

func ParsePlan_FieldPathValue

func ParsePlan_FieldPathValue(pathStr, valueStr string) (Plan_FieldPathValue, error)

type Plan_FieldSubPath

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

func (*Plan_FieldSubPath) AsMetadataSubPath

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

func (*Plan_FieldSubPath) AsResourceLimitsSubPath

func (fps *Plan_FieldSubPath) AsResourceLimitsSubPath() (PlanLimitValue_FieldPath, bool)

func (*Plan_FieldSubPath) ClearValue

func (fps *Plan_FieldSubPath) ClearValue(item *Plan)

func (*Plan_FieldSubPath) ClearValueRaw

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

func (*Plan_FieldSubPath) Get

func (fps *Plan_FieldSubPath) Get(source *Plan) (values []interface{})

Get returns all values pointed by selected field from source Plan

func (*Plan_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Plan_FieldSubPath) GetRaw

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

func (*Plan_FieldSubPath) GetSingle

func (fps *Plan_FieldSubPath) GetSingle(source *Plan) (interface{}, bool)

GetSingle returns value of selected field from source Plan

func (*Plan_FieldSubPath) GetSingleRaw

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

func (*Plan_FieldSubPath) IsLeaf

func (fps *Plan_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Plan_FieldSubPath) JSONString

func (fps *Plan_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Plan_FieldSubPath) Selector

func (fps *Plan_FieldSubPath) Selector() Plan_FieldPathSelector

func (*Plan_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Plan_FieldSubPath) String

func (fps *Plan_FieldSubPath) String() string

String returns path representation in proto convention

func (*Plan_FieldSubPath) WithIArrayItemValue

func (fps *Plan_FieldSubPath) WithIArrayItemValue(value interface{}) Plan_FieldPathArrayItemValue

func (*Plan_FieldSubPath) WithIArrayOfValues

func (fps *Plan_FieldSubPath) WithIArrayOfValues(values interface{}) Plan_FieldPathArrayOfValues

func (*Plan_FieldSubPath) WithIValue

func (fps *Plan_FieldSubPath) WithIValue(value interface{}) Plan_FieldPathValue

func (*Plan_FieldSubPath) WithRawIArrayItemValue

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

func (*Plan_FieldSubPath) WithRawIArrayOfValues

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

func (*Plan_FieldSubPath) WithRawIValue

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

type Plan_FieldSubPathArrayItemValue

type Plan_FieldSubPathArrayItemValue struct {
	Plan_FieldPath
	// contains filtered or unexported fields
}

func (*Plan_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (fpaivs *Plan_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)

func (*Plan_FieldSubPathArrayItemValue) AsResourceLimitsPathItemValue

func (fpaivs *Plan_FieldSubPathArrayItemValue) AsResourceLimitsPathItemValue() (PlanLimitValue_FieldPathArrayItemValue, bool)

func (*Plan_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Plan_FieldSubPathArrayItemValue) ContainsValue(source *Plan) bool

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

func (*Plan_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Plan_FieldSubPathArrayOfValues

type Plan_FieldSubPathArrayOfValues struct {
	Plan_FieldPath
	// contains filtered or unexported fields
}

func (*Plan_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Plan_FieldSubPathArrayOfValues) AsResourceLimitsPathArrayOfValues

func (fpsaov *Plan_FieldSubPathArrayOfValues) AsResourceLimitsPathArrayOfValues() (PlanLimitValue_FieldPathArrayOfValues, bool)

func (*Plan_FieldSubPathArrayOfValues) GetRawValues

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

type Plan_FieldSubPathValue

type Plan_FieldSubPathValue struct {
	Plan_FieldPath
	// contains filtered or unexported fields
}

func (*Plan_FieldSubPathValue) AsMetadataPathValue

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

func (*Plan_FieldSubPathValue) AsResourceLimitsPathValue

func (fpvs *Plan_FieldSubPathValue) AsResourceLimitsPathValue() (PlanLimitValue_FieldPathValue, bool)

func (*Plan_FieldSubPathValue) CompareWith

func (fpvs *Plan_FieldSubPathValue) CompareWith(source *Plan) (int, bool)

func (*Plan_FieldSubPathValue) CompareWithRaw

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

func (*Plan_FieldSubPathValue) GetRawValue

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

func (*Plan_FieldSubPathValue) SetTo

func (fpvs *Plan_FieldSubPathValue) SetTo(target **Plan)

func (*Plan_FieldSubPathValue) SetToRaw

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

type Plan_FieldTerminalPath

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

func (*Plan_FieldTerminalPath) ClearValue

func (fp *Plan_FieldTerminalPath) ClearValue(item *Plan)

func (*Plan_FieldTerminalPath) ClearValueRaw

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

func (*Plan_FieldTerminalPath) Get

func (fp *Plan_FieldTerminalPath) Get(source *Plan) (values []interface{})

Get returns all values pointed by specific field from source Plan

func (*Plan_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Plan_FieldTerminalPath) GetRaw

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

func (*Plan_FieldTerminalPath) GetSingle

func (fp *Plan_FieldTerminalPath) GetSingle(source *Plan) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Plan

func (*Plan_FieldTerminalPath) GetSingleRaw

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

func (*Plan_FieldTerminalPath) IsLeaf

func (fp *Plan_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Plan_FieldTerminalPath) JSONString

func (fp *Plan_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Plan_FieldTerminalPath) Selector

func (*Plan_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Plan_FieldTerminalPath) String

func (fp *Plan_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Plan_FieldTerminalPath) WithIArrayItemValue

func (fp *Plan_FieldTerminalPath) WithIArrayItemValue(value interface{}) Plan_FieldPathArrayItemValue

func (*Plan_FieldTerminalPath) WithIArrayOfValues

func (fp *Plan_FieldTerminalPath) WithIArrayOfValues(values interface{}) Plan_FieldPathArrayOfValues

func (*Plan_FieldTerminalPath) WithIValue

func (fp *Plan_FieldTerminalPath) WithIValue(value interface{}) Plan_FieldPathValue

func (*Plan_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Plan_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Plan_FieldTerminalPath) WithRawIValue

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

type Plan_FieldTerminalPathArrayItemValue

type Plan_FieldTerminalPathArrayItemValue struct {
	Plan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Plan_FieldTerminalPathArrayItemValue) AsResourceLimitsItemValue

func (fpaiv *Plan_FieldTerminalPathArrayItemValue) AsResourceLimitsItemValue() (*Plan_LimitValue, bool)

func (*Plan_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Plan_FieldTerminalPathArrayItemValue) ContainsValue(source *Plan) bool

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

func (*Plan_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Plan_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Plan_FieldTerminalPathArrayItemValue) GetSingle(source *Plan) (interface{}, bool)

func (*Plan_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Plan_FieldTerminalPathArrayOfValues

type Plan_FieldTerminalPathArrayOfValues struct {
	Plan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Plan_FieldTerminalPathArrayOfValues) AsBusinessTierArrayOfValues

func (fpaov *Plan_FieldTerminalPathArrayOfValues) AsBusinessTierArrayOfValues() ([]iam_iam_common.BusinessTier, bool)

func (*Plan_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*Plan_FieldTerminalPathArrayOfValues) AsGenerationArrayOfValues

func (fpaov *Plan_FieldTerminalPathArrayOfValues) AsGenerationArrayOfValues() ([]int64, bool)

func (*Plan_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Plan_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Plan_FieldTerminalPathArrayOfValues) AsPlanLevelArrayOfValues

func (fpaov *Plan_FieldTerminalPathArrayOfValues) AsPlanLevelArrayOfValues() ([]Plan_PlanLevel, bool)

func (*Plan_FieldTerminalPathArrayOfValues) AsResourceLimitsArrayOfValues

func (fpaov *Plan_FieldTerminalPathArrayOfValues) AsResourceLimitsArrayOfValues() ([][]*Plan_LimitValue, bool)

func (*Plan_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues

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

func (*Plan_FieldTerminalPathArrayOfValues) GetRawValues

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

type Plan_FieldTerminalPathValue

type Plan_FieldTerminalPathValue struct {
	Plan_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Plan_FieldTerminalPathValue) AsBusinessTierValue

func (fpv *Plan_FieldTerminalPathValue) AsBusinessTierValue() (iam_iam_common.BusinessTier, bool)

func (*Plan_FieldTerminalPathValue) AsDisplayNameValue

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

func (*Plan_FieldTerminalPathValue) AsGenerationValue

func (fpv *Plan_FieldTerminalPathValue) AsGenerationValue() (int64, bool)

func (*Plan_FieldTerminalPathValue) AsMetadataValue

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

func (*Plan_FieldTerminalPathValue) AsNameValue

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

func (*Plan_FieldTerminalPathValue) AsPlanLevelValue

func (fpv *Plan_FieldTerminalPathValue) AsPlanLevelValue() (Plan_PlanLevel, bool)

func (*Plan_FieldTerminalPathValue) AsResourceLimitsValue

func (fpv *Plan_FieldTerminalPathValue) AsResourceLimitsValue() ([]*Plan_LimitValue, bool)

func (*Plan_FieldTerminalPathValue) AsServiceValue

func (fpv *Plan_FieldTerminalPathValue) AsServiceValue() (*meta_service.Reference, bool)

func (*Plan_FieldTerminalPathValue) CompareWith

func (fpv *Plan_FieldTerminalPathValue) CompareWith(source *Plan) (int, bool)

CompareWith compares value in the 'Plan_FieldTerminalPathValue' with the value under path in 'Plan'.

func (*Plan_FieldTerminalPathValue) CompareWithRaw

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

func (*Plan_FieldTerminalPathValue) GetRawValue

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

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

func (*Plan_FieldTerminalPathValue) SetTo

func (fpv *Plan_FieldTerminalPathValue) SetTo(target **Plan)

SetTo stores value for selected field for object Plan

func (*Plan_FieldTerminalPathValue) SetToRaw

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

type Plan_LimitValue

type Plan_LimitValue struct {

	// Reference to resource
	Resource *meta_resource.Reference `protobuf:"bytes,1,opt,customtype=Reference,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// Limit for given resource.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty" firestore:"value"`
	// contains filtered or unexported fields
}

LimitValue informs how many instances of resource for given type are permitted.

func (*Plan_LimitValue) Clone

func (o *Plan_LimitValue) Clone() *Plan_LimitValue

func (*Plan_LimitValue) CloneRaw

func (*Plan_LimitValue) Descriptor

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

Deprecated, Use Plan_LimitValue.ProtoReflect.Descriptor instead.

func (*Plan_LimitValue) GetResource

func (m *Plan_LimitValue) GetResource() *meta_resource.Reference

func (*Plan_LimitValue) GetValue

func (m *Plan_LimitValue) GetValue() int64

func (*Plan_LimitValue) GotenMessage

func (*Plan_LimitValue) GotenMessage()

func (*Plan_LimitValue) GotenObjectExt

func (o *Plan_LimitValue) GotenObjectExt()

func (*Plan_LimitValue) GotenValidate

func (obj *Plan_LimitValue) GotenValidate() error

func (*Plan_LimitValue) MakeDiffFieldMask

func (o *Plan_LimitValue) MakeDiffFieldMask(other *Plan_LimitValue) *Plan_LimitValue_FieldMask

func (*Plan_LimitValue) MakeFullFieldMask

func (o *Plan_LimitValue) MakeFullFieldMask() *Plan_LimitValue_FieldMask

func (*Plan_LimitValue) MakeRawDiffFieldMask

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

func (*Plan_LimitValue) MakeRawFullFieldMask

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

func (*Plan_LimitValue) Marshal

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

func (*Plan_LimitValue) MarshalJSON

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

func (*Plan_LimitValue) Merge

func (o *Plan_LimitValue) Merge(source *Plan_LimitValue)

func (*Plan_LimitValue) MergeRaw

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

func (*Plan_LimitValue) ProtoMessage

func (*Plan_LimitValue) ProtoMessage()

func (*Plan_LimitValue) ProtoReflect

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

func (*Plan_LimitValue) Reset

func (m *Plan_LimitValue) Reset()

func (*Plan_LimitValue) SetResource

func (m *Plan_LimitValue) SetResource(fv *meta_resource.Reference)

func (*Plan_LimitValue) SetValue

func (m *Plan_LimitValue) SetValue(fv int64)

func (*Plan_LimitValue) String

func (m *Plan_LimitValue) String() string

func (*Plan_LimitValue) Unmarshal

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

func (*Plan_LimitValue) UnmarshalJSON

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

type Plan_LimitValuePathSelectorResource

type Plan_LimitValuePathSelectorResource struct{}

func (Plan_LimitValuePathSelectorResource) FieldPath

func (Plan_LimitValuePathSelectorResource) WithArrayOfValues

func (Plan_LimitValuePathSelectorResource) WithValue

type Plan_LimitValuePathSelectorValue

type Plan_LimitValuePathSelectorValue struct{}

func (Plan_LimitValuePathSelectorValue) FieldPath

func (Plan_LimitValuePathSelectorValue) WithArrayOfValues

func (Plan_LimitValuePathSelectorValue) WithValue

type Plan_LimitValue_FieldMask

type Plan_LimitValue_FieldMask struct {
	Paths []PlanLimitValue_FieldPath
}

func FullPlan_LimitValue_FieldMask

func FullPlan_LimitValue_FieldMask() *Plan_LimitValue_FieldMask

func (*Plan_LimitValue_FieldMask) AppendPath

func (fieldMask *Plan_LimitValue_FieldMask) AppendPath(path PlanLimitValue_FieldPath)

func (*Plan_LimitValue_FieldMask) AppendRawPath

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

func (*Plan_LimitValue_FieldMask) DecodeFirestore

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

func (*Plan_LimitValue_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Plan_LimitValue_FieldMask) FilterInputFields

func (fieldMask *Plan_LimitValue_FieldMask) FilterInputFields() *Plan_LimitValue_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Plan_LimitValue_FieldMask) FromProtoFieldMask

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

func (*Plan_LimitValue_FieldMask) GetPaths

func (fieldMask *Plan_LimitValue_FieldMask) GetPaths() []PlanLimitValue_FieldPath

func (*Plan_LimitValue_FieldMask) GetRawPaths

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

func (*Plan_LimitValue_FieldMask) IsFull

func (fieldMask *Plan_LimitValue_FieldMask) IsFull() bool

func (Plan_LimitValue_FieldMask) Marshal

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

implement methods required by customType

func (Plan_LimitValue_FieldMask) MarshalJSON

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

func (*Plan_LimitValue_FieldMask) PathsCount

func (fieldMask *Plan_LimitValue_FieldMask) PathsCount() int

func (*Plan_LimitValue_FieldMask) Project

func (fieldMask *Plan_LimitValue_FieldMask) Project(source *Plan_LimitValue) *Plan_LimitValue

func (*Plan_LimitValue_FieldMask) ProjectRaw

func (*Plan_LimitValue_FieldMask) ProtoMessage

func (fieldMask *Plan_LimitValue_FieldMask) ProtoMessage()

func (*Plan_LimitValue_FieldMask) ProtoReflect

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

func (*Plan_LimitValue_FieldMask) Reset

func (fieldMask *Plan_LimitValue_FieldMask) Reset()

func (*Plan_LimitValue_FieldMask) Set

func (fieldMask *Plan_LimitValue_FieldMask) Set(target, source *Plan_LimitValue)

func (*Plan_LimitValue_FieldMask) SetFromCliFlag

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

func (*Plan_LimitValue_FieldMask) SetRaw

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

func (*Plan_LimitValue_FieldMask) Size

func (fieldMask *Plan_LimitValue_FieldMask) Size() int

func (*Plan_LimitValue_FieldMask) String

func (fieldMask *Plan_LimitValue_FieldMask) String() string

func (*Plan_LimitValue_FieldMask) Subtract

func (*Plan_LimitValue_FieldMask) SubtractRaw

func (*Plan_LimitValue_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Plan_LimitValue_FieldMask) Unmarshal

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

func (*Plan_LimitValue_FieldMask) UnmarshalJSON

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

type Plan_PlanLevel

type Plan_PlanLevel int32

PlanLevel defines entity level for whom plan can be assigned

const (
	Plan_UNDEFINED    Plan_PlanLevel = 0
	Plan_SERVICE      Plan_PlanLevel = 1
	Plan_ORGANIZATION Plan_PlanLevel = 2
	Plan_PROJECT      Plan_PlanLevel = 3
)

func (Plan_PlanLevel) Descriptor

func (Plan_PlanLevel) Descriptor() preflect.EnumDescriptor

func (Plan_PlanLevel) Enum

func (x Plan_PlanLevel) Enum() *Plan_PlanLevel

func (Plan_PlanLevel) EnumDescriptor

func (Plan_PlanLevel) EnumDescriptor() ([]byte, []int)

Deprecated, Use Plan_PlanLevel.ProtoReflect.Descriptor instead.

func (Plan_PlanLevel) Number

func (x Plan_PlanLevel) Number() preflect.EnumNumber

func (Plan_PlanLevel) String

func (x Plan_PlanLevel) String() string

func (Plan_PlanLevel) Type

type QueryResultChange

type QueryResultChange struct {
	Changes        []*PlanChange
	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 {
	Plans             []*Plan
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo

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

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, plan *Plan) (*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

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

func (*Reference) GetIUnderlyingParentName

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

func (ref *Reference) GetPlan() *Plan

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

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

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

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