method_descriptor

package
v1.2.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Service = "services/{service}/methodDescriptors/{method_descriptor}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

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

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 MethodDescriptor_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 *MethodDescriptor) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	MethodDescriptor_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *MethodDescriptor) 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 MethodDescriptor_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 *MethodDescriptor) 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 MethodDescriptor_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (*FilterConditionContains) GetRawFieldPath

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

func (*FilterConditionContains) GetRawFieldPathItemValue

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

func (*FilterConditionContains) GetRawFieldPathItemValues

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

func (*FilterConditionContains) Satisfies

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

func (*FilterConditionContains) SatisfiesRaw

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

func (*FilterConditionContains) SpecifiesFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *MethodDescriptor) 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 MethodDescriptor_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 MethodDescriptor_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *MethodDescriptor) 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 MethodDescriptor_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 MethodDescriptor_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *MethodDescriptor) 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 MethodDescriptor_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 *MethodDescriptor) 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 MethodDescriptor_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 {
	MethodDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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

type MethodDescriptor struct {

	// Name of MethodDescriptor
	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,7,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Optional. A concise name for the audited object type that might be
	// displayed in user interfaces. It should be a Title Cased Noun Phrase,
	// without any article or other determiners.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. A detailed description of the audited method type that might
	// be used in documentation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// A set of labels used to describe instances of this audited
	// method type. For example, for "UpdateRoleBinding" we can define member
	// label. This can allow us to make query like "who tried to give user X
	// permissions to those things?"
	Labels []*common.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" firestore:"labels"`
	// Promoted Label Key Sets allow defining multiple indexing rules for
	// underlying backend enabling query optimizations.
	PromotedLabelKeySets []*common.LabelKeySet `` /* 158-byte string literal not displayed */
	// List of API versions which define this method
	Versions []string `protobuf:"bytes,6,rep,name=versions,proto3" json:"versions,omitempty" firestore:"versions"`
	// contains filtered or unexported fields
}

MethodDescriptor Resource

func (*MethodDescriptor) Clone

func (o *MethodDescriptor) Clone() *MethodDescriptor

func (*MethodDescriptor) CloneRaw

func (*MethodDescriptor) Descriptor

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

Deprecated, Use MethodDescriptor.ProtoReflect.Descriptor instead.

func (*MethodDescriptor) EnsureMetadata

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

func (*MethodDescriptor) GetDescription

func (m *MethodDescriptor) GetDescription() string

func (*MethodDescriptor) GetDisplayName

func (m *MethodDescriptor) GetDisplayName() string

func (*MethodDescriptor) GetLabels

func (m *MethodDescriptor) GetLabels() []*common.LabelDescriptor

func (*MethodDescriptor) GetMetadata

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

func (*MethodDescriptor) GetName

func (m *MethodDescriptor) GetName() *Name

func (*MethodDescriptor) GetPromotedLabelKeySets

func (m *MethodDescriptor) GetPromotedLabelKeySets() []*common.LabelKeySet

func (*MethodDescriptor) GetRawName

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

func (*MethodDescriptor) GetResourceDescriptor

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

func (*MethodDescriptor) GetVersions

func (m *MethodDescriptor) GetVersions() []string

func (*MethodDescriptor) GotenMessage

func (*MethodDescriptor) GotenMessage()

func (*MethodDescriptor) GotenObjectExt

func (o *MethodDescriptor) GotenObjectExt()

func (*MethodDescriptor) GotenValidate

func (obj *MethodDescriptor) GotenValidate() error

func (*MethodDescriptor) MakeDiffFieldMask

func (o *MethodDescriptor) MakeDiffFieldMask(other *MethodDescriptor) *MethodDescriptor_FieldMask

func (*MethodDescriptor) MakeFullFieldMask

func (o *MethodDescriptor) MakeFullFieldMask() *MethodDescriptor_FieldMask

func (*MethodDescriptor) MakeRawDiffFieldMask

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

func (*MethodDescriptor) MakeRawFullFieldMask

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

func (*MethodDescriptor) Marshal

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

func (*MethodDescriptor) MarshalJSON

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

func (*MethodDescriptor) MaybePopulateDefaults

func (r *MethodDescriptor) MaybePopulateDefaults() error

func (*MethodDescriptor) Merge

func (o *MethodDescriptor) Merge(source *MethodDescriptor)

func (*MethodDescriptor) MergeRaw

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

func (*MethodDescriptor) ProtoMessage

func (*MethodDescriptor) ProtoMessage()

func (*MethodDescriptor) ProtoReflect

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

func (*MethodDescriptor) Reset

func (m *MethodDescriptor) Reset()

func (*MethodDescriptor) SetDescription

func (m *MethodDescriptor) SetDescription(fv string)

func (*MethodDescriptor) SetDisplayName

func (m *MethodDescriptor) SetDisplayName(fv string)

func (*MethodDescriptor) SetLabels

func (m *MethodDescriptor) SetLabels(fv []*common.LabelDescriptor)

func (*MethodDescriptor) SetMetadata

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

func (*MethodDescriptor) SetName

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

func (*MethodDescriptor) SetPromotedLabelKeySets

func (m *MethodDescriptor) SetPromotedLabelKeySets(fv []*common.LabelKeySet)

func (*MethodDescriptor) SetVersions

func (m *MethodDescriptor) SetVersions(fv []string)

func (*MethodDescriptor) String

func (m *MethodDescriptor) String() string

func (*MethodDescriptor) Unmarshal

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

func (*MethodDescriptor) UnmarshalJSON

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

type MethodDescriptorAccess

type MethodDescriptorAccess interface {
	GetMethodDescriptor(context.Context, *GetQuery) (*MethodDescriptor, error)
	BatchGetMethodDescriptors(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryMethodDescriptors(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchMethodDescriptor(context.Context, *GetQuery, func(*MethodDescriptorChange) error) error
	WatchMethodDescriptors(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveMethodDescriptor(context.Context, *MethodDescriptor, ...gotenresource.SaveOption) error
	DeleteMethodDescriptor(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type MethodDescriptorChange

type MethodDescriptorChange struct {

	// MethodDescriptor change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*MethodDescriptorChange_Added_
	//	*MethodDescriptorChange_Modified_
	//	*MethodDescriptorChange_Current_
	//	*MethodDescriptorChange_Removed_
	ChangeType isMethodDescriptorChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*MethodDescriptorChange) Descriptor

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

Deprecated, Use MethodDescriptorChange.ProtoReflect.Descriptor instead.

func (*MethodDescriptorChange) GetAdded

func (*MethodDescriptorChange) GetChangeType

func (m *MethodDescriptorChange) GetChangeType() isMethodDescriptorChange_ChangeType

func (*MethodDescriptorChange) GetCurrent

func (*MethodDescriptorChange) GetCurrentViewIndex

func (c *MethodDescriptorChange) GetCurrentViewIndex() int32

func (*MethodDescriptorChange) GetMethodDescriptor

func (c *MethodDescriptorChange) GetMethodDescriptor() *MethodDescriptor

func (*MethodDescriptorChange) GetMethodDescriptorName

func (c *MethodDescriptorChange) GetMethodDescriptorName() *Name

func (*MethodDescriptorChange) GetModified

func (*MethodDescriptorChange) GetPreviousViewIndex

func (c *MethodDescriptorChange) GetPreviousViewIndex() int32

func (*MethodDescriptorChange) GetRawName

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

func (*MethodDescriptorChange) GetRawResource

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

func (*MethodDescriptorChange) GetRemoved

func (*MethodDescriptorChange) GotenMessage

func (*MethodDescriptorChange) GotenMessage()

func (*MethodDescriptorChange) GotenValidate

func (obj *MethodDescriptorChange) GotenValidate() error

func (*MethodDescriptorChange) IsAdd

func (c *MethodDescriptorChange) IsAdd() bool

func (*MethodDescriptorChange) IsCurrent

func (c *MethodDescriptorChange) IsCurrent() bool

func (*MethodDescriptorChange) IsDelete

func (c *MethodDescriptorChange) IsDelete() bool

func (*MethodDescriptorChange) IsModify

func (c *MethodDescriptorChange) IsModify() bool

func (*MethodDescriptorChange) Marshal

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

func (*MethodDescriptorChange) MarshalJSON

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

func (*MethodDescriptorChange) ProtoMessage

func (*MethodDescriptorChange) ProtoMessage()

func (*MethodDescriptorChange) ProtoReflect

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

func (*MethodDescriptorChange) Reset

func (m *MethodDescriptorChange) Reset()

func (*MethodDescriptorChange) SetAdded

func (*MethodDescriptorChange) SetAddedRaw

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

func (*MethodDescriptorChange) SetChangeType

func (m *MethodDescriptorChange) SetChangeType(ofv isMethodDescriptorChange_ChangeType)

func (*MethodDescriptorChange) SetCurrent

func (*MethodDescriptorChange) SetCurrentRaw

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

func (*MethodDescriptorChange) SetDeletedRaw

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

func (*MethodDescriptorChange) SetModified

func (*MethodDescriptorChange) SetModifiedRaw

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

func (*MethodDescriptorChange) SetRemoved

func (*MethodDescriptorChange) String

func (m *MethodDescriptorChange) String() string

func (*MethodDescriptorChange) Unmarshal

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

func (*MethodDescriptorChange) UnmarshalJSON

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

type MethodDescriptorChangeList

type MethodDescriptorChangeList []*MethodDescriptorChange

func (MethodDescriptorChangeList) Append

func (MethodDescriptorChangeList) AppendList

func (MethodDescriptorChangeList) At

func (MethodDescriptorChangeList) Length

func (l MethodDescriptorChangeList) Length() int

func (MethodDescriptorChangeList) Set

func (MethodDescriptorChangeList) Slice

type MethodDescriptorChangeMap

type MethodDescriptorChangeMap map[Name]*MethodDescriptorChange

func (MethodDescriptorChangeMap) Delete

func (MethodDescriptorChangeMap) ForEach

func (MethodDescriptorChangeMap) Get

func (MethodDescriptorChangeMap) Length

func (m MethodDescriptorChangeMap) Length() int

func (MethodDescriptorChangeMap) Set

type MethodDescriptorChange_Added

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

MethodDescriptor has been added to query view

func (*MethodDescriptorChange_Added) Descriptor

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

Deprecated, Use MethodDescriptorChange_Added.ProtoReflect.Descriptor instead.

func (*MethodDescriptorChange_Added) GetMethodDescriptor

func (m *MethodDescriptorChange_Added) GetMethodDescriptor() *MethodDescriptor

func (*MethodDescriptorChange_Added) GetViewIndex

func (m *MethodDescriptorChange_Added) GetViewIndex() int32

func (*MethodDescriptorChange_Added) GotenMessage

func (*MethodDescriptorChange_Added) GotenMessage()

func (*MethodDescriptorChange_Added) GotenValidate

func (obj *MethodDescriptorChange_Added) GotenValidate() error

func (*MethodDescriptorChange_Added) Marshal

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

func (*MethodDescriptorChange_Added) MarshalJSON

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

func (*MethodDescriptorChange_Added) ProtoMessage

func (*MethodDescriptorChange_Added) ProtoMessage()

func (*MethodDescriptorChange_Added) ProtoReflect

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

func (*MethodDescriptorChange_Added) Reset

func (m *MethodDescriptorChange_Added) Reset()

func (*MethodDescriptorChange_Added) SetMethodDescriptor

func (m *MethodDescriptorChange_Added) SetMethodDescriptor(fv *MethodDescriptor)

func (*MethodDescriptorChange_Added) SetViewIndex

func (m *MethodDescriptorChange_Added) SetViewIndex(fv int32)

func (*MethodDescriptorChange_Added) String

func (*MethodDescriptorChange_Added) Unmarshal

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

func (*MethodDescriptorChange_Added) UnmarshalJSON

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

type MethodDescriptorChange_Added_

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

type MethodDescriptorChange_Current

type MethodDescriptorChange_Current struct {
	MethodDescriptor *MethodDescriptor `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*MethodDescriptorChange_Current) Descriptor

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

Deprecated, Use MethodDescriptorChange_Current.ProtoReflect.Descriptor instead.

func (*MethodDescriptorChange_Current) GetMethodDescriptor

func (m *MethodDescriptorChange_Current) GetMethodDescriptor() *MethodDescriptor

func (*MethodDescriptorChange_Current) GotenMessage

func (*MethodDescriptorChange_Current) GotenMessage()

func (*MethodDescriptorChange_Current) GotenValidate

func (obj *MethodDescriptorChange_Current) GotenValidate() error

func (*MethodDescriptorChange_Current) Marshal

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

func (*MethodDescriptorChange_Current) MarshalJSON

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

func (*MethodDescriptorChange_Current) ProtoMessage

func (*MethodDescriptorChange_Current) ProtoMessage()

func (*MethodDescriptorChange_Current) ProtoReflect

func (*MethodDescriptorChange_Current) Reset

func (m *MethodDescriptorChange_Current) Reset()

func (*MethodDescriptorChange_Current) SetMethodDescriptor

func (m *MethodDescriptorChange_Current) SetMethodDescriptor(fv *MethodDescriptor)

func (*MethodDescriptorChange_Current) String

func (*MethodDescriptorChange_Current) Unmarshal

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

func (*MethodDescriptorChange_Current) UnmarshalJSON

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

type MethodDescriptorChange_Current_

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

type MethodDescriptorChange_Modified

type MethodDescriptorChange_Modified struct {

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

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

func (*MethodDescriptorChange_Modified) Descriptor

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

Deprecated, Use MethodDescriptorChange_Modified.ProtoReflect.Descriptor instead.

func (*MethodDescriptorChange_Modified) GetFieldMask

func (*MethodDescriptorChange_Modified) GetMethodDescriptor

func (m *MethodDescriptorChange_Modified) GetMethodDescriptor() *MethodDescriptor

func (*MethodDescriptorChange_Modified) GetName

func (m *MethodDescriptorChange_Modified) GetName() *Name

func (*MethodDescriptorChange_Modified) GetPreviousViewIndex

func (m *MethodDescriptorChange_Modified) GetPreviousViewIndex() int32

func (*MethodDescriptorChange_Modified) GetViewIndex

func (m *MethodDescriptorChange_Modified) GetViewIndex() int32

func (*MethodDescriptorChange_Modified) GotenMessage

func (*MethodDescriptorChange_Modified) GotenMessage()

func (*MethodDescriptorChange_Modified) GotenValidate

func (obj *MethodDescriptorChange_Modified) GotenValidate() error

func (*MethodDescriptorChange_Modified) Marshal

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

func (*MethodDescriptorChange_Modified) MarshalJSON

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

func (*MethodDescriptorChange_Modified) ProtoMessage

func (*MethodDescriptorChange_Modified) ProtoMessage()

func (*MethodDescriptorChange_Modified) ProtoReflect

func (*MethodDescriptorChange_Modified) Reset

func (*MethodDescriptorChange_Modified) SetFieldMask

func (*MethodDescriptorChange_Modified) SetMethodDescriptor

func (m *MethodDescriptorChange_Modified) SetMethodDescriptor(fv *MethodDescriptor)

func (*MethodDescriptorChange_Modified) SetName

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

func (*MethodDescriptorChange_Modified) SetPreviousViewIndex

func (m *MethodDescriptorChange_Modified) SetPreviousViewIndex(fv int32)

func (*MethodDescriptorChange_Modified) SetViewIndex

func (m *MethodDescriptorChange_Modified) SetViewIndex(fv int32)

func (*MethodDescriptorChange_Modified) String

func (*MethodDescriptorChange_Modified) Unmarshal

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

func (*MethodDescriptorChange_Modified) UnmarshalJSON

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

type MethodDescriptorChange_Modified_

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

type MethodDescriptorChange_Removed

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

func (*MethodDescriptorChange_Removed) Descriptor

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

Deprecated, Use MethodDescriptorChange_Removed.ProtoReflect.Descriptor instead.

func (*MethodDescriptorChange_Removed) GetName

func (m *MethodDescriptorChange_Removed) GetName() *Name

func (*MethodDescriptorChange_Removed) GetViewIndex

func (m *MethodDescriptorChange_Removed) GetViewIndex() int32

func (*MethodDescriptorChange_Removed) GotenMessage

func (*MethodDescriptorChange_Removed) GotenMessage()

func (*MethodDescriptorChange_Removed) GotenValidate

func (obj *MethodDescriptorChange_Removed) GotenValidate() error

func (*MethodDescriptorChange_Removed) Marshal

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

func (*MethodDescriptorChange_Removed) MarshalJSON

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

func (*MethodDescriptorChange_Removed) ProtoMessage

func (*MethodDescriptorChange_Removed) ProtoMessage()

func (*MethodDescriptorChange_Removed) ProtoReflect

func (*MethodDescriptorChange_Removed) Reset

func (m *MethodDescriptorChange_Removed) Reset()

func (*MethodDescriptorChange_Removed) SetName

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

func (*MethodDescriptorChange_Removed) SetViewIndex

func (m *MethodDescriptorChange_Removed) SetViewIndex(fv int32)

func (*MethodDescriptorChange_Removed) String

func (*MethodDescriptorChange_Removed) Unmarshal

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

func (*MethodDescriptorChange_Removed) UnmarshalJSON

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

type MethodDescriptorChange_Removed_

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

type MethodDescriptorFieldPathBuilder

type MethodDescriptorFieldPathBuilder struct{}

func NewMethodDescriptorFieldPathBuilder

func NewMethodDescriptorFieldPathBuilder() MethodDescriptorFieldPathBuilder

func (MethodDescriptorFieldPathBuilder) Description

func (MethodDescriptorFieldPathBuilder) DisplayName

func (MethodDescriptorFieldPathBuilder) Labels

func (MethodDescriptorFieldPathBuilder) Metadata

func (MethodDescriptorFieldPathBuilder) Name

func (MethodDescriptorFieldPathBuilder) PromotedLabelKeySets

func (MethodDescriptorFieldPathBuilder) Versions

type MethodDescriptorList

type MethodDescriptorList []*MethodDescriptor

func (MethodDescriptorList) Append

func (MethodDescriptorList) AppendList

func (MethodDescriptorList) At

func (MethodDescriptorList) Length

func (l MethodDescriptorList) Length() int

func (MethodDescriptorList) Set

func (MethodDescriptorList) Slice

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

type MethodDescriptorMap

type MethodDescriptorMap map[Name]*MethodDescriptor

func (MethodDescriptorMap) Delete

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

func (MethodDescriptorMap) ForEach

func (MethodDescriptorMap) Get

func (MethodDescriptorMap) Length

func (m MethodDescriptorMap) Length() int

func (MethodDescriptorMap) Set

type MethodDescriptorMapPathSelectorMetadataAnnotations

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

func (MethodDescriptorMapPathSelectorMetadataAnnotations) FieldPath

func (MethodDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (MethodDescriptorMapPathSelectorMetadataAnnotations) WithValue

type MethodDescriptorMapPathSelectorMetadataLabels

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

func (MethodDescriptorMapPathSelectorMetadataLabels) FieldPath

func (MethodDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues

func (MethodDescriptorMapPathSelectorMetadataLabels) WithValue

type MethodDescriptorMapPathSelectorMetadataShards

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

func (MethodDescriptorMapPathSelectorMetadataShards) FieldPath

func (MethodDescriptorMapPathSelectorMetadataShards) WithArrayOfValues

func (MethodDescriptorMapPathSelectorMetadataShards) WithValue

type MethodDescriptorNameList

type MethodDescriptorNameList []*Name

func (MethodDescriptorNameList) Append

func (MethodDescriptorNameList) AppendList

func (MethodDescriptorNameList) At

func (MethodDescriptorNameList) Length

func (l MethodDescriptorNameList) Length() int

func (MethodDescriptorNameList) Set

func (MethodDescriptorNameList) Slice

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

type MethodDescriptorParentNameList

type MethodDescriptorParentNameList []*ParentName

func (MethodDescriptorParentNameList) Append

func (MethodDescriptorParentNameList) AppendList

func (MethodDescriptorParentNameList) At

func (MethodDescriptorParentNameList) Length

func (MethodDescriptorParentNameList) Set

func (MethodDescriptorParentNameList) Slice

type MethodDescriptorParentReferenceList

type MethodDescriptorParentReferenceList []*ParentReference

func (MethodDescriptorParentReferenceList) Append

func (MethodDescriptorParentReferenceList) AppendList

func (MethodDescriptorParentReferenceList) At

func (MethodDescriptorParentReferenceList) Length

func (MethodDescriptorParentReferenceList) Set

func (MethodDescriptorParentReferenceList) Slice

type MethodDescriptorPathSelectorDescription

type MethodDescriptorPathSelectorDescription struct{}

func (MethodDescriptorPathSelectorDescription) FieldPath

func (MethodDescriptorPathSelectorDescription) WithArrayOfValues

func (MethodDescriptorPathSelectorDescription) WithValue

type MethodDescriptorPathSelectorDisplayName

type MethodDescriptorPathSelectorDisplayName struct{}

func (MethodDescriptorPathSelectorDisplayName) FieldPath

func (MethodDescriptorPathSelectorDisplayName) WithArrayOfValues

func (MethodDescriptorPathSelectorDisplayName) WithValue

type MethodDescriptorPathSelectorLabels

type MethodDescriptorPathSelectorLabels struct{}

func (MethodDescriptorPathSelectorLabels) FieldPath

func (MethodDescriptorPathSelectorLabels) Key

func (MethodDescriptorPathSelectorLabels) Versions

func (MethodDescriptorPathSelectorLabels) WithArrayOfValues

func (MethodDescriptorPathSelectorLabels) WithItemValue

func (MethodDescriptorPathSelectorLabels) WithSubArrayItemValue

func (MethodDescriptorPathSelectorLabels) WithSubArrayOfValues

func (MethodDescriptorPathSelectorLabels) WithSubPath

func (MethodDescriptorPathSelectorLabels) WithSubValue

func (MethodDescriptorPathSelectorLabels) WithValue

type MethodDescriptorPathSelectorLabelsKey

type MethodDescriptorPathSelectorLabelsKey struct{}

func (MethodDescriptorPathSelectorLabelsKey) FieldPath

func (MethodDescriptorPathSelectorLabelsKey) WithArrayOfValues

func (MethodDescriptorPathSelectorLabelsKey) WithValue

type MethodDescriptorPathSelectorLabelsVersions

type MethodDescriptorPathSelectorLabelsVersions struct{}

func (MethodDescriptorPathSelectorLabelsVersions) FieldPath

func (MethodDescriptorPathSelectorLabelsVersions) WithArrayOfValues

func (MethodDescriptorPathSelectorLabelsVersions) WithItemValue

func (MethodDescriptorPathSelectorLabelsVersions) WithValue

type MethodDescriptorPathSelectorMetadata

type MethodDescriptorPathSelectorMetadata struct{}

func (MethodDescriptorPathSelectorMetadata) Annotations

func (MethodDescriptorPathSelectorMetadata) CreateTime

func (MethodDescriptorPathSelectorMetadata) DeleteTime

func (MethodDescriptorPathSelectorMetadata) FieldPath

func (MethodDescriptorPathSelectorMetadata) Generation

func (MethodDescriptorPathSelectorMetadata) Labels

func (MethodDescriptorPathSelectorMetadata) Lifecycle

func (MethodDescriptorPathSelectorMetadata) OwnerReferences

func (MethodDescriptorPathSelectorMetadata) ResourceVersion

func (MethodDescriptorPathSelectorMetadata) Services

func (MethodDescriptorPathSelectorMetadata) Shards

func (MethodDescriptorPathSelectorMetadata) Syncing

func (MethodDescriptorPathSelectorMetadata) Tags

func (MethodDescriptorPathSelectorMetadata) UpdateTime

func (MethodDescriptorPathSelectorMetadata) Uuid

func (MethodDescriptorPathSelectorMetadata) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadata) WithSubArrayItemValue

func (MethodDescriptorPathSelectorMetadata) WithSubArrayOfValues

func (MethodDescriptorPathSelectorMetadata) WithSubPath

func (MethodDescriptorPathSelectorMetadata) WithSubValue

func (MethodDescriptorPathSelectorMetadata) WithValue

type MethodDescriptorPathSelectorMetadataAnnotations

type MethodDescriptorPathSelectorMetadataAnnotations struct{}

func (MethodDescriptorPathSelectorMetadataAnnotations) FieldPath

func (MethodDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataAnnotations) WithKey

func (MethodDescriptorPathSelectorMetadataAnnotations) WithValue

type MethodDescriptorPathSelectorMetadataCreateTime

type MethodDescriptorPathSelectorMetadataCreateTime struct{}

func (MethodDescriptorPathSelectorMetadataCreateTime) FieldPath

func (MethodDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataCreateTime) WithValue

type MethodDescriptorPathSelectorMetadataDeleteTime

type MethodDescriptorPathSelectorMetadataDeleteTime struct{}

func (MethodDescriptorPathSelectorMetadataDeleteTime) FieldPath

func (MethodDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataDeleteTime) WithValue

type MethodDescriptorPathSelectorMetadataGeneration

type MethodDescriptorPathSelectorMetadataGeneration struct{}

func (MethodDescriptorPathSelectorMetadataGeneration) FieldPath

func (MethodDescriptorPathSelectorMetadataGeneration) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataGeneration) WithValue

type MethodDescriptorPathSelectorMetadataLabels

type MethodDescriptorPathSelectorMetadataLabels struct{}

func (MethodDescriptorPathSelectorMetadataLabels) FieldPath

func (MethodDescriptorPathSelectorMetadataLabels) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataLabels) WithKey

func (MethodDescriptorPathSelectorMetadataLabels) WithValue

type MethodDescriptorPathSelectorMetadataLifecycle

type MethodDescriptorPathSelectorMetadataLifecycle struct{}

func (MethodDescriptorPathSelectorMetadataLifecycle) BlockDeletion

func (MethodDescriptorPathSelectorMetadataLifecycle) FieldPath

func (MethodDescriptorPathSelectorMetadataLifecycle) State

func (MethodDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataLifecycle) WithValue

type MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion

type MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}

func (MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue

type MethodDescriptorPathSelectorMetadataLifecycleState

type MethodDescriptorPathSelectorMetadataLifecycleState struct{}

func (MethodDescriptorPathSelectorMetadataLifecycleState) FieldPath

func (MethodDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataLifecycleState) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferences

type MethodDescriptorPathSelectorMetadataOwnerReferences struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferences) Controller

func (MethodDescriptorPathSelectorMetadataOwnerReferences) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferences) Kind

func (MethodDescriptorPathSelectorMetadataOwnerReferences) Name

func (MethodDescriptorPathSelectorMetadataOwnerReferences) Region

func (MethodDescriptorPathSelectorMetadataOwnerReferences) Version

func (MethodDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferences) WithItemValue

func (MethodDescriptorPathSelectorMetadataOwnerReferences) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesController

type MethodDescriptorPathSelectorMetadataOwnerReferencesController struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesController) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesKind

type MethodDescriptorPathSelectorMetadataOwnerReferencesKind struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesName

type MethodDescriptorPathSelectorMetadataOwnerReferencesName struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesName) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesRegion

type MethodDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type MethodDescriptorPathSelectorMetadataOwnerReferencesVersion

type MethodDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}

func (MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue

type MethodDescriptorPathSelectorMetadataResourceVersion

type MethodDescriptorPathSelectorMetadataResourceVersion struct{}

func (MethodDescriptorPathSelectorMetadataResourceVersion) FieldPath

func (MethodDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataResourceVersion) WithValue

type MethodDescriptorPathSelectorMetadataServices

type MethodDescriptorPathSelectorMetadataServices struct{}

func (MethodDescriptorPathSelectorMetadataServices) AllowedServices

func (MethodDescriptorPathSelectorMetadataServices) FieldPath

func (MethodDescriptorPathSelectorMetadataServices) OwningService

func (MethodDescriptorPathSelectorMetadataServices) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataServices) WithValue

type MethodDescriptorPathSelectorMetadataServicesAllowedServices

type MethodDescriptorPathSelectorMetadataServicesAllowedServices struct{}

func (MethodDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath

func (MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue

func (MethodDescriptorPathSelectorMetadataServicesAllowedServices) WithValue

type MethodDescriptorPathSelectorMetadataServicesOwningService

type MethodDescriptorPathSelectorMetadataServicesOwningService struct{}

func (MethodDescriptorPathSelectorMetadataServicesOwningService) FieldPath

func (MethodDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataServicesOwningService) WithValue

type MethodDescriptorPathSelectorMetadataShards

type MethodDescriptorPathSelectorMetadataShards struct{}

func (MethodDescriptorPathSelectorMetadataShards) FieldPath

func (MethodDescriptorPathSelectorMetadataShards) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataShards) WithKey

func (MethodDescriptorPathSelectorMetadataShards) WithValue

type MethodDescriptorPathSelectorMetadataSyncing

type MethodDescriptorPathSelectorMetadataSyncing struct{}

func (MethodDescriptorPathSelectorMetadataSyncing) FieldPath

func (MethodDescriptorPathSelectorMetadataSyncing) OwningRegion

func (MethodDescriptorPathSelectorMetadataSyncing) Regions

func (MethodDescriptorPathSelectorMetadataSyncing) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataSyncing) WithValue

type MethodDescriptorPathSelectorMetadataSyncingOwningRegion

type MethodDescriptorPathSelectorMetadataSyncingOwningRegion struct{}

func (MethodDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath

func (MethodDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue

type MethodDescriptorPathSelectorMetadataSyncingRegions

type MethodDescriptorPathSelectorMetadataSyncingRegions struct{}

func (MethodDescriptorPathSelectorMetadataSyncingRegions) FieldPath

func (MethodDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataSyncingRegions) WithItemValue

func (MethodDescriptorPathSelectorMetadataSyncingRegions) WithValue

type MethodDescriptorPathSelectorMetadataTags

type MethodDescriptorPathSelectorMetadataTags struct{}

func (MethodDescriptorPathSelectorMetadataTags) FieldPath

func (MethodDescriptorPathSelectorMetadataTags) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataTags) WithItemValue

func (MethodDescriptorPathSelectorMetadataTags) WithValue

type MethodDescriptorPathSelectorMetadataUpdateTime

type MethodDescriptorPathSelectorMetadataUpdateTime struct{}

func (MethodDescriptorPathSelectorMetadataUpdateTime) FieldPath

func (MethodDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataUpdateTime) WithValue

type MethodDescriptorPathSelectorMetadataUuid

type MethodDescriptorPathSelectorMetadataUuid struct{}

func (MethodDescriptorPathSelectorMetadataUuid) FieldPath

func (MethodDescriptorPathSelectorMetadataUuid) WithArrayOfValues

func (MethodDescriptorPathSelectorMetadataUuid) WithValue

type MethodDescriptorPathSelectorName

type MethodDescriptorPathSelectorName struct{}

func (MethodDescriptorPathSelectorName) FieldPath

func (MethodDescriptorPathSelectorName) WithArrayOfValues

func (MethodDescriptorPathSelectorName) WithValue

type MethodDescriptorPathSelectorPromotedLabelKeySets

type MethodDescriptorPathSelectorPromotedLabelKeySets struct{}

func (MethodDescriptorPathSelectorPromotedLabelKeySets) FieldPath

func (MethodDescriptorPathSelectorPromotedLabelKeySets) LabelKeys

func (MethodDescriptorPathSelectorPromotedLabelKeySets) Versions

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithItemValue

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubPath

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithSubValue

func (MethodDescriptorPathSelectorPromotedLabelKeySets) WithValue

type MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys

type MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}

func (MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath

func (MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues

func (MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue

func (MethodDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue

type MethodDescriptorPathSelectorPromotedLabelKeySetsVersions

type MethodDescriptorPathSelectorPromotedLabelKeySetsVersions struct{}

func (MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) FieldPath

func (MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithArrayOfValues

func (MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithItemValue

func (MethodDescriptorPathSelectorPromotedLabelKeySetsVersions) WithValue

type MethodDescriptorPathSelectorVersions

type MethodDescriptorPathSelectorVersions struct{}

func (MethodDescriptorPathSelectorVersions) FieldPath

func (MethodDescriptorPathSelectorVersions) WithArrayOfValues

func (MethodDescriptorPathSelectorVersions) WithItemValue

func (MethodDescriptorPathSelectorVersions) WithValue

type MethodDescriptorReferenceList

type MethodDescriptorReferenceList []*Reference

func (MethodDescriptorReferenceList) Append

func (MethodDescriptorReferenceList) AppendList

func (MethodDescriptorReferenceList) At

func (MethodDescriptorReferenceList) Length

func (MethodDescriptorReferenceList) Set

func (MethodDescriptorReferenceList) Slice

type MethodDescriptor_FieldMask

type MethodDescriptor_FieldMask struct {
	Paths []MethodDescriptor_FieldPath
}

func FullMethodDescriptor_FieldMask

func FullMethodDescriptor_FieldMask() *MethodDescriptor_FieldMask

func ResourceViewFieldMask

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

func (*MethodDescriptor_FieldMask) AppendPath

func (fieldMask *MethodDescriptor_FieldMask) AppendPath(path MethodDescriptor_FieldPath)

func (*MethodDescriptor_FieldMask) AppendRawPath

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

func (*MethodDescriptor_FieldMask) DecodeFirestore

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

func (*MethodDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*MethodDescriptor_FieldMask) FilterInputFields

func (fieldMask *MethodDescriptor_FieldMask) FilterInputFields() *MethodDescriptor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*MethodDescriptor_FieldMask) FromProtoFieldMask

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

func (*MethodDescriptor_FieldMask) GetPaths

func (*MethodDescriptor_FieldMask) GetRawPaths

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

func (*MethodDescriptor_FieldMask) IsFull

func (fieldMask *MethodDescriptor_FieldMask) IsFull() bool

func (MethodDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (MethodDescriptor_FieldMask) MarshalJSON

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

func (*MethodDescriptor_FieldMask) PathsCount

func (fieldMask *MethodDescriptor_FieldMask) PathsCount() int

func (*MethodDescriptor_FieldMask) Project

func (fieldMask *MethodDescriptor_FieldMask) Project(source *MethodDescriptor) *MethodDescriptor

func (*MethodDescriptor_FieldMask) ProjectRaw

func (*MethodDescriptor_FieldMask) ProtoMessage

func (fieldMask *MethodDescriptor_FieldMask) ProtoMessage()

func (*MethodDescriptor_FieldMask) ProtoReflect

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

func (*MethodDescriptor_FieldMask) Reset

func (fieldMask *MethodDescriptor_FieldMask) Reset()

func (*MethodDescriptor_FieldMask) Set

func (fieldMask *MethodDescriptor_FieldMask) Set(target, source *MethodDescriptor)

func (*MethodDescriptor_FieldMask) SetFromCliFlag

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

func (*MethodDescriptor_FieldMask) SetRaw

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

func (*MethodDescriptor_FieldMask) Size

func (fieldMask *MethodDescriptor_FieldMask) Size() int

func (*MethodDescriptor_FieldMask) String

func (fieldMask *MethodDescriptor_FieldMask) String() string

func (*MethodDescriptor_FieldMask) Subtract

func (*MethodDescriptor_FieldMask) SubtractRaw

func (*MethodDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*MethodDescriptor_FieldMask) Unmarshal

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

func (*MethodDescriptor_FieldMask) UnmarshalJSON

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

type MethodDescriptor_FieldPath

type MethodDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() MethodDescriptor_FieldPathSelector
	Get(source *MethodDescriptor) []interface{}
	GetSingle(source *MethodDescriptor) (interface{}, bool)
	ClearValue(item *MethodDescriptor)

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

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

func MustParseMethodDescriptor_FieldPath

func MustParseMethodDescriptor_FieldPath(rawField string) MethodDescriptor_FieldPath

func ParseMethodDescriptor_FieldPath

func ParseMethodDescriptor_FieldPath(rawField string) (MethodDescriptor_FieldPath, error)

type MethodDescriptor_FieldPathArrayItemValue

type MethodDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	MethodDescriptor_FieldPath
	ContainsValue(*MethodDescriptor) bool
}

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

func MustParseMethodDescriptor_FieldPathArrayItemValue

func MustParseMethodDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) MethodDescriptor_FieldPathArrayItemValue

func ParseMethodDescriptor_FieldPathArrayItemValue

func ParseMethodDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (MethodDescriptor_FieldPathArrayItemValue, error)

ParseMethodDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type MethodDescriptor_FieldPathArrayOfValues

type MethodDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	MethodDescriptor_FieldPath
}

MethodDescriptor_FieldPathArrayOfValues allows storing slice of values for MethodDescriptor fields according to their type

func MustParseMethodDescriptor_FieldPathArrayOfValues

func MustParseMethodDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) MethodDescriptor_FieldPathArrayOfValues

func ParseMethodDescriptor_FieldPathArrayOfValues

func ParseMethodDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (MethodDescriptor_FieldPathArrayOfValues, error)

type MethodDescriptor_FieldPathSelector

type MethodDescriptor_FieldPathSelector int32
const (
	MethodDescriptor_FieldPathSelectorName                 MethodDescriptor_FieldPathSelector = 0
	MethodDescriptor_FieldPathSelectorMetadata             MethodDescriptor_FieldPathSelector = 1
	MethodDescriptor_FieldPathSelectorDisplayName          MethodDescriptor_FieldPathSelector = 2
	MethodDescriptor_FieldPathSelectorDescription          MethodDescriptor_FieldPathSelector = 3
	MethodDescriptor_FieldPathSelectorLabels               MethodDescriptor_FieldPathSelector = 4
	MethodDescriptor_FieldPathSelectorPromotedLabelKeySets MethodDescriptor_FieldPathSelector = 5
	MethodDescriptor_FieldPathSelectorVersions             MethodDescriptor_FieldPathSelector = 6
)

func (MethodDescriptor_FieldPathSelector) String

type MethodDescriptor_FieldPathValue

type MethodDescriptor_FieldPathValue interface {
	MethodDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **MethodDescriptor)
	CompareWith(*MethodDescriptor) (cmp int, comparable bool)
}

MethodDescriptor_FieldPathValue allows storing values for MethodDescriptor fields according to their type

func MustParseMethodDescriptor_FieldPathValue

func MustParseMethodDescriptor_FieldPathValue(pathStr, valueStr string) MethodDescriptor_FieldPathValue

func ParseMethodDescriptor_FieldPathValue

func ParseMethodDescriptor_FieldPathValue(pathStr, valueStr string) (MethodDescriptor_FieldPathValue, error)

type MethodDescriptor_FieldSubPath

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

func (*MethodDescriptor_FieldSubPath) AsLabelsSubPath

func (*MethodDescriptor_FieldSubPath) AsMetadataSubPath

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

func (*MethodDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath

func (fps *MethodDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath() (common.LabelKeySet_FieldPath, bool)

func (*MethodDescriptor_FieldSubPath) ClearValue

func (fps *MethodDescriptor_FieldSubPath) ClearValue(item *MethodDescriptor)

func (*MethodDescriptor_FieldSubPath) ClearValueRaw

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

func (*MethodDescriptor_FieldSubPath) Get

func (fps *MethodDescriptor_FieldSubPath) Get(source *MethodDescriptor) (values []interface{})

Get returns all values pointed by selected field from source MethodDescriptor

func (*MethodDescriptor_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MethodDescriptor_FieldSubPath) GetRaw

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

func (*MethodDescriptor_FieldSubPath) GetSingle

func (fps *MethodDescriptor_FieldSubPath) GetSingle(source *MethodDescriptor) (interface{}, bool)

GetSingle returns value of selected field from source MethodDescriptor

func (*MethodDescriptor_FieldSubPath) GetSingleRaw

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

func (*MethodDescriptor_FieldSubPath) IsLeaf

func (fps *MethodDescriptor_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*MethodDescriptor_FieldSubPath) JSONString

func (fps *MethodDescriptor_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*MethodDescriptor_FieldSubPath) Selector

func (*MethodDescriptor_FieldSubPath) SplitIntoTerminalIPaths

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

func (*MethodDescriptor_FieldSubPath) String

func (fps *MethodDescriptor_FieldSubPath) String() string

String returns path representation in proto convention

func (*MethodDescriptor_FieldSubPath) WithIArrayItemValue

func (fps *MethodDescriptor_FieldSubPath) WithIArrayItemValue(value interface{}) MethodDescriptor_FieldPathArrayItemValue

func (*MethodDescriptor_FieldSubPath) WithIArrayOfValues

func (fps *MethodDescriptor_FieldSubPath) WithIArrayOfValues(values interface{}) MethodDescriptor_FieldPathArrayOfValues

func (*MethodDescriptor_FieldSubPath) WithIValue

func (fps *MethodDescriptor_FieldSubPath) WithIValue(value interface{}) MethodDescriptor_FieldPathValue

func (*MethodDescriptor_FieldSubPath) WithRawIArrayItemValue

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

func (*MethodDescriptor_FieldSubPath) WithRawIArrayOfValues

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

func (*MethodDescriptor_FieldSubPath) WithRawIValue

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

type MethodDescriptor_FieldSubPathArrayItemValue

type MethodDescriptor_FieldSubPathArrayItemValue struct {
	MethodDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldSubPathArrayItemValue) AsLabelsPathItemValue

func (*MethodDescriptor_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*MethodDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue

func (fpaivs *MethodDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue() (common.LabelKeySet_FieldPathArrayItemValue, bool)

func (*MethodDescriptor_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *MethodDescriptor_FieldSubPathArrayItemValue) ContainsValue(source *MethodDescriptor) bool

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

func (*MethodDescriptor_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type MethodDescriptor_FieldSubPathArrayOfValues

type MethodDescriptor_FieldSubPathArrayOfValues struct {
	MethodDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldSubPathArrayOfValues) AsLabelsPathArrayOfValues

func (*MethodDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*MethodDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues

func (fpsaov *MethodDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues() (common.LabelKeySet_FieldPathArrayOfValues, bool)

func (*MethodDescriptor_FieldSubPathArrayOfValues) GetRawValues

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

type MethodDescriptor_FieldSubPathValue

type MethodDescriptor_FieldSubPathValue struct {
	MethodDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldSubPathValue) AsLabelsPathValue

func (*MethodDescriptor_FieldSubPathValue) AsMetadataPathValue

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

func (*MethodDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue

func (fpvs *MethodDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue() (common.LabelKeySet_FieldPathValue, bool)

func (*MethodDescriptor_FieldSubPathValue) CompareWith

func (fpvs *MethodDescriptor_FieldSubPathValue) CompareWith(source *MethodDescriptor) (int, bool)

func (*MethodDescriptor_FieldSubPathValue) CompareWithRaw

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

func (*MethodDescriptor_FieldSubPathValue) GetRawValue

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

func (*MethodDescriptor_FieldSubPathValue) SetTo

func (*MethodDescriptor_FieldSubPathValue) SetToRaw

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

type MethodDescriptor_FieldTerminalPath

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

func (*MethodDescriptor_FieldTerminalPath) ClearValue

func (*MethodDescriptor_FieldTerminalPath) ClearValueRaw

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

func (*MethodDescriptor_FieldTerminalPath) Get

func (fp *MethodDescriptor_FieldTerminalPath) Get(source *MethodDescriptor) (values []interface{})

Get returns all values pointed by specific field from source MethodDescriptor

func (*MethodDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*MethodDescriptor_FieldTerminalPath) GetRaw

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

func (*MethodDescriptor_FieldTerminalPath) GetSingle

func (fp *MethodDescriptor_FieldTerminalPath) GetSingle(source *MethodDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source MethodDescriptor

func (*MethodDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*MethodDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*MethodDescriptor_FieldTerminalPath) JSONString

func (fp *MethodDescriptor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*MethodDescriptor_FieldTerminalPath) Selector

func (*MethodDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*MethodDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*MethodDescriptor_FieldTerminalPath) WithIArrayItemValue

func (fp *MethodDescriptor_FieldTerminalPath) WithIArrayItemValue(value interface{}) MethodDescriptor_FieldPathArrayItemValue

func (*MethodDescriptor_FieldTerminalPath) WithIArrayOfValues

func (fp *MethodDescriptor_FieldTerminalPath) WithIArrayOfValues(values interface{}) MethodDescriptor_FieldPathArrayOfValues

func (*MethodDescriptor_FieldTerminalPath) WithIValue

func (fp *MethodDescriptor_FieldTerminalPath) WithIValue(value interface{}) MethodDescriptor_FieldPathValue

func (*MethodDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*MethodDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*MethodDescriptor_FieldTerminalPath) WithRawIValue

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

type MethodDescriptor_FieldTerminalPathArrayItemValue

type MethodDescriptor_FieldTerminalPathArrayItemValue struct {
	MethodDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) AsLabelsItemValue

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue

func (fpaiv *MethodDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue() (*common.LabelKeySet, bool)

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) AsVersionsItemValue

func (fpaiv *MethodDescriptor_FieldTerminalPathArrayItemValue) AsVersionsItemValue() (string, bool)

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *MethodDescriptor_FieldTerminalPathArrayItemValue) GetSingle(source *MethodDescriptor) (interface{}, bool)

func (*MethodDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type MethodDescriptor_FieldTerminalPathArrayOfValues

type MethodDescriptor_FieldTerminalPathArrayOfValues struct {
	MethodDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

func (fpaov *MethodDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (fpaov *MethodDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([][]*common.LabelDescriptor, bool)

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues

func (fpaov *MethodDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues() ([][]*common.LabelKeySet, bool)

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues

func (fpaov *MethodDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues() ([][]string, bool)

func (*MethodDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type MethodDescriptor_FieldTerminalPathValue

type MethodDescriptor_FieldTerminalPathValue struct {
	MethodDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*MethodDescriptor_FieldTerminalPathValue) AsDescriptionValue

func (fpv *MethodDescriptor_FieldTerminalPathValue) AsDescriptionValue() (string, bool)

func (*MethodDescriptor_FieldTerminalPathValue) AsDisplayNameValue

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

func (*MethodDescriptor_FieldTerminalPathValue) AsLabelsValue

func (*MethodDescriptor_FieldTerminalPathValue) AsMetadataValue

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

func (*MethodDescriptor_FieldTerminalPathValue) AsNameValue

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

func (*MethodDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue

func (fpv *MethodDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue() ([]*common.LabelKeySet, bool)

func (*MethodDescriptor_FieldTerminalPathValue) AsVersionsValue

func (fpv *MethodDescriptor_FieldTerminalPathValue) AsVersionsValue() ([]string, bool)

func (*MethodDescriptor_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'MethodDescriptor_FieldTerminalPathValue' with the value under path in 'MethodDescriptor'.

func (*MethodDescriptor_FieldTerminalPathValue) CompareWithRaw

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

func (*MethodDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*MethodDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object MethodDescriptor

func (*MethodDescriptor_FieldTerminalPathValue) SetToRaw

type Name

type Name struct {
	ParentName
	MethodDescriptorId string `firestore:"methodDescriptorId"`
}

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *MethodDescriptor_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 MethodDescriptorList, elem *MethodDescriptor) (MethodDescriptorList, 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 MethodDescriptorList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath MethodDescriptor_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 *MethodDescriptor) 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        []*MethodDescriptorChange
	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 {
	MethodDescriptors []*MethodDescriptor
	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, methodDescriptor *MethodDescriptor) (*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) GetMethodDescriptor

func (ref *Reference) GetMethodDescriptor() *MethodDescriptor

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

func (*Reference) ResolveRaw

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

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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