region

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "regions/{region}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access RegionAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors added in v1.0.21

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 added in v0.4.16

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

func (*Descriptor) NewResourceFilter added in v0.4.16

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy added in v0.4.16

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

func (*Descriptor) NewResourcePager added in v0.9.0

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

func (*Descriptor) SupportsMetadata added in v1.0.21

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

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 Region_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 *Region) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Region_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Region) 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 Region_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 *Region) 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 Region_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 Region_FieldPath

	Value  Region_FieldPathArrayItemValue
	Values []Region_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 *Region) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Region) 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 Region_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 Region_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Region) 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 Region_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 Region_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Region) 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 Region_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 *Region) 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 Region_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 {
	Region_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Region) 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 Region_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      *Region_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           *Region_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

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

func (*ListQuery) GetPager

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

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

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

func (*ListQuery) SetPager

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

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	NamePattern
	RegionId string `firestore:"regionId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) 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 *Region) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Region_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 RegionList, elem *Region) (RegionList, 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 RegionList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type QueryResultChange

type QueryResultChange struct {
	Changes        []*RegionChange
	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 {
	Regions           []*Region
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) GetPrevPageCursor

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

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, region *Region) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

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

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

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

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetRawResource

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

func (*Reference) GetRegion

func (ref *Reference) GetRegion() *Region

func (*Reference) GetResourceDescriptor

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

func (*Reference) GetSegments

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

func (*Reference) GotenEqual

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

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

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

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

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

func (*Reference) ParseProtoString

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

func (*Reference) ProtoString

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

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *Region)

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 Region

type Region struct {

	// Name of Region
	// 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"`
	// Region title
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" firestore:"title"`
	// Region domain, for example us-west.edgelq.com
	Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty" firestore:"domain"`
	// Region location
	Location *Region_RegionLocation `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty" firestore:"location"`
	// Whether is default. Only one record is allowed to have this attribute on.
	IsDefault bool `protobuf:"varint,5,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty" firestore:"isDefault"`
	// Hardcoded scores regarding connectivity preference.
	ConnectivityScores []*Region_RegionConnectivityPreference `` /* 146-byte string literal not displayed */
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

Region Resource

func (*Region) Clone

func (o *Region) Clone() *Region

func (*Region) CloneRaw

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

func (*Region) Descriptor

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

Deprecated, Use Region.ProtoReflect.Descriptor instead.

func (*Region) EnsureMetadata added in v1.0.21

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

func (*Region) GetConnectivityScores

func (m *Region) GetConnectivityScores() []*Region_RegionConnectivityPreference

func (*Region) GetDomain

func (m *Region) GetDomain() string

func (*Region) GetIsDefault

func (m *Region) GetIsDefault() bool

func (*Region) GetLocation

func (m *Region) GetLocation() *Region_RegionLocation

func (*Region) GetMetadata

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

func (*Region) GetName

func (m *Region) GetName() *Name

func (*Region) GetRawName

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

func (*Region) GetResourceDescriptor

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

func (*Region) GetTitle

func (m *Region) GetTitle() string

func (*Region) GotenMessage

func (*Region) GotenMessage()

func (*Region) GotenObjectExt

func (o *Region) GotenObjectExt()

func (*Region) GotenValidate

func (obj *Region) GotenValidate() error

func (*Region) MakeDiffFieldMask

func (o *Region) MakeDiffFieldMask(other *Region) *Region_FieldMask

func (*Region) MakeFullFieldMask

func (o *Region) MakeFullFieldMask() *Region_FieldMask

func (*Region) MakeRawDiffFieldMask

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

func (*Region) MakeRawFullFieldMask

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

func (*Region) Marshal

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

func (*Region) MarshalJSON

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

func (*Region) MaybePopulateDefaults

func (r *Region) MaybePopulateDefaults() error

func (*Region) Merge

func (o *Region) Merge(source *Region)

func (*Region) MergeRaw

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

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) ProtoReflect

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

func (*Region) Reset

func (m *Region) Reset()

func (*Region) SetConnectivityScores

func (m *Region) SetConnectivityScores(fv []*Region_RegionConnectivityPreference)

func (*Region) SetDomain

func (m *Region) SetDomain(fv string)

func (*Region) SetIsDefault

func (m *Region) SetIsDefault(fv bool)

func (*Region) SetLocation

func (m *Region) SetLocation(fv *Region_RegionLocation)

func (*Region) SetMetadata

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

func (*Region) SetName

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

func (*Region) SetTitle

func (m *Region) SetTitle(fv string)

func (*Region) String

func (m *Region) String() string

func (*Region) Unmarshal

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

func (*Region) UnmarshalJSON

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

type RegionChange

type RegionChange struct {

	// Region change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*RegionChange_Added_
	//	*RegionChange_Modified_
	//	*RegionChange_Current_
	//	*RegionChange_Removed_
	ChangeType isRegionChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*RegionChange) Descriptor

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

Deprecated, Use RegionChange.ProtoReflect.Descriptor instead.

func (*RegionChange) GetAdded

func (m *RegionChange) GetAdded() *RegionChange_Added

func (*RegionChange) GetChangeType

func (m *RegionChange) GetChangeType() isRegionChange_ChangeType

func (*RegionChange) GetCurrent

func (m *RegionChange) GetCurrent() *RegionChange_Current

func (*RegionChange) GetCurrentViewIndex

func (c *RegionChange) GetCurrentViewIndex() int32

func (*RegionChange) GetModified

func (m *RegionChange) GetModified() *RegionChange_Modified

func (*RegionChange) GetPreviousViewIndex

func (c *RegionChange) GetPreviousViewIndex() int32

func (*RegionChange) GetRawName

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

func (*RegionChange) GetRawResource added in v0.5.1

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

func (*RegionChange) GetRegion

func (c *RegionChange) GetRegion() *Region

func (*RegionChange) GetRegionName

func (c *RegionChange) GetRegionName() *Name

func (*RegionChange) GetRemoved

func (m *RegionChange) GetRemoved() *RegionChange_Removed

func (*RegionChange) GotenMessage

func (*RegionChange) GotenMessage()

func (*RegionChange) GotenValidate

func (obj *RegionChange) GotenValidate() error

func (*RegionChange) IsAdd

func (c *RegionChange) IsAdd() bool

func (*RegionChange) IsCurrent

func (c *RegionChange) IsCurrent() bool

func (*RegionChange) IsDelete

func (c *RegionChange) IsDelete() bool

func (*RegionChange) IsModify

func (c *RegionChange) IsModify() bool

func (*RegionChange) Marshal

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

func (*RegionChange) MarshalJSON

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

func (*RegionChange) ProtoMessage

func (*RegionChange) ProtoMessage()

func (*RegionChange) ProtoReflect

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

func (*RegionChange) Reset

func (m *RegionChange) Reset()

func (*RegionChange) SetAdded

func (m *RegionChange) SetAdded(fv *RegionChange_Added)

func (*RegionChange) SetAddedRaw

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

func (*RegionChange) SetChangeType

func (m *RegionChange) SetChangeType(ofv isRegionChange_ChangeType)

func (*RegionChange) SetCurrent

func (m *RegionChange) SetCurrent(fv *RegionChange_Current)

func (*RegionChange) SetCurrentRaw

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

func (*RegionChange) SetDeletedRaw

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

func (*RegionChange) SetModified

func (m *RegionChange) SetModified(fv *RegionChange_Modified)

func (*RegionChange) SetModifiedRaw

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

func (*RegionChange) SetRemoved

func (m *RegionChange) SetRemoved(fv *RegionChange_Removed)

func (*RegionChange) String

func (m *RegionChange) String() string

func (*RegionChange) Unmarshal

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

func (*RegionChange) UnmarshalJSON

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

type RegionChangeList

type RegionChangeList []*RegionChange

func (RegionChangeList) At

func (RegionChangeList) Length

func (l RegionChangeList) Length() int

func (RegionChangeList) Set

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

func (RegionChangeList) Slice

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

type RegionChangeMap

type RegionChangeMap map[Name]*RegionChange

func (RegionChangeMap) Delete

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

func (RegionChangeMap) ForEach

func (RegionChangeMap) Get

func (RegionChangeMap) Length

func (m RegionChangeMap) Length() int

func (RegionChangeMap) Set

type RegionChange_Added

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

Region has been added to query view

func (*RegionChange_Added) Descriptor

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

Deprecated, Use RegionChange_Added.ProtoReflect.Descriptor instead.

func (*RegionChange_Added) GetRegion

func (m *RegionChange_Added) GetRegion() *Region

func (*RegionChange_Added) GetViewIndex

func (m *RegionChange_Added) GetViewIndex() int32

func (*RegionChange_Added) GotenMessage

func (*RegionChange_Added) GotenMessage()

func (*RegionChange_Added) GotenValidate

func (obj *RegionChange_Added) GotenValidate() error

func (*RegionChange_Added) Marshal

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

func (*RegionChange_Added) MarshalJSON

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

func (*RegionChange_Added) ProtoMessage

func (*RegionChange_Added) ProtoMessage()

func (*RegionChange_Added) ProtoReflect

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

func (*RegionChange_Added) Reset

func (m *RegionChange_Added) Reset()

func (*RegionChange_Added) SetRegion

func (m *RegionChange_Added) SetRegion(fv *Region)

func (*RegionChange_Added) SetViewIndex

func (m *RegionChange_Added) SetViewIndex(fv int32)

func (*RegionChange_Added) String

func (m *RegionChange_Added) String() string

func (*RegionChange_Added) Unmarshal

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

func (*RegionChange_Added) UnmarshalJSON

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

type RegionChange_Added_

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

type RegionChange_Current

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

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

func (*RegionChange_Current) Descriptor

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

Deprecated, Use RegionChange_Current.ProtoReflect.Descriptor instead.

func (*RegionChange_Current) GetRegion

func (m *RegionChange_Current) GetRegion() *Region

func (*RegionChange_Current) GotenMessage

func (*RegionChange_Current) GotenMessage()

func (*RegionChange_Current) GotenValidate

func (obj *RegionChange_Current) GotenValidate() error

func (*RegionChange_Current) Marshal

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

func (*RegionChange_Current) MarshalJSON

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

func (*RegionChange_Current) ProtoMessage

func (*RegionChange_Current) ProtoMessage()

func (*RegionChange_Current) ProtoReflect

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

func (*RegionChange_Current) Reset

func (m *RegionChange_Current) Reset()

func (*RegionChange_Current) SetRegion

func (m *RegionChange_Current) SetRegion(fv *Region)

func (*RegionChange_Current) String

func (m *RegionChange_Current) String() string

func (*RegionChange_Current) Unmarshal

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

func (*RegionChange_Current) UnmarshalJSON

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

type RegionChange_Current_

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

type RegionChange_Modified

type RegionChange_Modified struct {

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

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

func (*RegionChange_Modified) Descriptor

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

Deprecated, Use RegionChange_Modified.ProtoReflect.Descriptor instead.

func (*RegionChange_Modified) GetFieldMask

func (m *RegionChange_Modified) GetFieldMask() *Region_FieldMask

func (*RegionChange_Modified) GetName

func (m *RegionChange_Modified) GetName() *Name

func (*RegionChange_Modified) GetPreviousViewIndex

func (m *RegionChange_Modified) GetPreviousViewIndex() int32

func (*RegionChange_Modified) GetRegion

func (m *RegionChange_Modified) GetRegion() *Region

func (*RegionChange_Modified) GetViewIndex

func (m *RegionChange_Modified) GetViewIndex() int32

func (*RegionChange_Modified) GotenMessage

func (*RegionChange_Modified) GotenMessage()

func (*RegionChange_Modified) GotenValidate

func (obj *RegionChange_Modified) GotenValidate() error

func (*RegionChange_Modified) Marshal

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

func (*RegionChange_Modified) MarshalJSON

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

func (*RegionChange_Modified) ProtoMessage

func (*RegionChange_Modified) ProtoMessage()

func (*RegionChange_Modified) ProtoReflect

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

func (*RegionChange_Modified) Reset

func (m *RegionChange_Modified) Reset()

func (*RegionChange_Modified) SetFieldMask

func (m *RegionChange_Modified) SetFieldMask(fv *Region_FieldMask)

func (*RegionChange_Modified) SetName

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

func (*RegionChange_Modified) SetPreviousViewIndex

func (m *RegionChange_Modified) SetPreviousViewIndex(fv int32)

func (*RegionChange_Modified) SetRegion

func (m *RegionChange_Modified) SetRegion(fv *Region)

func (*RegionChange_Modified) SetViewIndex

func (m *RegionChange_Modified) SetViewIndex(fv int32)

func (*RegionChange_Modified) String

func (m *RegionChange_Modified) String() string

func (*RegionChange_Modified) Unmarshal

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

func (*RegionChange_Modified) UnmarshalJSON

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

type RegionChange_Modified_

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

type RegionChange_Removed

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

func (*RegionChange_Removed) Descriptor

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

Deprecated, Use RegionChange_Removed.ProtoReflect.Descriptor instead.

func (*RegionChange_Removed) GetName

func (m *RegionChange_Removed) GetName() *Name

func (*RegionChange_Removed) GetViewIndex

func (m *RegionChange_Removed) GetViewIndex() int32

func (*RegionChange_Removed) GotenMessage

func (*RegionChange_Removed) GotenMessage()

func (*RegionChange_Removed) GotenValidate

func (obj *RegionChange_Removed) GotenValidate() error

func (*RegionChange_Removed) Marshal

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

func (*RegionChange_Removed) MarshalJSON

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

func (*RegionChange_Removed) ProtoMessage

func (*RegionChange_Removed) ProtoMessage()

func (*RegionChange_Removed) ProtoReflect

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

func (*RegionChange_Removed) Reset

func (m *RegionChange_Removed) Reset()

func (*RegionChange_Removed) SetName

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

func (*RegionChange_Removed) SetViewIndex

func (m *RegionChange_Removed) SetViewIndex(fv int32)

func (*RegionChange_Removed) String

func (m *RegionChange_Removed) String() string

func (*RegionChange_Removed) Unmarshal

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

func (*RegionChange_Removed) UnmarshalJSON

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

type RegionChange_Removed_

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

type RegionFieldPathBuilder

type RegionFieldPathBuilder struct{}

func NewRegionFieldPathBuilder

func NewRegionFieldPathBuilder() RegionFieldPathBuilder

func (RegionFieldPathBuilder) ConnectivityScores

func (RegionFieldPathBuilder) Domain

func (RegionFieldPathBuilder) IsDefault

func (RegionFieldPathBuilder) Location

func (RegionFieldPathBuilder) Metadata

func (RegionFieldPathBuilder) Name

func (RegionFieldPathBuilder) Title

type RegionList

type RegionList []*Region

func (RegionList) Append

func (RegionList) AppendList

func (RegionList) At

func (RegionList) Length

func (l RegionList) Length() int

func (RegionList) Set

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

func (RegionList) Slice

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

type RegionMap

type RegionMap map[Name]*Region

func (RegionMap) Delete

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

func (RegionMap) ForEach

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

func (RegionMap) Get

func (RegionMap) Length

func (m RegionMap) Length() int

func (RegionMap) Set

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

type RegionMapPathSelectorMetadataAnnotations

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

func (RegionMapPathSelectorMetadataAnnotations) FieldPath

func (RegionMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (RegionMapPathSelectorMetadataAnnotations) WithValue

type RegionMapPathSelectorMetadataLabels

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

func (RegionMapPathSelectorMetadataLabels) FieldPath

func (RegionMapPathSelectorMetadataLabels) WithArrayOfValues

func (RegionMapPathSelectorMetadataLabels) WithValue

type RegionMapPathSelectorMetadataShards

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

func (RegionMapPathSelectorMetadataShards) FieldPath

func (RegionMapPathSelectorMetadataShards) WithArrayOfValues

func (RegionMapPathSelectorMetadataShards) WithValue

type RegionNameList

type RegionNameList []*Name

func (RegionNameList) Append

func (RegionNameList) AppendList

func (RegionNameList) At

func (RegionNameList) Length

func (l RegionNameList) Length() int

func (RegionNameList) Set

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

func (RegionNameList) Slice

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

type RegionPathSelectorConnectivityScores

type RegionPathSelectorConnectivityScores struct{}

func (RegionPathSelectorConnectivityScores) Dest

func (RegionPathSelectorConnectivityScores) FieldPath

func (RegionPathSelectorConnectivityScores) Score

func (RegionPathSelectorConnectivityScores) WithArrayOfValues

func (RegionPathSelectorConnectivityScores) WithSubArrayItemValue

func (RegionPathSelectorConnectivityScores) WithSubArrayOfValues

func (RegionPathSelectorConnectivityScores) WithSubPath

func (RegionPathSelectorConnectivityScores) WithSubValue

func (RegionPathSelectorConnectivityScores) WithValue

type RegionPathSelectorConnectivityScoresDest

type RegionPathSelectorConnectivityScoresDest struct{}

func (RegionPathSelectorConnectivityScoresDest) FieldPath

func (RegionPathSelectorConnectivityScoresDest) WithArrayOfValues

func (RegionPathSelectorConnectivityScoresDest) WithValue

type RegionPathSelectorConnectivityScoresScore

type RegionPathSelectorConnectivityScoresScore struct{}

func (RegionPathSelectorConnectivityScoresScore) FieldPath

func (RegionPathSelectorConnectivityScoresScore) WithArrayOfValues

func (RegionPathSelectorConnectivityScoresScore) WithValue

type RegionPathSelectorDomain

type RegionPathSelectorDomain struct{}

func (RegionPathSelectorDomain) FieldPath

func (RegionPathSelectorDomain) WithArrayOfValues

func (RegionPathSelectorDomain) WithValue

type RegionPathSelectorIsDefault

type RegionPathSelectorIsDefault struct{}

func (RegionPathSelectorIsDefault) FieldPath

func (RegionPathSelectorIsDefault) WithArrayOfValues

func (RegionPathSelectorIsDefault) WithValue

type RegionPathSelectorLocation

type RegionPathSelectorLocation struct{}

func (RegionPathSelectorLocation) Agglomeration

func (RegionPathSelectorLocation) City

func (RegionPathSelectorLocation) Cloud

func (RegionPathSelectorLocation) Continent

func (RegionPathSelectorLocation) Country

func (RegionPathSelectorLocation) FieldPath

func (RegionPathSelectorLocation) WithArrayOfValues

func (RegionPathSelectorLocation) WithSubArrayItemValue

func (RegionPathSelectorLocation) WithSubArrayOfValues

func (RegionPathSelectorLocation) WithSubPath

func (RegionPathSelectorLocation) WithSubValue

func (RegionPathSelectorLocation) WithValue

type RegionPathSelectorLocationAgglomeration

type RegionPathSelectorLocationAgglomeration struct{}

func (RegionPathSelectorLocationAgglomeration) FieldPath

func (RegionPathSelectorLocationAgglomeration) WithArrayOfValues

func (RegionPathSelectorLocationAgglomeration) WithValue

type RegionPathSelectorLocationCity

type RegionPathSelectorLocationCity struct{}

func (RegionPathSelectorLocationCity) FieldPath

func (RegionPathSelectorLocationCity) WithArrayOfValues

func (RegionPathSelectorLocationCity) WithValue

type RegionPathSelectorLocationCloud

type RegionPathSelectorLocationCloud struct{}

func (RegionPathSelectorLocationCloud) FieldPath

func (RegionPathSelectorLocationCloud) WithArrayOfValues

func (RegionPathSelectorLocationCloud) WithValue

type RegionPathSelectorLocationContinent

type RegionPathSelectorLocationContinent struct{}

func (RegionPathSelectorLocationContinent) FieldPath

func (RegionPathSelectorLocationContinent) WithArrayOfValues

func (RegionPathSelectorLocationContinent) WithValue

type RegionPathSelectorLocationCountry

type RegionPathSelectorLocationCountry struct{}

func (RegionPathSelectorLocationCountry) FieldPath

func (RegionPathSelectorLocationCountry) WithArrayOfValues

func (RegionPathSelectorLocationCountry) WithValue

type RegionPathSelectorMetadata

type RegionPathSelectorMetadata struct{}

func (RegionPathSelectorMetadata) Annotations

func (RegionPathSelectorMetadata) CreateTime

func (RegionPathSelectorMetadata) DeleteTime added in v0.8.0

func (RegionPathSelectorMetadata) FieldPath

func (RegionPathSelectorMetadata) Generation

func (RegionPathSelectorMetadata) Labels

func (RegionPathSelectorMetadata) Lifecycle added in v0.8.0

func (RegionPathSelectorMetadata) OwnerReferences

func (RegionPathSelectorMetadata) ResourceVersion

func (RegionPathSelectorMetadata) Services added in v1.0.21

func (RegionPathSelectorMetadata) Shards

func (RegionPathSelectorMetadata) Syncing

func (RegionPathSelectorMetadata) Tags

func (RegionPathSelectorMetadata) UpdateTime

func (RegionPathSelectorMetadata) Uuid

func (RegionPathSelectorMetadata) WithArrayOfValues

func (RegionPathSelectorMetadata) WithSubArrayItemValue

func (RegionPathSelectorMetadata) WithSubArrayOfValues

func (RegionPathSelectorMetadata) WithSubPath

func (RegionPathSelectorMetadata) WithSubValue

func (RegionPathSelectorMetadata) WithValue

type RegionPathSelectorMetadataAnnotations

type RegionPathSelectorMetadataAnnotations struct{}

func (RegionPathSelectorMetadataAnnotations) FieldPath

func (RegionPathSelectorMetadataAnnotations) WithArrayOfValues

func (RegionPathSelectorMetadataAnnotations) WithKey

func (RegionPathSelectorMetadataAnnotations) WithValue

type RegionPathSelectorMetadataCreateTime

type RegionPathSelectorMetadataCreateTime struct{}

func (RegionPathSelectorMetadataCreateTime) FieldPath

func (RegionPathSelectorMetadataCreateTime) WithArrayOfValues

func (RegionPathSelectorMetadataCreateTime) WithValue

type RegionPathSelectorMetadataDeleteTime added in v0.8.0

type RegionPathSelectorMetadataDeleteTime struct{}

func (RegionPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type RegionPathSelectorMetadataGeneration

type RegionPathSelectorMetadataGeneration struct{}

func (RegionPathSelectorMetadataGeneration) FieldPath

func (RegionPathSelectorMetadataGeneration) WithArrayOfValues

func (RegionPathSelectorMetadataGeneration) WithValue

type RegionPathSelectorMetadataLabels

type RegionPathSelectorMetadataLabels struct{}

func (RegionPathSelectorMetadataLabels) FieldPath

func (RegionPathSelectorMetadataLabels) WithArrayOfValues

func (RegionPathSelectorMetadataLabels) WithKey

func (RegionPathSelectorMetadataLabels) WithValue

type RegionPathSelectorMetadataLifecycle added in v0.8.0

type RegionPathSelectorMetadataLifecycle struct{}

func (RegionPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (RegionPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataLifecycle) State added in v0.8.0

func (RegionPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type RegionPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type RegionPathSelectorMetadataLifecycleBlockDeletion struct{}

func (RegionPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type RegionPathSelectorMetadataLifecycleState added in v0.8.0

type RegionPathSelectorMetadataLifecycleState struct{}

func (RegionPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type RegionPathSelectorMetadataOwnerReferences

type RegionPathSelectorMetadataOwnerReferences struct{}

func (RegionPathSelectorMetadataOwnerReferences) Controller

func (RegionPathSelectorMetadataOwnerReferences) FieldPath

func (RegionPathSelectorMetadataOwnerReferences) Kind

func (RegionPathSelectorMetadataOwnerReferences) Name

func (RegionPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (RegionPathSelectorMetadataOwnerReferences) WithItemValue

func (RegionPathSelectorMetadataOwnerReferences) WithValue

type RegionPathSelectorMetadataOwnerReferencesController

type RegionPathSelectorMetadataOwnerReferencesController struct{}

func (RegionPathSelectorMetadataOwnerReferencesController) FieldPath

func (RegionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (RegionPathSelectorMetadataOwnerReferencesController) WithValue

type RegionPathSelectorMetadataOwnerReferencesKind

type RegionPathSelectorMetadataOwnerReferencesKind struct{}

func (RegionPathSelectorMetadataOwnerReferencesKind) FieldPath

func (RegionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (RegionPathSelectorMetadataOwnerReferencesKind) WithValue

type RegionPathSelectorMetadataOwnerReferencesName

type RegionPathSelectorMetadataOwnerReferencesName struct{}

func (RegionPathSelectorMetadataOwnerReferencesName) FieldPath

func (RegionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (RegionPathSelectorMetadataOwnerReferencesName) WithValue

type RegionPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type RegionPathSelectorMetadataOwnerReferencesRegion struct{}

func (RegionPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type RegionPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type RegionPathSelectorMetadataOwnerReferencesVersion struct{}

func (RegionPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (RegionPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type RegionPathSelectorMetadataResourceVersion

type RegionPathSelectorMetadataResourceVersion struct{}

func (RegionPathSelectorMetadataResourceVersion) FieldPath

func (RegionPathSelectorMetadataResourceVersion) WithArrayOfValues

func (RegionPathSelectorMetadataResourceVersion) WithValue

type RegionPathSelectorMetadataServices added in v1.0.21

type RegionPathSelectorMetadataServices struct{}

func (RegionPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (RegionPathSelectorMetadataServices) FieldPath added in v1.0.21

func (RegionPathSelectorMetadataServices) OwningService added in v1.0.21

func (RegionPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (RegionPathSelectorMetadataServices) WithValue added in v1.0.21

type RegionPathSelectorMetadataServicesAllowedServices added in v1.0.21

type RegionPathSelectorMetadataServicesAllowedServices struct{}

func (RegionPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (RegionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (RegionPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (RegionPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type RegionPathSelectorMetadataServicesOwningService added in v1.0.21

type RegionPathSelectorMetadataServicesOwningService struct{}

func (RegionPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (RegionPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (RegionPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type RegionPathSelectorMetadataShards

type RegionPathSelectorMetadataShards struct{}

func (RegionPathSelectorMetadataShards) FieldPath

func (RegionPathSelectorMetadataShards) WithArrayOfValues

func (RegionPathSelectorMetadataShards) WithKey

func (RegionPathSelectorMetadataShards) WithValue

type RegionPathSelectorMetadataSyncing

type RegionPathSelectorMetadataSyncing struct{}

func (RegionPathSelectorMetadataSyncing) FieldPath

func (RegionPathSelectorMetadataSyncing) OwningRegion

func (RegionPathSelectorMetadataSyncing) Regions

func (RegionPathSelectorMetadataSyncing) WithArrayOfValues

func (RegionPathSelectorMetadataSyncing) WithValue

type RegionPathSelectorMetadataSyncingOwningRegion

type RegionPathSelectorMetadataSyncingOwningRegion struct{}

func (RegionPathSelectorMetadataSyncingOwningRegion) FieldPath

func (RegionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (RegionPathSelectorMetadataSyncingOwningRegion) WithValue

type RegionPathSelectorMetadataSyncingRegions

type RegionPathSelectorMetadataSyncingRegions struct{}

func (RegionPathSelectorMetadataSyncingRegions) FieldPath

func (RegionPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (RegionPathSelectorMetadataSyncingRegions) WithItemValue

func (RegionPathSelectorMetadataSyncingRegions) WithValue

type RegionPathSelectorMetadataTags

type RegionPathSelectorMetadataTags struct{}

func (RegionPathSelectorMetadataTags) FieldPath

func (RegionPathSelectorMetadataTags) WithArrayOfValues

func (RegionPathSelectorMetadataTags) WithItemValue

func (RegionPathSelectorMetadataTags) WithValue

type RegionPathSelectorMetadataUpdateTime

type RegionPathSelectorMetadataUpdateTime struct{}

func (RegionPathSelectorMetadataUpdateTime) FieldPath

func (RegionPathSelectorMetadataUpdateTime) WithArrayOfValues

func (RegionPathSelectorMetadataUpdateTime) WithValue

type RegionPathSelectorMetadataUuid

type RegionPathSelectorMetadataUuid struct{}

func (RegionPathSelectorMetadataUuid) FieldPath

func (RegionPathSelectorMetadataUuid) WithArrayOfValues

func (RegionPathSelectorMetadataUuid) WithValue

type RegionPathSelectorName

type RegionPathSelectorName struct{}

func (RegionPathSelectorName) FieldPath

func (RegionPathSelectorName) WithArrayOfValues

func (s RegionPathSelectorName) WithArrayOfValues(values []*Name) *Region_FieldTerminalPathArrayOfValues

func (RegionPathSelectorName) WithValue

type RegionPathSelectorTitle

type RegionPathSelectorTitle struct{}

func (RegionPathSelectorTitle) FieldPath

func (RegionPathSelectorTitle) WithArrayOfValues

func (RegionPathSelectorTitle) WithValue

type RegionReferenceList

type RegionReferenceList []*Reference

func (RegionReferenceList) Append

func (RegionReferenceList) AppendList

func (RegionReferenceList) At

func (RegionReferenceList) Length

func (l RegionReferenceList) Length() int

func (RegionReferenceList) Set

func (RegionReferenceList) Slice

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

type RegionRegionConnectivityPreferenceFieldPathBuilder

type RegionRegionConnectivityPreferenceFieldPathBuilder struct{}

func NewRegionRegionConnectivityPreferenceFieldPathBuilder

func NewRegionRegionConnectivityPreferenceFieldPathBuilder() RegionRegionConnectivityPreferenceFieldPathBuilder

func (RegionRegionConnectivityPreferenceFieldPathBuilder) Dest

func (RegionRegionConnectivityPreferenceFieldPathBuilder) Score

type RegionRegionConnectivityPreference_FieldPath

type RegionRegionConnectivityPreference_FieldPath interface {
	gotenobject.FieldPath
	Selector() RegionRegionConnectivityPreference_FieldPathSelector
	Get(source *Region_RegionConnectivityPreference) []interface{}
	GetSingle(source *Region_RegionConnectivityPreference) (interface{}, bool)
	ClearValue(item *Region_RegionConnectivityPreference)

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

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

func MustParseRegionRegionConnectivityPreference_FieldPath

func MustParseRegionRegionConnectivityPreference_FieldPath(rawField string) RegionRegionConnectivityPreference_FieldPath

func ParseRegionRegionConnectivityPreference_FieldPath

func ParseRegionRegionConnectivityPreference_FieldPath(rawField string) (RegionRegionConnectivityPreference_FieldPath, error)

type RegionRegionConnectivityPreference_FieldPathArrayItemValue

type RegionRegionConnectivityPreference_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RegionRegionConnectivityPreference_FieldPath
	ContainsValue(*Region_RegionConnectivityPreference) bool
}

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

func MustParseRegionRegionConnectivityPreference_FieldPathArrayItemValue

func MustParseRegionRegionConnectivityPreference_FieldPathArrayItemValue(pathStr, valueStr string) RegionRegionConnectivityPreference_FieldPathArrayItemValue

func ParseRegionRegionConnectivityPreference_FieldPathArrayItemValue

func ParseRegionRegionConnectivityPreference_FieldPathArrayItemValue(pathStr, valueStr string) (RegionRegionConnectivityPreference_FieldPathArrayItemValue, error)

ParseRegionRegionConnectivityPreference_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RegionRegionConnectivityPreference_FieldPathArrayOfValues

type RegionRegionConnectivityPreference_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RegionRegionConnectivityPreference_FieldPath
}

RegionRegionConnectivityPreference_FieldPathArrayOfValues allows storing slice of values for RegionConnectivityPreference fields according to their type

func MustParseRegionRegionConnectivityPreference_FieldPathArrayOfValues

func MustParseRegionRegionConnectivityPreference_FieldPathArrayOfValues(pathStr, valuesStr string) RegionRegionConnectivityPreference_FieldPathArrayOfValues

func ParseRegionRegionConnectivityPreference_FieldPathArrayOfValues

func ParseRegionRegionConnectivityPreference_FieldPathArrayOfValues(pathStr, valuesStr string) (RegionRegionConnectivityPreference_FieldPathArrayOfValues, error)

type RegionRegionConnectivityPreference_FieldPathSelector

type RegionRegionConnectivityPreference_FieldPathSelector int32
const (
	RegionRegionConnectivityPreference_FieldPathSelectorDest  RegionRegionConnectivityPreference_FieldPathSelector = 0
	RegionRegionConnectivityPreference_FieldPathSelectorScore RegionRegionConnectivityPreference_FieldPathSelector = 1
)

func (RegionRegionConnectivityPreference_FieldPathSelector) String

type RegionRegionConnectivityPreference_FieldPathValue

type RegionRegionConnectivityPreference_FieldPathValue interface {
	RegionRegionConnectivityPreference_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Region_RegionConnectivityPreference)
	CompareWith(*Region_RegionConnectivityPreference) (cmp int, comparable bool)
}

RegionRegionConnectivityPreference_FieldPathValue allows storing values for RegionConnectivityPreference fields according to their type

func MustParseRegionRegionConnectivityPreference_FieldPathValue

func MustParseRegionRegionConnectivityPreference_FieldPathValue(pathStr, valueStr string) RegionRegionConnectivityPreference_FieldPathValue

func ParseRegionRegionConnectivityPreference_FieldPathValue

func ParseRegionRegionConnectivityPreference_FieldPathValue(pathStr, valueStr string) (RegionRegionConnectivityPreference_FieldPathValue, error)

type RegionRegionConnectivityPreference_FieldTerminalPath

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

func (*RegionRegionConnectivityPreference_FieldTerminalPath) ClearValue

func (*RegionRegionConnectivityPreference_FieldTerminalPath) ClearValueRaw

func (*RegionRegionConnectivityPreference_FieldTerminalPath) Get

Get returns all values pointed by specific field from source Region_RegionConnectivityPreference

func (*RegionRegionConnectivityPreference_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RegionRegionConnectivityPreference_FieldTerminalPath) GetRaw

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

func (*RegionRegionConnectivityPreference_FieldTerminalPath) GetSingle

GetSingle returns value pointed by specific field of from source Region_RegionConnectivityPreference

func (*RegionRegionConnectivityPreference_FieldTerminalPath) GetSingleRaw

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

func (*RegionRegionConnectivityPreference_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RegionRegionConnectivityPreference_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RegionRegionConnectivityPreference_FieldTerminalPath) Selector

func (*RegionRegionConnectivityPreference_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (*RegionRegionConnectivityPreference_FieldTerminalPath) String

String returns path representation in proto convention

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithIArrayItemValue

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithIArrayOfValues

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithIValue

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithRawIArrayItemValue

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RegionRegionConnectivityPreference_FieldTerminalPath) WithRawIValue

type RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue

type RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue struct {
	RegionRegionConnectivityPreference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue) GetSingle

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RegionRegionConnectivityPreference_FieldTerminalPathArrayOfValues

type RegionRegionConnectivityPreference_FieldTerminalPathArrayOfValues struct {
	RegionRegionConnectivityPreference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayOfValues) AsDestArrayOfValues

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayOfValues) AsScoreArrayOfValues

func (*RegionRegionConnectivityPreference_FieldTerminalPathArrayOfValues) GetRawValues

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

type RegionRegionConnectivityPreference_FieldTerminalPathValue

type RegionRegionConnectivityPreference_FieldTerminalPathValue struct {
	RegionRegionConnectivityPreference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) AsDestValue

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) AsScoreValue

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RegionRegionConnectivityPreference_FieldTerminalPathValue' with the value under path in 'Region_RegionConnectivityPreference'.

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) CompareWithRaw

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) GetRawValue

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

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

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object RegionConnectivityPreference

func (*RegionRegionConnectivityPreference_FieldTerminalPathValue) SetToRaw

type RegionRegionLocationFieldPathBuilder

type RegionRegionLocationFieldPathBuilder struct{}

func NewRegionRegionLocationFieldPathBuilder

func NewRegionRegionLocationFieldPathBuilder() RegionRegionLocationFieldPathBuilder

func (RegionRegionLocationFieldPathBuilder) Agglomeration

func (RegionRegionLocationFieldPathBuilder) City

func (RegionRegionLocationFieldPathBuilder) Cloud

func (RegionRegionLocationFieldPathBuilder) Continent

func (RegionRegionLocationFieldPathBuilder) Country

type RegionRegionLocation_FieldPath

type RegionRegionLocation_FieldPath interface {
	gotenobject.FieldPath
	Selector() RegionRegionLocation_FieldPathSelector
	Get(source *Region_RegionLocation) []interface{}
	GetSingle(source *Region_RegionLocation) (interface{}, bool)
	ClearValue(item *Region_RegionLocation)

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

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

func MustParseRegionRegionLocation_FieldPath

func MustParseRegionRegionLocation_FieldPath(rawField string) RegionRegionLocation_FieldPath

func ParseRegionRegionLocation_FieldPath

func ParseRegionRegionLocation_FieldPath(rawField string) (RegionRegionLocation_FieldPath, error)

type RegionRegionLocation_FieldPathArrayItemValue

type RegionRegionLocation_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RegionRegionLocation_FieldPath
	ContainsValue(*Region_RegionLocation) bool
}

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

func MustParseRegionRegionLocation_FieldPathArrayItemValue

func MustParseRegionRegionLocation_FieldPathArrayItemValue(pathStr, valueStr string) RegionRegionLocation_FieldPathArrayItemValue

func ParseRegionRegionLocation_FieldPathArrayItemValue

func ParseRegionRegionLocation_FieldPathArrayItemValue(pathStr, valueStr string) (RegionRegionLocation_FieldPathArrayItemValue, error)

ParseRegionRegionLocation_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RegionRegionLocation_FieldPathArrayOfValues

type RegionRegionLocation_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RegionRegionLocation_FieldPath
}

RegionRegionLocation_FieldPathArrayOfValues allows storing slice of values for RegionLocation fields according to their type

func MustParseRegionRegionLocation_FieldPathArrayOfValues

func MustParseRegionRegionLocation_FieldPathArrayOfValues(pathStr, valuesStr string) RegionRegionLocation_FieldPathArrayOfValues

func ParseRegionRegionLocation_FieldPathArrayOfValues

func ParseRegionRegionLocation_FieldPathArrayOfValues(pathStr, valuesStr string) (RegionRegionLocation_FieldPathArrayOfValues, error)

type RegionRegionLocation_FieldPathSelector

type RegionRegionLocation_FieldPathSelector int32
const (
	RegionRegionLocation_FieldPathSelectorContinent     RegionRegionLocation_FieldPathSelector = 0
	RegionRegionLocation_FieldPathSelectorCountry       RegionRegionLocation_FieldPathSelector = 1
	RegionRegionLocation_FieldPathSelectorAgglomeration RegionRegionLocation_FieldPathSelector = 2
	RegionRegionLocation_FieldPathSelectorCity          RegionRegionLocation_FieldPathSelector = 3
	RegionRegionLocation_FieldPathSelectorCloud         RegionRegionLocation_FieldPathSelector = 4
)

func (RegionRegionLocation_FieldPathSelector) String

type RegionRegionLocation_FieldPathValue

type RegionRegionLocation_FieldPathValue interface {
	RegionRegionLocation_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Region_RegionLocation)
	CompareWith(*Region_RegionLocation) (cmp int, comparable bool)
}

RegionRegionLocation_FieldPathValue allows storing values for RegionLocation fields according to their type

func MustParseRegionRegionLocation_FieldPathValue

func MustParseRegionRegionLocation_FieldPathValue(pathStr, valueStr string) RegionRegionLocation_FieldPathValue

func ParseRegionRegionLocation_FieldPathValue

func ParseRegionRegionLocation_FieldPathValue(pathStr, valueStr string) (RegionRegionLocation_FieldPathValue, error)

type RegionRegionLocation_FieldTerminalPath

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

func (*RegionRegionLocation_FieldTerminalPath) ClearValue

func (*RegionRegionLocation_FieldTerminalPath) ClearValueRaw

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

func (*RegionRegionLocation_FieldTerminalPath) Get

func (fp *RegionRegionLocation_FieldTerminalPath) Get(source *Region_RegionLocation) (values []interface{})

Get returns all values pointed by specific field from source Region_RegionLocation

func (*RegionRegionLocation_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*RegionRegionLocation_FieldTerminalPath) GetRaw

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

func (*RegionRegionLocation_FieldTerminalPath) GetSingle

func (fp *RegionRegionLocation_FieldTerminalPath) GetSingle(source *Region_RegionLocation) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Region_RegionLocation

func (*RegionRegionLocation_FieldTerminalPath) GetSingleRaw

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

func (*RegionRegionLocation_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RegionRegionLocation_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RegionRegionLocation_FieldTerminalPath) Selector

func (*RegionRegionLocation_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*RegionRegionLocation_FieldTerminalPath) String

String returns path representation in proto convention

func (*RegionRegionLocation_FieldTerminalPath) WithIArrayItemValue

func (*RegionRegionLocation_FieldTerminalPath) WithIArrayOfValues

func (*RegionRegionLocation_FieldTerminalPath) WithIValue

func (*RegionRegionLocation_FieldTerminalPath) WithRawIArrayItemValue

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

func (*RegionRegionLocation_FieldTerminalPath) WithRawIArrayOfValues

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

func (*RegionRegionLocation_FieldTerminalPath) WithRawIValue

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

type RegionRegionLocation_FieldTerminalPathArrayItemValue

type RegionRegionLocation_FieldTerminalPathArrayItemValue struct {
	RegionRegionLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionLocation_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*RegionRegionLocation_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*RegionRegionLocation_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *RegionRegionLocation_FieldTerminalPathArrayItemValue) GetSingle(source *Region_RegionLocation) (interface{}, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type RegionRegionLocation_FieldTerminalPathArrayOfValues

type RegionRegionLocation_FieldTerminalPathArrayOfValues struct {
	RegionRegionLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) AsAgglomerationArrayOfValues

func (fpaov *RegionRegionLocation_FieldTerminalPathArrayOfValues) AsAgglomerationArrayOfValues() ([]string, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCityArrayOfValues

func (fpaov *RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCityArrayOfValues() ([]string, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCloudArrayOfValues

func (fpaov *RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCloudArrayOfValues() ([]string, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) AsContinentArrayOfValues

func (fpaov *RegionRegionLocation_FieldTerminalPathArrayOfValues) AsContinentArrayOfValues() ([]string, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCountryArrayOfValues

func (fpaov *RegionRegionLocation_FieldTerminalPathArrayOfValues) AsCountryArrayOfValues() ([]string, bool)

func (*RegionRegionLocation_FieldTerminalPathArrayOfValues) GetRawValues

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

type RegionRegionLocation_FieldTerminalPathValue

type RegionRegionLocation_FieldTerminalPathValue struct {
	RegionRegionLocation_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RegionRegionLocation_FieldTerminalPathValue) AsAgglomerationValue

func (fpv *RegionRegionLocation_FieldTerminalPathValue) AsAgglomerationValue() (string, bool)

func (*RegionRegionLocation_FieldTerminalPathValue) AsCityValue

func (*RegionRegionLocation_FieldTerminalPathValue) AsCloudValue

func (*RegionRegionLocation_FieldTerminalPathValue) AsContinentValue

func (fpv *RegionRegionLocation_FieldTerminalPathValue) AsContinentValue() (string, bool)

func (*RegionRegionLocation_FieldTerminalPathValue) AsCountryValue

func (fpv *RegionRegionLocation_FieldTerminalPathValue) AsCountryValue() (string, bool)

func (*RegionRegionLocation_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RegionRegionLocation_FieldTerminalPathValue' with the value under path in 'Region_RegionLocation'.

func (*RegionRegionLocation_FieldTerminalPathValue) CompareWithRaw

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

func (*RegionRegionLocation_FieldTerminalPathValue) GetRawValue

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

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

func (*RegionRegionLocation_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object RegionLocation

func (*RegionRegionLocation_FieldTerminalPathValue) SetToRaw

type Region_FieldMask

type Region_FieldMask struct {
	Paths []Region_FieldPath
}

func FullRegion_FieldMask

func FullRegion_FieldMask() *Region_FieldMask

func ResourceViewFieldMask

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

func (*Region_FieldMask) AppendPath

func (fieldMask *Region_FieldMask) AppendPath(path Region_FieldPath)

func (*Region_FieldMask) AppendRawPath

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

func (*Region_FieldMask) DecodeFirestore

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

func (*Region_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Region_FieldMask) FilterInputFields

func (fieldMask *Region_FieldMask) FilterInputFields() *Region_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Region_FieldMask) FromProtoFieldMask

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

func (*Region_FieldMask) GetPaths

func (fieldMask *Region_FieldMask) GetPaths() []Region_FieldPath

func (*Region_FieldMask) GetRawPaths

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

func (*Region_FieldMask) IsFull

func (fieldMask *Region_FieldMask) IsFull() bool

func (Region_FieldMask) Marshal

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

implement methods required by customType

func (Region_FieldMask) MarshalJSON

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

func (*Region_FieldMask) PathsCount

func (fieldMask *Region_FieldMask) PathsCount() int

func (*Region_FieldMask) Project

func (fieldMask *Region_FieldMask) Project(source *Region) *Region

func (*Region_FieldMask) ProjectRaw

func (*Region_FieldMask) ProtoMessage

func (fieldMask *Region_FieldMask) ProtoMessage()

func (*Region_FieldMask) ProtoReflect

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

func (*Region_FieldMask) Reset

func (fieldMask *Region_FieldMask) Reset()

func (*Region_FieldMask) Set

func (fieldMask *Region_FieldMask) Set(target, source *Region)

func (*Region_FieldMask) SetFromCliFlag

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

func (*Region_FieldMask) SetRaw

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

func (*Region_FieldMask) Size

func (fieldMask *Region_FieldMask) Size() int

func (*Region_FieldMask) String

func (fieldMask *Region_FieldMask) String() string

func (*Region_FieldMask) Subtract

func (fieldMask *Region_FieldMask) Subtract(other *Region_FieldMask) *Region_FieldMask

func (*Region_FieldMask) SubtractRaw

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

func (*Region_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Region_FieldMask) Unmarshal

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

func (*Region_FieldMask) UnmarshalJSON

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

type Region_FieldPath

type Region_FieldPath interface {
	gotenobject.FieldPath
	Selector() Region_FieldPathSelector
	Get(source *Region) []interface{}
	GetSingle(source *Region) (interface{}, bool)
	ClearValue(item *Region)

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

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

func BuildRegion_FieldPath

func BuildRegion_FieldPath(fp gotenobject.RawFieldPath) (Region_FieldPath, error)

func MustParseRegion_FieldPath

func MustParseRegion_FieldPath(rawField string) Region_FieldPath

func ParseRegion_FieldPath

func ParseRegion_FieldPath(rawField string) (Region_FieldPath, error)

type Region_FieldPathArrayItemValue

type Region_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Region_FieldPath
	ContainsValue(*Region) bool
}

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

func MustParseRegion_FieldPathArrayItemValue

func MustParseRegion_FieldPathArrayItemValue(pathStr, valueStr string) Region_FieldPathArrayItemValue

func ParseRegion_FieldPathArrayItemValue

func ParseRegion_FieldPathArrayItemValue(pathStr, valueStr string) (Region_FieldPathArrayItemValue, error)

ParseRegion_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Region_FieldPathArrayOfValues

type Region_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Region_FieldPath
}

Region_FieldPathArrayOfValues allows storing slice of values for Region fields according to their type

func MustParseRegion_FieldPathArrayOfValues

func MustParseRegion_FieldPathArrayOfValues(pathStr, valuesStr string) Region_FieldPathArrayOfValues

func ParseRegion_FieldPathArrayOfValues

func ParseRegion_FieldPathArrayOfValues(pathStr, valuesStr string) (Region_FieldPathArrayOfValues, error)

type Region_FieldPathSelector

type Region_FieldPathSelector int32
const (
	Region_FieldPathSelectorName               Region_FieldPathSelector = 0
	Region_FieldPathSelectorTitle              Region_FieldPathSelector = 1
	Region_FieldPathSelectorDomain             Region_FieldPathSelector = 2
	Region_FieldPathSelectorLocation           Region_FieldPathSelector = 3
	Region_FieldPathSelectorIsDefault          Region_FieldPathSelector = 4
	Region_FieldPathSelectorConnectivityScores Region_FieldPathSelector = 5
	Region_FieldPathSelectorMetadata           Region_FieldPathSelector = 6
)

func (Region_FieldPathSelector) String

func (s Region_FieldPathSelector) String() string

type Region_FieldPathValue

type Region_FieldPathValue interface {
	Region_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Region)
	CompareWith(*Region) (cmp int, comparable bool)
}

Region_FieldPathValue allows storing values for Region fields according to their type

func MustParseRegion_FieldPathValue

func MustParseRegion_FieldPathValue(pathStr, valueStr string) Region_FieldPathValue

func ParseRegion_FieldPathValue

func ParseRegion_FieldPathValue(pathStr, valueStr string) (Region_FieldPathValue, error)

type Region_FieldSubPath

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

func (*Region_FieldSubPath) AsConnectivityScoresSubPath

func (fps *Region_FieldSubPath) AsConnectivityScoresSubPath() (RegionRegionConnectivityPreference_FieldPath, bool)

func (*Region_FieldSubPath) AsLocationSubPath

func (fps *Region_FieldSubPath) AsLocationSubPath() (RegionRegionLocation_FieldPath, bool)

func (*Region_FieldSubPath) AsMetadataSubPath

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

func (*Region_FieldSubPath) ClearValue

func (fps *Region_FieldSubPath) ClearValue(item *Region)

func (*Region_FieldSubPath) ClearValueRaw

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

func (*Region_FieldSubPath) Get

func (fps *Region_FieldSubPath) Get(source *Region) (values []interface{})

Get returns all values pointed by selected field from source Region

func (*Region_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Region_FieldSubPath) GetRaw

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

func (*Region_FieldSubPath) GetSingle

func (fps *Region_FieldSubPath) GetSingle(source *Region) (interface{}, bool)

GetSingle returns value of selected field from source Region

func (*Region_FieldSubPath) GetSingleRaw

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

func (*Region_FieldSubPath) IsLeaf

func (fps *Region_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Region_FieldSubPath) JSONString

func (fps *Region_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Region_FieldSubPath) Selector

func (*Region_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Region_FieldSubPath) String

func (fps *Region_FieldSubPath) String() string

String returns path representation in proto convention

func (*Region_FieldSubPath) WithIArrayItemValue

func (fps *Region_FieldSubPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue

func (*Region_FieldSubPath) WithIArrayOfValues

func (fps *Region_FieldSubPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues

func (*Region_FieldSubPath) WithIValue

func (fps *Region_FieldSubPath) WithIValue(value interface{}) Region_FieldPathValue

func (*Region_FieldSubPath) WithRawIArrayItemValue

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

func (*Region_FieldSubPath) WithRawIArrayOfValues

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

func (*Region_FieldSubPath) WithRawIValue

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

type Region_FieldSubPathArrayItemValue

type Region_FieldSubPathArrayItemValue struct {
	Region_FieldPath
	// contains filtered or unexported fields
}

func (*Region_FieldSubPathArrayItemValue) AsConnectivityScoresPathItemValue

func (*Region_FieldSubPathArrayItemValue) AsLocationPathItemValue

func (*Region_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*Region_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Region_FieldSubPathArrayItemValue) ContainsValue(source *Region) bool

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

func (*Region_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Region_FieldSubPathArrayOfValues

type Region_FieldSubPathArrayOfValues struct {
	Region_FieldPath
	// contains filtered or unexported fields
}

func (*Region_FieldSubPathArrayOfValues) AsConnectivityScoresPathArrayOfValues

func (fpsaov *Region_FieldSubPathArrayOfValues) AsConnectivityScoresPathArrayOfValues() (RegionRegionConnectivityPreference_FieldPathArrayOfValues, bool)

func (*Region_FieldSubPathArrayOfValues) AsLocationPathArrayOfValues

func (*Region_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Region_FieldSubPathArrayOfValues) GetRawValues

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

type Region_FieldSubPathValue

type Region_FieldSubPathValue struct {
	Region_FieldPath
	// contains filtered or unexported fields
}

func (*Region_FieldSubPathValue) AsConnectivityScoresPathValue

func (fpvs *Region_FieldSubPathValue) AsConnectivityScoresPathValue() (RegionRegionConnectivityPreference_FieldPathValue, bool)

func (*Region_FieldSubPathValue) AsLocationPathValue

func (fpvs *Region_FieldSubPathValue) AsLocationPathValue() (RegionRegionLocation_FieldPathValue, bool)

func (*Region_FieldSubPathValue) AsMetadataPathValue

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

func (*Region_FieldSubPathValue) CompareWith

func (fpvs *Region_FieldSubPathValue) CompareWith(source *Region) (int, bool)

func (*Region_FieldSubPathValue) CompareWithRaw

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

func (*Region_FieldSubPathValue) GetRawValue

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

func (*Region_FieldSubPathValue) SetTo

func (fpvs *Region_FieldSubPathValue) SetTo(target **Region)

func (*Region_FieldSubPathValue) SetToRaw

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

type Region_FieldTerminalPath

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

func (*Region_FieldTerminalPath) ClearValue

func (fp *Region_FieldTerminalPath) ClearValue(item *Region)

func (*Region_FieldTerminalPath) ClearValueRaw

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

func (*Region_FieldTerminalPath) Get

func (fp *Region_FieldTerminalPath) Get(source *Region) (values []interface{})

Get returns all values pointed by specific field from source Region

func (*Region_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Region_FieldTerminalPath) GetRaw

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

func (*Region_FieldTerminalPath) GetSingle

func (fp *Region_FieldTerminalPath) GetSingle(source *Region) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Region

func (*Region_FieldTerminalPath) GetSingleRaw

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

func (*Region_FieldTerminalPath) IsLeaf

func (fp *Region_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Region_FieldTerminalPath) JSONString

func (fp *Region_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Region_FieldTerminalPath) Selector

func (*Region_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Region_FieldTerminalPath) String

func (fp *Region_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Region_FieldTerminalPath) WithIArrayItemValue

func (fp *Region_FieldTerminalPath) WithIArrayItemValue(value interface{}) Region_FieldPathArrayItemValue

func (*Region_FieldTerminalPath) WithIArrayOfValues

func (fp *Region_FieldTerminalPath) WithIArrayOfValues(values interface{}) Region_FieldPathArrayOfValues

func (*Region_FieldTerminalPath) WithIValue

func (fp *Region_FieldTerminalPath) WithIValue(value interface{}) Region_FieldPathValue

func (*Region_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Region_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Region_FieldTerminalPath) WithRawIValue

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

type Region_FieldTerminalPathArrayItemValue

type Region_FieldTerminalPathArrayItemValue struct {
	Region_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Region_FieldTerminalPathArrayItemValue) AsConnectivityScoresItemValue

func (fpaiv *Region_FieldTerminalPathArrayItemValue) AsConnectivityScoresItemValue() (*Region_RegionConnectivityPreference, bool)

func (*Region_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Region_FieldTerminalPathArrayItemValue) ContainsValue(source *Region) bool

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

func (*Region_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Region_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Region_FieldTerminalPathArrayItemValue) GetSingle(source *Region) (interface{}, bool)

func (*Region_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Region_FieldTerminalPathArrayOfValues

type Region_FieldTerminalPathArrayOfValues struct {
	Region_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Region_FieldTerminalPathArrayOfValues) AsConnectivityScoresArrayOfValues

func (fpaov *Region_FieldTerminalPathArrayOfValues) AsConnectivityScoresArrayOfValues() ([][]*Region_RegionConnectivityPreference, bool)

func (*Region_FieldTerminalPathArrayOfValues) AsDomainArrayOfValues

func (fpaov *Region_FieldTerminalPathArrayOfValues) AsDomainArrayOfValues() ([]string, bool)

func (*Region_FieldTerminalPathArrayOfValues) AsIsDefaultArrayOfValues

func (fpaov *Region_FieldTerminalPathArrayOfValues) AsIsDefaultArrayOfValues() ([]bool, bool)

func (*Region_FieldTerminalPathArrayOfValues) AsLocationArrayOfValues

func (fpaov *Region_FieldTerminalPathArrayOfValues) AsLocationArrayOfValues() ([]*Region_RegionLocation, bool)

func (*Region_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Region_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Region_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues

func (fpaov *Region_FieldTerminalPathArrayOfValues) AsTitleArrayOfValues() ([]string, bool)

func (*Region_FieldTerminalPathArrayOfValues) GetRawValues

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

type Region_FieldTerminalPathValue

type Region_FieldTerminalPathValue struct {
	Region_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Region_FieldTerminalPathValue) AsConnectivityScoresValue

func (fpv *Region_FieldTerminalPathValue) AsConnectivityScoresValue() ([]*Region_RegionConnectivityPreference, bool)

func (*Region_FieldTerminalPathValue) AsDomainValue

func (fpv *Region_FieldTerminalPathValue) AsDomainValue() (string, bool)

func (*Region_FieldTerminalPathValue) AsIsDefaultValue

func (fpv *Region_FieldTerminalPathValue) AsIsDefaultValue() (bool, bool)

func (*Region_FieldTerminalPathValue) AsLocationValue

func (fpv *Region_FieldTerminalPathValue) AsLocationValue() (*Region_RegionLocation, bool)

func (*Region_FieldTerminalPathValue) AsMetadataValue

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

func (*Region_FieldTerminalPathValue) AsNameValue

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

func (*Region_FieldTerminalPathValue) AsTitleValue

func (fpv *Region_FieldTerminalPathValue) AsTitleValue() (string, bool)

func (*Region_FieldTerminalPathValue) CompareWith

func (fpv *Region_FieldTerminalPathValue) CompareWith(source *Region) (int, bool)

CompareWith compares value in the 'Region_FieldTerminalPathValue' with the value under path in 'Region'.

func (*Region_FieldTerminalPathValue) CompareWithRaw

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

func (*Region_FieldTerminalPathValue) GetRawValue

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

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

func (*Region_FieldTerminalPathValue) SetTo

func (fpv *Region_FieldTerminalPathValue) SetTo(target **Region)

SetTo stores value for selected field for object Region

func (*Region_FieldTerminalPathValue) SetToRaw

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

type Region_RegionConnectivityPreference

type Region_RegionConnectivityPreference struct {

	// Destination region
	Dest *Reference `protobuf:"bytes,2,opt,customtype=Reference,name=dest,proto3" json:"dest,omitempty" firestore:"dest"`
	// Hardcoded score
	Score int32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty" firestore:"score"`
	// contains filtered or unexported fields
}

RegionConnectivityPreference is a hardcoded connectivity score to other region.

func (*Region_RegionConnectivityPreference) Clone

func (*Region_RegionConnectivityPreference) CloneRaw

func (*Region_RegionConnectivityPreference) Descriptor

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

Deprecated, Use Region_RegionConnectivityPreference.ProtoReflect.Descriptor instead.

func (*Region_RegionConnectivityPreference) GetDest

func (*Region_RegionConnectivityPreference) GetScore

func (*Region_RegionConnectivityPreference) GotenMessage

func (*Region_RegionConnectivityPreference) GotenMessage()

func (*Region_RegionConnectivityPreference) GotenObjectExt

func (o *Region_RegionConnectivityPreference) GotenObjectExt()

func (*Region_RegionConnectivityPreference) GotenValidate

func (obj *Region_RegionConnectivityPreference) GotenValidate() error

func (*Region_RegionConnectivityPreference) MakeFullFieldMask

func (*Region_RegionConnectivityPreference) MakeRawDiffFieldMask

func (*Region_RegionConnectivityPreference) MakeRawFullFieldMask

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

func (*Region_RegionConnectivityPreference) Marshal

func (*Region_RegionConnectivityPreference) MarshalJSON

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

func (*Region_RegionConnectivityPreference) Merge

func (*Region_RegionConnectivityPreference) MergeRaw

func (*Region_RegionConnectivityPreference) ProtoMessage

func (*Region_RegionConnectivityPreference) ProtoMessage()

func (*Region_RegionConnectivityPreference) ProtoReflect

func (*Region_RegionConnectivityPreference) Reset

func (*Region_RegionConnectivityPreference) SetDest

func (*Region_RegionConnectivityPreference) SetScore

func (*Region_RegionConnectivityPreference) String

func (*Region_RegionConnectivityPreference) Unmarshal

func (*Region_RegionConnectivityPreference) UnmarshalJSON

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

type Region_RegionConnectivityPreferencePathSelectorDest

type Region_RegionConnectivityPreferencePathSelectorDest struct{}

func (Region_RegionConnectivityPreferencePathSelectorDest) FieldPath

func (Region_RegionConnectivityPreferencePathSelectorDest) WithArrayOfValues

func (Region_RegionConnectivityPreferencePathSelectorDest) WithValue

type Region_RegionConnectivityPreferencePathSelectorScore

type Region_RegionConnectivityPreferencePathSelectorScore struct{}

func (Region_RegionConnectivityPreferencePathSelectorScore) FieldPath

func (Region_RegionConnectivityPreferencePathSelectorScore) WithArrayOfValues

func (Region_RegionConnectivityPreferencePathSelectorScore) WithValue

type Region_RegionConnectivityPreference_FieldMask

type Region_RegionConnectivityPreference_FieldMask struct {
	Paths []RegionRegionConnectivityPreference_FieldPath
}

func FullRegion_RegionConnectivityPreference_FieldMask

func FullRegion_RegionConnectivityPreference_FieldMask() *Region_RegionConnectivityPreference_FieldMask

func (*Region_RegionConnectivityPreference_FieldMask) AppendPath

func (*Region_RegionConnectivityPreference_FieldMask) AppendRawPath

func (*Region_RegionConnectivityPreference_FieldMask) DecodeFirestore

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

func (*Region_RegionConnectivityPreference_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Region_RegionConnectivityPreference_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Region_RegionConnectivityPreference_FieldMask) FromProtoFieldMask

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

func (*Region_RegionConnectivityPreference_FieldMask) GetPaths

func (*Region_RegionConnectivityPreference_FieldMask) GetRawPaths

func (*Region_RegionConnectivityPreference_FieldMask) IsFull

func (Region_RegionConnectivityPreference_FieldMask) Marshal

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

implement methods required by customType

func (Region_RegionConnectivityPreference_FieldMask) MarshalJSON

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

func (*Region_RegionConnectivityPreference_FieldMask) PathsCount

func (fieldMask *Region_RegionConnectivityPreference_FieldMask) PathsCount() int

func (*Region_RegionConnectivityPreference_FieldMask) Project

func (*Region_RegionConnectivityPreference_FieldMask) ProjectRaw

func (*Region_RegionConnectivityPreference_FieldMask) ProtoMessage

func (fieldMask *Region_RegionConnectivityPreference_FieldMask) ProtoMessage()

func (*Region_RegionConnectivityPreference_FieldMask) ProtoReflect

func (*Region_RegionConnectivityPreference_FieldMask) Reset

func (*Region_RegionConnectivityPreference_FieldMask) Set

func (*Region_RegionConnectivityPreference_FieldMask) SetFromCliFlag

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

func (*Region_RegionConnectivityPreference_FieldMask) SetRaw

func (*Region_RegionConnectivityPreference_FieldMask) Size

func (*Region_RegionConnectivityPreference_FieldMask) String

func (*Region_RegionConnectivityPreference_FieldMask) SubtractRaw

func (*Region_RegionConnectivityPreference_FieldMask) ToProtoFieldMask

ToFieldMask is used for proto conversions

func (*Region_RegionConnectivityPreference_FieldMask) Unmarshal

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

func (*Region_RegionConnectivityPreference_FieldMask) UnmarshalJSON

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

type Region_RegionLocation

type Region_RegionLocation struct {
	Continent     string `protobuf:"bytes,1,opt,name=continent,proto3" json:"continent,omitempty" firestore:"continent"`
	Country       string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty" firestore:"country"`
	Agglomeration string `protobuf:"bytes,3,opt,name=agglomeration,proto3" json:"agglomeration,omitempty" firestore:"agglomeration"`
	City          string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty" firestore:"city"`
	Cloud         string `protobuf:"bytes,5,opt,name=cloud,proto3" json:"cloud,omitempty" firestore:"cloud"`
	// contains filtered or unexported fields
}

RegionLocation describes deployment location of a region.

func (*Region_RegionLocation) Clone

func (*Region_RegionLocation) CloneRaw

func (*Region_RegionLocation) Descriptor

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

Deprecated, Use Region_RegionLocation.ProtoReflect.Descriptor instead.

func (*Region_RegionLocation) GetAgglomeration

func (m *Region_RegionLocation) GetAgglomeration() string

func (*Region_RegionLocation) GetCity

func (m *Region_RegionLocation) GetCity() string

func (*Region_RegionLocation) GetCloud

func (m *Region_RegionLocation) GetCloud() string

func (*Region_RegionLocation) GetContinent

func (m *Region_RegionLocation) GetContinent() string

func (*Region_RegionLocation) GetCountry

func (m *Region_RegionLocation) GetCountry() string

func (*Region_RegionLocation) GotenMessage

func (*Region_RegionLocation) GotenMessage()

func (*Region_RegionLocation) GotenObjectExt

func (o *Region_RegionLocation) GotenObjectExt()

func (*Region_RegionLocation) GotenValidate

func (obj *Region_RegionLocation) GotenValidate() error

func (*Region_RegionLocation) MakeDiffFieldMask

func (*Region_RegionLocation) MakeFullFieldMask

func (*Region_RegionLocation) MakeRawDiffFieldMask

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

func (*Region_RegionLocation) MakeRawFullFieldMask

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

func (*Region_RegionLocation) Marshal

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

func (*Region_RegionLocation) MarshalJSON

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

func (*Region_RegionLocation) Merge

func (o *Region_RegionLocation) Merge(source *Region_RegionLocation)

func (*Region_RegionLocation) MergeRaw

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

func (*Region_RegionLocation) ProtoMessage

func (*Region_RegionLocation) ProtoMessage()

func (*Region_RegionLocation) ProtoReflect

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

func (*Region_RegionLocation) Reset

func (m *Region_RegionLocation) Reset()

func (*Region_RegionLocation) SetAgglomeration

func (m *Region_RegionLocation) SetAgglomeration(fv string)

func (*Region_RegionLocation) SetCity

func (m *Region_RegionLocation) SetCity(fv string)

func (*Region_RegionLocation) SetCloud

func (m *Region_RegionLocation) SetCloud(fv string)

func (*Region_RegionLocation) SetContinent

func (m *Region_RegionLocation) SetContinent(fv string)

func (*Region_RegionLocation) SetCountry

func (m *Region_RegionLocation) SetCountry(fv string)

func (*Region_RegionLocation) String

func (m *Region_RegionLocation) String() string

func (*Region_RegionLocation) Unmarshal

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

func (*Region_RegionLocation) UnmarshalJSON

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

type Region_RegionLocationPathSelectorAgglomeration

type Region_RegionLocationPathSelectorAgglomeration struct{}

func (Region_RegionLocationPathSelectorAgglomeration) FieldPath

func (Region_RegionLocationPathSelectorAgglomeration) WithArrayOfValues

func (Region_RegionLocationPathSelectorAgglomeration) WithValue

type Region_RegionLocationPathSelectorCity

type Region_RegionLocationPathSelectorCity struct{}

func (Region_RegionLocationPathSelectorCity) FieldPath

func (Region_RegionLocationPathSelectorCity) WithArrayOfValues

func (Region_RegionLocationPathSelectorCity) WithValue

type Region_RegionLocationPathSelectorCloud

type Region_RegionLocationPathSelectorCloud struct{}

func (Region_RegionLocationPathSelectorCloud) FieldPath

func (Region_RegionLocationPathSelectorCloud) WithArrayOfValues

func (Region_RegionLocationPathSelectorCloud) WithValue

type Region_RegionLocationPathSelectorContinent

type Region_RegionLocationPathSelectorContinent struct{}

func (Region_RegionLocationPathSelectorContinent) FieldPath

func (Region_RegionLocationPathSelectorContinent) WithArrayOfValues

func (Region_RegionLocationPathSelectorContinent) WithValue

type Region_RegionLocationPathSelectorCountry

type Region_RegionLocationPathSelectorCountry struct{}

func (Region_RegionLocationPathSelectorCountry) FieldPath

func (Region_RegionLocationPathSelectorCountry) WithArrayOfValues

func (Region_RegionLocationPathSelectorCountry) WithValue

type Region_RegionLocation_FieldMask

type Region_RegionLocation_FieldMask struct {
	Paths []RegionRegionLocation_FieldPath
}

func FullRegion_RegionLocation_FieldMask

func FullRegion_RegionLocation_FieldMask() *Region_RegionLocation_FieldMask

func (*Region_RegionLocation_FieldMask) AppendPath

func (*Region_RegionLocation_FieldMask) AppendRawPath

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

func (*Region_RegionLocation_FieldMask) DecodeFirestore

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

func (*Region_RegionLocation_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Region_RegionLocation_FieldMask) FilterInputFields

func (fieldMask *Region_RegionLocation_FieldMask) FilterInputFields() *Region_RegionLocation_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Region_RegionLocation_FieldMask) FromProtoFieldMask

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

func (*Region_RegionLocation_FieldMask) GetPaths

func (*Region_RegionLocation_FieldMask) GetRawPaths

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

func (*Region_RegionLocation_FieldMask) IsFull

func (fieldMask *Region_RegionLocation_FieldMask) IsFull() bool

func (Region_RegionLocation_FieldMask) Marshal

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

implement methods required by customType

func (Region_RegionLocation_FieldMask) MarshalJSON

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

func (*Region_RegionLocation_FieldMask) PathsCount

func (fieldMask *Region_RegionLocation_FieldMask) PathsCount() int

func (*Region_RegionLocation_FieldMask) Project

func (*Region_RegionLocation_FieldMask) ProjectRaw

func (*Region_RegionLocation_FieldMask) ProtoMessage

func (fieldMask *Region_RegionLocation_FieldMask) ProtoMessage()

func (*Region_RegionLocation_FieldMask) ProtoReflect

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

func (*Region_RegionLocation_FieldMask) Reset

func (fieldMask *Region_RegionLocation_FieldMask) Reset()

func (*Region_RegionLocation_FieldMask) Set

func (fieldMask *Region_RegionLocation_FieldMask) Set(target, source *Region_RegionLocation)

func (*Region_RegionLocation_FieldMask) SetFromCliFlag

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

func (*Region_RegionLocation_FieldMask) SetRaw

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

func (*Region_RegionLocation_FieldMask) Size

func (fieldMask *Region_RegionLocation_FieldMask) Size() int

func (*Region_RegionLocation_FieldMask) String

func (fieldMask *Region_RegionLocation_FieldMask) String() string

func (*Region_RegionLocation_FieldMask) Subtract

func (*Region_RegionLocation_FieldMask) SubtractRaw

func (*Region_RegionLocation_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Region_RegionLocation_FieldMask) Unmarshal

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

func (*Region_RegionLocation_FieldMask) UnmarshalJSON

func (fieldMask *Region_RegionLocation_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 added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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