project_invitation

package
v0.12.20 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/projectInvitations/{project_invitation}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ProjectInvitationAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask added in v0.4.16

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

func (*Descriptor) NewResourceFilter added in v0.4.16

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy added in v0.4.16

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

func (*Descriptor) NewResourcePager added in v0.9.0

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

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

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 ProjectInvitation_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 *ProjectInvitation) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	ProjectInvitation_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *ProjectInvitation) 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 ProjectInvitation_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 *ProjectInvitation) 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 ProjectInvitation_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (*FilterConditionContains) GetRawFieldPath

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

func (*FilterConditionContains) GetRawFieldPathItemValue

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

func (*FilterConditionContains) GetRawFieldPathItemValues

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

func (*FilterConditionContains) Satisfies

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

func (*FilterConditionContains) SatisfiesRaw

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

func (*FilterConditionContains) SpecifiesFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *ProjectInvitation) 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 ProjectInvitation_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 ProjectInvitation_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *ProjectInvitation) 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 ProjectInvitation_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 ProjectInvitation_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *ProjectInvitation) 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 ProjectInvitation_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 *ProjectInvitation) 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 ProjectInvitation_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 {
	ProjectInvitation_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *ProjectInvitation) 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 ProjectInvitation_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      *ProjectInvitation_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           *ProjectInvitation_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

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

func (*ListQuery) GetPager

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

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

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

func (*ListQuery) SetPager

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

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	ProjectInvitationId string `firestore:"projectInvitationId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) GetProjectName

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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

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

func (*Name) HasTrait

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

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

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

func (*Name) Matches

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

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

func (*Name) ParseProtoString

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

func (*Name) ProtoString

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

func (*Name) Receive

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

func (*Name) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Name) SetFromSegments

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

func (*Name) String

func (name *Name) String() string

func (*Name) Type

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

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

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

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

func (*NameBuilder) SetProject

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

func (*NameBuilder) SetProjectId

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

type NamePattern

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

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

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

func (*OrderBy) Compare

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *ProjectInvitation_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 ProjectInvitationList, elem *ProjectInvitation) (ProjectInvitationList, 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 ProjectInvitationList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

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

func (*ParentName) AsRawReference

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

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) DescendsFrom

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName added in v0.8.0

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

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetPattern

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

func (*ParentName) GetProjectName

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

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

func (*ParentName) GotenEqual

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

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

type ParentReference

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

func MakeParentReference

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

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

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

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) ConvertToNative added in v0.6.9

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

func (*ParentReference) ConvertToType added in v0.6.9

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

func (*ParentReference) Equal added in v0.6.9

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

func (*ParentReference) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetPattern

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

func (*ParentReference) GetProject

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

func (*ParentReference) GetProjectReference

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

func (*ParentReference) GetRawResource

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

func (*ParentReference) GetResourceDescriptor

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

func (*ParentReference) GetSegments

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

func (*ParentReference) GetUnderlyingReference

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

func (*ParentReference) GotenEqual

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

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

func (*ParentReference) HasTrait added in v0.6.9

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Match added in v0.6.9

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

func (*ParentReference) Matches

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

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

func (*ParentReference) ParseProtoString

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

func (*ParentReference) ProtoString

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

func (*ParentReference) Receive added in v0.6.9

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

func (*ParentReference) ResolveRaw

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

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

func (*ParentReference) Type added in v0.6.9

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

func (*ParentReference) TypeName added in v0.6.9

func (name *ParentReference) TypeName() string

func (*ParentReference) Value added in v0.6.9

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

type ProjectInvitation

type ProjectInvitation struct {

	// Name of ProjectInvitation
	Name       *Name                  `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	Invitation *iam_common.Invitation `protobuf:"bytes,2,opt,name=invitation,proto3" json:"invitation,omitempty" firestore:"invitation"`
	// contains filtered or unexported fields
}

ProjectInvitation Resource

func (*ProjectInvitation) Clone

func (*ProjectInvitation) CloneRaw

func (*ProjectInvitation) Descriptor

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

Deprecated, Use ProjectInvitation.ProtoReflect.Descriptor instead.

func (*ProjectInvitation) GetInvitation

func (m *ProjectInvitation) GetInvitation() *iam_common.Invitation

func (*ProjectInvitation) GetName

func (m *ProjectInvitation) GetName() *Name

func (*ProjectInvitation) GetRawName

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

func (*ProjectInvitation) GetResourceDescriptor

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

func (*ProjectInvitation) GotenMessage

func (*ProjectInvitation) GotenMessage()

func (*ProjectInvitation) GotenObjectExt

func (o *ProjectInvitation) GotenObjectExt()

func (*ProjectInvitation) GotenValidate

func (obj *ProjectInvitation) GotenValidate() error

func (*ProjectInvitation) MakeDiffFieldMask

func (o *ProjectInvitation) MakeDiffFieldMask(other *ProjectInvitation) *ProjectInvitation_FieldMask

func (*ProjectInvitation) MakeFullFieldMask

func (o *ProjectInvitation) MakeFullFieldMask() *ProjectInvitation_FieldMask

func (*ProjectInvitation) MakeRawDiffFieldMask

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

func (*ProjectInvitation) MakeRawFullFieldMask

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

func (*ProjectInvitation) Marshal

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

func (*ProjectInvitation) MarshalJSON

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

func (*ProjectInvitation) MaybePopulateDefaults

func (r *ProjectInvitation) MaybePopulateDefaults() error

func (*ProjectInvitation) Merge

func (o *ProjectInvitation) Merge(source *ProjectInvitation)

func (*ProjectInvitation) MergeRaw

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

func (*ProjectInvitation) ProtoMessage

func (*ProjectInvitation) ProtoMessage()

func (*ProjectInvitation) ProtoReflect

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

func (*ProjectInvitation) Reset

func (m *ProjectInvitation) Reset()

func (*ProjectInvitation) SetInvitation

func (m *ProjectInvitation) SetInvitation(fv *iam_common.Invitation)

func (*ProjectInvitation) SetName

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

func (*ProjectInvitation) String

func (m *ProjectInvitation) String() string

func (*ProjectInvitation) Unmarshal

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

func (*ProjectInvitation) UnmarshalJSON

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

type ProjectInvitationAccess

type ProjectInvitationAccess interface {
	GetProjectInvitation(context.Context, *GetQuery) (*ProjectInvitation, error)
	BatchGetProjectInvitations(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryProjectInvitations(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchProjectInvitation(context.Context, *GetQuery, func(*ProjectInvitationChange) error) error
	WatchProjectInvitations(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveProjectInvitation(context.Context, *ProjectInvitation, ...gotenresource.SaveOption) error
	DeleteProjectInvitation(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ProjectInvitationChange

type ProjectInvitationChange struct {

	// ProjectInvitation change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ProjectInvitationChange_Added_
	//	*ProjectInvitationChange_Modified_
	//	*ProjectInvitationChange_Current_
	//	*ProjectInvitationChange_Removed_
	ChangeType isProjectInvitationChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*ProjectInvitationChange) Descriptor

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

Deprecated, Use ProjectInvitationChange.ProtoReflect.Descriptor instead.

func (*ProjectInvitationChange) GetAdded

func (*ProjectInvitationChange) GetChangeType

func (m *ProjectInvitationChange) GetChangeType() isProjectInvitationChange_ChangeType

func (*ProjectInvitationChange) GetCurrent

func (*ProjectInvitationChange) GetCurrentViewIndex

func (c *ProjectInvitationChange) GetCurrentViewIndex() int32

func (*ProjectInvitationChange) GetModified

func (*ProjectInvitationChange) GetPreviousViewIndex

func (c *ProjectInvitationChange) GetPreviousViewIndex() int32

func (*ProjectInvitationChange) GetProjectInvitation

func (c *ProjectInvitationChange) GetProjectInvitation() *ProjectInvitation

func (*ProjectInvitationChange) GetProjectInvitationName

func (c *ProjectInvitationChange) GetProjectInvitationName() *Name

func (*ProjectInvitationChange) GetRawName

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

func (*ProjectInvitationChange) GetRawResource added in v0.5.1

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

func (*ProjectInvitationChange) GetRemoved

func (*ProjectInvitationChange) GotenMessage

func (*ProjectInvitationChange) GotenMessage()

func (*ProjectInvitationChange) GotenValidate

func (obj *ProjectInvitationChange) GotenValidate() error

func (*ProjectInvitationChange) IsAdd

func (c *ProjectInvitationChange) IsAdd() bool

func (*ProjectInvitationChange) IsCurrent

func (c *ProjectInvitationChange) IsCurrent() bool

func (*ProjectInvitationChange) IsDelete

func (c *ProjectInvitationChange) IsDelete() bool

func (*ProjectInvitationChange) IsModify

func (c *ProjectInvitationChange) IsModify() bool

func (*ProjectInvitationChange) Marshal

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

func (*ProjectInvitationChange) MarshalJSON

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

func (*ProjectInvitationChange) ProtoMessage

func (*ProjectInvitationChange) ProtoMessage()

func (*ProjectInvitationChange) ProtoReflect

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

func (*ProjectInvitationChange) Reset

func (m *ProjectInvitationChange) Reset()

func (*ProjectInvitationChange) SetAdded

func (*ProjectInvitationChange) SetAddedRaw

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

func (*ProjectInvitationChange) SetChangeType

func (m *ProjectInvitationChange) SetChangeType(ofv isProjectInvitationChange_ChangeType)

func (*ProjectInvitationChange) SetCurrent

func (*ProjectInvitationChange) SetCurrentRaw

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

func (*ProjectInvitationChange) SetDeletedRaw

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

func (*ProjectInvitationChange) SetModified

func (*ProjectInvitationChange) SetModifiedRaw

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

func (*ProjectInvitationChange) SetRemoved

func (*ProjectInvitationChange) String

func (m *ProjectInvitationChange) String() string

func (*ProjectInvitationChange) Unmarshal

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

func (*ProjectInvitationChange) UnmarshalJSON

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

type ProjectInvitationChangeList

type ProjectInvitationChangeList []*ProjectInvitationChange

func (ProjectInvitationChangeList) Append

func (ProjectInvitationChangeList) AppendList

func (ProjectInvitationChangeList) At

func (ProjectInvitationChangeList) Length

func (l ProjectInvitationChangeList) Length() int

func (ProjectInvitationChangeList) Set

func (ProjectInvitationChangeList) Slice

type ProjectInvitationChangeMap

type ProjectInvitationChangeMap map[Name]*ProjectInvitationChange

func (ProjectInvitationChangeMap) Delete

func (ProjectInvitationChangeMap) ForEach

func (ProjectInvitationChangeMap) Get

func (ProjectInvitationChangeMap) Length

func (m ProjectInvitationChangeMap) Length() int

func (ProjectInvitationChangeMap) Set

type ProjectInvitationChange_Added

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

ProjectInvitation has been added to query view

func (*ProjectInvitationChange_Added) Descriptor

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

Deprecated, Use ProjectInvitationChange_Added.ProtoReflect.Descriptor instead.

func (*ProjectInvitationChange_Added) GetProjectInvitation

func (m *ProjectInvitationChange_Added) GetProjectInvitation() *ProjectInvitation

func (*ProjectInvitationChange_Added) GetViewIndex

func (m *ProjectInvitationChange_Added) GetViewIndex() int32

func (*ProjectInvitationChange_Added) GotenMessage

func (*ProjectInvitationChange_Added) GotenMessage()

func (*ProjectInvitationChange_Added) GotenValidate

func (obj *ProjectInvitationChange_Added) GotenValidate() error

func (*ProjectInvitationChange_Added) Marshal

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

func (*ProjectInvitationChange_Added) MarshalJSON

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

func (*ProjectInvitationChange_Added) ProtoMessage

func (*ProjectInvitationChange_Added) ProtoMessage()

func (*ProjectInvitationChange_Added) ProtoReflect

func (*ProjectInvitationChange_Added) Reset

func (m *ProjectInvitationChange_Added) Reset()

func (*ProjectInvitationChange_Added) SetProjectInvitation

func (m *ProjectInvitationChange_Added) SetProjectInvitation(fv *ProjectInvitation)

func (*ProjectInvitationChange_Added) SetViewIndex

func (m *ProjectInvitationChange_Added) SetViewIndex(fv int32)

func (*ProjectInvitationChange_Added) String

func (*ProjectInvitationChange_Added) Unmarshal

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

func (*ProjectInvitationChange_Added) UnmarshalJSON

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

type ProjectInvitationChange_Added_

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

type ProjectInvitationChange_Current

type ProjectInvitationChange_Current struct {
	ProjectInvitation *ProjectInvitation `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ProjectInvitationChange_Current) Descriptor

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

Deprecated, Use ProjectInvitationChange_Current.ProtoReflect.Descriptor instead.

func (*ProjectInvitationChange_Current) GetProjectInvitation

func (m *ProjectInvitationChange_Current) GetProjectInvitation() *ProjectInvitation

func (*ProjectInvitationChange_Current) GotenMessage

func (*ProjectInvitationChange_Current) GotenMessage()

func (*ProjectInvitationChange_Current) GotenValidate

func (obj *ProjectInvitationChange_Current) GotenValidate() error

func (*ProjectInvitationChange_Current) Marshal

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

func (*ProjectInvitationChange_Current) MarshalJSON

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

func (*ProjectInvitationChange_Current) ProtoMessage

func (*ProjectInvitationChange_Current) ProtoMessage()

func (*ProjectInvitationChange_Current) ProtoReflect

func (*ProjectInvitationChange_Current) Reset

func (*ProjectInvitationChange_Current) SetProjectInvitation

func (m *ProjectInvitationChange_Current) SetProjectInvitation(fv *ProjectInvitation)

func (*ProjectInvitationChange_Current) String

func (*ProjectInvitationChange_Current) Unmarshal

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

func (*ProjectInvitationChange_Current) UnmarshalJSON

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

type ProjectInvitationChange_Current_

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

type ProjectInvitationChange_Modified

type ProjectInvitationChange_Modified struct {

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

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

func (*ProjectInvitationChange_Modified) Descriptor

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

Deprecated, Use ProjectInvitationChange_Modified.ProtoReflect.Descriptor instead.

func (*ProjectInvitationChange_Modified) GetFieldMask

func (*ProjectInvitationChange_Modified) GetName

func (m *ProjectInvitationChange_Modified) GetName() *Name

func (*ProjectInvitationChange_Modified) GetPreviousViewIndex

func (m *ProjectInvitationChange_Modified) GetPreviousViewIndex() int32

func (*ProjectInvitationChange_Modified) GetProjectInvitation

func (m *ProjectInvitationChange_Modified) GetProjectInvitation() *ProjectInvitation

func (*ProjectInvitationChange_Modified) GetViewIndex

func (m *ProjectInvitationChange_Modified) GetViewIndex() int32

func (*ProjectInvitationChange_Modified) GotenMessage

func (*ProjectInvitationChange_Modified) GotenMessage()

func (*ProjectInvitationChange_Modified) GotenValidate

func (obj *ProjectInvitationChange_Modified) GotenValidate() error

func (*ProjectInvitationChange_Modified) Marshal

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

func (*ProjectInvitationChange_Modified) MarshalJSON

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

func (*ProjectInvitationChange_Modified) ProtoMessage

func (*ProjectInvitationChange_Modified) ProtoMessage()

func (*ProjectInvitationChange_Modified) ProtoReflect

func (*ProjectInvitationChange_Modified) Reset

func (*ProjectInvitationChange_Modified) SetFieldMask

func (*ProjectInvitationChange_Modified) SetName

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

func (*ProjectInvitationChange_Modified) SetPreviousViewIndex

func (m *ProjectInvitationChange_Modified) SetPreviousViewIndex(fv int32)

func (*ProjectInvitationChange_Modified) SetProjectInvitation

func (m *ProjectInvitationChange_Modified) SetProjectInvitation(fv *ProjectInvitation)

func (*ProjectInvitationChange_Modified) SetViewIndex

func (m *ProjectInvitationChange_Modified) SetViewIndex(fv int32)

func (*ProjectInvitationChange_Modified) String

func (*ProjectInvitationChange_Modified) Unmarshal

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

func (*ProjectInvitationChange_Modified) UnmarshalJSON

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

type ProjectInvitationChange_Modified_

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

type ProjectInvitationChange_Removed

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

func (*ProjectInvitationChange_Removed) Descriptor

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

Deprecated, Use ProjectInvitationChange_Removed.ProtoReflect.Descriptor instead.

func (*ProjectInvitationChange_Removed) GetName

func (m *ProjectInvitationChange_Removed) GetName() *Name

func (*ProjectInvitationChange_Removed) GetViewIndex

func (m *ProjectInvitationChange_Removed) GetViewIndex() int32

func (*ProjectInvitationChange_Removed) GotenMessage

func (*ProjectInvitationChange_Removed) GotenMessage()

func (*ProjectInvitationChange_Removed) GotenValidate

func (obj *ProjectInvitationChange_Removed) GotenValidate() error

func (*ProjectInvitationChange_Removed) Marshal

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

func (*ProjectInvitationChange_Removed) MarshalJSON

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

func (*ProjectInvitationChange_Removed) ProtoMessage

func (*ProjectInvitationChange_Removed) ProtoMessage()

func (*ProjectInvitationChange_Removed) ProtoReflect

func (*ProjectInvitationChange_Removed) Reset

func (*ProjectInvitationChange_Removed) SetName

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

func (*ProjectInvitationChange_Removed) SetViewIndex

func (m *ProjectInvitationChange_Removed) SetViewIndex(fv int32)

func (*ProjectInvitationChange_Removed) String

func (*ProjectInvitationChange_Removed) Unmarshal

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

func (*ProjectInvitationChange_Removed) UnmarshalJSON

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

type ProjectInvitationChange_Removed_

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

type ProjectInvitationFieldPathBuilder

type ProjectInvitationFieldPathBuilder struct{}

func NewProjectInvitationFieldPathBuilder

func NewProjectInvitationFieldPathBuilder() ProjectInvitationFieldPathBuilder

func (ProjectInvitationFieldPathBuilder) Invitation

func (ProjectInvitationFieldPathBuilder) Name

type ProjectInvitationList

type ProjectInvitationList []*ProjectInvitation

func (ProjectInvitationList) Append

func (ProjectInvitationList) AppendList

func (ProjectInvitationList) At

func (ProjectInvitationList) Length

func (l ProjectInvitationList) Length() int

func (ProjectInvitationList) Set

func (ProjectInvitationList) Slice

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

type ProjectInvitationMap

type ProjectInvitationMap map[Name]*ProjectInvitation

func (ProjectInvitationMap) Delete

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

func (ProjectInvitationMap) ForEach

func (ProjectInvitationMap) Get

func (ProjectInvitationMap) Length

func (m ProjectInvitationMap) Length() int

func (ProjectInvitationMap) Set

type ProjectInvitationNameList

type ProjectInvitationNameList []*Name

func (ProjectInvitationNameList) Append

func (ProjectInvitationNameList) AppendList

func (ProjectInvitationNameList) At

func (ProjectInvitationNameList) Length

func (l ProjectInvitationNameList) Length() int

func (ProjectInvitationNameList) Set

func (ProjectInvitationNameList) Slice

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

type ProjectInvitationParentNameList

type ProjectInvitationParentNameList []*ParentName

func (ProjectInvitationParentNameList) Append

func (ProjectInvitationParentNameList) AppendList

func (ProjectInvitationParentNameList) At

func (ProjectInvitationParentNameList) Length

func (ProjectInvitationParentNameList) Set

func (ProjectInvitationParentNameList) Slice

type ProjectInvitationParentReferenceList

type ProjectInvitationParentReferenceList []*ParentReference

func (ProjectInvitationParentReferenceList) Append

func (ProjectInvitationParentReferenceList) AppendList

func (ProjectInvitationParentReferenceList) At

func (ProjectInvitationParentReferenceList) Length

func (ProjectInvitationParentReferenceList) Set

func (ProjectInvitationParentReferenceList) Slice

type ProjectInvitationPathSelectorInvitation

type ProjectInvitationPathSelectorInvitation struct{}

func (ProjectInvitationPathSelectorInvitation) ExpirationDate

func (ProjectInvitationPathSelectorInvitation) FieldPath

func (ProjectInvitationPathSelectorInvitation) InviteeEmail

func (ProjectInvitationPathSelectorInvitation) InviterActor

func (ProjectInvitationPathSelectorInvitation) InviterEmail

func (ProjectInvitationPathSelectorInvitation) InviterFullName

func (ProjectInvitationPathSelectorInvitation) Roles

func (ProjectInvitationPathSelectorInvitation) State

func (ProjectInvitationPathSelectorInvitation) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitation) WithSubArrayItemValue

func (ProjectInvitationPathSelectorInvitation) WithSubArrayOfValues

func (ProjectInvitationPathSelectorInvitation) WithSubPath

func (ProjectInvitationPathSelectorInvitation) WithSubValue

func (ProjectInvitationPathSelectorInvitation) WithValue

type ProjectInvitationPathSelectorInvitationExpirationDate

type ProjectInvitationPathSelectorInvitationExpirationDate struct{}

func (ProjectInvitationPathSelectorInvitationExpirationDate) FieldPath

func (ProjectInvitationPathSelectorInvitationExpirationDate) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationExpirationDate) WithValue

type ProjectInvitationPathSelectorInvitationInviteeEmail

type ProjectInvitationPathSelectorInvitationInviteeEmail struct{}

func (ProjectInvitationPathSelectorInvitationInviteeEmail) FieldPath

func (ProjectInvitationPathSelectorInvitationInviteeEmail) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviteeEmail) WithValue

type ProjectInvitationPathSelectorInvitationInviterActor

type ProjectInvitationPathSelectorInvitationInviterActor struct{}

func (ProjectInvitationPathSelectorInvitationInviterActor) FieldPath

func (ProjectInvitationPathSelectorInvitationInviterActor) ServiceAccount

func (ProjectInvitationPathSelectorInvitationInviterActor) User

func (ProjectInvitationPathSelectorInvitationInviterActor) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviterActor) WithValue

type ProjectInvitationPathSelectorInvitationInviterActorServiceAccount

type ProjectInvitationPathSelectorInvitationInviterActorServiceAccount struct{}

func (ProjectInvitationPathSelectorInvitationInviterActorServiceAccount) FieldPath

func (ProjectInvitationPathSelectorInvitationInviterActorServiceAccount) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviterActorServiceAccount) WithValue

type ProjectInvitationPathSelectorInvitationInviterActorUser

type ProjectInvitationPathSelectorInvitationInviterActorUser struct{}

func (ProjectInvitationPathSelectorInvitationInviterActorUser) FieldPath

func (ProjectInvitationPathSelectorInvitationInviterActorUser) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviterActorUser) WithValue

type ProjectInvitationPathSelectorInvitationInviterEmail

type ProjectInvitationPathSelectorInvitationInviterEmail struct{}

func (ProjectInvitationPathSelectorInvitationInviterEmail) FieldPath

func (ProjectInvitationPathSelectorInvitationInviterEmail) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviterEmail) WithValue

type ProjectInvitationPathSelectorInvitationInviterFullName

type ProjectInvitationPathSelectorInvitationInviterFullName struct{}

func (ProjectInvitationPathSelectorInvitationInviterFullName) FieldPath

func (ProjectInvitationPathSelectorInvitationInviterFullName) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationInviterFullName) WithValue

type ProjectInvitationPathSelectorInvitationRoles

type ProjectInvitationPathSelectorInvitationRoles struct{}

func (ProjectInvitationPathSelectorInvitationRoles) FieldPath

func (ProjectInvitationPathSelectorInvitationRoles) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationRoles) WithItemValue

func (ProjectInvitationPathSelectorInvitationRoles) WithValue

type ProjectInvitationPathSelectorInvitationState

type ProjectInvitationPathSelectorInvitationState struct{}

func (ProjectInvitationPathSelectorInvitationState) FieldPath

func (ProjectInvitationPathSelectorInvitationState) WithArrayOfValues

func (ProjectInvitationPathSelectorInvitationState) WithValue

type ProjectInvitationPathSelectorName

type ProjectInvitationPathSelectorName struct{}

func (ProjectInvitationPathSelectorName) FieldPath

func (ProjectInvitationPathSelectorName) WithArrayOfValues

func (ProjectInvitationPathSelectorName) WithValue

type ProjectInvitationReferenceList

type ProjectInvitationReferenceList []*Reference

func (ProjectInvitationReferenceList) Append

func (ProjectInvitationReferenceList) AppendList

func (ProjectInvitationReferenceList) At

func (ProjectInvitationReferenceList) Length

func (ProjectInvitationReferenceList) Set

func (ProjectInvitationReferenceList) Slice

type ProjectInvitation_FieldMask

type ProjectInvitation_FieldMask struct {
	Paths []ProjectInvitation_FieldPath
}

func FullProjectInvitation_FieldMask

func FullProjectInvitation_FieldMask() *ProjectInvitation_FieldMask

func ResourceViewFieldMask

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

func (*ProjectInvitation_FieldMask) AppendPath

func (fieldMask *ProjectInvitation_FieldMask) AppendPath(path ProjectInvitation_FieldPath)

func (*ProjectInvitation_FieldMask) AppendRawPath

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

func (*ProjectInvitation_FieldMask) DecodeFirestore

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

func (*ProjectInvitation_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ProjectInvitation_FieldMask) FilterInputFields

func (fieldMask *ProjectInvitation_FieldMask) FilterInputFields() *ProjectInvitation_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ProjectInvitation_FieldMask) FromProtoFieldMask

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

func (*ProjectInvitation_FieldMask) GetPaths

func (*ProjectInvitation_FieldMask) GetRawPaths

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

func (*ProjectInvitation_FieldMask) IsFull

func (fieldMask *ProjectInvitation_FieldMask) IsFull() bool

func (ProjectInvitation_FieldMask) Marshal

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

implement methods required by customType

func (ProjectInvitation_FieldMask) MarshalJSON

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

func (*ProjectInvitation_FieldMask) PathsCount

func (fieldMask *ProjectInvitation_FieldMask) PathsCount() int

func (*ProjectInvitation_FieldMask) Project

func (*ProjectInvitation_FieldMask) ProjectRaw

func (*ProjectInvitation_FieldMask) ProtoMessage

func (fieldMask *ProjectInvitation_FieldMask) ProtoMessage()

func (*ProjectInvitation_FieldMask) ProtoReflect

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

func (*ProjectInvitation_FieldMask) Reset

func (fieldMask *ProjectInvitation_FieldMask) Reset()

func (*ProjectInvitation_FieldMask) Set

func (fieldMask *ProjectInvitation_FieldMask) Set(target, source *ProjectInvitation)

func (*ProjectInvitation_FieldMask) SetFromCliFlag

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

func (*ProjectInvitation_FieldMask) SetRaw

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

func (*ProjectInvitation_FieldMask) Size

func (fieldMask *ProjectInvitation_FieldMask) Size() int

func (*ProjectInvitation_FieldMask) String

func (fieldMask *ProjectInvitation_FieldMask) String() string

func (*ProjectInvitation_FieldMask) Subtract

func (*ProjectInvitation_FieldMask) SubtractRaw

func (*ProjectInvitation_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ProjectInvitation_FieldMask) Unmarshal

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

func (*ProjectInvitation_FieldMask) UnmarshalJSON

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

type ProjectInvitation_FieldPath

type ProjectInvitation_FieldPath interface {
	gotenobject.FieldPath
	Selector() ProjectInvitation_FieldPathSelector
	Get(source *ProjectInvitation) []interface{}
	GetSingle(source *ProjectInvitation) (interface{}, bool)
	ClearValue(item *ProjectInvitation)

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

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

func MustParseProjectInvitation_FieldPath

func MustParseProjectInvitation_FieldPath(rawField string) ProjectInvitation_FieldPath

func ParseProjectInvitation_FieldPath

func ParseProjectInvitation_FieldPath(rawField string) (ProjectInvitation_FieldPath, error)

type ProjectInvitation_FieldPathArrayItemValue

type ProjectInvitation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ProjectInvitation_FieldPath
	ContainsValue(*ProjectInvitation) bool
}

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

func MustParseProjectInvitation_FieldPathArrayItemValue

func MustParseProjectInvitation_FieldPathArrayItemValue(pathStr, valueStr string) ProjectInvitation_FieldPathArrayItemValue

func ParseProjectInvitation_FieldPathArrayItemValue

func ParseProjectInvitation_FieldPathArrayItemValue(pathStr, valueStr string) (ProjectInvitation_FieldPathArrayItemValue, error)

ParseProjectInvitation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ProjectInvitation_FieldPathArrayOfValues

type ProjectInvitation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ProjectInvitation_FieldPath
}

ProjectInvitation_FieldPathArrayOfValues allows storing slice of values for ProjectInvitation fields according to their type

func MustParseProjectInvitation_FieldPathArrayOfValues

func MustParseProjectInvitation_FieldPathArrayOfValues(pathStr, valuesStr string) ProjectInvitation_FieldPathArrayOfValues

func ParseProjectInvitation_FieldPathArrayOfValues

func ParseProjectInvitation_FieldPathArrayOfValues(pathStr, valuesStr string) (ProjectInvitation_FieldPathArrayOfValues, error)

type ProjectInvitation_FieldPathSelector

type ProjectInvitation_FieldPathSelector int32
const (
	ProjectInvitation_FieldPathSelectorName       ProjectInvitation_FieldPathSelector = 0
	ProjectInvitation_FieldPathSelectorInvitation ProjectInvitation_FieldPathSelector = 1
)

func (ProjectInvitation_FieldPathSelector) String

type ProjectInvitation_FieldPathValue

type ProjectInvitation_FieldPathValue interface {
	ProjectInvitation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ProjectInvitation)
	CompareWith(*ProjectInvitation) (cmp int, comparable bool)
}

ProjectInvitation_FieldPathValue allows storing values for ProjectInvitation fields according to their type

func MustParseProjectInvitation_FieldPathValue

func MustParseProjectInvitation_FieldPathValue(pathStr, valueStr string) ProjectInvitation_FieldPathValue

func ParseProjectInvitation_FieldPathValue

func ParseProjectInvitation_FieldPathValue(pathStr, valueStr string) (ProjectInvitation_FieldPathValue, error)

type ProjectInvitation_FieldSubPath

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

func (*ProjectInvitation_FieldSubPath) AsInvitationSubPath

func (*ProjectInvitation_FieldSubPath) ClearValue

func (fps *ProjectInvitation_FieldSubPath) ClearValue(item *ProjectInvitation)

func (*ProjectInvitation_FieldSubPath) ClearValueRaw

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

func (*ProjectInvitation_FieldSubPath) Get

func (fps *ProjectInvitation_FieldSubPath) Get(source *ProjectInvitation) (values []interface{})

Get returns all values pointed by selected field from source ProjectInvitation

func (*ProjectInvitation_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ProjectInvitation_FieldSubPath) GetRaw

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

func (*ProjectInvitation_FieldSubPath) GetSingle

func (fps *ProjectInvitation_FieldSubPath) GetSingle(source *ProjectInvitation) (interface{}, bool)

GetSingle returns value of selected field from source ProjectInvitation

func (*ProjectInvitation_FieldSubPath) GetSingleRaw

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

func (*ProjectInvitation_FieldSubPath) IsLeaf

func (fps *ProjectInvitation_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ProjectInvitation_FieldSubPath) JSONString

func (fps *ProjectInvitation_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ProjectInvitation_FieldSubPath) Selector

func (*ProjectInvitation_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*ProjectInvitation_FieldSubPath) String

func (fps *ProjectInvitation_FieldSubPath) String() string

String returns path representation in proto convention

func (*ProjectInvitation_FieldSubPath) WithIArrayItemValue

func (fps *ProjectInvitation_FieldSubPath) WithIArrayItemValue(value interface{}) ProjectInvitation_FieldPathArrayItemValue

func (*ProjectInvitation_FieldSubPath) WithIArrayOfValues

func (fps *ProjectInvitation_FieldSubPath) WithIArrayOfValues(values interface{}) ProjectInvitation_FieldPathArrayOfValues

func (*ProjectInvitation_FieldSubPath) WithIValue

func (fps *ProjectInvitation_FieldSubPath) WithIValue(value interface{}) ProjectInvitation_FieldPathValue

func (*ProjectInvitation_FieldSubPath) WithRawIArrayItemValue

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

func (*ProjectInvitation_FieldSubPath) WithRawIArrayOfValues

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

func (*ProjectInvitation_FieldSubPath) WithRawIValue

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

type ProjectInvitation_FieldSubPathArrayItemValue

type ProjectInvitation_FieldSubPathArrayItemValue struct {
	ProjectInvitation_FieldPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldSubPathArrayItemValue) AsInvitationPathItemValue

func (*ProjectInvitation_FieldSubPathArrayItemValue) ContainsValue

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

func (*ProjectInvitation_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type ProjectInvitation_FieldSubPathArrayOfValues

type ProjectInvitation_FieldSubPathArrayOfValues struct {
	ProjectInvitation_FieldPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldSubPathArrayOfValues) AsInvitationPathArrayOfValues

func (*ProjectInvitation_FieldSubPathArrayOfValues) GetRawValues

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

type ProjectInvitation_FieldSubPathValue

type ProjectInvitation_FieldSubPathValue struct {
	ProjectInvitation_FieldPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldSubPathValue) AsInvitationPathValue

func (*ProjectInvitation_FieldSubPathValue) CompareWith

func (fpvs *ProjectInvitation_FieldSubPathValue) CompareWith(source *ProjectInvitation) (int, bool)

func (*ProjectInvitation_FieldSubPathValue) CompareWithRaw

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

func (*ProjectInvitation_FieldSubPathValue) GetRawValue

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

func (*ProjectInvitation_FieldSubPathValue) SetTo

func (*ProjectInvitation_FieldSubPathValue) SetToRaw

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

type ProjectInvitation_FieldTerminalPath

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

func (*ProjectInvitation_FieldTerminalPath) ClearValue

func (*ProjectInvitation_FieldTerminalPath) ClearValueRaw

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

func (*ProjectInvitation_FieldTerminalPath) Get

func (fp *ProjectInvitation_FieldTerminalPath) Get(source *ProjectInvitation) (values []interface{})

Get returns all values pointed by specific field from source ProjectInvitation

func (*ProjectInvitation_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ProjectInvitation_FieldTerminalPath) GetRaw

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

func (*ProjectInvitation_FieldTerminalPath) GetSingle

func (fp *ProjectInvitation_FieldTerminalPath) GetSingle(source *ProjectInvitation) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ProjectInvitation

func (*ProjectInvitation_FieldTerminalPath) GetSingleRaw

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

func (*ProjectInvitation_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ProjectInvitation_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*ProjectInvitation_FieldTerminalPath) Selector

func (*ProjectInvitation_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*ProjectInvitation_FieldTerminalPath) String

String returns path representation in proto convention

func (*ProjectInvitation_FieldTerminalPath) WithIArrayItemValue

func (fp *ProjectInvitation_FieldTerminalPath) WithIArrayItemValue(value interface{}) ProjectInvitation_FieldPathArrayItemValue

func (*ProjectInvitation_FieldTerminalPath) WithIArrayOfValues

func (fp *ProjectInvitation_FieldTerminalPath) WithIArrayOfValues(values interface{}) ProjectInvitation_FieldPathArrayOfValues

func (*ProjectInvitation_FieldTerminalPath) WithIValue

func (*ProjectInvitation_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ProjectInvitation_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ProjectInvitation_FieldTerminalPath) WithRawIValue

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

type ProjectInvitation_FieldTerminalPathArrayItemValue

type ProjectInvitation_FieldTerminalPathArrayItemValue struct {
	ProjectInvitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ProjectInvitation_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ProjectInvitation_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ProjectInvitation_FieldTerminalPathArrayItemValue) GetSingle(source *ProjectInvitation) (interface{}, bool)

func (*ProjectInvitation_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ProjectInvitation_FieldTerminalPathArrayOfValues

type ProjectInvitation_FieldTerminalPathArrayOfValues struct {
	ProjectInvitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldTerminalPathArrayOfValues) AsInvitationArrayOfValues

func (fpaov *ProjectInvitation_FieldTerminalPathArrayOfValues) AsInvitationArrayOfValues() ([]*iam_common.Invitation, bool)

func (*ProjectInvitation_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*ProjectInvitation_FieldTerminalPathArrayOfValues) GetRawValues

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

type ProjectInvitation_FieldTerminalPathValue

type ProjectInvitation_FieldTerminalPathValue struct {
	ProjectInvitation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ProjectInvitation_FieldTerminalPathValue) AsInvitationValue

func (*ProjectInvitation_FieldTerminalPathValue) AsNameValue

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

func (*ProjectInvitation_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'ProjectInvitation_FieldTerminalPathValue' with the value under path in 'ProjectInvitation'.

func (*ProjectInvitation_FieldTerminalPathValue) CompareWithRaw

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

func (*ProjectInvitation_FieldTerminalPathValue) GetRawValue

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

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

func (*ProjectInvitation_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ProjectInvitation

func (*ProjectInvitation_FieldTerminalPathValue) SetToRaw

type QueryResultChange

type QueryResultChange struct {
	Changes        []*ProjectInvitationChange
	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 {
	ProjectInvitations []*ProjectInvitation
	PrevPageCursor     *PagerCursor
	NextPageCursor     *PagerCursor
	TotalResultsCount  int32
	CurrentOffset      int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) GetPrevPageCursor

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

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, projectInvitation *ProjectInvitation) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

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

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

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

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetProjectInvitation

func (ref *Reference) GetProjectInvitation() *ProjectInvitation

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

func (*Reference) ResolveRaw

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

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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