service

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 39 Imported by: 65

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "services/{service}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ServiceAccess) gotenresource.Access

func ReferencesContains

func ReferencesContains(refs []*Reference, desired *Reference) bool

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) SupportsDbConstraints added in v1.6.0

func (d *Descriptor) SupportsDbConstraints() bool

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

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 Service_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 *Service) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Service_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Service) 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 Service_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 *Service) 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 Service_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

type FilterConditionContains struct {
	Type      gotenresource.ConditionContainsType
	FieldPath Service_FieldPath

	Value  Service_FieldPathArrayItemValue
	Values []Service_FieldPathArrayItemValue
}

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Service_FieldPath

func (*FilterConditionContains) GetRawFieldPath

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

func (*FilterConditionContains) GetRawFieldPathItemValue

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

func (*FilterConditionContains) GetRawFieldPathItemValues

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

func (*FilterConditionContains) Satisfies

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

func (*FilterConditionContains) SatisfiesRaw

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

func (*FilterConditionContains) SpecifiesFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Service) 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 Service_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 Service_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Service) 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 Service_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 Service_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Service) 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 Service_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 *Service) 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 Service_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 {
	Service_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Service) 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 Service_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      *Service_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           *Service_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

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

func (*ListQuery) GetPager

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

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

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

func (*ListQuery) SetPager

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

func (*ListQuery) SetWithPagingInfo

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	NamePattern
	ServiceId string `firestore:"serviceId"`
}

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

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(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 *Service) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Service_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 ServiceList, elem *Service) (ServiceList, 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 ServiceList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Service_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 *Service) 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 QueryResultChange

type QueryResultChange struct {
	Changes        []*ServiceChange
	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 {
	Services          []*Service
	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, service *Service) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

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

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

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

func (*Reference) GetIParentName

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

func (*Reference) GetIUnderlyingParentName

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

func (*Reference) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetRawResource

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

func (*Reference) GetResourceDescriptor

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

func (*Reference) GetSegments

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

func (*Reference) GetService

func (ref *Reference) GetService() *Service

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

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 Service

type Service struct {

	// Name of Service
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [a-z][a-z0-9\\-.]{0,28}[a-z0-9]
	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,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Multi region policy defines in which region all kid resources (and their
	// kids) will by default belong and cross-region syncing policies.
	MultiRegionPolicy *multi_region_policy.MultiRegionPolicy `` /* 144-byte string literal not displayed */
	// Service display name - it is lowerCamelCase of service name, but not
	// domain. It is taken from api-skeleton file, under "service.name" path.
	DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// All supported versions.
	// This list will be sorted if created by meta service provided by Goten.
	// The newest version is first, the oldest last.
	AllVersions []string `protobuf:"bytes,5,rep,name=all_versions,json=allVersions,proto3" json:"all_versions,omitempty" firestore:"allVersions"`
	// Globally available domain for this service. Requests to it should
	// direct to most suitable (usually the nearest/healthy/most performant)
	// region.
	GlobalDomain string `protobuf:"bytes,6,opt,name=global_domain,json=globalDomain,proto3" json:"global_domain,omitempty" firestore:"globalDomain"`
	// All imported on schema-level services. This list declares that resources in
	// those services can be referenced by this service.
	ImportedServices []*Reference `` /* 159-byte string literal not displayed */
	// All used services. Unlike imported, they are not imported on schema level.
	// Its just a declaration that given service may access other services, but
	// does not try to establish any references.
	UsedServices []*Reference `` /* 143-byte string literal not displayed */
	// Information containing which imported service version is used by current
	// service version. This does not include any used services.
	ImportedVersions []*Service_ImportedVersions `` /* 138-byte string literal not displayed */
	// Generation number used by EnvRegistry config to generate this resource.
	EnvRegistryGeneration int32 `` /* 162-byte string literal not displayed */
	// If true, then switch to the new version will be automatic (if there is
	// newer), once db upgrade finishes. Otherwise it will require manual call
	// from operator.
	AutomaticVersionSwitch bool `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Service Resource contains service description like domain under which it can be accessed, versions, imported services and their versions.

func (*Service) Clone

func (o *Service) Clone() *Service

func (*Service) CloneRaw

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

func (*Service) Descriptor

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

Deprecated, Use Service.ProtoReflect.Descriptor instead.

func (*Service) EnsureMetadata

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

func (*Service) GetAllVersions

func (m *Service) GetAllVersions() []string

func (*Service) GetAutomaticVersionSwitch

func (m *Service) GetAutomaticVersionSwitch() bool

func (*Service) GetDisplayName

func (m *Service) GetDisplayName() string

func (*Service) GetEnvRegistryGeneration

func (m *Service) GetEnvRegistryGeneration() int32

func (*Service) GetGlobalDomain

func (m *Service) GetGlobalDomain() string

func (*Service) GetImportedServices

func (m *Service) GetImportedServices() []*Reference

func (*Service) GetImportedVersions

func (m *Service) GetImportedVersions() []*Service_ImportedVersions

func (*Service) GetMetadata

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

func (*Service) GetMultiRegionPolicy

func (m *Service) GetMultiRegionPolicy() *multi_region_policy.MultiRegionPolicy

func (*Service) GetName

func (m *Service) GetName() *Name

func (*Service) GetRawName

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

func (*Service) GetResourceDescriptor

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

func (*Service) GetUsedServices

func (m *Service) GetUsedServices() []*Reference

func (*Service) GetVersionOfImportedService

func (s *Service) GetVersionOfImportedService(importingSvcVersion string, imported *Name) string

func (*Service) GotenMessage

func (*Service) GotenMessage()

func (*Service) GotenObjectExt

func (o *Service) GotenObjectExt()

func (*Service) GotenValidate

func (obj *Service) GotenValidate() error

func (*Service) MakeDiffFieldMask

func (o *Service) MakeDiffFieldMask(other *Service) *Service_FieldMask

func (*Service) MakeFullFieldMask

func (o *Service) MakeFullFieldMask() *Service_FieldMask

func (*Service) MakeRawDiffFieldMask

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

func (*Service) MakeRawFullFieldMask

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

func (*Service) Marshal

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

func (*Service) MarshalJSON

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

func (*Service) MaybePopulateDefaults

func (r *Service) MaybePopulateDefaults() error

func (*Service) Merge

func (o *Service) Merge(source *Service)

func (*Service) MergeRaw

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

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (m *Service) Reset()

func (*Service) SetAllVersions

func (m *Service) SetAllVersions(fv []string)

func (*Service) SetAutomaticVersionSwitch

func (m *Service) SetAutomaticVersionSwitch(fv bool)

func (*Service) SetDisplayName

func (m *Service) SetDisplayName(fv string)

func (*Service) SetEnvRegistryGeneration

func (m *Service) SetEnvRegistryGeneration(fv int32)

func (*Service) SetGlobalDomain

func (m *Service) SetGlobalDomain(fv string)

func (*Service) SetImportedServices

func (m *Service) SetImportedServices(fv []*Reference)

func (*Service) SetImportedVersions

func (m *Service) SetImportedVersions(fv []*Service_ImportedVersions)

func (*Service) SetMetadata

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

func (*Service) SetMultiRegionPolicy

func (m *Service) SetMultiRegionPolicy(fv *multi_region_policy.MultiRegionPolicy)

func (*Service) SetName

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

func (*Service) SetUsedServices

func (m *Service) SetUsedServices(fv []*Reference)

func (*Service) String

func (m *Service) String() string

func (*Service) Unmarshal

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

func (*Service) UnmarshalJSON

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

type ServiceAccess

type ServiceAccess interface {
	GetService(context.Context, *GetQuery) (*Service, error)
	BatchGetServices(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryServices(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchService(context.Context, *GetQuery, func(*ServiceChange) error) error
	WatchServices(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveService(context.Context, *Service, ...gotenresource.SaveOption) error
	DeleteService(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ServiceChange

type ServiceChange struct {

	// Service change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ServiceChange_Added_
	//	*ServiceChange_Modified_
	//	*ServiceChange_Current_
	//	*ServiceChange_Removed_
	ChangeType isServiceChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*ServiceChange) Descriptor

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

Deprecated, Use ServiceChange.ProtoReflect.Descriptor instead.

func (*ServiceChange) GetAdded

func (m *ServiceChange) GetAdded() *ServiceChange_Added

func (*ServiceChange) GetChangeType

func (m *ServiceChange) GetChangeType() isServiceChange_ChangeType

func (*ServiceChange) GetCurrent

func (m *ServiceChange) GetCurrent() *ServiceChange_Current

func (*ServiceChange) GetCurrentViewIndex

func (c *ServiceChange) GetCurrentViewIndex() int32

func (*ServiceChange) GetModified

func (m *ServiceChange) GetModified() *ServiceChange_Modified

func (*ServiceChange) GetPreviousViewIndex

func (c *ServiceChange) GetPreviousViewIndex() int32

func (*ServiceChange) GetRawName

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

func (*ServiceChange) GetRawResource

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

func (*ServiceChange) GetRemoved

func (m *ServiceChange) GetRemoved() *ServiceChange_Removed

func (*ServiceChange) GetService

func (c *ServiceChange) GetService() *Service

func (*ServiceChange) GetServiceName

func (c *ServiceChange) GetServiceName() *Name

func (*ServiceChange) GotenMessage

func (*ServiceChange) GotenMessage()

func (*ServiceChange) GotenValidate

func (obj *ServiceChange) GotenValidate() error

func (*ServiceChange) IsAdd

func (c *ServiceChange) IsAdd() bool

func (*ServiceChange) IsCurrent

func (c *ServiceChange) IsCurrent() bool

func (*ServiceChange) IsDelete

func (c *ServiceChange) IsDelete() bool

func (*ServiceChange) IsModify

func (c *ServiceChange) IsModify() bool

func (*ServiceChange) Marshal

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

func (*ServiceChange) MarshalJSON

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

func (*ServiceChange) ProtoMessage

func (*ServiceChange) ProtoMessage()

func (*ServiceChange) ProtoReflect

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

func (*ServiceChange) Reset

func (m *ServiceChange) Reset()

func (*ServiceChange) SetAdded

func (m *ServiceChange) SetAdded(fv *ServiceChange_Added)

func (*ServiceChange) SetAddedRaw

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

func (*ServiceChange) SetChangeType

func (m *ServiceChange) SetChangeType(ofv isServiceChange_ChangeType)

func (*ServiceChange) SetCurrent

func (m *ServiceChange) SetCurrent(fv *ServiceChange_Current)

func (*ServiceChange) SetCurrentRaw

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

func (*ServiceChange) SetDeletedRaw

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

func (*ServiceChange) SetModified

func (m *ServiceChange) SetModified(fv *ServiceChange_Modified)

func (*ServiceChange) SetModifiedRaw

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

func (*ServiceChange) SetRemoved

func (m *ServiceChange) SetRemoved(fv *ServiceChange_Removed)

func (*ServiceChange) String

func (m *ServiceChange) String() string

func (*ServiceChange) Unmarshal

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

func (*ServiceChange) UnmarshalJSON

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

type ServiceChangeList

type ServiceChangeList []*ServiceChange

func (ServiceChangeList) At

func (ServiceChangeList) Length

func (l ServiceChangeList) Length() int

func (ServiceChangeList) Set

func (ServiceChangeList) Slice

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

type ServiceChangeMap

type ServiceChangeMap map[Name]*ServiceChange

func (ServiceChangeMap) Delete

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

func (ServiceChangeMap) ForEach

func (ServiceChangeMap) Get

func (ServiceChangeMap) Length

func (m ServiceChangeMap) Length() int

func (ServiceChangeMap) Set

type ServiceChange_Added

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

Service has been added to query view

func (*ServiceChange_Added) Descriptor

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

Deprecated, Use ServiceChange_Added.ProtoReflect.Descriptor instead.

func (*ServiceChange_Added) GetService

func (m *ServiceChange_Added) GetService() *Service

func (*ServiceChange_Added) GetViewIndex

func (m *ServiceChange_Added) GetViewIndex() int32

func (*ServiceChange_Added) GotenMessage

func (*ServiceChange_Added) GotenMessage()

func (*ServiceChange_Added) GotenValidate

func (obj *ServiceChange_Added) GotenValidate() error

func (*ServiceChange_Added) Marshal

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

func (*ServiceChange_Added) MarshalJSON

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

func (*ServiceChange_Added) ProtoMessage

func (*ServiceChange_Added) ProtoMessage()

func (*ServiceChange_Added) ProtoReflect

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

func (*ServiceChange_Added) Reset

func (m *ServiceChange_Added) Reset()

func (*ServiceChange_Added) SetService

func (m *ServiceChange_Added) SetService(fv *Service)

func (*ServiceChange_Added) SetViewIndex

func (m *ServiceChange_Added) SetViewIndex(fv int32)

func (*ServiceChange_Added) String

func (m *ServiceChange_Added) String() string

func (*ServiceChange_Added) Unmarshal

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

func (*ServiceChange_Added) UnmarshalJSON

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

type ServiceChange_Added_

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

type ServiceChange_Current

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

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

func (*ServiceChange_Current) Descriptor

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

Deprecated, Use ServiceChange_Current.ProtoReflect.Descriptor instead.

func (*ServiceChange_Current) GetService

func (m *ServiceChange_Current) GetService() *Service

func (*ServiceChange_Current) GotenMessage

func (*ServiceChange_Current) GotenMessage()

func (*ServiceChange_Current) GotenValidate

func (obj *ServiceChange_Current) GotenValidate() error

func (*ServiceChange_Current) Marshal

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

func (*ServiceChange_Current) MarshalJSON

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

func (*ServiceChange_Current) ProtoMessage

func (*ServiceChange_Current) ProtoMessage()

func (*ServiceChange_Current) ProtoReflect

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

func (*ServiceChange_Current) Reset

func (m *ServiceChange_Current) Reset()

func (*ServiceChange_Current) SetService

func (m *ServiceChange_Current) SetService(fv *Service)

func (*ServiceChange_Current) String

func (m *ServiceChange_Current) String() string

func (*ServiceChange_Current) Unmarshal

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

func (*ServiceChange_Current) UnmarshalJSON

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

type ServiceChange_Current_

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

type ServiceChange_Modified

type ServiceChange_Modified struct {

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

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

func (*ServiceChange_Modified) Descriptor

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

Deprecated, Use ServiceChange_Modified.ProtoReflect.Descriptor instead.

func (*ServiceChange_Modified) GetFieldMask

func (m *ServiceChange_Modified) GetFieldMask() *Service_FieldMask

func (*ServiceChange_Modified) GetName

func (m *ServiceChange_Modified) GetName() *Name

func (*ServiceChange_Modified) GetPreviousViewIndex

func (m *ServiceChange_Modified) GetPreviousViewIndex() int32

func (*ServiceChange_Modified) GetService

func (m *ServiceChange_Modified) GetService() *Service

func (*ServiceChange_Modified) GetViewIndex

func (m *ServiceChange_Modified) GetViewIndex() int32

func (*ServiceChange_Modified) GotenMessage

func (*ServiceChange_Modified) GotenMessage()

func (*ServiceChange_Modified) GotenValidate

func (obj *ServiceChange_Modified) GotenValidate() error

func (*ServiceChange_Modified) Marshal

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

func (*ServiceChange_Modified) MarshalJSON

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

func (*ServiceChange_Modified) ProtoMessage

func (*ServiceChange_Modified) ProtoMessage()

func (*ServiceChange_Modified) ProtoReflect

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

func (*ServiceChange_Modified) Reset

func (m *ServiceChange_Modified) Reset()

func (*ServiceChange_Modified) SetFieldMask

func (m *ServiceChange_Modified) SetFieldMask(fv *Service_FieldMask)

func (*ServiceChange_Modified) SetName

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

func (*ServiceChange_Modified) SetPreviousViewIndex

func (m *ServiceChange_Modified) SetPreviousViewIndex(fv int32)

func (*ServiceChange_Modified) SetService

func (m *ServiceChange_Modified) SetService(fv *Service)

func (*ServiceChange_Modified) SetViewIndex

func (m *ServiceChange_Modified) SetViewIndex(fv int32)

func (*ServiceChange_Modified) String

func (m *ServiceChange_Modified) String() string

func (*ServiceChange_Modified) Unmarshal

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

func (*ServiceChange_Modified) UnmarshalJSON

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

type ServiceChange_Modified_

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

type ServiceChange_Removed

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

func (*ServiceChange_Removed) Descriptor

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

Deprecated, Use ServiceChange_Removed.ProtoReflect.Descriptor instead.

func (*ServiceChange_Removed) GetName

func (m *ServiceChange_Removed) GetName() *Name

func (*ServiceChange_Removed) GetViewIndex

func (m *ServiceChange_Removed) GetViewIndex() int32

func (*ServiceChange_Removed) GotenMessage

func (*ServiceChange_Removed) GotenMessage()

func (*ServiceChange_Removed) GotenValidate

func (obj *ServiceChange_Removed) GotenValidate() error

func (*ServiceChange_Removed) Marshal

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

func (*ServiceChange_Removed) MarshalJSON

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

func (*ServiceChange_Removed) ProtoMessage

func (*ServiceChange_Removed) ProtoMessage()

func (*ServiceChange_Removed) ProtoReflect

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

func (*ServiceChange_Removed) Reset

func (m *ServiceChange_Removed) Reset()

func (*ServiceChange_Removed) SetName

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

func (*ServiceChange_Removed) SetViewIndex

func (m *ServiceChange_Removed) SetViewIndex(fv int32)

func (*ServiceChange_Removed) String

func (m *ServiceChange_Removed) String() string

func (*ServiceChange_Removed) Unmarshal

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

func (*ServiceChange_Removed) UnmarshalJSON

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

type ServiceChange_Removed_

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

type ServiceFieldPathBuilder

type ServiceFieldPathBuilder struct{}

func NewServiceFieldPathBuilder

func NewServiceFieldPathBuilder() ServiceFieldPathBuilder

func (ServiceFieldPathBuilder) AllVersions

func (ServiceFieldPathBuilder) AutomaticVersionSwitch

func (ServiceFieldPathBuilder) DisplayName

func (ServiceFieldPathBuilder) EnvRegistryGeneration

func (ServiceFieldPathBuilder) GlobalDomain

func (ServiceFieldPathBuilder) ImportedServices

func (ServiceFieldPathBuilder) ImportedVersions

func (ServiceFieldPathBuilder) Metadata

func (ServiceFieldPathBuilder) MultiRegionPolicy

func (ServiceFieldPathBuilder) Name

func (ServiceFieldPathBuilder) UsedServices

type ServiceImportedVersionsFieldPathBuilder

type ServiceImportedVersionsFieldPathBuilder struct{}

func NewServiceImportedVersionsFieldPathBuilder

func NewServiceImportedVersionsFieldPathBuilder() ServiceImportedVersionsFieldPathBuilder

func (ServiceImportedVersionsFieldPathBuilder) CurrentServiceVersion

func (ServiceImportedVersionsFieldPathBuilder) TargetService

func (ServiceImportedVersionsFieldPathBuilder) TargetServiceVersion

type ServiceImportedVersions_FieldPath

type ServiceImportedVersions_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServiceImportedVersions_FieldPathSelector
	Get(source *Service_ImportedVersions) []interface{}
	GetSingle(source *Service_ImportedVersions) (interface{}, bool)
	ClearValue(item *Service_ImportedVersions)

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

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

func MustParseServiceImportedVersions_FieldPath

func MustParseServiceImportedVersions_FieldPath(rawField string) ServiceImportedVersions_FieldPath

func ParseServiceImportedVersions_FieldPath

func ParseServiceImportedVersions_FieldPath(rawField string) (ServiceImportedVersions_FieldPath, error)

type ServiceImportedVersions_FieldPathArrayItemValue

type ServiceImportedVersions_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServiceImportedVersions_FieldPath
	ContainsValue(*Service_ImportedVersions) bool
}

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

func MustParseServiceImportedVersions_FieldPathArrayItemValue

func MustParseServiceImportedVersions_FieldPathArrayItemValue(pathStr, valueStr string) ServiceImportedVersions_FieldPathArrayItemValue

func ParseServiceImportedVersions_FieldPathArrayItemValue

func ParseServiceImportedVersions_FieldPathArrayItemValue(pathStr, valueStr string) (ServiceImportedVersions_FieldPathArrayItemValue, error)

ParseServiceImportedVersions_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServiceImportedVersions_FieldPathArrayOfValues

type ServiceImportedVersions_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServiceImportedVersions_FieldPath
}

ServiceImportedVersions_FieldPathArrayOfValues allows storing slice of values for ImportedVersions fields according to their type

func MustParseServiceImportedVersions_FieldPathArrayOfValues

func MustParseServiceImportedVersions_FieldPathArrayOfValues(pathStr, valuesStr string) ServiceImportedVersions_FieldPathArrayOfValues

func ParseServiceImportedVersions_FieldPathArrayOfValues

func ParseServiceImportedVersions_FieldPathArrayOfValues(pathStr, valuesStr string) (ServiceImportedVersions_FieldPathArrayOfValues, error)

type ServiceImportedVersions_FieldPathSelector

type ServiceImportedVersions_FieldPathSelector int32
const (
	ServiceImportedVersions_FieldPathSelectorTargetService         ServiceImportedVersions_FieldPathSelector = 0
	ServiceImportedVersions_FieldPathSelectorTargetServiceVersion  ServiceImportedVersions_FieldPathSelector = 1
	ServiceImportedVersions_FieldPathSelectorCurrentServiceVersion ServiceImportedVersions_FieldPathSelector = 2
)

func (ServiceImportedVersions_FieldPathSelector) String

type ServiceImportedVersions_FieldPathValue

type ServiceImportedVersions_FieldPathValue interface {
	ServiceImportedVersions_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Service_ImportedVersions)
	CompareWith(*Service_ImportedVersions) (cmp int, comparable bool)
}

ServiceImportedVersions_FieldPathValue allows storing values for ImportedVersions fields according to their type

func MustParseServiceImportedVersions_FieldPathValue

func MustParseServiceImportedVersions_FieldPathValue(pathStr, valueStr string) ServiceImportedVersions_FieldPathValue

func ParseServiceImportedVersions_FieldPathValue

func ParseServiceImportedVersions_FieldPathValue(pathStr, valueStr string) (ServiceImportedVersions_FieldPathValue, error)

type ServiceImportedVersions_FieldTerminalPath

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

func (*ServiceImportedVersions_FieldTerminalPath) ClearValue

func (*ServiceImportedVersions_FieldTerminalPath) ClearValueRaw

func (*ServiceImportedVersions_FieldTerminalPath) Get

func (fp *ServiceImportedVersions_FieldTerminalPath) Get(source *Service_ImportedVersions) (values []interface{})

Get returns all values pointed by specific field from source Service_ImportedVersions

func (*ServiceImportedVersions_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ServiceImportedVersions_FieldTerminalPath) GetRaw

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

func (*ServiceImportedVersions_FieldTerminalPath) GetSingle

func (fp *ServiceImportedVersions_FieldTerminalPath) GetSingle(source *Service_ImportedVersions) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Service_ImportedVersions

func (*ServiceImportedVersions_FieldTerminalPath) GetSingleRaw

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

func (*ServiceImportedVersions_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*ServiceImportedVersions_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*ServiceImportedVersions_FieldTerminalPath) Selector

func (*ServiceImportedVersions_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*ServiceImportedVersions_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServiceImportedVersions_FieldTerminalPath) WithIArrayItemValue

func (*ServiceImportedVersions_FieldTerminalPath) WithIArrayOfValues

func (*ServiceImportedVersions_FieldTerminalPath) WithIValue

func (*ServiceImportedVersions_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ServiceImportedVersions_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ServiceImportedVersions_FieldTerminalPath) WithRawIValue

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

type ServiceImportedVersions_FieldTerminalPathArrayItemValue

type ServiceImportedVersions_FieldTerminalPathArrayItemValue struct {
	ServiceImportedVersions_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceImportedVersions_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*ServiceImportedVersions_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ServiceImportedVersions_FieldTerminalPathArrayItemValue) GetSingle

func (*ServiceImportedVersions_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ServiceImportedVersions_FieldTerminalPathArrayOfValues

type ServiceImportedVersions_FieldTerminalPathArrayOfValues struct {
	ServiceImportedVersions_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsCurrentServiceVersionArrayOfValues

func (fpaov *ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsCurrentServiceVersionArrayOfValues() ([]string, bool)

func (*ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsTargetServiceArrayOfValues

func (fpaov *ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsTargetServiceArrayOfValues() ([]*Reference, bool)

func (*ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsTargetServiceVersionArrayOfValues

func (fpaov *ServiceImportedVersions_FieldTerminalPathArrayOfValues) AsTargetServiceVersionArrayOfValues() ([]string, bool)

func (*ServiceImportedVersions_FieldTerminalPathArrayOfValues) GetRawValues

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

type ServiceImportedVersions_FieldTerminalPathValue

type ServiceImportedVersions_FieldTerminalPathValue struct {
	ServiceImportedVersions_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServiceImportedVersions_FieldTerminalPathValue) AsCurrentServiceVersionValue

func (fpv *ServiceImportedVersions_FieldTerminalPathValue) AsCurrentServiceVersionValue() (string, bool)

func (*ServiceImportedVersions_FieldTerminalPathValue) AsTargetServiceValue

func (fpv *ServiceImportedVersions_FieldTerminalPathValue) AsTargetServiceValue() (*Reference, bool)

func (*ServiceImportedVersions_FieldTerminalPathValue) AsTargetServiceVersionValue

func (fpv *ServiceImportedVersions_FieldTerminalPathValue) AsTargetServiceVersionValue() (string, bool)

func (*ServiceImportedVersions_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'ServiceImportedVersions_FieldTerminalPathValue' with the value under path in 'Service_ImportedVersions'.

func (*ServiceImportedVersions_FieldTerminalPathValue) CompareWithRaw

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

func (*ServiceImportedVersions_FieldTerminalPathValue) GetRawValue

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

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

func (*ServiceImportedVersions_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ImportedVersions

func (*ServiceImportedVersions_FieldTerminalPathValue) SetToRaw

type ServiceList

type ServiceList []*Service

func (ServiceList) Append

func (ServiceList) AppendList

func (ServiceList) At

func (ServiceList) Length

func (l ServiceList) Length() int

func (ServiceList) Set

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

func (ServiceList) Slice

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

type ServiceMap

type ServiceMap map[Name]*Service

func (ServiceMap) Delete

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

func (ServiceMap) ForEach

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

func (ServiceMap) Get

func (ServiceMap) Length

func (m ServiceMap) Length() int

func (ServiceMap) Set

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

type ServiceMapPathSelectorMetadataAnnotations

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

func (ServiceMapPathSelectorMetadataAnnotations) FieldPath

func (ServiceMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (ServiceMapPathSelectorMetadataAnnotations) WithValue

type ServiceMapPathSelectorMetadataLabels

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

func (ServiceMapPathSelectorMetadataLabels) FieldPath

func (ServiceMapPathSelectorMetadataLabels) WithArrayOfValues

func (ServiceMapPathSelectorMetadataLabels) WithValue

type ServiceMapPathSelectorMetadataShards

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

func (ServiceMapPathSelectorMetadataShards) FieldPath

func (ServiceMapPathSelectorMetadataShards) WithArrayOfValues

func (ServiceMapPathSelectorMetadataShards) WithValue

type ServiceNameList

type ServiceNameList []*Name

func (ServiceNameList) Append

func (ServiceNameList) AppendList

func (ServiceNameList) At

func (ServiceNameList) Length

func (l ServiceNameList) Length() int

func (ServiceNameList) Set

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

func (ServiceNameList) Slice

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

type ServicePathSelectorAllVersions

type ServicePathSelectorAllVersions struct{}

func (ServicePathSelectorAllVersions) FieldPath

func (ServicePathSelectorAllVersions) WithArrayOfValues

func (ServicePathSelectorAllVersions) WithItemValue

func (ServicePathSelectorAllVersions) WithValue

type ServicePathSelectorAutomaticVersionSwitch

type ServicePathSelectorAutomaticVersionSwitch struct{}

func (ServicePathSelectorAutomaticVersionSwitch) FieldPath

func (ServicePathSelectorAutomaticVersionSwitch) WithArrayOfValues

func (ServicePathSelectorAutomaticVersionSwitch) WithValue

type ServicePathSelectorDisplayName

type ServicePathSelectorDisplayName struct{}

func (ServicePathSelectorDisplayName) FieldPath

func (ServicePathSelectorDisplayName) WithArrayOfValues

func (ServicePathSelectorDisplayName) WithValue

type ServicePathSelectorEnvRegistryGeneration

type ServicePathSelectorEnvRegistryGeneration struct{}

func (ServicePathSelectorEnvRegistryGeneration) FieldPath

func (ServicePathSelectorEnvRegistryGeneration) WithArrayOfValues

func (ServicePathSelectorEnvRegistryGeneration) WithValue

type ServicePathSelectorGlobalDomain

type ServicePathSelectorGlobalDomain struct{}

func (ServicePathSelectorGlobalDomain) FieldPath

func (ServicePathSelectorGlobalDomain) WithArrayOfValues

func (ServicePathSelectorGlobalDomain) WithValue

type ServicePathSelectorImportedServices

type ServicePathSelectorImportedServices struct{}

func (ServicePathSelectorImportedServices) FieldPath

func (ServicePathSelectorImportedServices) WithArrayOfValues

func (ServicePathSelectorImportedServices) WithItemValue

func (ServicePathSelectorImportedServices) WithValue

type ServicePathSelectorImportedVersions

type ServicePathSelectorImportedVersions struct{}

func (ServicePathSelectorImportedVersions) CurrentServiceVersion

func (ServicePathSelectorImportedVersions) FieldPath

func (ServicePathSelectorImportedVersions) TargetService

func (ServicePathSelectorImportedVersions) TargetServiceVersion

func (ServicePathSelectorImportedVersions) WithArrayOfValues

func (ServicePathSelectorImportedVersions) WithItemValue

func (ServicePathSelectorImportedVersions) WithSubArrayItemValue

func (ServicePathSelectorImportedVersions) WithSubArrayOfValues

func (ServicePathSelectorImportedVersions) WithSubPath

func (ServicePathSelectorImportedVersions) WithSubValue

func (ServicePathSelectorImportedVersions) WithValue

type ServicePathSelectorImportedVersionsCurrentServiceVersion

type ServicePathSelectorImportedVersionsCurrentServiceVersion struct{}

func (ServicePathSelectorImportedVersionsCurrentServiceVersion) FieldPath

func (ServicePathSelectorImportedVersionsCurrentServiceVersion) WithArrayOfValues

func (ServicePathSelectorImportedVersionsCurrentServiceVersion) WithValue

type ServicePathSelectorImportedVersionsTargetService

type ServicePathSelectorImportedVersionsTargetService struct{}

func (ServicePathSelectorImportedVersionsTargetService) FieldPath

func (ServicePathSelectorImportedVersionsTargetService) WithArrayOfValues

func (ServicePathSelectorImportedVersionsTargetService) WithValue

type ServicePathSelectorImportedVersionsTargetServiceVersion

type ServicePathSelectorImportedVersionsTargetServiceVersion struct{}

func (ServicePathSelectorImportedVersionsTargetServiceVersion) FieldPath

func (ServicePathSelectorImportedVersionsTargetServiceVersion) WithArrayOfValues

func (ServicePathSelectorImportedVersionsTargetServiceVersion) WithValue

type ServicePathSelectorMetadata

type ServicePathSelectorMetadata struct{}

func (ServicePathSelectorMetadata) Annotations

func (ServicePathSelectorMetadata) CreateTime

func (ServicePathSelectorMetadata) DeleteTime

func (ServicePathSelectorMetadata) FieldPath

func (ServicePathSelectorMetadata) Generation

func (ServicePathSelectorMetadata) Labels

func (ServicePathSelectorMetadata) Lifecycle

func (ServicePathSelectorMetadata) OwnerReferences

func (ServicePathSelectorMetadata) ResourceVersion

func (ServicePathSelectorMetadata) Services

func (ServicePathSelectorMetadata) Shards

func (ServicePathSelectorMetadata) Syncing

func (ServicePathSelectorMetadata) Tags

func (ServicePathSelectorMetadata) UpdateTime

func (ServicePathSelectorMetadata) Uuid

func (ServicePathSelectorMetadata) WithArrayOfValues

func (ServicePathSelectorMetadata) WithSubArrayItemValue

func (ServicePathSelectorMetadata) WithSubArrayOfValues

func (ServicePathSelectorMetadata) WithSubPath

func (ServicePathSelectorMetadata) WithSubValue

func (ServicePathSelectorMetadata) WithValue

type ServicePathSelectorMetadataAnnotations

type ServicePathSelectorMetadataAnnotations struct{}

func (ServicePathSelectorMetadataAnnotations) FieldPath

func (ServicePathSelectorMetadataAnnotations) WithArrayOfValues

func (ServicePathSelectorMetadataAnnotations) WithKey

func (ServicePathSelectorMetadataAnnotations) WithValue

type ServicePathSelectorMetadataCreateTime

type ServicePathSelectorMetadataCreateTime struct{}

func (ServicePathSelectorMetadataCreateTime) FieldPath

func (ServicePathSelectorMetadataCreateTime) WithArrayOfValues

func (ServicePathSelectorMetadataCreateTime) WithValue

type ServicePathSelectorMetadataDeleteTime

type ServicePathSelectorMetadataDeleteTime struct{}

func (ServicePathSelectorMetadataDeleteTime) FieldPath

func (ServicePathSelectorMetadataDeleteTime) WithArrayOfValues

func (ServicePathSelectorMetadataDeleteTime) WithValue

type ServicePathSelectorMetadataGeneration

type ServicePathSelectorMetadataGeneration struct{}

func (ServicePathSelectorMetadataGeneration) FieldPath

func (ServicePathSelectorMetadataGeneration) WithArrayOfValues

func (ServicePathSelectorMetadataGeneration) WithValue

type ServicePathSelectorMetadataLabels

type ServicePathSelectorMetadataLabels struct{}

func (ServicePathSelectorMetadataLabels) FieldPath

func (ServicePathSelectorMetadataLabels) WithArrayOfValues

func (ServicePathSelectorMetadataLabels) WithKey

func (ServicePathSelectorMetadataLabels) WithValue

type ServicePathSelectorMetadataLifecycle

type ServicePathSelectorMetadataLifecycle struct{}

func (ServicePathSelectorMetadataLifecycle) BlockDeletion

func (ServicePathSelectorMetadataLifecycle) FieldPath

func (ServicePathSelectorMetadataLifecycle) State

func (ServicePathSelectorMetadataLifecycle) WithArrayOfValues

func (ServicePathSelectorMetadataLifecycle) WithValue

type ServicePathSelectorMetadataLifecycleBlockDeletion

type ServicePathSelectorMetadataLifecycleBlockDeletion struct{}

func (ServicePathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (ServicePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (ServicePathSelectorMetadataLifecycleBlockDeletion) WithValue

type ServicePathSelectorMetadataLifecycleState

type ServicePathSelectorMetadataLifecycleState struct{}

func (ServicePathSelectorMetadataLifecycleState) FieldPath

func (ServicePathSelectorMetadataLifecycleState) WithArrayOfValues

func (ServicePathSelectorMetadataLifecycleState) WithValue

type ServicePathSelectorMetadataOwnerReferences

type ServicePathSelectorMetadataOwnerReferences struct{}

func (ServicePathSelectorMetadataOwnerReferences) Controller

func (ServicePathSelectorMetadataOwnerReferences) FieldPath

func (ServicePathSelectorMetadataOwnerReferences) Kind

func (ServicePathSelectorMetadataOwnerReferences) Name

func (ServicePathSelectorMetadataOwnerReferences) Region

func (ServicePathSelectorMetadataOwnerReferences) RequiresOwnerReference

func (ServicePathSelectorMetadataOwnerReferences) Version

func (ServicePathSelectorMetadataOwnerReferences) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferences) WithItemValue

func (ServicePathSelectorMetadataOwnerReferences) WithValue

type ServicePathSelectorMetadataOwnerReferencesController

type ServicePathSelectorMetadataOwnerReferencesController struct{}

func (ServicePathSelectorMetadataOwnerReferencesController) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesController) WithValue

type ServicePathSelectorMetadataOwnerReferencesKind

type ServicePathSelectorMetadataOwnerReferencesKind struct{}

func (ServicePathSelectorMetadataOwnerReferencesKind) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesKind) WithValue

type ServicePathSelectorMetadataOwnerReferencesName

type ServicePathSelectorMetadataOwnerReferencesName struct{}

func (ServicePathSelectorMetadataOwnerReferencesName) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesName) WithValue

type ServicePathSelectorMetadataOwnerReferencesRegion

type ServicePathSelectorMetadataOwnerReferencesRegion struct{}

func (ServicePathSelectorMetadataOwnerReferencesRegion) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesRegion) WithValue

type ServicePathSelectorMetadataOwnerReferencesRequiresOwnerReference

type ServicePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (ServicePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type ServicePathSelectorMetadataOwnerReferencesVersion

type ServicePathSelectorMetadataOwnerReferencesVersion struct{}

func (ServicePathSelectorMetadataOwnerReferencesVersion) FieldPath

func (ServicePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (ServicePathSelectorMetadataOwnerReferencesVersion) WithValue

type ServicePathSelectorMetadataResourceVersion

type ServicePathSelectorMetadataResourceVersion struct{}

func (ServicePathSelectorMetadataResourceVersion) FieldPath

func (ServicePathSelectorMetadataResourceVersion) WithArrayOfValues

func (ServicePathSelectorMetadataResourceVersion) WithValue

type ServicePathSelectorMetadataServices

type ServicePathSelectorMetadataServices struct{}

func (ServicePathSelectorMetadataServices) AllowedServices

func (ServicePathSelectorMetadataServices) FieldPath

func (ServicePathSelectorMetadataServices) OwningService

func (ServicePathSelectorMetadataServices) WithArrayOfValues

func (ServicePathSelectorMetadataServices) WithValue

type ServicePathSelectorMetadataServicesAllowedServices

type ServicePathSelectorMetadataServicesAllowedServices struct{}

func (ServicePathSelectorMetadataServicesAllowedServices) FieldPath

func (ServicePathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (ServicePathSelectorMetadataServicesAllowedServices) WithItemValue

func (ServicePathSelectorMetadataServicesAllowedServices) WithValue

type ServicePathSelectorMetadataServicesOwningService

type ServicePathSelectorMetadataServicesOwningService struct{}

func (ServicePathSelectorMetadataServicesOwningService) FieldPath

func (ServicePathSelectorMetadataServicesOwningService) WithArrayOfValues

func (ServicePathSelectorMetadataServicesOwningService) WithValue

type ServicePathSelectorMetadataShards

type ServicePathSelectorMetadataShards struct{}

func (ServicePathSelectorMetadataShards) FieldPath

func (ServicePathSelectorMetadataShards) WithArrayOfValues

func (ServicePathSelectorMetadataShards) WithKey

func (ServicePathSelectorMetadataShards) WithValue

type ServicePathSelectorMetadataSyncing

type ServicePathSelectorMetadataSyncing struct{}

func (ServicePathSelectorMetadataSyncing) FieldPath

func (ServicePathSelectorMetadataSyncing) OwningRegion

func (ServicePathSelectorMetadataSyncing) Regions

func (ServicePathSelectorMetadataSyncing) WithArrayOfValues

func (ServicePathSelectorMetadataSyncing) WithValue

type ServicePathSelectorMetadataSyncingOwningRegion

type ServicePathSelectorMetadataSyncingOwningRegion struct{}

func (ServicePathSelectorMetadataSyncingOwningRegion) FieldPath

func (ServicePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (ServicePathSelectorMetadataSyncingOwningRegion) WithValue

type ServicePathSelectorMetadataSyncingRegions

type ServicePathSelectorMetadataSyncingRegions struct{}

func (ServicePathSelectorMetadataSyncingRegions) FieldPath

func (ServicePathSelectorMetadataSyncingRegions) WithArrayOfValues

func (ServicePathSelectorMetadataSyncingRegions) WithItemValue

func (ServicePathSelectorMetadataSyncingRegions) WithValue

type ServicePathSelectorMetadataTags

type ServicePathSelectorMetadataTags struct{}

func (ServicePathSelectorMetadataTags) FieldPath

func (ServicePathSelectorMetadataTags) WithArrayOfValues

func (ServicePathSelectorMetadataTags) WithItemValue

func (ServicePathSelectorMetadataTags) WithValue

type ServicePathSelectorMetadataUpdateTime

type ServicePathSelectorMetadataUpdateTime struct{}

func (ServicePathSelectorMetadataUpdateTime) FieldPath

func (ServicePathSelectorMetadataUpdateTime) WithArrayOfValues

func (ServicePathSelectorMetadataUpdateTime) WithValue

type ServicePathSelectorMetadataUuid

type ServicePathSelectorMetadataUuid struct{}

func (ServicePathSelectorMetadataUuid) FieldPath

func (ServicePathSelectorMetadataUuid) WithArrayOfValues

func (ServicePathSelectorMetadataUuid) WithValue

type ServicePathSelectorMultiRegionPolicy

type ServicePathSelectorMultiRegionPolicy struct{}

func (ServicePathSelectorMultiRegionPolicy) CriteriaForDisabledSync

func (ServicePathSelectorMultiRegionPolicy) DefaultControlRegion

func (ServicePathSelectorMultiRegionPolicy) EnabledRegions

func (ServicePathSelectorMultiRegionPolicy) FieldPath

func (ServicePathSelectorMultiRegionPolicy) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicy) WithSubArrayItemValue

func (ServicePathSelectorMultiRegionPolicy) WithSubArrayOfValues

func (ServicePathSelectorMultiRegionPolicy) WithSubPath

func (ServicePathSelectorMultiRegionPolicy) WithSubValue

func (ServicePathSelectorMultiRegionPolicy) WithValue

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSync

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSync struct{}

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSync) FieldPath

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSync) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSync) WithValue

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion struct{}

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) FieldPath

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncDestRegion) WithValue

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName struct{}

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) FieldPath

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncResourceTypeName) WithValue

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion

type ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion struct{}

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) FieldPath

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyCriteriaForDisabledSyncSourceRegion) WithValue

type ServicePathSelectorMultiRegionPolicyDefaultControlRegion

type ServicePathSelectorMultiRegionPolicyDefaultControlRegion struct{}

func (ServicePathSelectorMultiRegionPolicyDefaultControlRegion) FieldPath

func (ServicePathSelectorMultiRegionPolicyDefaultControlRegion) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyDefaultControlRegion) WithValue

type ServicePathSelectorMultiRegionPolicyEnabledRegions

type ServicePathSelectorMultiRegionPolicyEnabledRegions struct{}

func (ServicePathSelectorMultiRegionPolicyEnabledRegions) FieldPath

func (ServicePathSelectorMultiRegionPolicyEnabledRegions) WithArrayOfValues

func (ServicePathSelectorMultiRegionPolicyEnabledRegions) WithItemValue

func (ServicePathSelectorMultiRegionPolicyEnabledRegions) WithValue

type ServicePathSelectorName

type ServicePathSelectorName struct{}

func (ServicePathSelectorName) FieldPath

func (ServicePathSelectorName) WithArrayOfValues

func (ServicePathSelectorName) WithValue

type ServicePathSelectorUsedServices

type ServicePathSelectorUsedServices struct{}

func (ServicePathSelectorUsedServices) FieldPath

func (ServicePathSelectorUsedServices) WithArrayOfValues

func (ServicePathSelectorUsedServices) WithItemValue

func (ServicePathSelectorUsedServices) WithValue

type ServiceReferenceList

type ServiceReferenceList []*Reference

func (ServiceReferenceList) Append

func (ServiceReferenceList) AppendList

func (ServiceReferenceList) At

func (ServiceReferenceList) Length

func (l ServiceReferenceList) Length() int

func (ServiceReferenceList) Set

func (ServiceReferenceList) Slice

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

type Service_FieldMask

type Service_FieldMask struct {
	Paths []Service_FieldPath
}

func FullService_FieldMask

func FullService_FieldMask() *Service_FieldMask

func ResourceViewFieldMask

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

func (*Service_FieldMask) AppendPath

func (fieldMask *Service_FieldMask) AppendPath(path Service_FieldPath)

func (*Service_FieldMask) AppendRawPath

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

func (*Service_FieldMask) DecodeFirestore

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

func (*Service_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Service_FieldMask) FilterInputFields

func (fieldMask *Service_FieldMask) FilterInputFields() *Service_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Service_FieldMask) FromProtoFieldMask

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

func (*Service_FieldMask) GetPaths

func (fieldMask *Service_FieldMask) GetPaths() []Service_FieldPath

func (*Service_FieldMask) GetRawPaths

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

func (*Service_FieldMask) IsFull

func (fieldMask *Service_FieldMask) IsFull() bool

func (Service_FieldMask) Marshal

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

implement methods required by customType

func (Service_FieldMask) MarshalJSON

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

func (*Service_FieldMask) PathsCount

func (fieldMask *Service_FieldMask) PathsCount() int

func (*Service_FieldMask) Project

func (fieldMask *Service_FieldMask) Project(source *Service) *Service

func (*Service_FieldMask) ProjectRaw

func (*Service_FieldMask) ProtoMessage

func (fieldMask *Service_FieldMask) ProtoMessage()

func (*Service_FieldMask) ProtoReflect

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

func (*Service_FieldMask) Reset

func (fieldMask *Service_FieldMask) Reset()

func (*Service_FieldMask) Set

func (fieldMask *Service_FieldMask) Set(target, source *Service)

func (*Service_FieldMask) SetFromCliFlag

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

func (*Service_FieldMask) SetRaw

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

func (*Service_FieldMask) Size

func (fieldMask *Service_FieldMask) Size() int

func (*Service_FieldMask) String

func (fieldMask *Service_FieldMask) String() string

func (*Service_FieldMask) Subtract

func (fieldMask *Service_FieldMask) Subtract(other *Service_FieldMask) *Service_FieldMask

func (*Service_FieldMask) SubtractRaw

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

func (*Service_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Service_FieldMask) Unmarshal

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

func (*Service_FieldMask) UnmarshalJSON

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

type Service_FieldPath

type Service_FieldPath interface {
	gotenobject.FieldPath
	Selector() Service_FieldPathSelector
	Get(source *Service) []interface{}
	GetSingle(source *Service) (interface{}, bool)
	ClearValue(item *Service)

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

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

func BuildService_FieldPath

func BuildService_FieldPath(fp gotenobject.RawFieldPath) (Service_FieldPath, error)

func MustParseService_FieldPath

func MustParseService_FieldPath(rawField string) Service_FieldPath

func ParseService_FieldPath

func ParseService_FieldPath(rawField string) (Service_FieldPath, error)

type Service_FieldPathArrayItemValue

type Service_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Service_FieldPath
	ContainsValue(*Service) bool
}

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

func MustParseService_FieldPathArrayItemValue

func MustParseService_FieldPathArrayItemValue(pathStr, valueStr string) Service_FieldPathArrayItemValue

func ParseService_FieldPathArrayItemValue

func ParseService_FieldPathArrayItemValue(pathStr, valueStr string) (Service_FieldPathArrayItemValue, error)

ParseService_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Service_FieldPathArrayOfValues

type Service_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Service_FieldPath
}

Service_FieldPathArrayOfValues allows storing slice of values for Service fields according to their type

func MustParseService_FieldPathArrayOfValues

func MustParseService_FieldPathArrayOfValues(pathStr, valuesStr string) Service_FieldPathArrayOfValues

func ParseService_FieldPathArrayOfValues

func ParseService_FieldPathArrayOfValues(pathStr, valuesStr string) (Service_FieldPathArrayOfValues, error)

type Service_FieldPathSelector

type Service_FieldPathSelector int32
const (
	Service_FieldPathSelectorName                   Service_FieldPathSelector = 0
	Service_FieldPathSelectorMetadata               Service_FieldPathSelector = 1
	Service_FieldPathSelectorMultiRegionPolicy      Service_FieldPathSelector = 2
	Service_FieldPathSelectorDisplayName            Service_FieldPathSelector = 3
	Service_FieldPathSelectorAllVersions            Service_FieldPathSelector = 4
	Service_FieldPathSelectorGlobalDomain           Service_FieldPathSelector = 5
	Service_FieldPathSelectorImportedServices       Service_FieldPathSelector = 6
	Service_FieldPathSelectorUsedServices           Service_FieldPathSelector = 7
	Service_FieldPathSelectorImportedVersions       Service_FieldPathSelector = 8
	Service_FieldPathSelectorEnvRegistryGeneration  Service_FieldPathSelector = 9
	Service_FieldPathSelectorAutomaticVersionSwitch Service_FieldPathSelector = 10
)

func (Service_FieldPathSelector) String

func (s Service_FieldPathSelector) String() string

type Service_FieldPathValue

type Service_FieldPathValue interface {
	Service_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Service)
	CompareWith(*Service) (cmp int, comparable bool)
}

Service_FieldPathValue allows storing values for Service fields according to their type

func MustParseService_FieldPathValue

func MustParseService_FieldPathValue(pathStr, valueStr string) Service_FieldPathValue

func ParseService_FieldPathValue

func ParseService_FieldPathValue(pathStr, valueStr string) (Service_FieldPathValue, error)

type Service_FieldSubPath

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

func (*Service_FieldSubPath) AsImportedVersionsSubPath

func (fps *Service_FieldSubPath) AsImportedVersionsSubPath() (ServiceImportedVersions_FieldPath, bool)

func (*Service_FieldSubPath) AsMetadataSubPath

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

func (*Service_FieldSubPath) AsMultiRegionPolicySubPath

func (fps *Service_FieldSubPath) AsMultiRegionPolicySubPath() (multi_region_policy.MultiRegionPolicy_FieldPath, bool)

func (*Service_FieldSubPath) ClearValue

func (fps *Service_FieldSubPath) ClearValue(item *Service)

func (*Service_FieldSubPath) ClearValueRaw

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

func (*Service_FieldSubPath) Get

func (fps *Service_FieldSubPath) Get(source *Service) (values []interface{})

Get returns all values pointed by selected field from source Service

func (*Service_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Service_FieldSubPath) GetRaw

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

func (*Service_FieldSubPath) GetSingle

func (fps *Service_FieldSubPath) GetSingle(source *Service) (interface{}, bool)

GetSingle returns value of selected field from source Service

func (*Service_FieldSubPath) GetSingleRaw

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

func (*Service_FieldSubPath) IsLeaf

func (fps *Service_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Service_FieldSubPath) JSONString

func (fps *Service_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Service_FieldSubPath) Selector

func (*Service_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Service_FieldSubPath) String

func (fps *Service_FieldSubPath) String() string

String returns path representation in proto convention

func (*Service_FieldSubPath) WithIArrayItemValue

func (fps *Service_FieldSubPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue

func (*Service_FieldSubPath) WithIArrayOfValues

func (fps *Service_FieldSubPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues

func (*Service_FieldSubPath) WithIValue

func (fps *Service_FieldSubPath) WithIValue(value interface{}) Service_FieldPathValue

func (*Service_FieldSubPath) WithRawIArrayItemValue

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

func (*Service_FieldSubPath) WithRawIArrayOfValues

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

func (*Service_FieldSubPath) WithRawIValue

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

type Service_FieldSubPathArrayItemValue

type Service_FieldSubPathArrayItemValue struct {
	Service_FieldPath
	// contains filtered or unexported fields
}

func (*Service_FieldSubPathArrayItemValue) AsImportedVersionsPathItemValue

func (*Service_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*Service_FieldSubPathArrayItemValue) AsMultiRegionPolicyPathItemValue

func (*Service_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Service_FieldSubPathArrayItemValue) ContainsValue(source *Service) bool

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

func (*Service_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Service_FieldSubPathArrayOfValues

type Service_FieldSubPathArrayOfValues struct {
	Service_FieldPath
	// contains filtered or unexported fields
}

func (*Service_FieldSubPathArrayOfValues) AsImportedVersionsPathArrayOfValues

func (fpsaov *Service_FieldSubPathArrayOfValues) AsImportedVersionsPathArrayOfValues() (ServiceImportedVersions_FieldPathArrayOfValues, bool)

func (*Service_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Service_FieldSubPathArrayOfValues) AsMultiRegionPolicyPathArrayOfValues

func (*Service_FieldSubPathArrayOfValues) GetRawValues

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

type Service_FieldSubPathValue

type Service_FieldSubPathValue struct {
	Service_FieldPath
	// contains filtered or unexported fields
}

func (*Service_FieldSubPathValue) AsImportedVersionsPathValue

func (fpvs *Service_FieldSubPathValue) AsImportedVersionsPathValue() (ServiceImportedVersions_FieldPathValue, bool)

func (*Service_FieldSubPathValue) AsMetadataPathValue

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

func (*Service_FieldSubPathValue) AsMultiRegionPolicyPathValue

func (*Service_FieldSubPathValue) CompareWith

func (fpvs *Service_FieldSubPathValue) CompareWith(source *Service) (int, bool)

func (*Service_FieldSubPathValue) CompareWithRaw

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

func (*Service_FieldSubPathValue) GetRawValue

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

func (*Service_FieldSubPathValue) SetTo

func (fpvs *Service_FieldSubPathValue) SetTo(target **Service)

func (*Service_FieldSubPathValue) SetToRaw

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

type Service_FieldTerminalPath

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

func (*Service_FieldTerminalPath) ClearValue

func (fp *Service_FieldTerminalPath) ClearValue(item *Service)

func (*Service_FieldTerminalPath) ClearValueRaw

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

func (*Service_FieldTerminalPath) Get

func (fp *Service_FieldTerminalPath) Get(source *Service) (values []interface{})

Get returns all values pointed by specific field from source Service

func (*Service_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Service_FieldTerminalPath) GetRaw

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

func (*Service_FieldTerminalPath) GetSingle

func (fp *Service_FieldTerminalPath) GetSingle(source *Service) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Service

func (*Service_FieldTerminalPath) GetSingleRaw

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

func (*Service_FieldTerminalPath) IsLeaf

func (fp *Service_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Service_FieldTerminalPath) JSONString

func (fp *Service_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Service_FieldTerminalPath) Selector

func (*Service_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Service_FieldTerminalPath) String

func (fp *Service_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Service_FieldTerminalPath) WithIArrayItemValue

func (fp *Service_FieldTerminalPath) WithIArrayItemValue(value interface{}) Service_FieldPathArrayItemValue

func (*Service_FieldTerminalPath) WithIArrayOfValues

func (fp *Service_FieldTerminalPath) WithIArrayOfValues(values interface{}) Service_FieldPathArrayOfValues

func (*Service_FieldTerminalPath) WithIValue

func (fp *Service_FieldTerminalPath) WithIValue(value interface{}) Service_FieldPathValue

func (*Service_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Service_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Service_FieldTerminalPath) WithRawIValue

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

type Service_FieldTerminalPathArrayItemValue

type Service_FieldTerminalPathArrayItemValue struct {
	Service_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Service_FieldTerminalPathArrayItemValue) AsAllVersionsItemValue

func (fpaiv *Service_FieldTerminalPathArrayItemValue) AsAllVersionsItemValue() (string, bool)

func (*Service_FieldTerminalPathArrayItemValue) AsImportedServicesItemValue

func (fpaiv *Service_FieldTerminalPathArrayItemValue) AsImportedServicesItemValue() (*Reference, bool)

func (*Service_FieldTerminalPathArrayItemValue) AsImportedVersionsItemValue

func (fpaiv *Service_FieldTerminalPathArrayItemValue) AsImportedVersionsItemValue() (*Service_ImportedVersions, bool)

func (*Service_FieldTerminalPathArrayItemValue) AsUsedServicesItemValue

func (fpaiv *Service_FieldTerminalPathArrayItemValue) AsUsedServicesItemValue() (*Reference, bool)

func (*Service_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Service_FieldTerminalPathArrayItemValue) ContainsValue(source *Service) bool

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

func (*Service_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Service_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Service_FieldTerminalPathArrayItemValue) GetSingle(source *Service) (interface{}, bool)

func (*Service_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Service_FieldTerminalPathArrayOfValues

type Service_FieldTerminalPathArrayOfValues struct {
	Service_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Service_FieldTerminalPathArrayOfValues) AsAllVersionsArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsAllVersionsArrayOfValues() ([][]string, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsAutomaticVersionSwitchArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsAutomaticVersionSwitchArrayOfValues() ([]bool, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*Service_FieldTerminalPathArrayOfValues) AsEnvRegistryGenerationArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsEnvRegistryGenerationArrayOfValues() ([]int32, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsGlobalDomainArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsGlobalDomainArrayOfValues() ([]string, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsImportedServicesArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsImportedServicesArrayOfValues() ([][]*Reference, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsImportedVersionsArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsImportedVersionsArrayOfValues() ([][]*Service_ImportedVersions, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Service_FieldTerminalPathArrayOfValues) AsMultiRegionPolicyArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsMultiRegionPolicyArrayOfValues() ([]*multi_region_policy.MultiRegionPolicy, bool)

func (*Service_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Service_FieldTerminalPathArrayOfValues) AsUsedServicesArrayOfValues

func (fpaov *Service_FieldTerminalPathArrayOfValues) AsUsedServicesArrayOfValues() ([][]*Reference, bool)

func (*Service_FieldTerminalPathArrayOfValues) GetRawValues

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

type Service_FieldTerminalPathValue

type Service_FieldTerminalPathValue struct {
	Service_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Service_FieldTerminalPathValue) AsAllVersionsValue

func (fpv *Service_FieldTerminalPathValue) AsAllVersionsValue() ([]string, bool)

func (*Service_FieldTerminalPathValue) AsAutomaticVersionSwitchValue

func (fpv *Service_FieldTerminalPathValue) AsAutomaticVersionSwitchValue() (bool, bool)

func (*Service_FieldTerminalPathValue) AsDisplayNameValue

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

func (*Service_FieldTerminalPathValue) AsEnvRegistryGenerationValue

func (fpv *Service_FieldTerminalPathValue) AsEnvRegistryGenerationValue() (int32, bool)

func (*Service_FieldTerminalPathValue) AsGlobalDomainValue

func (fpv *Service_FieldTerminalPathValue) AsGlobalDomainValue() (string, bool)

func (*Service_FieldTerminalPathValue) AsImportedServicesValue

func (fpv *Service_FieldTerminalPathValue) AsImportedServicesValue() ([]*Reference, bool)

func (*Service_FieldTerminalPathValue) AsImportedVersionsValue

func (fpv *Service_FieldTerminalPathValue) AsImportedVersionsValue() ([]*Service_ImportedVersions, bool)

func (*Service_FieldTerminalPathValue) AsMetadataValue

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

func (*Service_FieldTerminalPathValue) AsMultiRegionPolicyValue

func (fpv *Service_FieldTerminalPathValue) AsMultiRegionPolicyValue() (*multi_region_policy.MultiRegionPolicy, bool)

func (*Service_FieldTerminalPathValue) AsNameValue

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

func (*Service_FieldTerminalPathValue) AsUsedServicesValue

func (fpv *Service_FieldTerminalPathValue) AsUsedServicesValue() ([]*Reference, bool)

func (*Service_FieldTerminalPathValue) CompareWith

func (fpv *Service_FieldTerminalPathValue) CompareWith(source *Service) (int, bool)

CompareWith compares value in the 'Service_FieldTerminalPathValue' with the value under path in 'Service'.

func (*Service_FieldTerminalPathValue) CompareWithRaw

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

func (*Service_FieldTerminalPathValue) GetRawValue

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

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

func (*Service_FieldTerminalPathValue) SetTo

func (fpv *Service_FieldTerminalPathValue) SetTo(target **Service)

SetTo stores value for selected field for object Service

func (*Service_FieldTerminalPathValue) SetToRaw

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

type Service_ImportedVersions

type Service_ImportedVersions struct {

	// Imported service reference
	TargetService *Reference `` /* 147-byte string literal not displayed */
	// Version of the imported service
	TargetServiceVersion string `` /* 156-byte string literal not displayed */
	// Version of the current service that imports target service in its
	// version.
	CurrentServiceVersion string `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

ImportedVersions contains information which version of the imported service is used by current service in specific version.

func (*Service_ImportedVersions) Clone

func (*Service_ImportedVersions) CloneRaw

func (*Service_ImportedVersions) Descriptor

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

Deprecated, Use Service_ImportedVersions.ProtoReflect.Descriptor instead.

func (*Service_ImportedVersions) GetCurrentServiceVersion

func (m *Service_ImportedVersions) GetCurrentServiceVersion() string

func (*Service_ImportedVersions) GetTargetService

func (m *Service_ImportedVersions) GetTargetService() *Reference

func (*Service_ImportedVersions) GetTargetServiceVersion

func (m *Service_ImportedVersions) GetTargetServiceVersion() string

func (*Service_ImportedVersions) GotenMessage

func (*Service_ImportedVersions) GotenMessage()

func (*Service_ImportedVersions) GotenObjectExt

func (o *Service_ImportedVersions) GotenObjectExt()

func (*Service_ImportedVersions) GotenValidate

func (obj *Service_ImportedVersions) GotenValidate() error

func (*Service_ImportedVersions) MakeDiffFieldMask

func (*Service_ImportedVersions) MakeFullFieldMask

func (*Service_ImportedVersions) MakeRawDiffFieldMask

func (*Service_ImportedVersions) MakeRawFullFieldMask

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

func (*Service_ImportedVersions) Marshal

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

func (*Service_ImportedVersions) MarshalJSON

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

func (*Service_ImportedVersions) Merge

func (*Service_ImportedVersions) MergeRaw

func (*Service_ImportedVersions) ProtoMessage

func (*Service_ImportedVersions) ProtoMessage()

func (*Service_ImportedVersions) ProtoReflect

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

func (*Service_ImportedVersions) Reset

func (m *Service_ImportedVersions) Reset()

func (*Service_ImportedVersions) SetCurrentServiceVersion

func (m *Service_ImportedVersions) SetCurrentServiceVersion(fv string)

func (*Service_ImportedVersions) SetTargetService

func (m *Service_ImportedVersions) SetTargetService(fv *Reference)

func (*Service_ImportedVersions) SetTargetServiceVersion

func (m *Service_ImportedVersions) SetTargetServiceVersion(fv string)

func (*Service_ImportedVersions) String

func (m *Service_ImportedVersions) String() string

func (*Service_ImportedVersions) Unmarshal

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

func (*Service_ImportedVersions) UnmarshalJSON

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

type Service_ImportedVersionsPathSelectorCurrentServiceVersion

type Service_ImportedVersionsPathSelectorCurrentServiceVersion struct{}

func (Service_ImportedVersionsPathSelectorCurrentServiceVersion) FieldPath

func (Service_ImportedVersionsPathSelectorCurrentServiceVersion) WithArrayOfValues

func (Service_ImportedVersionsPathSelectorCurrentServiceVersion) WithValue

type Service_ImportedVersionsPathSelectorTargetService

type Service_ImportedVersionsPathSelectorTargetService struct{}

func (Service_ImportedVersionsPathSelectorTargetService) FieldPath

func (Service_ImportedVersionsPathSelectorTargetService) WithArrayOfValues

func (Service_ImportedVersionsPathSelectorTargetService) WithValue

type Service_ImportedVersionsPathSelectorTargetServiceVersion

type Service_ImportedVersionsPathSelectorTargetServiceVersion struct{}

func (Service_ImportedVersionsPathSelectorTargetServiceVersion) FieldPath

func (Service_ImportedVersionsPathSelectorTargetServiceVersion) WithArrayOfValues

func (Service_ImportedVersionsPathSelectorTargetServiceVersion) WithValue

type Service_ImportedVersions_FieldMask

type Service_ImportedVersions_FieldMask struct {
	Paths []ServiceImportedVersions_FieldPath
}

func FullService_ImportedVersions_FieldMask

func FullService_ImportedVersions_FieldMask() *Service_ImportedVersions_FieldMask

func (*Service_ImportedVersions_FieldMask) AppendPath

func (*Service_ImportedVersions_FieldMask) AppendRawPath

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

func (*Service_ImportedVersions_FieldMask) DecodeFirestore

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

func (*Service_ImportedVersions_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Service_ImportedVersions_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Service_ImportedVersions_FieldMask) FromProtoFieldMask

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

func (*Service_ImportedVersions_FieldMask) GetPaths

func (*Service_ImportedVersions_FieldMask) GetRawPaths

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

func (*Service_ImportedVersions_FieldMask) IsFull

func (fieldMask *Service_ImportedVersions_FieldMask) IsFull() bool

func (Service_ImportedVersions_FieldMask) Marshal

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

implement methods required by customType

func (Service_ImportedVersions_FieldMask) MarshalJSON

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

func (*Service_ImportedVersions_FieldMask) PathsCount

func (fieldMask *Service_ImportedVersions_FieldMask) PathsCount() int

func (*Service_ImportedVersions_FieldMask) Project

func (*Service_ImportedVersions_FieldMask) ProjectRaw

func (*Service_ImportedVersions_FieldMask) ProtoMessage

func (fieldMask *Service_ImportedVersions_FieldMask) ProtoMessage()

func (*Service_ImportedVersions_FieldMask) ProtoReflect

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

func (*Service_ImportedVersions_FieldMask) Reset

func (fieldMask *Service_ImportedVersions_FieldMask) Reset()

func (*Service_ImportedVersions_FieldMask) Set

func (fieldMask *Service_ImportedVersions_FieldMask) Set(target, source *Service_ImportedVersions)

func (*Service_ImportedVersions_FieldMask) SetFromCliFlag

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

func (*Service_ImportedVersions_FieldMask) SetRaw

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

func (*Service_ImportedVersions_FieldMask) Size

func (fieldMask *Service_ImportedVersions_FieldMask) Size() int

func (*Service_ImportedVersions_FieldMask) String

func (fieldMask *Service_ImportedVersions_FieldMask) String() string

func (*Service_ImportedVersions_FieldMask) Subtract

func (*Service_ImportedVersions_FieldMask) SubtractRaw

func (*Service_ImportedVersions_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Service_ImportedVersions_FieldMask) Unmarshal

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

func (*Service_ImportedVersions_FieldMask) UnmarshalJSON

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

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