role

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Service = "services/{service}/roles/{role}"
)

Variables

View Source
var (
	Role_ScopeParamType_Type_name = map[int32]string{
		0: "UNDEFINED",
		1: "STRING",
		2: "ARRAY_OF_STRINGS",
	}

	Role_ScopeParamType_Type_value = map[string]int32{
		"UNDEFINED":        0,
		"STRING":           1,
		"ARRAY_OF_STRINGS": 2,
	}
)

Functions

func AsAnyCastAccess

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

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 Role_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 *Role) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Role_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Role) 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 Role_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 *Role) 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 Role_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 Role_FieldPath

	Value  Role_FieldPathArrayItemValue
	Values []Role_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 *Role) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Role) 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 Role_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 Role_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Role) 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 Role_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 Role_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Role) 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 Role_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 *Role) 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 Role_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 {
	Role_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Role) 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 Role_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      *Role_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           *Role_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
	RoleId string `firestore:"roleId"`
}

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Role_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 RoleList, elem *Role) (RoleList, 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 RoleList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Role_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 *Role) 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"`
}

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

type QueryResultChange struct {
	Changes        []*RoleChange
	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 {
	Roles             []*Role
	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, role *Role) (*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) GetRawResource

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

func (*Reference) GetResourceDescriptor

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

func (*Reference) GetRole

func (ref *Reference) GetRole() *Role

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

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 Role

type Role struct {

	// Name of Role
	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,4,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Display Name
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// List of scope params, they are used to evaluate object prefixes in
	// grants and values in their field conditions, if any.
	ScopeParams []*Role_ScopeParamType `protobuf:"bytes,3,rep,name=scope_params,json=scopeParams,proto3" json:"scope_params,omitempty" firestore:"scopeParams"`
	// List of permissions granted per each object prefix.
	Grants []*Role_Grant `protobuf:"bytes,5,rep,name=grants,proto3" json:"grants,omitempty" firestore:"grants"`
	// List of owned objects templates - during binding of a role, each owned
	// object specified in this role is computed against scope params from role
	// binding to evaluate final owned objects. For example, if owned_objects in
	// Role contains value "regions/{region}/devices/{device}, and RoleBinding
	// specifies region=useast and device=d1, then final owned_object will be
	// regions/useast/devices/d1. Ownership also would include any potential child
	// resources of this device. Note that RoleBinding scope (project,
	// organization, service) will still be prepended before each owned object to
	// form fully qualified name of the owned resource. Owned objects may contain
	// wildcards: '-'. As a special case, if owned objects contain string with
	// only single character: '-', then it means member of the role binding is
	// considered as full owner of the scope.
	// This field cannot be modified after role creation.
	OwnedObjects []string `protobuf:"bytes,6,rep,name=owned_objects,json=ownedObjects,proto3" json:"owned_objects,omitempty" firestore:"ownedObjects"`
	// List of services used by this role. It is being detected by the usage of
	// permissions in grants - or if it has owned objects, it contains all
	// services used by parent service.
	Services []*meta_service.Reference `protobuf:"bytes,7,rep,customtype=Reference,name=services,proto3" json:"services,omitempty" firestore:"services"`
	// Internal field used by controller to ensure role bindings are in sync with
	// role updates.
	RbSpecGeneration int64 `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Role Resource

func (*Role) Clone

func (o *Role) Clone() *Role

func (*Role) CloneRaw

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

func (*Role) Descriptor

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

Deprecated, Use Role.ProtoReflect.Descriptor instead.

func (*Role) EnsureMetadata

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

func (*Role) GetDisplayName

func (m *Role) GetDisplayName() string

func (*Role) GetGrants

func (m *Role) GetGrants() []*Role_Grant

func (*Role) GetMetadata

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

func (*Role) GetName

func (m *Role) GetName() *Name

func (*Role) GetOwnedObjects

func (m *Role) GetOwnedObjects() []string

func (*Role) GetRawName

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

func (*Role) GetRbSpecGeneration

func (m *Role) GetRbSpecGeneration() int64

func (*Role) GetResourceDescriptor

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

func (*Role) GetScopeParams

func (m *Role) GetScopeParams() []*Role_ScopeParamType

func (*Role) GetServices

func (m *Role) GetServices() []*meta_service.Reference

func (*Role) GotenMessage

func (*Role) GotenMessage()

func (*Role) GotenObjectExt

func (o *Role) GotenObjectExt()

func (*Role) GotenValidate

func (obj *Role) GotenValidate() error

func (*Role) MakeDiffFieldMask

func (o *Role) MakeDiffFieldMask(other *Role) *Role_FieldMask

func (*Role) MakeFullFieldMask

func (o *Role) MakeFullFieldMask() *Role_FieldMask

func (*Role) MakeRawDiffFieldMask

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

func (*Role) MakeRawFullFieldMask

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

func (*Role) Marshal

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

func (*Role) MarshalJSON

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

func (*Role) MaybePopulateDefaults

func (r *Role) MaybePopulateDefaults() error

func (*Role) Merge

func (o *Role) Merge(source *Role)

func (*Role) MergeRaw

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

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (m *Role) Reset()

func (*Role) SetDisplayName

func (m *Role) SetDisplayName(fv string)

func (*Role) SetGrants

func (m *Role) SetGrants(fv []*Role_Grant)

func (*Role) SetMetadata

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

func (*Role) SetName

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

func (*Role) SetOwnedObjects

func (m *Role) SetOwnedObjects(fv []string)

func (*Role) SetRbSpecGeneration

func (m *Role) SetRbSpecGeneration(fv int64)

func (*Role) SetScopeParams

func (m *Role) SetScopeParams(fv []*Role_ScopeParamType)

func (*Role) SetServices

func (m *Role) SetServices(fv []*meta_service.Reference)

func (*Role) String

func (m *Role) String() string

func (*Role) Unmarshal

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

func (*Role) UnmarshalJSON

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

type RoleChange

type RoleChange struct {

	// Role change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*RoleChange_Added_
	//	*RoleChange_Modified_
	//	*RoleChange_Current_
	//	*RoleChange_Removed_
	ChangeType isRoleChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*RoleChange) Descriptor

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

Deprecated, Use RoleChange.ProtoReflect.Descriptor instead.

func (*RoleChange) GetAdded

func (m *RoleChange) GetAdded() *RoleChange_Added

func (*RoleChange) GetChangeType

func (m *RoleChange) GetChangeType() isRoleChange_ChangeType

func (*RoleChange) GetCurrent

func (m *RoleChange) GetCurrent() *RoleChange_Current

func (*RoleChange) GetCurrentViewIndex

func (c *RoleChange) GetCurrentViewIndex() int32

func (*RoleChange) GetModified

func (m *RoleChange) GetModified() *RoleChange_Modified

func (*RoleChange) GetPreviousViewIndex

func (c *RoleChange) GetPreviousViewIndex() int32

func (*RoleChange) GetRawName

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

func (*RoleChange) GetRawResource

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

func (*RoleChange) GetRemoved

func (m *RoleChange) GetRemoved() *RoleChange_Removed

func (*RoleChange) GetRole

func (c *RoleChange) GetRole() *Role

func (*RoleChange) GetRoleName

func (c *RoleChange) GetRoleName() *Name

func (*RoleChange) GotenMessage

func (*RoleChange) GotenMessage()

func (*RoleChange) GotenValidate

func (obj *RoleChange) GotenValidate() error

func (*RoleChange) IsAdd

func (c *RoleChange) IsAdd() bool

func (*RoleChange) IsCurrent

func (c *RoleChange) IsCurrent() bool

func (*RoleChange) IsDelete

func (c *RoleChange) IsDelete() bool

func (*RoleChange) IsModify

func (c *RoleChange) IsModify() bool

func (*RoleChange) Marshal

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

func (*RoleChange) MarshalJSON

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

func (*RoleChange) ProtoMessage

func (*RoleChange) ProtoMessage()

func (*RoleChange) ProtoReflect

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

func (*RoleChange) Reset

func (m *RoleChange) Reset()

func (*RoleChange) SetAdded

func (m *RoleChange) SetAdded(fv *RoleChange_Added)

func (*RoleChange) SetAddedRaw

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

func (*RoleChange) SetChangeType

func (m *RoleChange) SetChangeType(ofv isRoleChange_ChangeType)

func (*RoleChange) SetCurrent

func (m *RoleChange) SetCurrent(fv *RoleChange_Current)

func (*RoleChange) SetCurrentRaw

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

func (*RoleChange) SetDeletedRaw

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

func (*RoleChange) SetModified

func (m *RoleChange) SetModified(fv *RoleChange_Modified)

func (*RoleChange) SetModifiedRaw

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

func (*RoleChange) SetRemoved

func (m *RoleChange) SetRemoved(fv *RoleChange_Removed)

func (*RoleChange) String

func (m *RoleChange) String() string

func (*RoleChange) Unmarshal

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

func (*RoleChange) UnmarshalJSON

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

type RoleChangeList

type RoleChangeList []*RoleChange

func (RoleChangeList) At

func (RoleChangeList) Length

func (l RoleChangeList) Length() int

func (RoleChangeList) Set

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

func (RoleChangeList) Slice

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

type RoleChangeMap

type RoleChangeMap map[Name]*RoleChange

func (RoleChangeMap) Delete

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

func (RoleChangeMap) ForEach

func (RoleChangeMap) Get

func (RoleChangeMap) Length

func (m RoleChangeMap) Length() int

func (RoleChangeMap) Set

type RoleChange_Added

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

Role has been added to query view

func (*RoleChange_Added) Descriptor

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

Deprecated, Use RoleChange_Added.ProtoReflect.Descriptor instead.

func (*RoleChange_Added) GetRole

func (m *RoleChange_Added) GetRole() *Role

func (*RoleChange_Added) GetViewIndex

func (m *RoleChange_Added) GetViewIndex() int32

func (*RoleChange_Added) GotenMessage

func (*RoleChange_Added) GotenMessage()

func (*RoleChange_Added) GotenValidate

func (obj *RoleChange_Added) GotenValidate() error

func (*RoleChange_Added) Marshal

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

func (*RoleChange_Added) MarshalJSON

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

func (*RoleChange_Added) ProtoMessage

func (*RoleChange_Added) ProtoMessage()

func (*RoleChange_Added) ProtoReflect

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

func (*RoleChange_Added) Reset

func (m *RoleChange_Added) Reset()

func (*RoleChange_Added) SetRole

func (m *RoleChange_Added) SetRole(fv *Role)

func (*RoleChange_Added) SetViewIndex

func (m *RoleChange_Added) SetViewIndex(fv int32)

func (*RoleChange_Added) String

func (m *RoleChange_Added) String() string

func (*RoleChange_Added) Unmarshal

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

func (*RoleChange_Added) UnmarshalJSON

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

type RoleChange_Added_

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

type RoleChange_Current

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

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

func (*RoleChange_Current) Descriptor

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

Deprecated, Use RoleChange_Current.ProtoReflect.Descriptor instead.

func (*RoleChange_Current) GetRole

func (m *RoleChange_Current) GetRole() *Role

func (*RoleChange_Current) GotenMessage

func (*RoleChange_Current) GotenMessage()

func (*RoleChange_Current) GotenValidate

func (obj *RoleChange_Current) GotenValidate() error

func (*RoleChange_Current) Marshal

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

func (*RoleChange_Current) MarshalJSON

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

func (*RoleChange_Current) ProtoMessage

func (*RoleChange_Current) ProtoMessage()

func (*RoleChange_Current) ProtoReflect

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

func (*RoleChange_Current) Reset

func (m *RoleChange_Current) Reset()

func (*RoleChange_Current) SetRole

func (m *RoleChange_Current) SetRole(fv *Role)

func (*RoleChange_Current) String

func (m *RoleChange_Current) String() string

func (*RoleChange_Current) Unmarshal

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

func (*RoleChange_Current) UnmarshalJSON

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

type RoleChange_Current_

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

type RoleChange_Modified

type RoleChange_Modified struct {

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

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

func (*RoleChange_Modified) Descriptor

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

Deprecated, Use RoleChange_Modified.ProtoReflect.Descriptor instead.

func (*RoleChange_Modified) GetFieldMask

func (m *RoleChange_Modified) GetFieldMask() *Role_FieldMask

func (*RoleChange_Modified) GetName

func (m *RoleChange_Modified) GetName() *Name

func (*RoleChange_Modified) GetPreviousViewIndex

func (m *RoleChange_Modified) GetPreviousViewIndex() int32

func (*RoleChange_Modified) GetRole

func (m *RoleChange_Modified) GetRole() *Role

func (*RoleChange_Modified) GetViewIndex

func (m *RoleChange_Modified) GetViewIndex() int32

func (*RoleChange_Modified) GotenMessage

func (*RoleChange_Modified) GotenMessage()

func (*RoleChange_Modified) GotenValidate

func (obj *RoleChange_Modified) GotenValidate() error

func (*RoleChange_Modified) Marshal

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

func (*RoleChange_Modified) MarshalJSON

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

func (*RoleChange_Modified) ProtoMessage

func (*RoleChange_Modified) ProtoMessage()

func (*RoleChange_Modified) ProtoReflect

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

func (*RoleChange_Modified) Reset

func (m *RoleChange_Modified) Reset()

func (*RoleChange_Modified) SetFieldMask

func (m *RoleChange_Modified) SetFieldMask(fv *Role_FieldMask)

func (*RoleChange_Modified) SetName

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

func (*RoleChange_Modified) SetPreviousViewIndex

func (m *RoleChange_Modified) SetPreviousViewIndex(fv int32)

func (*RoleChange_Modified) SetRole

func (m *RoleChange_Modified) SetRole(fv *Role)

func (*RoleChange_Modified) SetViewIndex

func (m *RoleChange_Modified) SetViewIndex(fv int32)

func (*RoleChange_Modified) String

func (m *RoleChange_Modified) String() string

func (*RoleChange_Modified) Unmarshal

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

func (*RoleChange_Modified) UnmarshalJSON

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

type RoleChange_Modified_

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

type RoleChange_Removed

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

func (*RoleChange_Removed) Descriptor

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

Deprecated, Use RoleChange_Removed.ProtoReflect.Descriptor instead.

func (*RoleChange_Removed) GetName

func (m *RoleChange_Removed) GetName() *Name

func (*RoleChange_Removed) GetViewIndex

func (m *RoleChange_Removed) GetViewIndex() int32

func (*RoleChange_Removed) GotenMessage

func (*RoleChange_Removed) GotenMessage()

func (*RoleChange_Removed) GotenValidate

func (obj *RoleChange_Removed) GotenValidate() error

func (*RoleChange_Removed) Marshal

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

func (*RoleChange_Removed) MarshalJSON

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

func (*RoleChange_Removed) ProtoMessage

func (*RoleChange_Removed) ProtoMessage()

func (*RoleChange_Removed) ProtoReflect

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

func (*RoleChange_Removed) Reset

func (m *RoleChange_Removed) Reset()

func (*RoleChange_Removed) SetName

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

func (*RoleChange_Removed) SetViewIndex

func (m *RoleChange_Removed) SetViewIndex(fv int32)

func (*RoleChange_Removed) String

func (m *RoleChange_Removed) String() string

func (*RoleChange_Removed) Unmarshal

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

func (*RoleChange_Removed) UnmarshalJSON

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

type RoleChange_Removed_

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

type RoleFieldPathBuilder

type RoleFieldPathBuilder struct{}

func NewRoleFieldPathBuilder

func NewRoleFieldPathBuilder() RoleFieldPathBuilder

func (RoleFieldPathBuilder) DisplayName

func (RoleFieldPathBuilder) Grants

func (RoleFieldPathBuilder) Metadata

func (RoleFieldPathBuilder) Name

func (RoleFieldPathBuilder) OwnedObjects

func (RoleFieldPathBuilder) RbSpecGeneration

func (RoleFieldPathBuilder) ScopeParams

func (RoleFieldPathBuilder) Services

type RoleGrantFieldConditionFieldPathBuilder

type RoleGrantFieldConditionFieldPathBuilder struct{}

func NewRoleGrantFieldConditionFieldPathBuilder

func NewRoleGrantFieldConditionFieldPathBuilder() RoleGrantFieldConditionFieldPathBuilder

func (RoleGrantFieldConditionFieldPathBuilder) Path

func (RoleGrantFieldConditionFieldPathBuilder) Value

type RoleGrantFieldCondition_FieldPath

type RoleGrantFieldCondition_FieldPath interface {
	gotenobject.FieldPath
	Selector() RoleGrantFieldCondition_FieldPathSelector
	Get(source *Role_Grant_FieldCondition) []interface{}
	GetSingle(source *Role_Grant_FieldCondition) (interface{}, bool)
	ClearValue(item *Role_Grant_FieldCondition)

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

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

func MustParseRoleGrantFieldCondition_FieldPath

func MustParseRoleGrantFieldCondition_FieldPath(rawField string) RoleGrantFieldCondition_FieldPath

func ParseRoleGrantFieldCondition_FieldPath

func ParseRoleGrantFieldCondition_FieldPath(rawField string) (RoleGrantFieldCondition_FieldPath, error)

type RoleGrantFieldCondition_FieldPathArrayItemValue

type RoleGrantFieldCondition_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RoleGrantFieldCondition_FieldPath
	ContainsValue(*Role_Grant_FieldCondition) bool
}

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

func MustParseRoleGrantFieldCondition_FieldPathArrayItemValue

func MustParseRoleGrantFieldCondition_FieldPathArrayItemValue(pathStr, valueStr string) RoleGrantFieldCondition_FieldPathArrayItemValue

func ParseRoleGrantFieldCondition_FieldPathArrayItemValue

func ParseRoleGrantFieldCondition_FieldPathArrayItemValue(pathStr, valueStr string) (RoleGrantFieldCondition_FieldPathArrayItemValue, error)

ParseRoleGrantFieldCondition_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RoleGrantFieldCondition_FieldPathArrayOfValues

type RoleGrantFieldCondition_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RoleGrantFieldCondition_FieldPath
}

RoleGrantFieldCondition_FieldPathArrayOfValues allows storing slice of values for FieldCondition fields according to their type

func MustParseRoleGrantFieldCondition_FieldPathArrayOfValues

func MustParseRoleGrantFieldCondition_FieldPathArrayOfValues(pathStr, valuesStr string) RoleGrantFieldCondition_FieldPathArrayOfValues

func ParseRoleGrantFieldCondition_FieldPathArrayOfValues

func ParseRoleGrantFieldCondition_FieldPathArrayOfValues(pathStr, valuesStr string) (RoleGrantFieldCondition_FieldPathArrayOfValues, error)

type RoleGrantFieldCondition_FieldPathSelector

type RoleGrantFieldCondition_FieldPathSelector int32
const (
	RoleGrantFieldCondition_FieldPathSelectorPath  RoleGrantFieldCondition_FieldPathSelector = 0
	RoleGrantFieldCondition_FieldPathSelectorValue RoleGrantFieldCondition_FieldPathSelector = 1
)

func (RoleGrantFieldCondition_FieldPathSelector) String

type RoleGrantFieldCondition_FieldPathValue

type RoleGrantFieldCondition_FieldPathValue interface {
	RoleGrantFieldCondition_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Role_Grant_FieldCondition)
	CompareWith(*Role_Grant_FieldCondition) (cmp int, comparable bool)
}

RoleGrantFieldCondition_FieldPathValue allows storing values for FieldCondition fields according to their type

func MustParseRoleGrantFieldCondition_FieldPathValue

func MustParseRoleGrantFieldCondition_FieldPathValue(pathStr, valueStr string) RoleGrantFieldCondition_FieldPathValue

func ParseRoleGrantFieldCondition_FieldPathValue

func ParseRoleGrantFieldCondition_FieldPathValue(pathStr, valueStr string) (RoleGrantFieldCondition_FieldPathValue, error)

type RoleGrantFieldCondition_FieldTerminalPath

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

func (*RoleGrantFieldCondition_FieldTerminalPath) ClearValue

func (*RoleGrantFieldCondition_FieldTerminalPath) ClearValueRaw

func (*RoleGrantFieldCondition_FieldTerminalPath) Get

func (fp *RoleGrantFieldCondition_FieldTerminalPath) Get(source *Role_Grant_FieldCondition) (values []interface{})

Get returns all values pointed by specific field from source Role_Grant_FieldCondition

func (*RoleGrantFieldCondition_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RoleGrantFieldCondition_FieldTerminalPath) GetRaw

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

func (*RoleGrantFieldCondition_FieldTerminalPath) GetSingle

func (fp *RoleGrantFieldCondition_FieldTerminalPath) GetSingle(source *Role_Grant_FieldCondition) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Role_Grant_FieldCondition

func (*RoleGrantFieldCondition_FieldTerminalPath) GetSingleRaw

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

func (*RoleGrantFieldCondition_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RoleGrantFieldCondition_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RoleGrantFieldCondition_FieldTerminalPath) Selector

func (*RoleGrantFieldCondition_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*RoleGrantFieldCondition_FieldTerminalPath) String

String returns path representation in proto convention

func (*RoleGrantFieldCondition_FieldTerminalPath) WithIArrayItemValue

func (*RoleGrantFieldCondition_FieldTerminalPath) WithIArrayOfValues

func (*RoleGrantFieldCondition_FieldTerminalPath) WithIValue

func (*RoleGrantFieldCondition_FieldTerminalPath) WithRawIArrayItemValue

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

func (*RoleGrantFieldCondition_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RoleGrantFieldCondition_FieldTerminalPath) WithRawIValue

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

type RoleGrantFieldCondition_FieldTerminalPathArrayItemValue

type RoleGrantFieldCondition_FieldTerminalPathArrayItemValue struct {
	RoleGrantFieldCondition_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrantFieldCondition_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*RoleGrantFieldCondition_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RoleGrantFieldCondition_FieldTerminalPathArrayItemValue) GetSingle

func (*RoleGrantFieldCondition_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RoleGrantFieldCondition_FieldTerminalPathArrayOfValues

type RoleGrantFieldCondition_FieldTerminalPathArrayOfValues struct {
	RoleGrantFieldCondition_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrantFieldCondition_FieldTerminalPathArrayOfValues) AsPathArrayOfValues

func (fpaov *RoleGrantFieldCondition_FieldTerminalPathArrayOfValues) AsPathArrayOfValues() ([]string, bool)

func (*RoleGrantFieldCondition_FieldTerminalPathArrayOfValues) AsValueArrayOfValues

func (fpaov *RoleGrantFieldCondition_FieldTerminalPathArrayOfValues) AsValueArrayOfValues() ([]string, bool)

func (*RoleGrantFieldCondition_FieldTerminalPathArrayOfValues) GetRawValues

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

type RoleGrantFieldCondition_FieldTerminalPathValue

type RoleGrantFieldCondition_FieldTerminalPathValue struct {
	RoleGrantFieldCondition_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrantFieldCondition_FieldTerminalPathValue) AsPathValue

func (*RoleGrantFieldCondition_FieldTerminalPathValue) AsValueValue

func (*RoleGrantFieldCondition_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RoleGrantFieldCondition_FieldTerminalPathValue' with the value under path in 'Role_Grant_FieldCondition'.

func (*RoleGrantFieldCondition_FieldTerminalPathValue) CompareWithRaw

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

func (*RoleGrantFieldCondition_FieldTerminalPathValue) GetRawValue

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

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

func (*RoleGrantFieldCondition_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object FieldCondition

func (*RoleGrantFieldCondition_FieldTerminalPathValue) SetToRaw

type RoleGrantFieldPathBuilder

type RoleGrantFieldPathBuilder struct{}

func NewRoleGrantFieldPathBuilder

func NewRoleGrantFieldPathBuilder() RoleGrantFieldPathBuilder

func (RoleGrantFieldPathBuilder) ExecutableConditions

func (RoleGrantFieldPathBuilder) Permissions

func (RoleGrantFieldPathBuilder) RequestFieldConditions

func (RoleGrantFieldPathBuilder) ResourceFieldConditions

func (RoleGrantFieldPathBuilder) SubScope

type RoleGrant_FieldPath

type RoleGrant_FieldPath interface {
	gotenobject.FieldPath
	Selector() RoleGrant_FieldPathSelector
	Get(source *Role_Grant) []interface{}
	GetSingle(source *Role_Grant) (interface{}, bool)
	ClearValue(item *Role_Grant)

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

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

func BuildRoleGrant_FieldPath

func BuildRoleGrant_FieldPath(fp gotenobject.RawFieldPath) (RoleGrant_FieldPath, error)

func MustParseRoleGrant_FieldPath

func MustParseRoleGrant_FieldPath(rawField string) RoleGrant_FieldPath

func ParseRoleGrant_FieldPath

func ParseRoleGrant_FieldPath(rawField string) (RoleGrant_FieldPath, error)

type RoleGrant_FieldPathArrayItemValue

type RoleGrant_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RoleGrant_FieldPath
	ContainsValue(*Role_Grant) bool
}

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

func MustParseRoleGrant_FieldPathArrayItemValue

func MustParseRoleGrant_FieldPathArrayItemValue(pathStr, valueStr string) RoleGrant_FieldPathArrayItemValue

func ParseRoleGrant_FieldPathArrayItemValue

func ParseRoleGrant_FieldPathArrayItemValue(pathStr, valueStr string) (RoleGrant_FieldPathArrayItemValue, error)

ParseRoleGrant_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RoleGrant_FieldPathArrayOfValues

type RoleGrant_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RoleGrant_FieldPath
}

RoleGrant_FieldPathArrayOfValues allows storing slice of values for Grant fields according to their type

func MustParseRoleGrant_FieldPathArrayOfValues

func MustParseRoleGrant_FieldPathArrayOfValues(pathStr, valuesStr string) RoleGrant_FieldPathArrayOfValues

func ParseRoleGrant_FieldPathArrayOfValues

func ParseRoleGrant_FieldPathArrayOfValues(pathStr, valuesStr string) (RoleGrant_FieldPathArrayOfValues, error)

type RoleGrant_FieldPathSelector

type RoleGrant_FieldPathSelector int32
const (
	RoleGrant_FieldPathSelectorSubScope                RoleGrant_FieldPathSelector = 0
	RoleGrant_FieldPathSelectorPermissions             RoleGrant_FieldPathSelector = 1
	RoleGrant_FieldPathSelectorResourceFieldConditions RoleGrant_FieldPathSelector = 2
	RoleGrant_FieldPathSelectorRequestFieldConditions  RoleGrant_FieldPathSelector = 3
	RoleGrant_FieldPathSelectorExecutableConditions    RoleGrant_FieldPathSelector = 4
)

func (RoleGrant_FieldPathSelector) String

type RoleGrant_FieldPathValue

type RoleGrant_FieldPathValue interface {
	RoleGrant_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Role_Grant)
	CompareWith(*Role_Grant) (cmp int, comparable bool)
}

RoleGrant_FieldPathValue allows storing values for Grant fields according to their type

func MustParseRoleGrant_FieldPathValue

func MustParseRoleGrant_FieldPathValue(pathStr, valueStr string) RoleGrant_FieldPathValue

func ParseRoleGrant_FieldPathValue

func ParseRoleGrant_FieldPathValue(pathStr, valueStr string) (RoleGrant_FieldPathValue, error)

type RoleGrant_FieldSubPath

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

func (*RoleGrant_FieldSubPath) AsExecutableConditionsSubPath

func (fps *RoleGrant_FieldSubPath) AsExecutableConditionsSubPath() (condition.ExecutableCondition_FieldPath, bool)

func (*RoleGrant_FieldSubPath) AsRequestFieldConditionsSubPath

func (fps *RoleGrant_FieldSubPath) AsRequestFieldConditionsSubPath() (RoleGrantFieldCondition_FieldPath, bool)

func (*RoleGrant_FieldSubPath) AsResourceFieldConditionsSubPath

func (fps *RoleGrant_FieldSubPath) AsResourceFieldConditionsSubPath() (RoleGrantFieldCondition_FieldPath, bool)

func (*RoleGrant_FieldSubPath) ClearValue

func (fps *RoleGrant_FieldSubPath) ClearValue(item *Role_Grant)

func (*RoleGrant_FieldSubPath) ClearValueRaw

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

func (*RoleGrant_FieldSubPath) Get

func (fps *RoleGrant_FieldSubPath) Get(source *Role_Grant) (values []interface{})

Get returns all values pointed by selected field from source Role_Grant

func (*RoleGrant_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RoleGrant_FieldSubPath) GetRaw

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

func (*RoleGrant_FieldSubPath) GetSingle

func (fps *RoleGrant_FieldSubPath) GetSingle(source *Role_Grant) (interface{}, bool)

GetSingle returns value of selected field from source Role_Grant

func (*RoleGrant_FieldSubPath) GetSingleRaw

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

func (*RoleGrant_FieldSubPath) IsLeaf

func (fps *RoleGrant_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*RoleGrant_FieldSubPath) JSONString

func (fps *RoleGrant_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*RoleGrant_FieldSubPath) Selector

func (*RoleGrant_FieldSubPath) SplitIntoTerminalIPaths

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

func (*RoleGrant_FieldSubPath) String

func (fps *RoleGrant_FieldSubPath) String() string

String returns path representation in proto convention

func (*RoleGrant_FieldSubPath) WithIArrayItemValue

func (fps *RoleGrant_FieldSubPath) WithIArrayItemValue(value interface{}) RoleGrant_FieldPathArrayItemValue

func (*RoleGrant_FieldSubPath) WithIArrayOfValues

func (fps *RoleGrant_FieldSubPath) WithIArrayOfValues(values interface{}) RoleGrant_FieldPathArrayOfValues

func (*RoleGrant_FieldSubPath) WithIValue

func (fps *RoleGrant_FieldSubPath) WithIValue(value interface{}) RoleGrant_FieldPathValue

func (*RoleGrant_FieldSubPath) WithRawIArrayItemValue

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

func (*RoleGrant_FieldSubPath) WithRawIArrayOfValues

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

func (*RoleGrant_FieldSubPath) WithRawIValue

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

type RoleGrant_FieldSubPathArrayItemValue

type RoleGrant_FieldSubPathArrayItemValue struct {
	RoleGrant_FieldPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldSubPathArrayItemValue) AsExecutableConditionsPathItemValue

func (*RoleGrant_FieldSubPathArrayItemValue) AsRequestFieldConditionsPathItemValue

func (fpaivs *RoleGrant_FieldSubPathArrayItemValue) AsRequestFieldConditionsPathItemValue() (RoleGrantFieldCondition_FieldPathArrayItemValue, bool)

func (*RoleGrant_FieldSubPathArrayItemValue) AsResourceFieldConditionsPathItemValue

func (fpaivs *RoleGrant_FieldSubPathArrayItemValue) AsResourceFieldConditionsPathItemValue() (RoleGrantFieldCondition_FieldPathArrayItemValue, bool)

func (*RoleGrant_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *RoleGrant_FieldSubPathArrayItemValue) ContainsValue(source *Role_Grant) bool

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

func (*RoleGrant_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type RoleGrant_FieldSubPathArrayOfValues

type RoleGrant_FieldSubPathArrayOfValues struct {
	RoleGrant_FieldPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldSubPathArrayOfValues) AsExecutableConditionsPathArrayOfValues

func (fpsaov *RoleGrant_FieldSubPathArrayOfValues) AsExecutableConditionsPathArrayOfValues() (condition.ExecutableCondition_FieldPathArrayOfValues, bool)

func (*RoleGrant_FieldSubPathArrayOfValues) AsRequestFieldConditionsPathArrayOfValues

func (fpsaov *RoleGrant_FieldSubPathArrayOfValues) AsRequestFieldConditionsPathArrayOfValues() (RoleGrantFieldCondition_FieldPathArrayOfValues, bool)

func (*RoleGrant_FieldSubPathArrayOfValues) AsResourceFieldConditionsPathArrayOfValues

func (fpsaov *RoleGrant_FieldSubPathArrayOfValues) AsResourceFieldConditionsPathArrayOfValues() (RoleGrantFieldCondition_FieldPathArrayOfValues, bool)

func (*RoleGrant_FieldSubPathArrayOfValues) GetRawValues

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

type RoleGrant_FieldSubPathValue

type RoleGrant_FieldSubPathValue struct {
	RoleGrant_FieldPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldSubPathValue) AsExecutableConditionsPathValue

func (fpvs *RoleGrant_FieldSubPathValue) AsExecutableConditionsPathValue() (condition.ExecutableCondition_FieldPathValue, bool)

func (*RoleGrant_FieldSubPathValue) AsRequestFieldConditionsPathValue

func (fpvs *RoleGrant_FieldSubPathValue) AsRequestFieldConditionsPathValue() (RoleGrantFieldCondition_FieldPathValue, bool)

func (*RoleGrant_FieldSubPathValue) AsResourceFieldConditionsPathValue

func (fpvs *RoleGrant_FieldSubPathValue) AsResourceFieldConditionsPathValue() (RoleGrantFieldCondition_FieldPathValue, bool)

func (*RoleGrant_FieldSubPathValue) CompareWith

func (fpvs *RoleGrant_FieldSubPathValue) CompareWith(source *Role_Grant) (int, bool)

func (*RoleGrant_FieldSubPathValue) CompareWithRaw

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

func (*RoleGrant_FieldSubPathValue) GetRawValue

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

func (*RoleGrant_FieldSubPathValue) SetTo

func (fpvs *RoleGrant_FieldSubPathValue) SetTo(target **Role_Grant)

func (*RoleGrant_FieldSubPathValue) SetToRaw

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

type RoleGrant_FieldTerminalPath

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

func (*RoleGrant_FieldTerminalPath) ClearValue

func (fp *RoleGrant_FieldTerminalPath) ClearValue(item *Role_Grant)

func (*RoleGrant_FieldTerminalPath) ClearValueRaw

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

func (*RoleGrant_FieldTerminalPath) Get

func (fp *RoleGrant_FieldTerminalPath) Get(source *Role_Grant) (values []interface{})

Get returns all values pointed by specific field from source Role_Grant

func (*RoleGrant_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RoleGrant_FieldTerminalPath) GetRaw

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

func (*RoleGrant_FieldTerminalPath) GetSingle

func (fp *RoleGrant_FieldTerminalPath) GetSingle(source *Role_Grant) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Role_Grant

func (*RoleGrant_FieldTerminalPath) GetSingleRaw

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

func (*RoleGrant_FieldTerminalPath) IsLeaf

func (fp *RoleGrant_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*RoleGrant_FieldTerminalPath) JSONString

func (fp *RoleGrant_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*RoleGrant_FieldTerminalPath) Selector

func (*RoleGrant_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*RoleGrant_FieldTerminalPath) String

func (fp *RoleGrant_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*RoleGrant_FieldTerminalPath) WithIArrayItemValue

func (fp *RoleGrant_FieldTerminalPath) WithIArrayItemValue(value interface{}) RoleGrant_FieldPathArrayItemValue

func (*RoleGrant_FieldTerminalPath) WithIArrayOfValues

func (fp *RoleGrant_FieldTerminalPath) WithIArrayOfValues(values interface{}) RoleGrant_FieldPathArrayOfValues

func (*RoleGrant_FieldTerminalPath) WithIValue

func (fp *RoleGrant_FieldTerminalPath) WithIValue(value interface{}) RoleGrant_FieldPathValue

func (*RoleGrant_FieldTerminalPath) WithRawIArrayItemValue

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

func (*RoleGrant_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RoleGrant_FieldTerminalPath) WithRawIValue

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

type RoleGrant_FieldTerminalPathArrayItemValue

type RoleGrant_FieldTerminalPathArrayItemValue struct {
	RoleGrant_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldTerminalPathArrayItemValue) AsExecutableConditionsItemValue

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) AsExecutableConditionsItemValue() (*condition.ExecutableCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayItemValue) AsPermissionsItemValue

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) AsPermissionsItemValue() (*permission.Reference, bool)

func (*RoleGrant_FieldTerminalPathArrayItemValue) AsRequestFieldConditionsItemValue

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) AsRequestFieldConditionsItemValue() (*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayItemValue) AsResourceFieldConditionsItemValue

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) AsResourceFieldConditionsItemValue() (*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) ContainsValue(source *Role_Grant) bool

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

func (*RoleGrant_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RoleGrant_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *RoleGrant_FieldTerminalPathArrayItemValue) GetSingle(source *Role_Grant) (interface{}, bool)

func (*RoleGrant_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RoleGrant_FieldTerminalPathArrayOfValues

type RoleGrant_FieldTerminalPathArrayOfValues struct {
	RoleGrant_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldTerminalPathArrayOfValues) AsExecutableConditionsArrayOfValues

func (fpaov *RoleGrant_FieldTerminalPathArrayOfValues) AsExecutableConditionsArrayOfValues() ([][]*condition.ExecutableCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayOfValues) AsPermissionsArrayOfValues

func (fpaov *RoleGrant_FieldTerminalPathArrayOfValues) AsPermissionsArrayOfValues() ([][]*permission.Reference, bool)

func (*RoleGrant_FieldTerminalPathArrayOfValues) AsRequestFieldConditionsArrayOfValues

func (fpaov *RoleGrant_FieldTerminalPathArrayOfValues) AsRequestFieldConditionsArrayOfValues() ([][]*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayOfValues) AsResourceFieldConditionsArrayOfValues

func (fpaov *RoleGrant_FieldTerminalPathArrayOfValues) AsResourceFieldConditionsArrayOfValues() ([][]*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathArrayOfValues) AsSubScopeArrayOfValues

func (fpaov *RoleGrant_FieldTerminalPathArrayOfValues) AsSubScopeArrayOfValues() ([]string, bool)

func (*RoleGrant_FieldTerminalPathArrayOfValues) GetRawValues

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

type RoleGrant_FieldTerminalPathValue

type RoleGrant_FieldTerminalPathValue struct {
	RoleGrant_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleGrant_FieldTerminalPathValue) AsExecutableConditionsValue

func (fpv *RoleGrant_FieldTerminalPathValue) AsExecutableConditionsValue() ([]*condition.ExecutableCondition, bool)

func (*RoleGrant_FieldTerminalPathValue) AsPermissionsValue

func (fpv *RoleGrant_FieldTerminalPathValue) AsPermissionsValue() ([]*permission.Reference, bool)

func (*RoleGrant_FieldTerminalPathValue) AsRequestFieldConditionsValue

func (fpv *RoleGrant_FieldTerminalPathValue) AsRequestFieldConditionsValue() ([]*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathValue) AsResourceFieldConditionsValue

func (fpv *RoleGrant_FieldTerminalPathValue) AsResourceFieldConditionsValue() ([]*Role_Grant_FieldCondition, bool)

func (*RoleGrant_FieldTerminalPathValue) AsSubScopeValue

func (fpv *RoleGrant_FieldTerminalPathValue) AsSubScopeValue() (string, bool)

func (*RoleGrant_FieldTerminalPathValue) CompareWith

func (fpv *RoleGrant_FieldTerminalPathValue) CompareWith(source *Role_Grant) (int, bool)

CompareWith compares value in the 'RoleGrant_FieldTerminalPathValue' with the value under path in 'Role_Grant'.

func (*RoleGrant_FieldTerminalPathValue) CompareWithRaw

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

func (*RoleGrant_FieldTerminalPathValue) GetRawValue

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

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

func (*RoleGrant_FieldTerminalPathValue) SetTo

func (fpv *RoleGrant_FieldTerminalPathValue) SetTo(target **Role_Grant)

SetTo stores value for selected field for object Grant

func (*RoleGrant_FieldTerminalPathValue) SetToRaw

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

type RoleList

type RoleList []*Role

func (RoleList) Append

func (RoleList) AppendList

func (RoleList) At

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

func (RoleList) Length

func (l RoleList) Length() int

func (RoleList) Set

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

func (RoleList) Slice

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

type RoleMap

type RoleMap map[Name]*Role

func (RoleMap) Delete

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

func (RoleMap) ForEach

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

func (RoleMap) Get

func (RoleMap) Length

func (m RoleMap) Length() int

func (RoleMap) Set

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

type RoleMapPathSelectorMetadataAnnotations

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

func (RoleMapPathSelectorMetadataAnnotations) FieldPath

func (RoleMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (RoleMapPathSelectorMetadataAnnotations) WithValue

type RoleMapPathSelectorMetadataLabels

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

func (RoleMapPathSelectorMetadataLabels) FieldPath

func (RoleMapPathSelectorMetadataLabels) WithArrayOfValues

func (RoleMapPathSelectorMetadataLabels) WithValue

type RoleMapPathSelectorMetadataShards

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

func (RoleMapPathSelectorMetadataShards) FieldPath

func (RoleMapPathSelectorMetadataShards) WithArrayOfValues

func (RoleMapPathSelectorMetadataShards) WithValue

type RoleNameList

type RoleNameList []*Name

func (RoleNameList) Append

func (RoleNameList) AppendList

func (RoleNameList) At

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

func (RoleNameList) Length

func (l RoleNameList) Length() int

func (RoleNameList) Set

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

func (RoleNameList) Slice

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

type RoleParentNameList

type RoleParentNameList []*ParentName

func (RoleParentNameList) Append

func (RoleParentNameList) AppendList

func (RoleParentNameList) At

func (RoleParentNameList) Length

func (l RoleParentNameList) Length() int

func (RoleParentNameList) Set

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

func (RoleParentNameList) Slice

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

type RoleParentReferenceList

type RoleParentReferenceList []*ParentReference

func (RoleParentReferenceList) Append

func (RoleParentReferenceList) At

func (RoleParentReferenceList) Length

func (l RoleParentReferenceList) Length() int

func (RoleParentReferenceList) Set

func (RoleParentReferenceList) Slice

type RolePathSelectorDisplayName

type RolePathSelectorDisplayName struct{}

func (RolePathSelectorDisplayName) FieldPath

func (RolePathSelectorDisplayName) WithArrayOfValues

func (RolePathSelectorDisplayName) WithValue

type RolePathSelectorGrants

type RolePathSelectorGrants struct{}

func (RolePathSelectorGrants) ExecutableConditions

func (RolePathSelectorGrants) FieldPath

func (RolePathSelectorGrants) Permissions

func (RolePathSelectorGrants) RequestFieldConditions

func (RolePathSelectorGrants) ResourceFieldConditions

func (RolePathSelectorGrants) SubScope

func (RolePathSelectorGrants) WithArrayOfValues

func (s RolePathSelectorGrants) WithArrayOfValues(values [][]*Role_Grant) *Role_FieldTerminalPathArrayOfValues

func (RolePathSelectorGrants) WithItemValue

func (RolePathSelectorGrants) WithSubArrayItemValue

func (s RolePathSelectorGrants) WithSubArrayItemValue(subPathArrayItemValue RoleGrant_FieldPathArrayItemValue) *Role_FieldSubPathArrayItemValue

func (RolePathSelectorGrants) WithSubArrayOfValues

func (s RolePathSelectorGrants) WithSubArrayOfValues(subPathArrayOfValues RoleGrant_FieldPathArrayOfValues) *Role_FieldSubPathArrayOfValues

func (RolePathSelectorGrants) WithSubPath

func (RolePathSelectorGrants) WithSubValue

func (RolePathSelectorGrants) WithValue

type RolePathSelectorGrantsExecutableConditions

type RolePathSelectorGrantsExecutableConditions struct{}

func (RolePathSelectorGrantsExecutableConditions) Condition

func (RolePathSelectorGrantsExecutableConditions) FieldPath

func (RolePathSelectorGrantsExecutableConditions) Params

func (RolePathSelectorGrantsExecutableConditions) WithArrayOfValues

func (RolePathSelectorGrantsExecutableConditions) WithItemValue

func (RolePathSelectorGrantsExecutableConditions) WithValue

type RolePathSelectorGrantsExecutableConditionsCondition

type RolePathSelectorGrantsExecutableConditionsCondition struct{}

func (RolePathSelectorGrantsExecutableConditionsCondition) FieldPath

func (RolePathSelectorGrantsExecutableConditionsCondition) WithArrayOfValues

func (RolePathSelectorGrantsExecutableConditionsCondition) WithValue

type RolePathSelectorGrantsExecutableConditionsParams

type RolePathSelectorGrantsExecutableConditionsParams struct{}

func (RolePathSelectorGrantsExecutableConditionsParams) FieldPath

func (RolePathSelectorGrantsExecutableConditionsParams) WithArrayOfValues

func (RolePathSelectorGrantsExecutableConditionsParams) WithValue

type RolePathSelectorGrantsPermissions

type RolePathSelectorGrantsPermissions struct{}

func (RolePathSelectorGrantsPermissions) FieldPath

func (RolePathSelectorGrantsPermissions) WithArrayOfValues

func (RolePathSelectorGrantsPermissions) WithItemValue

func (RolePathSelectorGrantsPermissions) WithValue

type RolePathSelectorGrantsRequestFieldConditions

type RolePathSelectorGrantsRequestFieldConditions struct{}

func (RolePathSelectorGrantsRequestFieldConditions) FieldPath

func (RolePathSelectorGrantsRequestFieldConditions) Path

func (RolePathSelectorGrantsRequestFieldConditions) Value

func (RolePathSelectorGrantsRequestFieldConditions) WithArrayOfValues

func (RolePathSelectorGrantsRequestFieldConditions) WithItemValue

func (RolePathSelectorGrantsRequestFieldConditions) WithValue

type RolePathSelectorGrantsRequestFieldConditionsPath

type RolePathSelectorGrantsRequestFieldConditionsPath struct{}

func (RolePathSelectorGrantsRequestFieldConditionsPath) FieldPath

func (RolePathSelectorGrantsRequestFieldConditionsPath) WithArrayOfValues

func (RolePathSelectorGrantsRequestFieldConditionsPath) WithValue

type RolePathSelectorGrantsRequestFieldConditionsValue

type RolePathSelectorGrantsRequestFieldConditionsValue struct{}

func (RolePathSelectorGrantsRequestFieldConditionsValue) FieldPath

func (RolePathSelectorGrantsRequestFieldConditionsValue) WithArrayOfValues

func (RolePathSelectorGrantsRequestFieldConditionsValue) WithValue

type RolePathSelectorGrantsResourceFieldConditions

type RolePathSelectorGrantsResourceFieldConditions struct{}

func (RolePathSelectorGrantsResourceFieldConditions) FieldPath

func (RolePathSelectorGrantsResourceFieldConditions) Path

func (RolePathSelectorGrantsResourceFieldConditions) Value

func (RolePathSelectorGrantsResourceFieldConditions) WithArrayOfValues

func (RolePathSelectorGrantsResourceFieldConditions) WithItemValue

func (RolePathSelectorGrantsResourceFieldConditions) WithValue

type RolePathSelectorGrantsResourceFieldConditionsPath

type RolePathSelectorGrantsResourceFieldConditionsPath struct{}

func (RolePathSelectorGrantsResourceFieldConditionsPath) FieldPath

func (RolePathSelectorGrantsResourceFieldConditionsPath) WithArrayOfValues

func (RolePathSelectorGrantsResourceFieldConditionsPath) WithValue

type RolePathSelectorGrantsResourceFieldConditionsValue

type RolePathSelectorGrantsResourceFieldConditionsValue struct{}

func (RolePathSelectorGrantsResourceFieldConditionsValue) FieldPath

func (RolePathSelectorGrantsResourceFieldConditionsValue) WithArrayOfValues

func (RolePathSelectorGrantsResourceFieldConditionsValue) WithValue

type RolePathSelectorGrantsSubScope

type RolePathSelectorGrantsSubScope struct{}

func (RolePathSelectorGrantsSubScope) FieldPath

func (RolePathSelectorGrantsSubScope) WithArrayOfValues

func (RolePathSelectorGrantsSubScope) WithValue

type RolePathSelectorMetadata

type RolePathSelectorMetadata struct{}

func (RolePathSelectorMetadata) Annotations

func (RolePathSelectorMetadata) CreateTime

func (RolePathSelectorMetadata) DeleteTime

func (RolePathSelectorMetadata) FieldPath

func (RolePathSelectorMetadata) Generation

func (RolePathSelectorMetadata) Labels

func (RolePathSelectorMetadata) Lifecycle

func (RolePathSelectorMetadata) OwnerReferences

func (RolePathSelectorMetadata) ResourceVersion

func (RolePathSelectorMetadata) Services

func (RolePathSelectorMetadata) Shards

func (RolePathSelectorMetadata) Syncing

func (RolePathSelectorMetadata) Tags

func (RolePathSelectorMetadata) UpdateTime

func (RolePathSelectorMetadata) Uuid

func (RolePathSelectorMetadata) WithArrayOfValues

func (RolePathSelectorMetadata) WithSubArrayItemValue

func (s RolePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Role_FieldSubPathArrayItemValue

func (RolePathSelectorMetadata) WithSubArrayOfValues

func (s RolePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Role_FieldSubPathArrayOfValues

func (RolePathSelectorMetadata) WithSubPath

func (RolePathSelectorMetadata) WithSubValue

func (RolePathSelectorMetadata) WithValue

type RolePathSelectorMetadataAnnotations

type RolePathSelectorMetadataAnnotations struct{}

func (RolePathSelectorMetadataAnnotations) FieldPath

func (RolePathSelectorMetadataAnnotations) WithArrayOfValues

func (RolePathSelectorMetadataAnnotations) WithKey

func (RolePathSelectorMetadataAnnotations) WithValue

type RolePathSelectorMetadataCreateTime

type RolePathSelectorMetadataCreateTime struct{}

func (RolePathSelectorMetadataCreateTime) FieldPath

func (RolePathSelectorMetadataCreateTime) WithArrayOfValues

func (RolePathSelectorMetadataCreateTime) WithValue

type RolePathSelectorMetadataDeleteTime

type RolePathSelectorMetadataDeleteTime struct{}

func (RolePathSelectorMetadataDeleteTime) FieldPath

func (RolePathSelectorMetadataDeleteTime) WithArrayOfValues

func (RolePathSelectorMetadataDeleteTime) WithValue

type RolePathSelectorMetadataGeneration

type RolePathSelectorMetadataGeneration struct{}

func (RolePathSelectorMetadataGeneration) FieldPath

func (RolePathSelectorMetadataGeneration) WithArrayOfValues

func (RolePathSelectorMetadataGeneration) WithValue

type RolePathSelectorMetadataLabels

type RolePathSelectorMetadataLabels struct{}

func (RolePathSelectorMetadataLabels) FieldPath

func (RolePathSelectorMetadataLabels) WithArrayOfValues

func (RolePathSelectorMetadataLabels) WithKey

func (RolePathSelectorMetadataLabels) WithValue

type RolePathSelectorMetadataLifecycle

type RolePathSelectorMetadataLifecycle struct{}

func (RolePathSelectorMetadataLifecycle) BlockDeletion

func (RolePathSelectorMetadataLifecycle) FieldPath

func (RolePathSelectorMetadataLifecycle) State

func (RolePathSelectorMetadataLifecycle) WithArrayOfValues

func (RolePathSelectorMetadataLifecycle) WithValue

type RolePathSelectorMetadataLifecycleBlockDeletion

type RolePathSelectorMetadataLifecycleBlockDeletion struct{}

func (RolePathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (RolePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (RolePathSelectorMetadataLifecycleBlockDeletion) WithValue

type RolePathSelectorMetadataLifecycleState

type RolePathSelectorMetadataLifecycleState struct{}

func (RolePathSelectorMetadataLifecycleState) FieldPath

func (RolePathSelectorMetadataLifecycleState) WithArrayOfValues

func (RolePathSelectorMetadataLifecycleState) WithValue

type RolePathSelectorMetadataOwnerReferences

type RolePathSelectorMetadataOwnerReferences struct{}

func (RolePathSelectorMetadataOwnerReferences) Controller

func (RolePathSelectorMetadataOwnerReferences) FieldPath

func (RolePathSelectorMetadataOwnerReferences) Kind

func (RolePathSelectorMetadataOwnerReferences) Name

func (RolePathSelectorMetadataOwnerReferences) Region

func (RolePathSelectorMetadataOwnerReferences) RequiresOwnerReference

func (RolePathSelectorMetadataOwnerReferences) Version

func (RolePathSelectorMetadataOwnerReferences) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferences) WithItemValue

func (RolePathSelectorMetadataOwnerReferences) WithValue

type RolePathSelectorMetadataOwnerReferencesController

type RolePathSelectorMetadataOwnerReferencesController struct{}

func (RolePathSelectorMetadataOwnerReferencesController) FieldPath

func (RolePathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesController) WithValue

type RolePathSelectorMetadataOwnerReferencesKind

type RolePathSelectorMetadataOwnerReferencesKind struct{}

func (RolePathSelectorMetadataOwnerReferencesKind) FieldPath

func (RolePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesKind) WithValue

type RolePathSelectorMetadataOwnerReferencesName

type RolePathSelectorMetadataOwnerReferencesName struct{}

func (RolePathSelectorMetadataOwnerReferencesName) FieldPath

func (RolePathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesName) WithValue

type RolePathSelectorMetadataOwnerReferencesRegion

type RolePathSelectorMetadataOwnerReferencesRegion struct{}

func (RolePathSelectorMetadataOwnerReferencesRegion) FieldPath

func (RolePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesRegion) WithValue

type RolePathSelectorMetadataOwnerReferencesRequiresOwnerReference

type RolePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (RolePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (RolePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type RolePathSelectorMetadataOwnerReferencesVersion

type RolePathSelectorMetadataOwnerReferencesVersion struct{}

func (RolePathSelectorMetadataOwnerReferencesVersion) FieldPath

func (RolePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (RolePathSelectorMetadataOwnerReferencesVersion) WithValue

type RolePathSelectorMetadataResourceVersion

type RolePathSelectorMetadataResourceVersion struct{}

func (RolePathSelectorMetadataResourceVersion) FieldPath

func (RolePathSelectorMetadataResourceVersion) WithArrayOfValues

func (RolePathSelectorMetadataResourceVersion) WithValue

type RolePathSelectorMetadataServices

type RolePathSelectorMetadataServices struct{}

func (RolePathSelectorMetadataServices) AllowedServices

func (RolePathSelectorMetadataServices) FieldPath

func (RolePathSelectorMetadataServices) OwningService

func (RolePathSelectorMetadataServices) WithArrayOfValues

func (RolePathSelectorMetadataServices) WithValue

type RolePathSelectorMetadataServicesAllowedServices

type RolePathSelectorMetadataServicesAllowedServices struct{}

func (RolePathSelectorMetadataServicesAllowedServices) FieldPath

func (RolePathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (RolePathSelectorMetadataServicesAllowedServices) WithItemValue

func (RolePathSelectorMetadataServicesAllowedServices) WithValue

type RolePathSelectorMetadataServicesOwningService

type RolePathSelectorMetadataServicesOwningService struct{}

func (RolePathSelectorMetadataServicesOwningService) FieldPath

func (RolePathSelectorMetadataServicesOwningService) WithArrayOfValues

func (RolePathSelectorMetadataServicesOwningService) WithValue

type RolePathSelectorMetadataShards

type RolePathSelectorMetadataShards struct{}

func (RolePathSelectorMetadataShards) FieldPath

func (RolePathSelectorMetadataShards) WithArrayOfValues

func (RolePathSelectorMetadataShards) WithKey

func (RolePathSelectorMetadataShards) WithValue

type RolePathSelectorMetadataSyncing

type RolePathSelectorMetadataSyncing struct{}

func (RolePathSelectorMetadataSyncing) FieldPath

func (RolePathSelectorMetadataSyncing) OwningRegion

func (RolePathSelectorMetadataSyncing) Regions

func (RolePathSelectorMetadataSyncing) WithArrayOfValues

func (RolePathSelectorMetadataSyncing) WithValue

type RolePathSelectorMetadataSyncingOwningRegion

type RolePathSelectorMetadataSyncingOwningRegion struct{}

func (RolePathSelectorMetadataSyncingOwningRegion) FieldPath

func (RolePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (RolePathSelectorMetadataSyncingOwningRegion) WithValue

type RolePathSelectorMetadataSyncingRegions

type RolePathSelectorMetadataSyncingRegions struct{}

func (RolePathSelectorMetadataSyncingRegions) FieldPath

func (RolePathSelectorMetadataSyncingRegions) WithArrayOfValues

func (RolePathSelectorMetadataSyncingRegions) WithItemValue

func (RolePathSelectorMetadataSyncingRegions) WithValue

type RolePathSelectorMetadataTags

type RolePathSelectorMetadataTags struct{}

func (RolePathSelectorMetadataTags) FieldPath

func (RolePathSelectorMetadataTags) WithArrayOfValues

func (s RolePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Role_FieldSubPathArrayOfValues

func (RolePathSelectorMetadataTags) WithItemValue

func (RolePathSelectorMetadataTags) WithValue

type RolePathSelectorMetadataUpdateTime

type RolePathSelectorMetadataUpdateTime struct{}

func (RolePathSelectorMetadataUpdateTime) FieldPath

func (RolePathSelectorMetadataUpdateTime) WithArrayOfValues

func (RolePathSelectorMetadataUpdateTime) WithValue

type RolePathSelectorMetadataUuid

type RolePathSelectorMetadataUuid struct{}

func (RolePathSelectorMetadataUuid) FieldPath

func (RolePathSelectorMetadataUuid) WithArrayOfValues

func (RolePathSelectorMetadataUuid) WithValue

type RolePathSelectorName

type RolePathSelectorName struct{}

func (RolePathSelectorName) FieldPath

func (RolePathSelectorName) WithArrayOfValues

func (s RolePathSelectorName) WithArrayOfValues(values []*Name) *Role_FieldTerminalPathArrayOfValues

func (RolePathSelectorName) WithValue

type RolePathSelectorOwnedObjects

type RolePathSelectorOwnedObjects struct{}

func (RolePathSelectorOwnedObjects) FieldPath

func (RolePathSelectorOwnedObjects) WithArrayOfValues

func (RolePathSelectorOwnedObjects) WithItemValue

func (RolePathSelectorOwnedObjects) WithValue

type RolePathSelectorRbSpecGeneration

type RolePathSelectorRbSpecGeneration struct{}

func (RolePathSelectorRbSpecGeneration) FieldPath

func (RolePathSelectorRbSpecGeneration) WithArrayOfValues

func (RolePathSelectorRbSpecGeneration) WithValue

type RolePathSelectorScopeParams

type RolePathSelectorScopeParams struct{}

func (RolePathSelectorScopeParams) FieldPath

func (RolePathSelectorScopeParams) Name

func (RolePathSelectorScopeParams) Type

func (RolePathSelectorScopeParams) WithArrayOfValues

func (RolePathSelectorScopeParams) WithItemValue

func (RolePathSelectorScopeParams) WithSubArrayItemValue

func (RolePathSelectorScopeParams) WithSubArrayOfValues

func (RolePathSelectorScopeParams) WithSubPath

func (RolePathSelectorScopeParams) WithSubValue

func (RolePathSelectorScopeParams) WithValue

type RolePathSelectorScopeParamsName

type RolePathSelectorScopeParamsName struct{}

func (RolePathSelectorScopeParamsName) FieldPath

func (RolePathSelectorScopeParamsName) WithArrayOfValues

func (RolePathSelectorScopeParamsName) WithValue

type RolePathSelectorScopeParamsType

type RolePathSelectorScopeParamsType struct{}

func (RolePathSelectorScopeParamsType) FieldPath

func (RolePathSelectorScopeParamsType) WithArrayOfValues

func (RolePathSelectorScopeParamsType) WithValue

type RolePathSelectorServices

type RolePathSelectorServices struct{}

func (RolePathSelectorServices) FieldPath

func (RolePathSelectorServices) WithArrayOfValues

func (RolePathSelectorServices) WithItemValue

func (RolePathSelectorServices) WithValue

type RoleReferenceList

type RoleReferenceList []*Reference

func (RoleReferenceList) Append

func (RoleReferenceList) AppendList

func (RoleReferenceList) At

func (RoleReferenceList) Length

func (l RoleReferenceList) Length() int

func (RoleReferenceList) Set

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

func (RoleReferenceList) Slice

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

type RoleScopeParamTypeFieldPathBuilder

type RoleScopeParamTypeFieldPathBuilder struct{}

func NewRoleScopeParamTypeFieldPathBuilder

func NewRoleScopeParamTypeFieldPathBuilder() RoleScopeParamTypeFieldPathBuilder

func (RoleScopeParamTypeFieldPathBuilder) Name

func (RoleScopeParamTypeFieldPathBuilder) Type

type RoleScopeParamType_FieldPath

type RoleScopeParamType_FieldPath interface {
	gotenobject.FieldPath
	Selector() RoleScopeParamType_FieldPathSelector
	Get(source *Role_ScopeParamType) []interface{}
	GetSingle(source *Role_ScopeParamType) (interface{}, bool)
	ClearValue(item *Role_ScopeParamType)

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

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

func MustParseRoleScopeParamType_FieldPath

func MustParseRoleScopeParamType_FieldPath(rawField string) RoleScopeParamType_FieldPath

func ParseRoleScopeParamType_FieldPath

func ParseRoleScopeParamType_FieldPath(rawField string) (RoleScopeParamType_FieldPath, error)

type RoleScopeParamType_FieldPathArrayItemValue

type RoleScopeParamType_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RoleScopeParamType_FieldPath
	ContainsValue(*Role_ScopeParamType) bool
}

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

func MustParseRoleScopeParamType_FieldPathArrayItemValue

func MustParseRoleScopeParamType_FieldPathArrayItemValue(pathStr, valueStr string) RoleScopeParamType_FieldPathArrayItemValue

func ParseRoleScopeParamType_FieldPathArrayItemValue

func ParseRoleScopeParamType_FieldPathArrayItemValue(pathStr, valueStr string) (RoleScopeParamType_FieldPathArrayItemValue, error)

ParseRoleScopeParamType_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RoleScopeParamType_FieldPathArrayOfValues

type RoleScopeParamType_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RoleScopeParamType_FieldPath
}

RoleScopeParamType_FieldPathArrayOfValues allows storing slice of values for ScopeParamType fields according to their type

func MustParseRoleScopeParamType_FieldPathArrayOfValues

func MustParseRoleScopeParamType_FieldPathArrayOfValues(pathStr, valuesStr string) RoleScopeParamType_FieldPathArrayOfValues

func ParseRoleScopeParamType_FieldPathArrayOfValues

func ParseRoleScopeParamType_FieldPathArrayOfValues(pathStr, valuesStr string) (RoleScopeParamType_FieldPathArrayOfValues, error)

type RoleScopeParamType_FieldPathSelector

type RoleScopeParamType_FieldPathSelector int32
const (
	RoleScopeParamType_FieldPathSelectorName RoleScopeParamType_FieldPathSelector = 0
	RoleScopeParamType_FieldPathSelectorType RoleScopeParamType_FieldPathSelector = 1
)

func (RoleScopeParamType_FieldPathSelector) String

type RoleScopeParamType_FieldPathValue

type RoleScopeParamType_FieldPathValue interface {
	RoleScopeParamType_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Role_ScopeParamType)
	CompareWith(*Role_ScopeParamType) (cmp int, comparable bool)
}

RoleScopeParamType_FieldPathValue allows storing values for ScopeParamType fields according to their type

func MustParseRoleScopeParamType_FieldPathValue

func MustParseRoleScopeParamType_FieldPathValue(pathStr, valueStr string) RoleScopeParamType_FieldPathValue

func ParseRoleScopeParamType_FieldPathValue

func ParseRoleScopeParamType_FieldPathValue(pathStr, valueStr string) (RoleScopeParamType_FieldPathValue, error)

type RoleScopeParamType_FieldTerminalPath

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

func (*RoleScopeParamType_FieldTerminalPath) ClearValue

func (*RoleScopeParamType_FieldTerminalPath) ClearValueRaw

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

func (*RoleScopeParamType_FieldTerminalPath) Get

func (fp *RoleScopeParamType_FieldTerminalPath) Get(source *Role_ScopeParamType) (values []interface{})

Get returns all values pointed by specific field from source Role_ScopeParamType

func (*RoleScopeParamType_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RoleScopeParamType_FieldTerminalPath) GetRaw

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

func (*RoleScopeParamType_FieldTerminalPath) GetSingle

func (fp *RoleScopeParamType_FieldTerminalPath) GetSingle(source *Role_ScopeParamType) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Role_ScopeParamType

func (*RoleScopeParamType_FieldTerminalPath) GetSingleRaw

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

func (*RoleScopeParamType_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RoleScopeParamType_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RoleScopeParamType_FieldTerminalPath) Selector

func (*RoleScopeParamType_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*RoleScopeParamType_FieldTerminalPath) String

String returns path representation in proto convention

func (*RoleScopeParamType_FieldTerminalPath) WithIArrayItemValue

func (fp *RoleScopeParamType_FieldTerminalPath) WithIArrayItemValue(value interface{}) RoleScopeParamType_FieldPathArrayItemValue

func (*RoleScopeParamType_FieldTerminalPath) WithIArrayOfValues

func (fp *RoleScopeParamType_FieldTerminalPath) WithIArrayOfValues(values interface{}) RoleScopeParamType_FieldPathArrayOfValues

func (*RoleScopeParamType_FieldTerminalPath) WithIValue

func (*RoleScopeParamType_FieldTerminalPath) WithRawIArrayItemValue

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

func (*RoleScopeParamType_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RoleScopeParamType_FieldTerminalPath) WithRawIValue

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

type RoleScopeParamType_FieldTerminalPathArrayItemValue

type RoleScopeParamType_FieldTerminalPathArrayItemValue struct {
	RoleScopeParamType_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleScopeParamType_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*RoleScopeParamType_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RoleScopeParamType_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *RoleScopeParamType_FieldTerminalPathArrayItemValue) GetSingle(source *Role_ScopeParamType) (interface{}, bool)

func (*RoleScopeParamType_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RoleScopeParamType_FieldTerminalPathArrayOfValues

type RoleScopeParamType_FieldTerminalPathArrayOfValues struct {
	RoleScopeParamType_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleScopeParamType_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *RoleScopeParamType_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]string, bool)

func (*RoleScopeParamType_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues

func (*RoleScopeParamType_FieldTerminalPathArrayOfValues) GetRawValues

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

type RoleScopeParamType_FieldTerminalPathValue

type RoleScopeParamType_FieldTerminalPathValue struct {
	RoleScopeParamType_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleScopeParamType_FieldTerminalPathValue) AsNameValue

func (*RoleScopeParamType_FieldTerminalPathValue) AsTypeValue

func (*RoleScopeParamType_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RoleScopeParamType_FieldTerminalPathValue' with the value under path in 'Role_ScopeParamType'.

func (*RoleScopeParamType_FieldTerminalPathValue) CompareWithRaw

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

func (*RoleScopeParamType_FieldTerminalPathValue) GetRawValue

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

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

func (*RoleScopeParamType_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ScopeParamType

func (*RoleScopeParamType_FieldTerminalPathValue) SetToRaw

type Role_FieldMask

type Role_FieldMask struct {
	Paths []Role_FieldPath
}

func FullRole_FieldMask

func FullRole_FieldMask() *Role_FieldMask

func ResourceViewFieldMask

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

func (*Role_FieldMask) AppendPath

func (fieldMask *Role_FieldMask) AppendPath(path Role_FieldPath)

func (*Role_FieldMask) AppendRawPath

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

func (*Role_FieldMask) DecodeFirestore

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

func (*Role_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Role_FieldMask) FilterInputFields

func (fieldMask *Role_FieldMask) FilterInputFields() *Role_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Role_FieldMask) FromProtoFieldMask

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

func (*Role_FieldMask) GetPaths

func (fieldMask *Role_FieldMask) GetPaths() []Role_FieldPath

func (*Role_FieldMask) GetRawPaths

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

func (*Role_FieldMask) IsFull

func (fieldMask *Role_FieldMask) IsFull() bool

func (Role_FieldMask) Marshal

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

implement methods required by customType

func (Role_FieldMask) MarshalJSON

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

func (*Role_FieldMask) PathsCount

func (fieldMask *Role_FieldMask) PathsCount() int

func (*Role_FieldMask) Project

func (fieldMask *Role_FieldMask) Project(source *Role) *Role

func (*Role_FieldMask) ProjectRaw

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

func (*Role_FieldMask) ProtoMessage

func (fieldMask *Role_FieldMask) ProtoMessage()

func (*Role_FieldMask) ProtoReflect

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

func (*Role_FieldMask) Reset

func (fieldMask *Role_FieldMask) Reset()

func (*Role_FieldMask) Set

func (fieldMask *Role_FieldMask) Set(target, source *Role)

func (*Role_FieldMask) SetFromCliFlag

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

func (*Role_FieldMask) SetRaw

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

func (*Role_FieldMask) Size

func (fieldMask *Role_FieldMask) Size() int

func (*Role_FieldMask) String

func (fieldMask *Role_FieldMask) String() string

func (*Role_FieldMask) Subtract

func (fieldMask *Role_FieldMask) Subtract(other *Role_FieldMask) *Role_FieldMask

func (*Role_FieldMask) SubtractRaw

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

func (*Role_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Role_FieldMask) Unmarshal

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

func (*Role_FieldMask) UnmarshalJSON

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

type Role_FieldPath

type Role_FieldPath interface {
	gotenobject.FieldPath
	Selector() Role_FieldPathSelector
	Get(source *Role) []interface{}
	GetSingle(source *Role) (interface{}, bool)
	ClearValue(item *Role)

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

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

func BuildRole_FieldPath

func BuildRole_FieldPath(fp gotenobject.RawFieldPath) (Role_FieldPath, error)

func MustParseRole_FieldPath

func MustParseRole_FieldPath(rawField string) Role_FieldPath

func ParseRole_FieldPath

func ParseRole_FieldPath(rawField string) (Role_FieldPath, error)

type Role_FieldPathArrayItemValue

type Role_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Role_FieldPath
	ContainsValue(*Role) bool
}

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

func MustParseRole_FieldPathArrayItemValue

func MustParseRole_FieldPathArrayItemValue(pathStr, valueStr string) Role_FieldPathArrayItemValue

func ParseRole_FieldPathArrayItemValue

func ParseRole_FieldPathArrayItemValue(pathStr, valueStr string) (Role_FieldPathArrayItemValue, error)

ParseRole_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Role_FieldPathArrayOfValues

type Role_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Role_FieldPath
}

Role_FieldPathArrayOfValues allows storing slice of values for Role fields according to their type

func MustParseRole_FieldPathArrayOfValues

func MustParseRole_FieldPathArrayOfValues(pathStr, valuesStr string) Role_FieldPathArrayOfValues

func ParseRole_FieldPathArrayOfValues

func ParseRole_FieldPathArrayOfValues(pathStr, valuesStr string) (Role_FieldPathArrayOfValues, error)

type Role_FieldPathSelector

type Role_FieldPathSelector int32
const (
	Role_FieldPathSelectorName             Role_FieldPathSelector = 0
	Role_FieldPathSelectorMetadata         Role_FieldPathSelector = 1
	Role_FieldPathSelectorDisplayName      Role_FieldPathSelector = 2
	Role_FieldPathSelectorScopeParams      Role_FieldPathSelector = 3
	Role_FieldPathSelectorGrants           Role_FieldPathSelector = 4
	Role_FieldPathSelectorOwnedObjects     Role_FieldPathSelector = 5
	Role_FieldPathSelectorServices         Role_FieldPathSelector = 6
	Role_FieldPathSelectorRbSpecGeneration Role_FieldPathSelector = 7
)

func (Role_FieldPathSelector) String

func (s Role_FieldPathSelector) String() string

type Role_FieldPathValue

type Role_FieldPathValue interface {
	Role_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Role)
	CompareWith(*Role) (cmp int, comparable bool)
}

Role_FieldPathValue allows storing values for Role fields according to their type

func MustParseRole_FieldPathValue

func MustParseRole_FieldPathValue(pathStr, valueStr string) Role_FieldPathValue

func ParseRole_FieldPathValue

func ParseRole_FieldPathValue(pathStr, valueStr string) (Role_FieldPathValue, error)

type Role_FieldSubPath

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

func (*Role_FieldSubPath) AsGrantsSubPath

func (fps *Role_FieldSubPath) AsGrantsSubPath() (RoleGrant_FieldPath, bool)

func (*Role_FieldSubPath) AsMetadataSubPath

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

func (*Role_FieldSubPath) AsScopeParamsSubPath

func (fps *Role_FieldSubPath) AsScopeParamsSubPath() (RoleScopeParamType_FieldPath, bool)

func (*Role_FieldSubPath) ClearValue

func (fps *Role_FieldSubPath) ClearValue(item *Role)

func (*Role_FieldSubPath) ClearValueRaw

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

func (*Role_FieldSubPath) Get

func (fps *Role_FieldSubPath) Get(source *Role) (values []interface{})

Get returns all values pointed by selected field from source Role

func (*Role_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Role_FieldSubPath) GetRaw

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

func (*Role_FieldSubPath) GetSingle

func (fps *Role_FieldSubPath) GetSingle(source *Role) (interface{}, bool)

GetSingle returns value of selected field from source Role

func (*Role_FieldSubPath) GetSingleRaw

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

func (*Role_FieldSubPath) IsLeaf

func (fps *Role_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Role_FieldSubPath) JSONString

func (fps *Role_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Role_FieldSubPath) Selector

func (fps *Role_FieldSubPath) Selector() Role_FieldPathSelector

func (*Role_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Role_FieldSubPath) String

func (fps *Role_FieldSubPath) String() string

String returns path representation in proto convention

func (*Role_FieldSubPath) WithIArrayItemValue

func (fps *Role_FieldSubPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue

func (*Role_FieldSubPath) WithIArrayOfValues

func (fps *Role_FieldSubPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues

func (*Role_FieldSubPath) WithIValue

func (fps *Role_FieldSubPath) WithIValue(value interface{}) Role_FieldPathValue

func (*Role_FieldSubPath) WithRawIArrayItemValue

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

func (*Role_FieldSubPath) WithRawIArrayOfValues

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

func (*Role_FieldSubPath) WithRawIValue

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

type Role_FieldSubPathArrayItemValue

type Role_FieldSubPathArrayItemValue struct {
	Role_FieldPath
	// contains filtered or unexported fields
}

func (*Role_FieldSubPathArrayItemValue) AsGrantsPathItemValue

func (fpaivs *Role_FieldSubPathArrayItemValue) AsGrantsPathItemValue() (RoleGrant_FieldPathArrayItemValue, bool)

func (*Role_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*Role_FieldSubPathArrayItemValue) AsScopeParamsPathItemValue

func (*Role_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Role_FieldSubPathArrayItemValue) ContainsValue(source *Role) bool

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

func (*Role_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Role_FieldSubPathArrayOfValues

type Role_FieldSubPathArrayOfValues struct {
	Role_FieldPath
	// contains filtered or unexported fields
}

func (*Role_FieldSubPathArrayOfValues) AsGrantsPathArrayOfValues

func (fpsaov *Role_FieldSubPathArrayOfValues) AsGrantsPathArrayOfValues() (RoleGrant_FieldPathArrayOfValues, bool)

func (*Role_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Role_FieldSubPathArrayOfValues) AsScopeParamsPathArrayOfValues

func (fpsaov *Role_FieldSubPathArrayOfValues) AsScopeParamsPathArrayOfValues() (RoleScopeParamType_FieldPathArrayOfValues, bool)

func (*Role_FieldSubPathArrayOfValues) GetRawValues

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

type Role_FieldSubPathValue

type Role_FieldSubPathValue struct {
	Role_FieldPath
	// contains filtered or unexported fields
}

func (*Role_FieldSubPathValue) AsGrantsPathValue

func (fpvs *Role_FieldSubPathValue) AsGrantsPathValue() (RoleGrant_FieldPathValue, bool)

func (*Role_FieldSubPathValue) AsMetadataPathValue

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

func (*Role_FieldSubPathValue) AsScopeParamsPathValue

func (fpvs *Role_FieldSubPathValue) AsScopeParamsPathValue() (RoleScopeParamType_FieldPathValue, bool)

func (*Role_FieldSubPathValue) CompareWith

func (fpvs *Role_FieldSubPathValue) CompareWith(source *Role) (int, bool)

func (*Role_FieldSubPathValue) CompareWithRaw

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

func (*Role_FieldSubPathValue) GetRawValue

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

func (*Role_FieldSubPathValue) SetTo

func (fpvs *Role_FieldSubPathValue) SetTo(target **Role)

func (*Role_FieldSubPathValue) SetToRaw

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

type Role_FieldTerminalPath

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

func (*Role_FieldTerminalPath) ClearValue

func (fp *Role_FieldTerminalPath) ClearValue(item *Role)

func (*Role_FieldTerminalPath) ClearValueRaw

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

func (*Role_FieldTerminalPath) Get

func (fp *Role_FieldTerminalPath) Get(source *Role) (values []interface{})

Get returns all values pointed by specific field from source Role

func (*Role_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Role_FieldTerminalPath) GetRaw

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

func (*Role_FieldTerminalPath) GetSingle

func (fp *Role_FieldTerminalPath) GetSingle(source *Role) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Role

func (*Role_FieldTerminalPath) GetSingleRaw

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

func (*Role_FieldTerminalPath) IsLeaf

func (fp *Role_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Role_FieldTerminalPath) JSONString

func (fp *Role_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Role_FieldTerminalPath) Selector

func (*Role_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Role_FieldTerminalPath) String

func (fp *Role_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Role_FieldTerminalPath) WithIArrayItemValue

func (fp *Role_FieldTerminalPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue

func (*Role_FieldTerminalPath) WithIArrayOfValues

func (fp *Role_FieldTerminalPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues

func (*Role_FieldTerminalPath) WithIValue

func (fp *Role_FieldTerminalPath) WithIValue(value interface{}) Role_FieldPathValue

func (*Role_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Role_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Role_FieldTerminalPath) WithRawIValue

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

type Role_FieldTerminalPathArrayItemValue

type Role_FieldTerminalPathArrayItemValue struct {
	Role_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Role_FieldTerminalPathArrayItemValue) AsGrantsItemValue

func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsGrantsItemValue() (*Role_Grant, bool)

func (*Role_FieldTerminalPathArrayItemValue) AsOwnedObjectsItemValue

func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsOwnedObjectsItemValue() (string, bool)

func (*Role_FieldTerminalPathArrayItemValue) AsScopeParamsItemValue

func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsScopeParamsItemValue() (*Role_ScopeParamType, bool)

func (*Role_FieldTerminalPathArrayItemValue) AsServicesItemValue

func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsServicesItemValue() (*meta_service.Reference, bool)

func (*Role_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Role_FieldTerminalPathArrayItemValue) ContainsValue(source *Role) bool

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

func (*Role_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Role_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetSingle(source *Role) (interface{}, bool)

func (*Role_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Role_FieldTerminalPathArrayOfValues

type Role_FieldTerminalPathArrayOfValues struct {
	Role_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Role_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*Role_FieldTerminalPathArrayOfValues) AsGrantsArrayOfValues

func (fpaov *Role_FieldTerminalPathArrayOfValues) AsGrantsArrayOfValues() ([][]*Role_Grant, bool)

func (*Role_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Role_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Role_FieldTerminalPathArrayOfValues) AsOwnedObjectsArrayOfValues

func (fpaov *Role_FieldTerminalPathArrayOfValues) AsOwnedObjectsArrayOfValues() ([][]string, bool)

func (*Role_FieldTerminalPathArrayOfValues) AsRbSpecGenerationArrayOfValues

func (fpaov *Role_FieldTerminalPathArrayOfValues) AsRbSpecGenerationArrayOfValues() ([]int64, bool)

func (*Role_FieldTerminalPathArrayOfValues) AsScopeParamsArrayOfValues

func (fpaov *Role_FieldTerminalPathArrayOfValues) AsScopeParamsArrayOfValues() ([][]*Role_ScopeParamType, bool)

func (*Role_FieldTerminalPathArrayOfValues) AsServicesArrayOfValues

func (fpaov *Role_FieldTerminalPathArrayOfValues) AsServicesArrayOfValues() ([][]*meta_service.Reference, bool)

func (*Role_FieldTerminalPathArrayOfValues) GetRawValues

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

type Role_FieldTerminalPathValue

type Role_FieldTerminalPathValue struct {
	Role_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Role_FieldTerminalPathValue) AsDisplayNameValue

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

func (*Role_FieldTerminalPathValue) AsGrantsValue

func (fpv *Role_FieldTerminalPathValue) AsGrantsValue() ([]*Role_Grant, bool)

func (*Role_FieldTerminalPathValue) AsMetadataValue

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

func (*Role_FieldTerminalPathValue) AsNameValue

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

func (*Role_FieldTerminalPathValue) AsOwnedObjectsValue

func (fpv *Role_FieldTerminalPathValue) AsOwnedObjectsValue() ([]string, bool)

func (*Role_FieldTerminalPathValue) AsRbSpecGenerationValue

func (fpv *Role_FieldTerminalPathValue) AsRbSpecGenerationValue() (int64, bool)

func (*Role_FieldTerminalPathValue) AsScopeParamsValue

func (fpv *Role_FieldTerminalPathValue) AsScopeParamsValue() ([]*Role_ScopeParamType, bool)

func (*Role_FieldTerminalPathValue) AsServicesValue

func (fpv *Role_FieldTerminalPathValue) AsServicesValue() ([]*meta_service.Reference, bool)

func (*Role_FieldTerminalPathValue) CompareWith

func (fpv *Role_FieldTerminalPathValue) CompareWith(source *Role) (int, bool)

CompareWith compares value in the 'Role_FieldTerminalPathValue' with the value under path in 'Role'.

func (*Role_FieldTerminalPathValue) CompareWithRaw

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

func (*Role_FieldTerminalPathValue) GetRawValue

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

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

func (*Role_FieldTerminalPathValue) SetTo

func (fpv *Role_FieldTerminalPathValue) SetTo(target **Role)

SetTo stores value for selected field for object Role

func (*Role_FieldTerminalPathValue) SetToRaw

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

type Role_Grant

type Role_Grant struct {

	// Optional prefix that is APPENDED to the scope inherited from RoleBinding
	// (project, organization, service). If not specified, then scope is
	// equal to the one from RoleBinding.
	SubScope string `protobuf:"bytes,1,opt,name=sub_scope,json=subScope,proto3" json:"sub_scope,omitempty" firestore:"subScope"`
	// List of applicable permissions for this grant. Not relevant if is_owner
	// is true.
	Permissions []*permission.Reference `protobuf:"bytes,2,rep,customtype=Reference,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"`
	// List of resource field conditions. Values for conditions are extracted
	// from assigned RoleBinding (scope params).
	// Resource extraction is following:
	// - If request has resource body, then it is used.
	// - If request has resource name, then resource is extracted from database
	//   and its fields are used.
	// - If request has filter object applicable for collection requests (like
	// list,
	//   collection watch...), then service uses resource field paths and values
	//   extracted from filter conditions.
	ResourceFieldConditions []*Role_Grant_FieldCondition `` /* 168-byte string literal not displayed */
	// List of request field conditions. Values for conditions are extracted
	// from assigned RoleBinding (scope params).
	RequestFieldConditions []*Role_Grant_FieldCondition `` /* 164-byte string literal not displayed */
	// List of executable conditions to be applied in order to validate this
	// grant. Note that executable conditions are also specified in RoleBinding,
	// as often it is not possible to define all params in the Role itself,
	// before binding. Final executable conditions, in RoleBinding context, are
	// computed in the following way:
	// - Executable conditions from RoleBinding and Role are matched by
	//   condition reference.
	// - Params are merged FROM condition in Role into condition in RoleBinding.
	//   It is expected that Role defined "common" params and RoleBinding
	//   defines remaining ones.
	ExecutableConditions []*condition.ExecutableCondition `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Role_Grant) Clone

func (o *Role_Grant) Clone() *Role_Grant

func (*Role_Grant) CloneRaw

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

func (*Role_Grant) Descriptor

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

Deprecated, Use Role_Grant.ProtoReflect.Descriptor instead.

func (*Role_Grant) GetExecutableConditions

func (m *Role_Grant) GetExecutableConditions() []*condition.ExecutableCondition

func (*Role_Grant) GetPermissions

func (m *Role_Grant) GetPermissions() []*permission.Reference

func (*Role_Grant) GetRequestFieldConditions

func (m *Role_Grant) GetRequestFieldConditions() []*Role_Grant_FieldCondition

func (*Role_Grant) GetResourceFieldConditions

func (m *Role_Grant) GetResourceFieldConditions() []*Role_Grant_FieldCondition

func (*Role_Grant) GetSubScope

func (m *Role_Grant) GetSubScope() string

func (*Role_Grant) GotenMessage

func (*Role_Grant) GotenMessage()

func (*Role_Grant) GotenObjectExt

func (o *Role_Grant) GotenObjectExt()

func (*Role_Grant) GotenValidate

func (obj *Role_Grant) GotenValidate() error

func (*Role_Grant) MakeDiffFieldMask

func (o *Role_Grant) MakeDiffFieldMask(other *Role_Grant) *Role_Grant_FieldMask

func (*Role_Grant) MakeFullFieldMask

func (o *Role_Grant) MakeFullFieldMask() *Role_Grant_FieldMask

func (*Role_Grant) MakeRawDiffFieldMask

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

func (*Role_Grant) MakeRawFullFieldMask

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

func (*Role_Grant) Marshal

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

func (*Role_Grant) MarshalJSON

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

func (*Role_Grant) Merge

func (o *Role_Grant) Merge(source *Role_Grant)

func (*Role_Grant) MergeRaw

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

func (*Role_Grant) ProtoMessage

func (*Role_Grant) ProtoMessage()

func (*Role_Grant) ProtoReflect

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

func (*Role_Grant) Reset

func (m *Role_Grant) Reset()

func (*Role_Grant) SetExecutableConditions

func (m *Role_Grant) SetExecutableConditions(fv []*condition.ExecutableCondition)

func (*Role_Grant) SetPermissions

func (m *Role_Grant) SetPermissions(fv []*permission.Reference)

func (*Role_Grant) SetRequestFieldConditions

func (m *Role_Grant) SetRequestFieldConditions(fv []*Role_Grant_FieldCondition)

func (*Role_Grant) SetResourceFieldConditions

func (m *Role_Grant) SetResourceFieldConditions(fv []*Role_Grant_FieldCondition)

func (*Role_Grant) SetSubScope

func (m *Role_Grant) SetSubScope(fv string)

func (*Role_Grant) String

func (m *Role_Grant) String() string

func (*Role_Grant) Unmarshal

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

func (*Role_Grant) UnmarshalJSON

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

type Role_GrantPathSelectorExecutableConditions

type Role_GrantPathSelectorExecutableConditions struct{}

func (Role_GrantPathSelectorExecutableConditions) Condition

func (Role_GrantPathSelectorExecutableConditions) FieldPath

func (Role_GrantPathSelectorExecutableConditions) Params

func (Role_GrantPathSelectorExecutableConditions) WithArrayOfValues

func (Role_GrantPathSelectorExecutableConditions) WithItemValue

func (Role_GrantPathSelectorExecutableConditions) WithSubArrayItemValue

func (Role_GrantPathSelectorExecutableConditions) WithSubArrayOfValues

func (Role_GrantPathSelectorExecutableConditions) WithSubPath

func (Role_GrantPathSelectorExecutableConditions) WithSubValue

func (Role_GrantPathSelectorExecutableConditions) WithValue

type Role_GrantPathSelectorExecutableConditionsCondition

type Role_GrantPathSelectorExecutableConditionsCondition struct{}

func (Role_GrantPathSelectorExecutableConditionsCondition) FieldPath

func (Role_GrantPathSelectorExecutableConditionsCondition) WithArrayOfValues

func (Role_GrantPathSelectorExecutableConditionsCondition) WithValue

type Role_GrantPathSelectorExecutableConditionsParams

type Role_GrantPathSelectorExecutableConditionsParams struct{}

func (Role_GrantPathSelectorExecutableConditionsParams) FieldPath

func (Role_GrantPathSelectorExecutableConditionsParams) WithArrayOfValues

func (Role_GrantPathSelectorExecutableConditionsParams) WithValue

type Role_GrantPathSelectorPermissions

type Role_GrantPathSelectorPermissions struct{}

func (Role_GrantPathSelectorPermissions) FieldPath

func (Role_GrantPathSelectorPermissions) WithArrayOfValues

func (Role_GrantPathSelectorPermissions) WithItemValue

func (Role_GrantPathSelectorPermissions) WithValue

type Role_GrantPathSelectorRequestFieldConditions

type Role_GrantPathSelectorRequestFieldConditions struct{}

func (Role_GrantPathSelectorRequestFieldConditions) FieldPath

func (Role_GrantPathSelectorRequestFieldConditions) Path

func (Role_GrantPathSelectorRequestFieldConditions) Value

func (Role_GrantPathSelectorRequestFieldConditions) WithArrayOfValues

func (Role_GrantPathSelectorRequestFieldConditions) WithItemValue

func (Role_GrantPathSelectorRequestFieldConditions) WithSubArrayItemValue

func (Role_GrantPathSelectorRequestFieldConditions) WithSubArrayOfValues

func (Role_GrantPathSelectorRequestFieldConditions) WithSubPath

func (Role_GrantPathSelectorRequestFieldConditions) WithSubValue

func (Role_GrantPathSelectorRequestFieldConditions) WithValue

type Role_GrantPathSelectorRequestFieldConditionsPath

type Role_GrantPathSelectorRequestFieldConditionsPath struct{}

func (Role_GrantPathSelectorRequestFieldConditionsPath) FieldPath

func (Role_GrantPathSelectorRequestFieldConditionsPath) WithArrayOfValues

func (Role_GrantPathSelectorRequestFieldConditionsPath) WithValue

type Role_GrantPathSelectorRequestFieldConditionsValue

type Role_GrantPathSelectorRequestFieldConditionsValue struct{}

func (Role_GrantPathSelectorRequestFieldConditionsValue) FieldPath

func (Role_GrantPathSelectorRequestFieldConditionsValue) WithArrayOfValues

func (Role_GrantPathSelectorRequestFieldConditionsValue) WithValue

type Role_GrantPathSelectorResourceFieldConditions

type Role_GrantPathSelectorResourceFieldConditions struct{}

func (Role_GrantPathSelectorResourceFieldConditions) FieldPath

func (Role_GrantPathSelectorResourceFieldConditions) Path

func (Role_GrantPathSelectorResourceFieldConditions) Value

func (Role_GrantPathSelectorResourceFieldConditions) WithArrayOfValues

func (Role_GrantPathSelectorResourceFieldConditions) WithItemValue

func (Role_GrantPathSelectorResourceFieldConditions) WithSubArrayItemValue

func (Role_GrantPathSelectorResourceFieldConditions) WithSubArrayOfValues

func (Role_GrantPathSelectorResourceFieldConditions) WithSubPath

func (Role_GrantPathSelectorResourceFieldConditions) WithSubValue

func (Role_GrantPathSelectorResourceFieldConditions) WithValue

type Role_GrantPathSelectorResourceFieldConditionsPath

type Role_GrantPathSelectorResourceFieldConditionsPath struct{}

func (Role_GrantPathSelectorResourceFieldConditionsPath) FieldPath

func (Role_GrantPathSelectorResourceFieldConditionsPath) WithArrayOfValues

func (Role_GrantPathSelectorResourceFieldConditionsPath) WithValue

type Role_GrantPathSelectorResourceFieldConditionsValue

type Role_GrantPathSelectorResourceFieldConditionsValue struct{}

func (Role_GrantPathSelectorResourceFieldConditionsValue) FieldPath

func (Role_GrantPathSelectorResourceFieldConditionsValue) WithArrayOfValues

func (Role_GrantPathSelectorResourceFieldConditionsValue) WithValue

type Role_GrantPathSelectorSubScope

type Role_GrantPathSelectorSubScope struct{}

func (Role_GrantPathSelectorSubScope) FieldPath

func (Role_GrantPathSelectorSubScope) WithArrayOfValues

func (Role_GrantPathSelectorSubScope) WithValue

type Role_Grant_FieldCondition

type Role_Grant_FieldCondition struct {
	Path  string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" firestore:"path"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" firestore:"value"`
	// contains filtered or unexported fields
}

func (*Role_Grant_FieldCondition) Clone

func (*Role_Grant_FieldCondition) CloneRaw

func (*Role_Grant_FieldCondition) Descriptor

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

Deprecated, Use Role_Grant_FieldCondition.ProtoReflect.Descriptor instead.

func (*Role_Grant_FieldCondition) GetPath

func (m *Role_Grant_FieldCondition) GetPath() string

func (*Role_Grant_FieldCondition) GetValue

func (m *Role_Grant_FieldCondition) GetValue() string

func (*Role_Grant_FieldCondition) GotenMessage

func (*Role_Grant_FieldCondition) GotenMessage()

func (*Role_Grant_FieldCondition) GotenObjectExt

func (o *Role_Grant_FieldCondition) GotenObjectExt()

func (*Role_Grant_FieldCondition) GotenValidate

func (obj *Role_Grant_FieldCondition) GotenValidate() error

func (*Role_Grant_FieldCondition) MakeDiffFieldMask

func (*Role_Grant_FieldCondition) MakeFullFieldMask

func (*Role_Grant_FieldCondition) MakeRawDiffFieldMask

func (*Role_Grant_FieldCondition) MakeRawFullFieldMask

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

func (*Role_Grant_FieldCondition) Marshal

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

func (*Role_Grant_FieldCondition) MarshalJSON

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

func (*Role_Grant_FieldCondition) Merge

func (*Role_Grant_FieldCondition) MergeRaw

func (*Role_Grant_FieldCondition) ProtoMessage

func (*Role_Grant_FieldCondition) ProtoMessage()

func (*Role_Grant_FieldCondition) ProtoReflect

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

func (*Role_Grant_FieldCondition) Reset

func (m *Role_Grant_FieldCondition) Reset()

func (*Role_Grant_FieldCondition) SetPath

func (m *Role_Grant_FieldCondition) SetPath(fv string)

func (*Role_Grant_FieldCondition) SetValue

func (m *Role_Grant_FieldCondition) SetValue(fv string)

func (*Role_Grant_FieldCondition) String

func (m *Role_Grant_FieldCondition) String() string

func (*Role_Grant_FieldCondition) Unmarshal

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

func (*Role_Grant_FieldCondition) UnmarshalJSON

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

type Role_Grant_FieldConditionPathSelectorPath

type Role_Grant_FieldConditionPathSelectorPath struct{}

func (Role_Grant_FieldConditionPathSelectorPath) FieldPath

func (Role_Grant_FieldConditionPathSelectorPath) WithArrayOfValues

func (Role_Grant_FieldConditionPathSelectorPath) WithValue

type Role_Grant_FieldConditionPathSelectorValue

type Role_Grant_FieldConditionPathSelectorValue struct{}

func (Role_Grant_FieldConditionPathSelectorValue) FieldPath

func (Role_Grant_FieldConditionPathSelectorValue) WithArrayOfValues

func (Role_Grant_FieldConditionPathSelectorValue) WithValue

type Role_Grant_FieldCondition_FieldMask

type Role_Grant_FieldCondition_FieldMask struct {
	Paths []RoleGrantFieldCondition_FieldPath
}

func FullRole_Grant_FieldCondition_FieldMask

func FullRole_Grant_FieldCondition_FieldMask() *Role_Grant_FieldCondition_FieldMask

func (*Role_Grant_FieldCondition_FieldMask) AppendPath

func (*Role_Grant_FieldCondition_FieldMask) AppendRawPath

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

func (*Role_Grant_FieldCondition_FieldMask) DecodeFirestore

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

func (*Role_Grant_FieldCondition_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Role_Grant_FieldCondition_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Role_Grant_FieldCondition_FieldMask) FromProtoFieldMask

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

func (*Role_Grant_FieldCondition_FieldMask) GetPaths

func (*Role_Grant_FieldCondition_FieldMask) GetRawPaths

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

func (*Role_Grant_FieldCondition_FieldMask) IsFull

func (fieldMask *Role_Grant_FieldCondition_FieldMask) IsFull() bool

func (Role_Grant_FieldCondition_FieldMask) Marshal

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

implement methods required by customType

func (Role_Grant_FieldCondition_FieldMask) MarshalJSON

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

func (*Role_Grant_FieldCondition_FieldMask) PathsCount

func (fieldMask *Role_Grant_FieldCondition_FieldMask) PathsCount() int

func (*Role_Grant_FieldCondition_FieldMask) Project

func (*Role_Grant_FieldCondition_FieldMask) ProjectRaw

func (*Role_Grant_FieldCondition_FieldMask) ProtoMessage

func (fieldMask *Role_Grant_FieldCondition_FieldMask) ProtoMessage()

func (*Role_Grant_FieldCondition_FieldMask) ProtoReflect

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

func (*Role_Grant_FieldCondition_FieldMask) Reset

func (fieldMask *Role_Grant_FieldCondition_FieldMask) Reset()

func (*Role_Grant_FieldCondition_FieldMask) Set

func (fieldMask *Role_Grant_FieldCondition_FieldMask) Set(target, source *Role_Grant_FieldCondition)

func (*Role_Grant_FieldCondition_FieldMask) SetFromCliFlag

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

func (*Role_Grant_FieldCondition_FieldMask) SetRaw

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

func (*Role_Grant_FieldCondition_FieldMask) Size

func (fieldMask *Role_Grant_FieldCondition_FieldMask) Size() int

func (*Role_Grant_FieldCondition_FieldMask) String

func (fieldMask *Role_Grant_FieldCondition_FieldMask) String() string

func (*Role_Grant_FieldCondition_FieldMask) Subtract

func (*Role_Grant_FieldCondition_FieldMask) SubtractRaw

func (*Role_Grant_FieldCondition_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Role_Grant_FieldCondition_FieldMask) Unmarshal

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

func (*Role_Grant_FieldCondition_FieldMask) UnmarshalJSON

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

type Role_Grant_FieldMask

type Role_Grant_FieldMask struct {
	Paths []RoleGrant_FieldPath
}

func FullRole_Grant_FieldMask

func FullRole_Grant_FieldMask() *Role_Grant_FieldMask

func (*Role_Grant_FieldMask) AppendPath

func (fieldMask *Role_Grant_FieldMask) AppendPath(path RoleGrant_FieldPath)

func (*Role_Grant_FieldMask) AppendRawPath

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

func (*Role_Grant_FieldMask) DecodeFirestore

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

func (*Role_Grant_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Role_Grant_FieldMask) FilterInputFields

func (fieldMask *Role_Grant_FieldMask) FilterInputFields() *Role_Grant_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Role_Grant_FieldMask) FromProtoFieldMask

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

func (*Role_Grant_FieldMask) GetPaths

func (fieldMask *Role_Grant_FieldMask) GetPaths() []RoleGrant_FieldPath

func (*Role_Grant_FieldMask) GetRawPaths

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

func (*Role_Grant_FieldMask) IsFull

func (fieldMask *Role_Grant_FieldMask) IsFull() bool

func (Role_Grant_FieldMask) Marshal

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

implement methods required by customType

func (Role_Grant_FieldMask) MarshalJSON

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

func (*Role_Grant_FieldMask) PathsCount

func (fieldMask *Role_Grant_FieldMask) PathsCount() int

func (*Role_Grant_FieldMask) Project

func (fieldMask *Role_Grant_FieldMask) Project(source *Role_Grant) *Role_Grant

func (*Role_Grant_FieldMask) ProjectRaw

func (*Role_Grant_FieldMask) ProtoMessage

func (fieldMask *Role_Grant_FieldMask) ProtoMessage()

func (*Role_Grant_FieldMask) ProtoReflect

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

func (*Role_Grant_FieldMask) Reset

func (fieldMask *Role_Grant_FieldMask) Reset()

func (*Role_Grant_FieldMask) Set

func (fieldMask *Role_Grant_FieldMask) Set(target, source *Role_Grant)

func (*Role_Grant_FieldMask) SetFromCliFlag

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

func (*Role_Grant_FieldMask) SetRaw

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

func (*Role_Grant_FieldMask) Size

func (fieldMask *Role_Grant_FieldMask) Size() int

func (*Role_Grant_FieldMask) String

func (fieldMask *Role_Grant_FieldMask) String() string

func (*Role_Grant_FieldMask) Subtract

func (fieldMask *Role_Grant_FieldMask) Subtract(other *Role_Grant_FieldMask) *Role_Grant_FieldMask

func (*Role_Grant_FieldMask) SubtractRaw

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

func (*Role_Grant_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Role_Grant_FieldMask) Unmarshal

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

func (*Role_Grant_FieldMask) UnmarshalJSON

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

type Role_ScopeParamType

type Role_ScopeParamType struct {
	Name string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	Type Role_ScopeParamType_Type `protobuf:"varint,2,opt,name=type,proto3,enum=ntt.iam.v1.Role_ScopeParamType_Type" json:"type,omitempty" firestore:"type"`
	// contains filtered or unexported fields
}

func (*Role_ScopeParamType) Clone

func (*Role_ScopeParamType) CloneRaw

func (*Role_ScopeParamType) Descriptor

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

Deprecated, Use Role_ScopeParamType.ProtoReflect.Descriptor instead.

func (*Role_ScopeParamType) GetName

func (m *Role_ScopeParamType) GetName() string

func (*Role_ScopeParamType) GetType

func (*Role_ScopeParamType) GotenMessage

func (*Role_ScopeParamType) GotenMessage()

func (*Role_ScopeParamType) GotenObjectExt

func (o *Role_ScopeParamType) GotenObjectExt()

func (*Role_ScopeParamType) GotenValidate

func (obj *Role_ScopeParamType) GotenValidate() error

func (*Role_ScopeParamType) MakeDiffFieldMask

func (*Role_ScopeParamType) MakeFullFieldMask

func (o *Role_ScopeParamType) MakeFullFieldMask() *Role_ScopeParamType_FieldMask

func (*Role_ScopeParamType) MakeRawDiffFieldMask

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

func (*Role_ScopeParamType) MakeRawFullFieldMask

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

func (*Role_ScopeParamType) Marshal

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

func (*Role_ScopeParamType) MarshalJSON

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

func (*Role_ScopeParamType) Merge

func (o *Role_ScopeParamType) Merge(source *Role_ScopeParamType)

func (*Role_ScopeParamType) MergeRaw

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

func (*Role_ScopeParamType) ProtoMessage

func (*Role_ScopeParamType) ProtoMessage()

func (*Role_ScopeParamType) ProtoReflect

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

func (*Role_ScopeParamType) Reset

func (m *Role_ScopeParamType) Reset()

func (*Role_ScopeParamType) SetName

func (m *Role_ScopeParamType) SetName(fv string)

func (*Role_ScopeParamType) SetType

func (*Role_ScopeParamType) String

func (m *Role_ScopeParamType) String() string

func (*Role_ScopeParamType) Unmarshal

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

func (*Role_ScopeParamType) UnmarshalJSON

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

type Role_ScopeParamTypePathSelectorName

type Role_ScopeParamTypePathSelectorName struct{}

func (Role_ScopeParamTypePathSelectorName) FieldPath

func (Role_ScopeParamTypePathSelectorName) WithArrayOfValues

func (Role_ScopeParamTypePathSelectorName) WithValue

type Role_ScopeParamTypePathSelectorType

type Role_ScopeParamTypePathSelectorType struct{}

func (Role_ScopeParamTypePathSelectorType) FieldPath

func (Role_ScopeParamTypePathSelectorType) WithArrayOfValues

func (Role_ScopeParamTypePathSelectorType) WithValue

type Role_ScopeParamType_FieldMask

type Role_ScopeParamType_FieldMask struct {
	Paths []RoleScopeParamType_FieldPath
}

func FullRole_ScopeParamType_FieldMask

func FullRole_ScopeParamType_FieldMask() *Role_ScopeParamType_FieldMask

func (*Role_ScopeParamType_FieldMask) AppendPath

func (fieldMask *Role_ScopeParamType_FieldMask) AppendPath(path RoleScopeParamType_FieldPath)

func (*Role_ScopeParamType_FieldMask) AppendRawPath

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

func (*Role_ScopeParamType_FieldMask) DecodeFirestore

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

func (*Role_ScopeParamType_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Role_ScopeParamType_FieldMask) FilterInputFields

func (fieldMask *Role_ScopeParamType_FieldMask) FilterInputFields() *Role_ScopeParamType_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Role_ScopeParamType_FieldMask) FromProtoFieldMask

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

func (*Role_ScopeParamType_FieldMask) GetPaths

func (*Role_ScopeParamType_FieldMask) GetRawPaths

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

func (*Role_ScopeParamType_FieldMask) IsFull

func (fieldMask *Role_ScopeParamType_FieldMask) IsFull() bool

func (Role_ScopeParamType_FieldMask) Marshal

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

implement methods required by customType

func (Role_ScopeParamType_FieldMask) MarshalJSON

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

func (*Role_ScopeParamType_FieldMask) PathsCount

func (fieldMask *Role_ScopeParamType_FieldMask) PathsCount() int

func (*Role_ScopeParamType_FieldMask) Project

func (*Role_ScopeParamType_FieldMask) ProjectRaw

func (*Role_ScopeParamType_FieldMask) ProtoMessage

func (fieldMask *Role_ScopeParamType_FieldMask) ProtoMessage()

func (*Role_ScopeParamType_FieldMask) ProtoReflect

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

func (*Role_ScopeParamType_FieldMask) Reset

func (fieldMask *Role_ScopeParamType_FieldMask) Reset()

func (*Role_ScopeParamType_FieldMask) Set

func (fieldMask *Role_ScopeParamType_FieldMask) Set(target, source *Role_ScopeParamType)

func (*Role_ScopeParamType_FieldMask) SetFromCliFlag

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

func (*Role_ScopeParamType_FieldMask) SetRaw

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

func (*Role_ScopeParamType_FieldMask) Size

func (fieldMask *Role_ScopeParamType_FieldMask) Size() int

func (*Role_ScopeParamType_FieldMask) String

func (fieldMask *Role_ScopeParamType_FieldMask) String() string

func (*Role_ScopeParamType_FieldMask) Subtract

func (*Role_ScopeParamType_FieldMask) SubtractRaw

func (*Role_ScopeParamType_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Role_ScopeParamType_FieldMask) Unmarshal

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

func (*Role_ScopeParamType_FieldMask) UnmarshalJSON

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

type Role_ScopeParamType_Type

type Role_ScopeParamType_Type int32
const (
	Role_ScopeParamType_UNDEFINED        Role_ScopeParamType_Type = 0
	Role_ScopeParamType_STRING           Role_ScopeParamType_Type = 1
	Role_ScopeParamType_ARRAY_OF_STRINGS Role_ScopeParamType_Type = 2
)

func (Role_ScopeParamType_Type) Descriptor

func (Role_ScopeParamType_Type) Enum

func (Role_ScopeParamType_Type) EnumDescriptor

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

Deprecated, Use Role_ScopeParamType_Type.ProtoReflect.Descriptor instead.

func (Role_ScopeParamType_Type) Number

func (Role_ScopeParamType_Type) String

func (x Role_ScopeParamType_Type) String() string

func (Role_ScopeParamType_Type) Type

type ScopeParam

type ScopeParam struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Types that are valid to be assigned to Value:
	//	*ScopeParam_String_
	//	*ScopeParam_Strings
	Value isScopeParam_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*ScopeParam) Clone

func (o *ScopeParam) Clone() *ScopeParam

func (*ScopeParam) CloneRaw

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

func (*ScopeParam) Descriptor

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

Deprecated, Use ScopeParam.ProtoReflect.Descriptor instead.

func (*ScopeParam) GetName

func (m *ScopeParam) GetName() string

func (*ScopeParam) GetString_

func (m *ScopeParam) GetString_() *ScopeParam_StringValue

func (*ScopeParam) GetStrings

func (m *ScopeParam) GetStrings() *ScopeParam_ArrayOfStringsValue

func (*ScopeParam) GetValue

func (m *ScopeParam) GetValue() isScopeParam_Value

func (*ScopeParam) GotenMessage

func (*ScopeParam) GotenMessage()

func (*ScopeParam) GotenObjectExt

func (o *ScopeParam) GotenObjectExt()

func (*ScopeParam) GotenValidate

func (obj *ScopeParam) GotenValidate() error

func (*ScopeParam) MakeDiffFieldMask

func (o *ScopeParam) MakeDiffFieldMask(other *ScopeParam) *ScopeParam_FieldMask

func (*ScopeParam) MakeFullFieldMask

func (o *ScopeParam) MakeFullFieldMask() *ScopeParam_FieldMask

func (*ScopeParam) MakeRawDiffFieldMask

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

func (*ScopeParam) MakeRawFullFieldMask

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

func (*ScopeParam) Marshal

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

func (*ScopeParam) MarshalJSON

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

func (*ScopeParam) Merge

func (o *ScopeParam) Merge(source *ScopeParam)

func (*ScopeParam) MergeRaw

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

func (*ScopeParam) ProtoMessage

func (*ScopeParam) ProtoMessage()

func (*ScopeParam) ProtoReflect

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

func (*ScopeParam) Reset

func (m *ScopeParam) Reset()

func (*ScopeParam) SetName

func (m *ScopeParam) SetName(fv string)

func (*ScopeParam) SetString_

func (m *ScopeParam) SetString_(fv *ScopeParam_StringValue)

func (*ScopeParam) SetStrings

func (m *ScopeParam) SetStrings(fv *ScopeParam_ArrayOfStringsValue)

func (*ScopeParam) SetValue

func (m *ScopeParam) SetValue(ofv isScopeParam_Value)

func (*ScopeParam) String

func (m *ScopeParam) String() string

func (*ScopeParam) Unmarshal

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

func (*ScopeParam) UnmarshalJSON

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

type ScopeParamArrayOfStringsValueFieldPathBuilder

type ScopeParamArrayOfStringsValueFieldPathBuilder struct{}

func NewScopeParamArrayOfStringsValueFieldPathBuilder

func NewScopeParamArrayOfStringsValueFieldPathBuilder() ScopeParamArrayOfStringsValueFieldPathBuilder

func (ScopeParamArrayOfStringsValueFieldPathBuilder) Values

type ScopeParamArrayOfStringsValue_FieldPath

type ScopeParamArrayOfStringsValue_FieldPath interface {
	gotenobject.FieldPath
	Selector() ScopeParamArrayOfStringsValue_FieldPathSelector
	Get(source *ScopeParam_ArrayOfStringsValue) []interface{}
	GetSingle(source *ScopeParam_ArrayOfStringsValue) (interface{}, bool)
	ClearValue(item *ScopeParam_ArrayOfStringsValue)

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

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

func MustParseScopeParamArrayOfStringsValue_FieldPath

func MustParseScopeParamArrayOfStringsValue_FieldPath(rawField string) ScopeParamArrayOfStringsValue_FieldPath

func ParseScopeParamArrayOfStringsValue_FieldPath

func ParseScopeParamArrayOfStringsValue_FieldPath(rawField string) (ScopeParamArrayOfStringsValue_FieldPath, error)

type ScopeParamArrayOfStringsValue_FieldPathArrayItemValue

type ScopeParamArrayOfStringsValue_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ScopeParamArrayOfStringsValue_FieldPath
	ContainsValue(*ScopeParam_ArrayOfStringsValue) bool
}

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

func MustParseScopeParamArrayOfStringsValue_FieldPathArrayItemValue

func MustParseScopeParamArrayOfStringsValue_FieldPathArrayItemValue(pathStr, valueStr string) ScopeParamArrayOfStringsValue_FieldPathArrayItemValue

func ParseScopeParamArrayOfStringsValue_FieldPathArrayItemValue

func ParseScopeParamArrayOfStringsValue_FieldPathArrayItemValue(pathStr, valueStr string) (ScopeParamArrayOfStringsValue_FieldPathArrayItemValue, error)

ParseScopeParamArrayOfStringsValue_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ScopeParamArrayOfStringsValue_FieldPathArrayOfValues

type ScopeParamArrayOfStringsValue_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ScopeParamArrayOfStringsValue_FieldPath
}

ScopeParamArrayOfStringsValue_FieldPathArrayOfValues allows storing slice of values for ArrayOfStringsValue fields according to their type

func MustParseScopeParamArrayOfStringsValue_FieldPathArrayOfValues

func MustParseScopeParamArrayOfStringsValue_FieldPathArrayOfValues(pathStr, valuesStr string) ScopeParamArrayOfStringsValue_FieldPathArrayOfValues

func ParseScopeParamArrayOfStringsValue_FieldPathArrayOfValues

func ParseScopeParamArrayOfStringsValue_FieldPathArrayOfValues(pathStr, valuesStr string) (ScopeParamArrayOfStringsValue_FieldPathArrayOfValues, error)

type ScopeParamArrayOfStringsValue_FieldPathSelector

type ScopeParamArrayOfStringsValue_FieldPathSelector int32
const (
	ScopeParamArrayOfStringsValue_FieldPathSelectorValues ScopeParamArrayOfStringsValue_FieldPathSelector = 0
)

func (ScopeParamArrayOfStringsValue_FieldPathSelector) String

type ScopeParamArrayOfStringsValue_FieldPathValue

type ScopeParamArrayOfStringsValue_FieldPathValue interface {
	ScopeParamArrayOfStringsValue_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ScopeParam_ArrayOfStringsValue)
	CompareWith(*ScopeParam_ArrayOfStringsValue) (cmp int, comparable bool)
}

ScopeParamArrayOfStringsValue_FieldPathValue allows storing values for ArrayOfStringsValue fields according to their type

func MustParseScopeParamArrayOfStringsValue_FieldPathValue

func MustParseScopeParamArrayOfStringsValue_FieldPathValue(pathStr, valueStr string) ScopeParamArrayOfStringsValue_FieldPathValue

func ParseScopeParamArrayOfStringsValue_FieldPathValue

func ParseScopeParamArrayOfStringsValue_FieldPathValue(pathStr, valueStr string) (ScopeParamArrayOfStringsValue_FieldPathValue, error)

type ScopeParamArrayOfStringsValue_FieldTerminalPath

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) ClearValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) ClearValueRaw

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) Get

Get returns all values pointed by specific field from source ScopeParam_ArrayOfStringsValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) GetRaw

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source ScopeParam_ArrayOfStringsValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) GetSingleRaw

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) Selector

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) SplitIntoTerminalIPaths

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) String

String returns path representation in proto convention

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithIArrayItemValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithIArrayOfValues

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithIValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPath) WithRawIValue

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

type ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue

type ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue struct {
	ScopeParamArrayOfStringsValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue) AsValuesItemValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue) GetSingle

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ScopeParamArrayOfStringsValue_FieldTerminalPathArrayOfValues

type ScopeParamArrayOfStringsValue_FieldTerminalPathArrayOfValues struct {
	ScopeParamArrayOfStringsValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayOfValues) AsValuesArrayOfValues

func (fpaov *ScopeParamArrayOfStringsValue_FieldTerminalPathArrayOfValues) AsValuesArrayOfValues() ([][]string, bool)

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathArrayOfValues) GetRawValues

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

type ScopeParamArrayOfStringsValue_FieldTerminalPathValue

type ScopeParamArrayOfStringsValue_FieldTerminalPathValue struct {
	ScopeParamArrayOfStringsValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) AsValuesValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'ScopeParamArrayOfStringsValue_FieldTerminalPathValue' with the value under path in 'ScopeParam_ArrayOfStringsValue'.

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) CompareWithRaw

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) GetRawValue

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

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

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ArrayOfStringsValue

func (*ScopeParamArrayOfStringsValue_FieldTerminalPathValue) SetToRaw

type ScopeParamFieldPathBuilder

type ScopeParamFieldPathBuilder struct{}

func NewScopeParamFieldPathBuilder

func NewScopeParamFieldPathBuilder() ScopeParamFieldPathBuilder

func (ScopeParamFieldPathBuilder) Name

func (ScopeParamFieldPathBuilder) String_

func (ScopeParamFieldPathBuilder) Strings

type ScopeParamPathSelectorName

type ScopeParamPathSelectorName struct{}

func (ScopeParamPathSelectorName) FieldPath

func (ScopeParamPathSelectorName) WithArrayOfValues

func (ScopeParamPathSelectorName) WithValue

type ScopeParamPathSelectorString

type ScopeParamPathSelectorString struct{}

func (ScopeParamPathSelectorString) FieldPath

func (ScopeParamPathSelectorString) Value

func (ScopeParamPathSelectorString) WithArrayOfValues

func (ScopeParamPathSelectorString) WithSubArrayItemValue

func (ScopeParamPathSelectorString) WithSubArrayOfValues

func (ScopeParamPathSelectorString) WithSubPath

func (ScopeParamPathSelectorString) WithSubValue

func (ScopeParamPathSelectorString) WithValue

type ScopeParamPathSelectorStringValue

type ScopeParamPathSelectorStringValue struct{}

func (ScopeParamPathSelectorStringValue) FieldPath

func (ScopeParamPathSelectorStringValue) WithArrayOfValues

func (ScopeParamPathSelectorStringValue) WithValue

type ScopeParamPathSelectorStrings

type ScopeParamPathSelectorStrings struct{}

func (ScopeParamPathSelectorStrings) FieldPath

func (ScopeParamPathSelectorStrings) Values

func (ScopeParamPathSelectorStrings) WithArrayOfValues

func (ScopeParamPathSelectorStrings) WithSubArrayItemValue

func (ScopeParamPathSelectorStrings) WithSubArrayOfValues

func (ScopeParamPathSelectorStrings) WithSubPath

func (ScopeParamPathSelectorStrings) WithSubValue

func (ScopeParamPathSelectorStrings) WithValue

type ScopeParamPathSelectorStringsValues

type ScopeParamPathSelectorStringsValues struct{}

func (ScopeParamPathSelectorStringsValues) FieldPath

func (ScopeParamPathSelectorStringsValues) WithArrayOfValues

func (ScopeParamPathSelectorStringsValues) WithItemValue

func (ScopeParamPathSelectorStringsValues) WithValue

type ScopeParamStringValueFieldPathBuilder

type ScopeParamStringValueFieldPathBuilder struct{}

func NewScopeParamStringValueFieldPathBuilder

func NewScopeParamStringValueFieldPathBuilder() ScopeParamStringValueFieldPathBuilder

func (ScopeParamStringValueFieldPathBuilder) Value

type ScopeParamStringValue_FieldPath

type ScopeParamStringValue_FieldPath interface {
	gotenobject.FieldPath
	Selector() ScopeParamStringValue_FieldPathSelector
	Get(source *ScopeParam_StringValue) []interface{}
	GetSingle(source *ScopeParam_StringValue) (interface{}, bool)
	ClearValue(item *ScopeParam_StringValue)

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

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

func MustParseScopeParamStringValue_FieldPath

func MustParseScopeParamStringValue_FieldPath(rawField string) ScopeParamStringValue_FieldPath

func ParseScopeParamStringValue_FieldPath

func ParseScopeParamStringValue_FieldPath(rawField string) (ScopeParamStringValue_FieldPath, error)

type ScopeParamStringValue_FieldPathArrayItemValue

type ScopeParamStringValue_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ScopeParamStringValue_FieldPath
	ContainsValue(*ScopeParam_StringValue) bool
}

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

func MustParseScopeParamStringValue_FieldPathArrayItemValue

func MustParseScopeParamStringValue_FieldPathArrayItemValue(pathStr, valueStr string) ScopeParamStringValue_FieldPathArrayItemValue

func ParseScopeParamStringValue_FieldPathArrayItemValue

func ParseScopeParamStringValue_FieldPathArrayItemValue(pathStr, valueStr string) (ScopeParamStringValue_FieldPathArrayItemValue, error)

ParseScopeParamStringValue_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ScopeParamStringValue_FieldPathArrayOfValues

type ScopeParamStringValue_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ScopeParamStringValue_FieldPath
}

ScopeParamStringValue_FieldPathArrayOfValues allows storing slice of values for StringValue fields according to their type

func MustParseScopeParamStringValue_FieldPathArrayOfValues

func MustParseScopeParamStringValue_FieldPathArrayOfValues(pathStr, valuesStr string) ScopeParamStringValue_FieldPathArrayOfValues

func ParseScopeParamStringValue_FieldPathArrayOfValues

func ParseScopeParamStringValue_FieldPathArrayOfValues(pathStr, valuesStr string) (ScopeParamStringValue_FieldPathArrayOfValues, error)

type ScopeParamStringValue_FieldPathSelector

type ScopeParamStringValue_FieldPathSelector int32
const (
	ScopeParamStringValue_FieldPathSelectorValue ScopeParamStringValue_FieldPathSelector = 0
)

func (ScopeParamStringValue_FieldPathSelector) String

type ScopeParamStringValue_FieldPathValue

type ScopeParamStringValue_FieldPathValue interface {
	ScopeParamStringValue_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ScopeParam_StringValue)
	CompareWith(*ScopeParam_StringValue) (cmp int, comparable bool)
}

ScopeParamStringValue_FieldPathValue allows storing values for StringValue fields according to their type

func MustParseScopeParamStringValue_FieldPathValue

func MustParseScopeParamStringValue_FieldPathValue(pathStr, valueStr string) ScopeParamStringValue_FieldPathValue

func ParseScopeParamStringValue_FieldPathValue

func ParseScopeParamStringValue_FieldPathValue(pathStr, valueStr string) (ScopeParamStringValue_FieldPathValue, error)

type ScopeParamStringValue_FieldTerminalPath

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

func (*ScopeParamStringValue_FieldTerminalPath) ClearValue

func (*ScopeParamStringValue_FieldTerminalPath) ClearValueRaw

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

func (*ScopeParamStringValue_FieldTerminalPath) Get

func (fp *ScopeParamStringValue_FieldTerminalPath) Get(source *ScopeParam_StringValue) (values []interface{})

Get returns all values pointed by specific field from source ScopeParam_StringValue

func (*ScopeParamStringValue_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ScopeParamStringValue_FieldTerminalPath) GetRaw

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

func (*ScopeParamStringValue_FieldTerminalPath) GetSingle

func (fp *ScopeParamStringValue_FieldTerminalPath) GetSingle(source *ScopeParam_StringValue) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ScopeParam_StringValue

func (*ScopeParamStringValue_FieldTerminalPath) GetSingleRaw

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

func (*ScopeParamStringValue_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ScopeParamStringValue_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*ScopeParamStringValue_FieldTerminalPath) Selector

func (*ScopeParamStringValue_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*ScopeParamStringValue_FieldTerminalPath) String

String returns path representation in proto convention

func (*ScopeParamStringValue_FieldTerminalPath) WithIArrayItemValue

func (*ScopeParamStringValue_FieldTerminalPath) WithIArrayOfValues

func (*ScopeParamStringValue_FieldTerminalPath) WithIValue

func (*ScopeParamStringValue_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ScopeParamStringValue_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ScopeParamStringValue_FieldTerminalPath) WithRawIValue

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

type ScopeParamStringValue_FieldTerminalPathArrayItemValue

type ScopeParamStringValue_FieldTerminalPathArrayItemValue struct {
	ScopeParamStringValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamStringValue_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ScopeParamStringValue_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ScopeParamStringValue_FieldTerminalPathArrayItemValue) GetSingle

func (*ScopeParamStringValue_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ScopeParamStringValue_FieldTerminalPathArrayOfValues

type ScopeParamStringValue_FieldTerminalPathArrayOfValues struct {
	ScopeParamStringValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamStringValue_FieldTerminalPathArrayOfValues) AsValueArrayOfValues

func (fpaov *ScopeParamStringValue_FieldTerminalPathArrayOfValues) AsValueArrayOfValues() ([]string, bool)

func (*ScopeParamStringValue_FieldTerminalPathArrayOfValues) GetRawValues

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

type ScopeParamStringValue_FieldTerminalPathValue

type ScopeParamStringValue_FieldTerminalPathValue struct {
	ScopeParamStringValue_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParamStringValue_FieldTerminalPathValue) AsValueValue

func (*ScopeParamStringValue_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'ScopeParamStringValue_FieldTerminalPathValue' with the value under path in 'ScopeParam_StringValue'.

func (*ScopeParamStringValue_FieldTerminalPathValue) CompareWithRaw

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

func (*ScopeParamStringValue_FieldTerminalPathValue) GetRawValue

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

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

func (*ScopeParamStringValue_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object StringValue

func (*ScopeParamStringValue_FieldTerminalPathValue) SetToRaw

type ScopeParam_ArrayOfStringsValue

type ScopeParam_ArrayOfStringsValue struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" firestore:"values"`
	// contains filtered or unexported fields
}

func (*ScopeParam_ArrayOfStringsValue) Clone

func (*ScopeParam_ArrayOfStringsValue) CloneRaw

func (*ScopeParam_ArrayOfStringsValue) Descriptor

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

Deprecated, Use ScopeParam_ArrayOfStringsValue.ProtoReflect.Descriptor instead.

func (*ScopeParam_ArrayOfStringsValue) GetValues

func (m *ScopeParam_ArrayOfStringsValue) GetValues() []string

func (*ScopeParam_ArrayOfStringsValue) GotenMessage

func (*ScopeParam_ArrayOfStringsValue) GotenMessage()

func (*ScopeParam_ArrayOfStringsValue) GotenObjectExt

func (o *ScopeParam_ArrayOfStringsValue) GotenObjectExt()

func (*ScopeParam_ArrayOfStringsValue) GotenValidate

func (obj *ScopeParam_ArrayOfStringsValue) GotenValidate() error

func (*ScopeParam_ArrayOfStringsValue) MakeDiffFieldMask

func (*ScopeParam_ArrayOfStringsValue) MakeFullFieldMask

func (*ScopeParam_ArrayOfStringsValue) MakeRawDiffFieldMask

func (*ScopeParam_ArrayOfStringsValue) MakeRawFullFieldMask

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

func (*ScopeParam_ArrayOfStringsValue) Marshal

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

func (*ScopeParam_ArrayOfStringsValue) MarshalJSON

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

func (*ScopeParam_ArrayOfStringsValue) Merge

func (*ScopeParam_ArrayOfStringsValue) MergeRaw

func (*ScopeParam_ArrayOfStringsValue) ProtoMessage

func (*ScopeParam_ArrayOfStringsValue) ProtoMessage()

func (*ScopeParam_ArrayOfStringsValue) ProtoReflect

func (*ScopeParam_ArrayOfStringsValue) Reset

func (m *ScopeParam_ArrayOfStringsValue) Reset()

func (*ScopeParam_ArrayOfStringsValue) SetValues

func (m *ScopeParam_ArrayOfStringsValue) SetValues(fv []string)

func (*ScopeParam_ArrayOfStringsValue) String

func (*ScopeParam_ArrayOfStringsValue) Unmarshal

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

func (*ScopeParam_ArrayOfStringsValue) UnmarshalJSON

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

type ScopeParam_ArrayOfStringsValuePathSelectorValues

type ScopeParam_ArrayOfStringsValuePathSelectorValues struct{}

func (ScopeParam_ArrayOfStringsValuePathSelectorValues) FieldPath

func (ScopeParam_ArrayOfStringsValuePathSelectorValues) WithArrayOfValues

func (ScopeParam_ArrayOfStringsValuePathSelectorValues) WithItemValue

func (ScopeParam_ArrayOfStringsValuePathSelectorValues) WithValue

type ScopeParam_ArrayOfStringsValue_FieldMask

type ScopeParam_ArrayOfStringsValue_FieldMask struct {
	Paths []ScopeParamArrayOfStringsValue_FieldPath
}

func FullScopeParam_ArrayOfStringsValue_FieldMask

func FullScopeParam_ArrayOfStringsValue_FieldMask() *ScopeParam_ArrayOfStringsValue_FieldMask

func (*ScopeParam_ArrayOfStringsValue_FieldMask) AppendPath

func (*ScopeParam_ArrayOfStringsValue_FieldMask) AppendRawPath

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) DecodeFirestore

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ScopeParam_ArrayOfStringsValue_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ScopeParam_ArrayOfStringsValue_FieldMask) FromProtoFieldMask

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) GetPaths

func (*ScopeParam_ArrayOfStringsValue_FieldMask) GetRawPaths

func (*ScopeParam_ArrayOfStringsValue_FieldMask) IsFull

func (fieldMask *ScopeParam_ArrayOfStringsValue_FieldMask) IsFull() bool

func (ScopeParam_ArrayOfStringsValue_FieldMask) Marshal

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

implement methods required by customType

func (ScopeParam_ArrayOfStringsValue_FieldMask) MarshalJSON

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) PathsCount

func (fieldMask *ScopeParam_ArrayOfStringsValue_FieldMask) PathsCount() int

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Project

func (*ScopeParam_ArrayOfStringsValue_FieldMask) ProjectRaw

func (*ScopeParam_ArrayOfStringsValue_FieldMask) ProtoMessage

func (fieldMask *ScopeParam_ArrayOfStringsValue_FieldMask) ProtoMessage()

func (*ScopeParam_ArrayOfStringsValue_FieldMask) ProtoReflect

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Reset

func (fieldMask *ScopeParam_ArrayOfStringsValue_FieldMask) Reset()

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Set

func (*ScopeParam_ArrayOfStringsValue_FieldMask) SetFromCliFlag

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) SetRaw

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Size

func (*ScopeParam_ArrayOfStringsValue_FieldMask) String

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Subtract

func (*ScopeParam_ArrayOfStringsValue_FieldMask) SubtractRaw

func (*ScopeParam_ArrayOfStringsValue_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*ScopeParam_ArrayOfStringsValue_FieldMask) Unmarshal

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

func (*ScopeParam_ArrayOfStringsValue_FieldMask) UnmarshalJSON

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

type ScopeParam_FieldMask

type ScopeParam_FieldMask struct {
	Paths []ScopeParam_FieldPath
}

func FullScopeParam_FieldMask

func FullScopeParam_FieldMask() *ScopeParam_FieldMask

func (*ScopeParam_FieldMask) AppendPath

func (fieldMask *ScopeParam_FieldMask) AppendPath(path ScopeParam_FieldPath)

func (*ScopeParam_FieldMask) AppendRawPath

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

func (*ScopeParam_FieldMask) DecodeFirestore

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

func (*ScopeParam_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ScopeParam_FieldMask) FilterInputFields

func (fieldMask *ScopeParam_FieldMask) FilterInputFields() *ScopeParam_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ScopeParam_FieldMask) FromProtoFieldMask

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

func (*ScopeParam_FieldMask) GetPaths

func (fieldMask *ScopeParam_FieldMask) GetPaths() []ScopeParam_FieldPath

func (*ScopeParam_FieldMask) GetRawPaths

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

func (*ScopeParam_FieldMask) IsFull

func (fieldMask *ScopeParam_FieldMask) IsFull() bool

func (ScopeParam_FieldMask) Marshal

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

implement methods required by customType

func (ScopeParam_FieldMask) MarshalJSON

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

func (*ScopeParam_FieldMask) PathsCount

func (fieldMask *ScopeParam_FieldMask) PathsCount() int

func (*ScopeParam_FieldMask) Project

func (fieldMask *ScopeParam_FieldMask) Project(source *ScopeParam) *ScopeParam

func (*ScopeParam_FieldMask) ProjectRaw

func (*ScopeParam_FieldMask) ProtoMessage

func (fieldMask *ScopeParam_FieldMask) ProtoMessage()

func (*ScopeParam_FieldMask) ProtoReflect

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

func (*ScopeParam_FieldMask) Reset

func (fieldMask *ScopeParam_FieldMask) Reset()

func (*ScopeParam_FieldMask) Set

func (fieldMask *ScopeParam_FieldMask) Set(target, source *ScopeParam)

func (*ScopeParam_FieldMask) SetFromCliFlag

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

func (*ScopeParam_FieldMask) SetRaw

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

func (*ScopeParam_FieldMask) Size

func (fieldMask *ScopeParam_FieldMask) Size() int

func (*ScopeParam_FieldMask) String

func (fieldMask *ScopeParam_FieldMask) String() string

func (*ScopeParam_FieldMask) Subtract

func (fieldMask *ScopeParam_FieldMask) Subtract(other *ScopeParam_FieldMask) *ScopeParam_FieldMask

func (*ScopeParam_FieldMask) SubtractRaw

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

func (*ScopeParam_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ScopeParam_FieldMask) Unmarshal

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

func (*ScopeParam_FieldMask) UnmarshalJSON

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

type ScopeParam_FieldPath

type ScopeParam_FieldPath interface {
	gotenobject.FieldPath
	Selector() ScopeParam_FieldPathSelector
	Get(source *ScopeParam) []interface{}
	GetSingle(source *ScopeParam) (interface{}, bool)
	ClearValue(item *ScopeParam)

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

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

func BuildScopeParam_FieldPath

func BuildScopeParam_FieldPath(fp gotenobject.RawFieldPath) (ScopeParam_FieldPath, error)

func MustParseScopeParam_FieldPath

func MustParseScopeParam_FieldPath(rawField string) ScopeParam_FieldPath

func ParseScopeParam_FieldPath

func ParseScopeParam_FieldPath(rawField string) (ScopeParam_FieldPath, error)

type ScopeParam_FieldPathArrayItemValue

type ScopeParam_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ScopeParam_FieldPath
	ContainsValue(*ScopeParam) bool
}

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

func MustParseScopeParam_FieldPathArrayItemValue

func MustParseScopeParam_FieldPathArrayItemValue(pathStr, valueStr string) ScopeParam_FieldPathArrayItemValue

func ParseScopeParam_FieldPathArrayItemValue

func ParseScopeParam_FieldPathArrayItemValue(pathStr, valueStr string) (ScopeParam_FieldPathArrayItemValue, error)

ParseScopeParam_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ScopeParam_FieldPathArrayOfValues

type ScopeParam_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ScopeParam_FieldPath
}

ScopeParam_FieldPathArrayOfValues allows storing slice of values for ScopeParam fields according to their type

func MustParseScopeParam_FieldPathArrayOfValues

func MustParseScopeParam_FieldPathArrayOfValues(pathStr, valuesStr string) ScopeParam_FieldPathArrayOfValues

func ParseScopeParam_FieldPathArrayOfValues

func ParseScopeParam_FieldPathArrayOfValues(pathStr, valuesStr string) (ScopeParam_FieldPathArrayOfValues, error)

type ScopeParam_FieldPathSelector

type ScopeParam_FieldPathSelector int32
const (
	ScopeParam_FieldPathSelectorName    ScopeParam_FieldPathSelector = 0
	ScopeParam_FieldPathSelectorString  ScopeParam_FieldPathSelector = 1
	ScopeParam_FieldPathSelectorStrings ScopeParam_FieldPathSelector = 2
)

func (ScopeParam_FieldPathSelector) String

type ScopeParam_FieldPathValue

type ScopeParam_FieldPathValue interface {
	ScopeParam_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ScopeParam)
	CompareWith(*ScopeParam) (cmp int, comparable bool)
}

ScopeParam_FieldPathValue allows storing values for ScopeParam fields according to their type

func MustParseScopeParam_FieldPathValue

func MustParseScopeParam_FieldPathValue(pathStr, valueStr string) ScopeParam_FieldPathValue

func ParseScopeParam_FieldPathValue

func ParseScopeParam_FieldPathValue(pathStr, valueStr string) (ScopeParam_FieldPathValue, error)

type ScopeParam_FieldSubPath

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

func (*ScopeParam_FieldSubPath) AsStringSubPath

func (*ScopeParam_FieldSubPath) AsStringsSubPath

func (*ScopeParam_FieldSubPath) ClearValue

func (fps *ScopeParam_FieldSubPath) ClearValue(item *ScopeParam)

func (*ScopeParam_FieldSubPath) ClearValueRaw

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

func (*ScopeParam_FieldSubPath) Get

func (fps *ScopeParam_FieldSubPath) Get(source *ScopeParam) (values []interface{})

Get returns all values pointed by selected field from source ScopeParam

func (*ScopeParam_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ScopeParam_FieldSubPath) GetRaw

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

func (*ScopeParam_FieldSubPath) GetSingle

func (fps *ScopeParam_FieldSubPath) GetSingle(source *ScopeParam) (interface{}, bool)

GetSingle returns value of selected field from source ScopeParam

func (*ScopeParam_FieldSubPath) GetSingleRaw

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

func (*ScopeParam_FieldSubPath) IsLeaf

func (fps *ScopeParam_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ScopeParam_FieldSubPath) JSONString

func (fps *ScopeParam_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ScopeParam_FieldSubPath) Selector

func (*ScopeParam_FieldSubPath) SplitIntoTerminalIPaths

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

func (*ScopeParam_FieldSubPath) String

func (fps *ScopeParam_FieldSubPath) String() string

String returns path representation in proto convention

func (*ScopeParam_FieldSubPath) WithIArrayItemValue

func (fps *ScopeParam_FieldSubPath) WithIArrayItemValue(value interface{}) ScopeParam_FieldPathArrayItemValue

func (*ScopeParam_FieldSubPath) WithIArrayOfValues

func (fps *ScopeParam_FieldSubPath) WithIArrayOfValues(values interface{}) ScopeParam_FieldPathArrayOfValues

func (*ScopeParam_FieldSubPath) WithIValue

func (fps *ScopeParam_FieldSubPath) WithIValue(value interface{}) ScopeParam_FieldPathValue

func (*ScopeParam_FieldSubPath) WithRawIArrayItemValue

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

func (*ScopeParam_FieldSubPath) WithRawIArrayOfValues

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

func (*ScopeParam_FieldSubPath) WithRawIValue

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

type ScopeParam_FieldSubPathArrayItemValue

type ScopeParam_FieldSubPathArrayItemValue struct {
	ScopeParam_FieldPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldSubPathArrayItemValue) AsStringPathItemValue

func (*ScopeParam_FieldSubPathArrayItemValue) AsStringsPathItemValue

func (*ScopeParam_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *ScopeParam_FieldSubPathArrayItemValue) ContainsValue(source *ScopeParam) bool

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

func (*ScopeParam_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type ScopeParam_FieldSubPathArrayOfValues

type ScopeParam_FieldSubPathArrayOfValues struct {
	ScopeParam_FieldPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldSubPathArrayOfValues) AsStringPathArrayOfValues

func (*ScopeParam_FieldSubPathArrayOfValues) AsStringsPathArrayOfValues

func (*ScopeParam_FieldSubPathArrayOfValues) GetRawValues

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

type ScopeParam_FieldSubPathValue

type ScopeParam_FieldSubPathValue struct {
	ScopeParam_FieldPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldSubPathValue) AsStringPathValue

func (*ScopeParam_FieldSubPathValue) AsStringsPathValue

func (*ScopeParam_FieldSubPathValue) CompareWith

func (fpvs *ScopeParam_FieldSubPathValue) CompareWith(source *ScopeParam) (int, bool)

func (*ScopeParam_FieldSubPathValue) CompareWithRaw

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

func (*ScopeParam_FieldSubPathValue) GetRawValue

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

func (*ScopeParam_FieldSubPathValue) SetTo

func (fpvs *ScopeParam_FieldSubPathValue) SetTo(target **ScopeParam)

func (*ScopeParam_FieldSubPathValue) SetToRaw

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

type ScopeParam_FieldTerminalPath

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

func (*ScopeParam_FieldTerminalPath) ClearValue

func (fp *ScopeParam_FieldTerminalPath) ClearValue(item *ScopeParam)

func (*ScopeParam_FieldTerminalPath) ClearValueRaw

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

func (*ScopeParam_FieldTerminalPath) Get

func (fp *ScopeParam_FieldTerminalPath) Get(source *ScopeParam) (values []interface{})

Get returns all values pointed by specific field from source ScopeParam

func (*ScopeParam_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ScopeParam_FieldTerminalPath) GetRaw

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

func (*ScopeParam_FieldTerminalPath) GetSingle

func (fp *ScopeParam_FieldTerminalPath) GetSingle(source *ScopeParam) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ScopeParam

func (*ScopeParam_FieldTerminalPath) GetSingleRaw

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

func (*ScopeParam_FieldTerminalPath) IsLeaf

func (fp *ScopeParam_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ScopeParam_FieldTerminalPath) JSONString

func (fp *ScopeParam_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ScopeParam_FieldTerminalPath) Selector

func (*ScopeParam_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*ScopeParam_FieldTerminalPath) String

func (fp *ScopeParam_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*ScopeParam_FieldTerminalPath) WithIArrayItemValue

func (fp *ScopeParam_FieldTerminalPath) WithIArrayItemValue(value interface{}) ScopeParam_FieldPathArrayItemValue

func (*ScopeParam_FieldTerminalPath) WithIArrayOfValues

func (fp *ScopeParam_FieldTerminalPath) WithIArrayOfValues(values interface{}) ScopeParam_FieldPathArrayOfValues

func (*ScopeParam_FieldTerminalPath) WithIValue

func (fp *ScopeParam_FieldTerminalPath) WithIValue(value interface{}) ScopeParam_FieldPathValue

func (*ScopeParam_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ScopeParam_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ScopeParam_FieldTerminalPath) WithRawIValue

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

type ScopeParam_FieldTerminalPathArrayItemValue

type ScopeParam_FieldTerminalPathArrayItemValue struct {
	ScopeParam_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ScopeParam_FieldTerminalPathArrayItemValue) ContainsValue(source *ScopeParam) bool

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

func (*ScopeParam_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ScopeParam_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ScopeParam_FieldTerminalPathArrayItemValue) GetSingle(source *ScopeParam) (interface{}, bool)

func (*ScopeParam_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ScopeParam_FieldTerminalPathArrayOfValues

type ScopeParam_FieldTerminalPathArrayOfValues struct {
	ScopeParam_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *ScopeParam_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]string, bool)

func (*ScopeParam_FieldTerminalPathArrayOfValues) AsStringArrayOfValues

func (fpaov *ScopeParam_FieldTerminalPathArrayOfValues) AsStringArrayOfValues() ([]*ScopeParam_StringValue, bool)

func (*ScopeParam_FieldTerminalPathArrayOfValues) AsStringsArrayOfValues

func (*ScopeParam_FieldTerminalPathArrayOfValues) GetRawValues

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

type ScopeParam_FieldTerminalPathValue

type ScopeParam_FieldTerminalPathValue struct {
	ScopeParam_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ScopeParam_FieldTerminalPathValue) AsNameValue

func (fpv *ScopeParam_FieldTerminalPathValue) AsNameValue() (string, bool)

func (*ScopeParam_FieldTerminalPathValue) AsStringValue

func (*ScopeParam_FieldTerminalPathValue) AsStringsValue

func (*ScopeParam_FieldTerminalPathValue) CompareWith

func (fpv *ScopeParam_FieldTerminalPathValue) CompareWith(source *ScopeParam) (int, bool)

CompareWith compares value in the 'ScopeParam_FieldTerminalPathValue' with the value under path in 'ScopeParam'.

func (*ScopeParam_FieldTerminalPathValue) CompareWithRaw

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

func (*ScopeParam_FieldTerminalPathValue) GetRawValue

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

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

func (*ScopeParam_FieldTerminalPathValue) SetTo

func (fpv *ScopeParam_FieldTerminalPathValue) SetTo(target **ScopeParam)

SetTo stores value for selected field for object ScopeParam

func (*ScopeParam_FieldTerminalPathValue) SetToRaw

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

type ScopeParam_StringValue

type ScopeParam_StringValue struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" firestore:"value"`
	// contains filtered or unexported fields
}

func (*ScopeParam_StringValue) Clone

func (*ScopeParam_StringValue) CloneRaw

func (*ScopeParam_StringValue) Descriptor

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

Deprecated, Use ScopeParam_StringValue.ProtoReflect.Descriptor instead.

func (*ScopeParam_StringValue) GetValue

func (m *ScopeParam_StringValue) GetValue() string

func (*ScopeParam_StringValue) GotenMessage

func (*ScopeParam_StringValue) GotenMessage()

func (*ScopeParam_StringValue) GotenObjectExt

func (o *ScopeParam_StringValue) GotenObjectExt()

func (*ScopeParam_StringValue) GotenValidate

func (obj *ScopeParam_StringValue) GotenValidate() error

func (*ScopeParam_StringValue) MakeDiffFieldMask

func (*ScopeParam_StringValue) MakeFullFieldMask

func (*ScopeParam_StringValue) MakeRawDiffFieldMask

func (*ScopeParam_StringValue) MakeRawFullFieldMask

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

func (*ScopeParam_StringValue) Marshal

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

func (*ScopeParam_StringValue) MarshalJSON

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

func (*ScopeParam_StringValue) Merge

func (*ScopeParam_StringValue) MergeRaw

func (*ScopeParam_StringValue) ProtoMessage

func (*ScopeParam_StringValue) ProtoMessage()

func (*ScopeParam_StringValue) ProtoReflect

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

func (*ScopeParam_StringValue) Reset

func (m *ScopeParam_StringValue) Reset()

func (*ScopeParam_StringValue) SetValue

func (m *ScopeParam_StringValue) SetValue(fv string)

func (*ScopeParam_StringValue) String

func (m *ScopeParam_StringValue) String() string

func (*ScopeParam_StringValue) Unmarshal

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

func (*ScopeParam_StringValue) UnmarshalJSON

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

type ScopeParam_StringValuePathSelectorValue

type ScopeParam_StringValuePathSelectorValue struct{}

func (ScopeParam_StringValuePathSelectorValue) FieldPath

func (ScopeParam_StringValuePathSelectorValue) WithArrayOfValues

func (ScopeParam_StringValuePathSelectorValue) WithValue

type ScopeParam_StringValue_FieldMask

type ScopeParam_StringValue_FieldMask struct {
	Paths []ScopeParamStringValue_FieldPath
}

func FullScopeParam_StringValue_FieldMask

func FullScopeParam_StringValue_FieldMask() *ScopeParam_StringValue_FieldMask

func (*ScopeParam_StringValue_FieldMask) AppendPath

func (*ScopeParam_StringValue_FieldMask) AppendRawPath

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

func (*ScopeParam_StringValue_FieldMask) DecodeFirestore

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

func (*ScopeParam_StringValue_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ScopeParam_StringValue_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ScopeParam_StringValue_FieldMask) FromProtoFieldMask

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

func (*ScopeParam_StringValue_FieldMask) GetPaths

func (*ScopeParam_StringValue_FieldMask) GetRawPaths

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

func (*ScopeParam_StringValue_FieldMask) IsFull

func (fieldMask *ScopeParam_StringValue_FieldMask) IsFull() bool

func (ScopeParam_StringValue_FieldMask) Marshal

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

implement methods required by customType

func (ScopeParam_StringValue_FieldMask) MarshalJSON

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

func (*ScopeParam_StringValue_FieldMask) PathsCount

func (fieldMask *ScopeParam_StringValue_FieldMask) PathsCount() int

func (*ScopeParam_StringValue_FieldMask) Project

func (*ScopeParam_StringValue_FieldMask) ProjectRaw

func (*ScopeParam_StringValue_FieldMask) ProtoMessage

func (fieldMask *ScopeParam_StringValue_FieldMask) ProtoMessage()

func (*ScopeParam_StringValue_FieldMask) ProtoReflect

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

func (*ScopeParam_StringValue_FieldMask) Reset

func (fieldMask *ScopeParam_StringValue_FieldMask) Reset()

func (*ScopeParam_StringValue_FieldMask) Set

func (fieldMask *ScopeParam_StringValue_FieldMask) Set(target, source *ScopeParam_StringValue)

func (*ScopeParam_StringValue_FieldMask) SetFromCliFlag

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

func (*ScopeParam_StringValue_FieldMask) SetRaw

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

func (*ScopeParam_StringValue_FieldMask) Size

func (fieldMask *ScopeParam_StringValue_FieldMask) Size() int

func (*ScopeParam_StringValue_FieldMask) String

func (fieldMask *ScopeParam_StringValue_FieldMask) String() string

func (*ScopeParam_StringValue_FieldMask) Subtract

func (*ScopeParam_StringValue_FieldMask) SubtractRaw

func (*ScopeParam_StringValue_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ScopeParam_StringValue_FieldMask) Unmarshal

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

func (*ScopeParam_StringValue_FieldMask) UnmarshalJSON

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

type ScopeParam_String_

type ScopeParam_String_ struct {
	String_ *ScopeParam_StringValue `protobuf:"bytes,2,opt,name=string,proto3,oneof" firestore:"string"`
}

type ScopeParam_Strings

type ScopeParam_Strings struct {
	Strings *ScopeParam_ArrayOfStringsValue `protobuf:"bytes,3,opt,name=strings,proto3,oneof" firestore:"strings"`
}

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