meta

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 26 Imported by: 128

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Lifecycle_State_name = map[int32]string{
		0: "UNDEFINED",
		1: "ACTIVE",
		2: "DELETING",
	}

	Lifecycle_State_value = map[string]int32{
		"UNDEFINED": 0,
		"ACTIVE":    1,
		"DELETING":  2,
	}
)

Functions

func MakeShardFullKey

func MakeShardFullKey(label string, ringSize int) string

Types

type LabelSelector

type LabelSelector struct {

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	MatchLabels map[string]string `` /* 206-byte string literal not displayed */
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []*LabelSelectorRequirement `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

func (*LabelSelector) Clone

func (o *LabelSelector) Clone() *LabelSelector

func (*LabelSelector) CloneRaw

func (*LabelSelector) Descriptor

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

Deprecated, Use LabelSelector.ProtoReflect.Descriptor instead.

func (*LabelSelector) GetMatchExpressions

func (m *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement

func (*LabelSelector) GetMatchLabels

func (m *LabelSelector) GetMatchLabels() map[string]string

func (*LabelSelector) GotenMessage

func (*LabelSelector) GotenMessage()

func (*LabelSelector) GotenObjectExt

func (o *LabelSelector) GotenObjectExt()

func (*LabelSelector) GotenValidate

func (obj *LabelSelector) GotenValidate() error

func (*LabelSelector) MakeDiffFieldMask

func (o *LabelSelector) MakeDiffFieldMask(other *LabelSelector) *LabelSelector_FieldMask

func (*LabelSelector) MakeFullFieldMask

func (o *LabelSelector) MakeFullFieldMask() *LabelSelector_FieldMask

func (*LabelSelector) MakeRawDiffFieldMask

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

func (*LabelSelector) MakeRawFullFieldMask

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

func (*LabelSelector) Marshal

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

func (*LabelSelector) MarshalJSON

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

func (*LabelSelector) Matches

func (ls *LabelSelector) Matches(meta *Meta) bool

LabelSelector test to match meta of selected object object meta may be null. In case no labels are selector labels are specified it will match everything

func (*LabelSelector) Merge

func (o *LabelSelector) Merge(source *LabelSelector)

func (*LabelSelector) MergeRaw

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

func (*LabelSelector) ProtoMessage

func (*LabelSelector) ProtoMessage()

func (*LabelSelector) ProtoReflect

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

func (*LabelSelector) Reset

func (m *LabelSelector) Reset()

func (*LabelSelector) SetMatchExpressions

func (m *LabelSelector) SetMatchExpressions(fv []*LabelSelectorRequirement)

func (*LabelSelector) SetMatchLabels

func (m *LabelSelector) SetMatchLabels(fv map[string]string)

func (*LabelSelector) String

func (m *LabelSelector) String() string

func (*LabelSelector) Unmarshal

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

func (*LabelSelector) UnmarshalJSON

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

type LabelSelectorFieldPathBuilder

type LabelSelectorFieldPathBuilder struct{}

func NewLabelSelectorFieldPathBuilder

func NewLabelSelectorFieldPathBuilder() LabelSelectorFieldPathBuilder

func (LabelSelectorFieldPathBuilder) MatchExpressions

func (LabelSelectorFieldPathBuilder) MatchLabels

type LabelSelectorMapPathSelectorMatchLabels

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

func (LabelSelectorMapPathSelectorMatchLabels) FieldPath

func (LabelSelectorMapPathSelectorMatchLabels) WithArrayOfValues

func (LabelSelectorMapPathSelectorMatchLabels) WithValue

type LabelSelectorPathSelectorMatchExpressions

type LabelSelectorPathSelectorMatchExpressions struct{}

func (LabelSelectorPathSelectorMatchExpressions) FieldPath

func (LabelSelectorPathSelectorMatchExpressions) Key

func (LabelSelectorPathSelectorMatchExpressions) Operator

func (LabelSelectorPathSelectorMatchExpressions) Values

func (LabelSelectorPathSelectorMatchExpressions) WithArrayOfValues

func (LabelSelectorPathSelectorMatchExpressions) WithItemValue

func (LabelSelectorPathSelectorMatchExpressions) WithSubArrayItemValue

func (LabelSelectorPathSelectorMatchExpressions) WithSubArrayOfValues

func (LabelSelectorPathSelectorMatchExpressions) WithSubPath

func (LabelSelectorPathSelectorMatchExpressions) WithSubValue

func (LabelSelectorPathSelectorMatchExpressions) WithValue

type LabelSelectorPathSelectorMatchExpressionsKey

type LabelSelectorPathSelectorMatchExpressionsKey struct{}

func (LabelSelectorPathSelectorMatchExpressionsKey) FieldPath

func (LabelSelectorPathSelectorMatchExpressionsKey) WithArrayOfValues

func (LabelSelectorPathSelectorMatchExpressionsKey) WithValue

type LabelSelectorPathSelectorMatchExpressionsOperator

type LabelSelectorPathSelectorMatchExpressionsOperator struct{}

func (LabelSelectorPathSelectorMatchExpressionsOperator) FieldPath

func (LabelSelectorPathSelectorMatchExpressionsOperator) WithArrayOfValues

func (LabelSelectorPathSelectorMatchExpressionsOperator) WithValue

type LabelSelectorPathSelectorMatchExpressionsValues

type LabelSelectorPathSelectorMatchExpressionsValues struct{}

func (LabelSelectorPathSelectorMatchExpressionsValues) FieldPath

func (LabelSelectorPathSelectorMatchExpressionsValues) WithArrayOfValues

func (LabelSelectorPathSelectorMatchExpressionsValues) WithItemValue

func (LabelSelectorPathSelectorMatchExpressionsValues) WithValue

type LabelSelectorPathSelectorMatchLabels

type LabelSelectorPathSelectorMatchLabels struct{}

func (LabelSelectorPathSelectorMatchLabels) FieldPath

func (LabelSelectorPathSelectorMatchLabels) WithArrayOfValues

func (LabelSelectorPathSelectorMatchLabels) WithKey

func (LabelSelectorPathSelectorMatchLabels) WithValue

type LabelSelectorRequirement

type LabelSelectorRequirement struct {

	// key is the label key that the selector applies to.
	// +patchMergeKey=key
	// +patchStrategy=merge
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" firestore:"key"`
	// operator represents a key's relationship to a set of values.
	// Valid operators are In, NotIn, Exists and DoesNotExist.
	Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty" firestore:"operator"`
	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty" firestore:"values"`
	// contains filtered or unexported fields
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*LabelSelectorRequirement) Clone

func (*LabelSelectorRequirement) CloneRaw

func (*LabelSelectorRequirement) Descriptor

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

Deprecated, Use LabelSelectorRequirement.ProtoReflect.Descriptor instead.

func (*LabelSelectorRequirement) GetKey

func (m *LabelSelectorRequirement) GetKey() string

func (*LabelSelectorRequirement) GetOperator

func (m *LabelSelectorRequirement) GetOperator() string

func (*LabelSelectorRequirement) GetValues

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

func (*LabelSelectorRequirement) GotenMessage

func (*LabelSelectorRequirement) GotenMessage()

func (*LabelSelectorRequirement) GotenObjectExt

func (o *LabelSelectorRequirement) GotenObjectExt()

func (*LabelSelectorRequirement) GotenValidate

func (obj *LabelSelectorRequirement) GotenValidate() error

func (*LabelSelectorRequirement) MakeDiffFieldMask

func (*LabelSelectorRequirement) MakeFullFieldMask

func (*LabelSelectorRequirement) MakeRawDiffFieldMask

func (*LabelSelectorRequirement) MakeRawFullFieldMask

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

func (*LabelSelectorRequirement) Marshal

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

func (*LabelSelectorRequirement) MarshalJSON

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

func (*LabelSelectorRequirement) Merge

func (*LabelSelectorRequirement) MergeRaw

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) ProtoReflect

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

func (*LabelSelectorRequirement) Reset

func (m *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) SetKey

func (m *LabelSelectorRequirement) SetKey(fv string)

func (*LabelSelectorRequirement) SetOperator

func (m *LabelSelectorRequirement) SetOperator(fv string)

func (*LabelSelectorRequirement) SetValues

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

func (*LabelSelectorRequirement) String

func (m *LabelSelectorRequirement) String() string

func (*LabelSelectorRequirement) Unmarshal

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

func (*LabelSelectorRequirement) UnmarshalJSON

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

type LabelSelectorRequirementFieldPathBuilder

type LabelSelectorRequirementFieldPathBuilder struct{}

func NewLabelSelectorRequirementFieldPathBuilder

func NewLabelSelectorRequirementFieldPathBuilder() LabelSelectorRequirementFieldPathBuilder

func (LabelSelectorRequirementFieldPathBuilder) Key

func (LabelSelectorRequirementFieldPathBuilder) Operator

func (LabelSelectorRequirementFieldPathBuilder) Values

type LabelSelectorRequirementPathSelectorKey

type LabelSelectorRequirementPathSelectorKey struct{}

func (LabelSelectorRequirementPathSelectorKey) FieldPath

func (LabelSelectorRequirementPathSelectorKey) WithArrayOfValues

func (LabelSelectorRequirementPathSelectorKey) WithValue

type LabelSelectorRequirementPathSelectorOperator

type LabelSelectorRequirementPathSelectorOperator struct{}

func (LabelSelectorRequirementPathSelectorOperator) FieldPath

func (LabelSelectorRequirementPathSelectorOperator) WithArrayOfValues

func (LabelSelectorRequirementPathSelectorOperator) WithValue

type LabelSelectorRequirementPathSelectorValues

type LabelSelectorRequirementPathSelectorValues struct{}

func (LabelSelectorRequirementPathSelectorValues) FieldPath

func (LabelSelectorRequirementPathSelectorValues) WithArrayOfValues

func (LabelSelectorRequirementPathSelectorValues) WithItemValue

func (LabelSelectorRequirementPathSelectorValues) WithValue

type LabelSelectorRequirement_FieldMask

type LabelSelectorRequirement_FieldMask struct {
	Paths []LabelSelectorRequirement_FieldPath
}

func FullLabelSelectorRequirement_FieldMask

func FullLabelSelectorRequirement_FieldMask() *LabelSelectorRequirement_FieldMask

func (*LabelSelectorRequirement_FieldMask) AppendPath

func (*LabelSelectorRequirement_FieldMask) AppendRawPath

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

func (*LabelSelectorRequirement_FieldMask) DecodeFirestore

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

func (*LabelSelectorRequirement_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelSelectorRequirement_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelSelectorRequirement_FieldMask) FromProtoFieldMask

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

func (*LabelSelectorRequirement_FieldMask) GetPaths

func (*LabelSelectorRequirement_FieldMask) GetRawPaths

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

func (*LabelSelectorRequirement_FieldMask) IsFull

func (fieldMask *LabelSelectorRequirement_FieldMask) IsFull() bool

func (LabelSelectorRequirement_FieldMask) Marshal

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

implement methods required by customType

func (LabelSelectorRequirement_FieldMask) MarshalJSON

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

func (*LabelSelectorRequirement_FieldMask) PathsCount

func (fieldMask *LabelSelectorRequirement_FieldMask) PathsCount() int

func (*LabelSelectorRequirement_FieldMask) Project

func (*LabelSelectorRequirement_FieldMask) ProjectRaw

func (*LabelSelectorRequirement_FieldMask) ProtoMessage

func (fieldMask *LabelSelectorRequirement_FieldMask) ProtoMessage()

func (*LabelSelectorRequirement_FieldMask) ProtoReflect

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

func (*LabelSelectorRequirement_FieldMask) Reset

func (fieldMask *LabelSelectorRequirement_FieldMask) Reset()

func (*LabelSelectorRequirement_FieldMask) Set

func (fieldMask *LabelSelectorRequirement_FieldMask) Set(target, source *LabelSelectorRequirement)

func (*LabelSelectorRequirement_FieldMask) SetFromCliFlag

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

func (*LabelSelectorRequirement_FieldMask) SetRaw

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

func (*LabelSelectorRequirement_FieldMask) Size

func (fieldMask *LabelSelectorRequirement_FieldMask) Size() int

func (*LabelSelectorRequirement_FieldMask) String

func (fieldMask *LabelSelectorRequirement_FieldMask) String() string

func (*LabelSelectorRequirement_FieldMask) Subtract

func (*LabelSelectorRequirement_FieldMask) SubtractRaw

func (*LabelSelectorRequirement_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelSelectorRequirement_FieldMask) Unmarshal

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

func (*LabelSelectorRequirement_FieldMask) UnmarshalJSON

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

type LabelSelectorRequirement_FieldPath

type LabelSelectorRequirement_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelSelectorRequirement_FieldPathSelector
	Get(source *LabelSelectorRequirement) []interface{}
	GetSingle(source *LabelSelectorRequirement) (interface{}, bool)
	ClearValue(item *LabelSelectorRequirement)

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

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

func MustParseLabelSelectorRequirement_FieldPath

func MustParseLabelSelectorRequirement_FieldPath(rawField string) LabelSelectorRequirement_FieldPath

func ParseLabelSelectorRequirement_FieldPath

func ParseLabelSelectorRequirement_FieldPath(rawField string) (LabelSelectorRequirement_FieldPath, error)

type LabelSelectorRequirement_FieldPathArrayItemValue

type LabelSelectorRequirement_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelSelectorRequirement_FieldPath
	ContainsValue(*LabelSelectorRequirement) bool
}

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

func MustParseLabelSelectorRequirement_FieldPathArrayItemValue

func MustParseLabelSelectorRequirement_FieldPathArrayItemValue(pathStr, valueStr string) LabelSelectorRequirement_FieldPathArrayItemValue

func ParseLabelSelectorRequirement_FieldPathArrayItemValue

func ParseLabelSelectorRequirement_FieldPathArrayItemValue(pathStr, valueStr string) (LabelSelectorRequirement_FieldPathArrayItemValue, error)

ParseLabelSelectorRequirement_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelSelectorRequirement_FieldPathArrayOfValues

type LabelSelectorRequirement_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelSelectorRequirement_FieldPath
}

LabelSelectorRequirement_FieldPathArrayOfValues allows storing slice of values for LabelSelectorRequirement fields according to their type

func MustParseLabelSelectorRequirement_FieldPathArrayOfValues

func MustParseLabelSelectorRequirement_FieldPathArrayOfValues(pathStr, valuesStr string) LabelSelectorRequirement_FieldPathArrayOfValues

func ParseLabelSelectorRequirement_FieldPathArrayOfValues

func ParseLabelSelectorRequirement_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelSelectorRequirement_FieldPathArrayOfValues, error)

type LabelSelectorRequirement_FieldPathSelector

type LabelSelectorRequirement_FieldPathSelector int32
const (
	LabelSelectorRequirement_FieldPathSelectorKey      LabelSelectorRequirement_FieldPathSelector = 0
	LabelSelectorRequirement_FieldPathSelectorOperator LabelSelectorRequirement_FieldPathSelector = 1
	LabelSelectorRequirement_FieldPathSelectorValues   LabelSelectorRequirement_FieldPathSelector = 2
)

func (LabelSelectorRequirement_FieldPathSelector) String

type LabelSelectorRequirement_FieldPathValue

type LabelSelectorRequirement_FieldPathValue interface {
	LabelSelectorRequirement_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelSelectorRequirement)
	CompareWith(*LabelSelectorRequirement) (cmp int, comparable bool)
}

LabelSelectorRequirement_FieldPathValue allows storing values for LabelSelectorRequirement fields according to their type

func MustParseLabelSelectorRequirement_FieldPathValue

func MustParseLabelSelectorRequirement_FieldPathValue(pathStr, valueStr string) LabelSelectorRequirement_FieldPathValue

func ParseLabelSelectorRequirement_FieldPathValue

func ParseLabelSelectorRequirement_FieldPathValue(pathStr, valueStr string) (LabelSelectorRequirement_FieldPathValue, error)

type LabelSelectorRequirement_FieldTerminalPath

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

func (*LabelSelectorRequirement_FieldTerminalPath) ClearValue

func (*LabelSelectorRequirement_FieldTerminalPath) ClearValueRaw

func (*LabelSelectorRequirement_FieldTerminalPath) Get

func (fp *LabelSelectorRequirement_FieldTerminalPath) Get(source *LabelSelectorRequirement) (values []interface{})

Get returns all values pointed by specific field from source LabelSelectorRequirement

func (*LabelSelectorRequirement_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelSelectorRequirement_FieldTerminalPath) GetRaw

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

func (*LabelSelectorRequirement_FieldTerminalPath) GetSingle

func (fp *LabelSelectorRequirement_FieldTerminalPath) GetSingle(source *LabelSelectorRequirement) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelSelectorRequirement

func (*LabelSelectorRequirement_FieldTerminalPath) GetSingleRaw

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

func (*LabelSelectorRequirement_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LabelSelectorRequirement_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*LabelSelectorRequirement_FieldTerminalPath) Selector

func (*LabelSelectorRequirement_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LabelSelectorRequirement_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelSelectorRequirement_FieldTerminalPath) WithIArrayItemValue

func (*LabelSelectorRequirement_FieldTerminalPath) WithIArrayOfValues

func (*LabelSelectorRequirement_FieldTerminalPath) WithIValue

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIValue

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

type LabelSelectorRequirement_FieldTerminalPathArrayItemValue

type LabelSelectorRequirement_FieldTerminalPathArrayItemValue struct {
	LabelSelectorRequirement_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) AsValuesItemValue

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetSingle

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelSelectorRequirement_FieldTerminalPathArrayOfValues

type LabelSelectorRequirement_FieldTerminalPathArrayOfValues struct {
	LabelSelectorRequirement_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues

func (fpaov *LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues() ([]string, bool)

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsOperatorArrayOfValues

func (fpaov *LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsOperatorArrayOfValues() ([]string, bool)

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsValuesArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelSelectorRequirement_FieldTerminalPathValue

type LabelSelectorRequirement_FieldTerminalPathValue struct {
	LabelSelectorRequirement_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsKeyValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsOperatorValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsValuesValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'LabelSelectorRequirement_FieldTerminalPathValue' with the value under path in 'LabelSelectorRequirement'.

func (*LabelSelectorRequirement_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelSelectorRequirement

func (*LabelSelectorRequirement_FieldTerminalPathValue) SetToRaw

type LabelSelector_FieldMask

type LabelSelector_FieldMask struct {
	Paths []LabelSelector_FieldPath
}

func FullLabelSelector_FieldMask

func FullLabelSelector_FieldMask() *LabelSelector_FieldMask

func (*LabelSelector_FieldMask) AppendPath

func (fieldMask *LabelSelector_FieldMask) AppendPath(path LabelSelector_FieldPath)

func (*LabelSelector_FieldMask) AppendRawPath

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

func (*LabelSelector_FieldMask) DecodeFirestore

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

func (*LabelSelector_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelSelector_FieldMask) FilterInputFields

func (fieldMask *LabelSelector_FieldMask) FilterInputFields() *LabelSelector_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelSelector_FieldMask) FromProtoFieldMask

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

func (*LabelSelector_FieldMask) GetPaths

func (fieldMask *LabelSelector_FieldMask) GetPaths() []LabelSelector_FieldPath

func (*LabelSelector_FieldMask) GetRawPaths

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

func (*LabelSelector_FieldMask) IsFull

func (fieldMask *LabelSelector_FieldMask) IsFull() bool

func (LabelSelector_FieldMask) Marshal

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

implement methods required by customType

func (LabelSelector_FieldMask) MarshalJSON

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

func (*LabelSelector_FieldMask) PathsCount

func (fieldMask *LabelSelector_FieldMask) PathsCount() int

func (*LabelSelector_FieldMask) Project

func (fieldMask *LabelSelector_FieldMask) Project(source *LabelSelector) *LabelSelector

func (*LabelSelector_FieldMask) ProjectRaw

func (*LabelSelector_FieldMask) ProtoMessage

func (fieldMask *LabelSelector_FieldMask) ProtoMessage()

func (*LabelSelector_FieldMask) ProtoReflect

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

func (*LabelSelector_FieldMask) Reset

func (fieldMask *LabelSelector_FieldMask) Reset()

func (*LabelSelector_FieldMask) Set

func (fieldMask *LabelSelector_FieldMask) Set(target, source *LabelSelector)

func (*LabelSelector_FieldMask) SetFromCliFlag

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

func (*LabelSelector_FieldMask) SetRaw

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

func (*LabelSelector_FieldMask) Size

func (fieldMask *LabelSelector_FieldMask) Size() int

func (*LabelSelector_FieldMask) String

func (fieldMask *LabelSelector_FieldMask) String() string

func (*LabelSelector_FieldMask) Subtract

func (*LabelSelector_FieldMask) SubtractRaw

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

func (*LabelSelector_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelSelector_FieldMask) Unmarshal

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

func (*LabelSelector_FieldMask) UnmarshalJSON

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

type LabelSelector_FieldPath

type LabelSelector_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelSelector_FieldPathSelector
	Get(source *LabelSelector) []interface{}
	GetSingle(source *LabelSelector) (interface{}, bool)
	ClearValue(item *LabelSelector)

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

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

func MustParseLabelSelector_FieldPath

func MustParseLabelSelector_FieldPath(rawField string) LabelSelector_FieldPath

func ParseLabelSelector_FieldPath

func ParseLabelSelector_FieldPath(rawField string) (LabelSelector_FieldPath, error)

type LabelSelector_FieldPathArrayItemValue

type LabelSelector_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelSelector_FieldPath
	ContainsValue(*LabelSelector) bool
}

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

func MustParseLabelSelector_FieldPathArrayItemValue

func MustParseLabelSelector_FieldPathArrayItemValue(pathStr, valueStr string) LabelSelector_FieldPathArrayItemValue

func ParseLabelSelector_FieldPathArrayItemValue

func ParseLabelSelector_FieldPathArrayItemValue(pathStr, valueStr string) (LabelSelector_FieldPathArrayItemValue, error)

ParseLabelSelector_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelSelector_FieldPathArrayOfValues

type LabelSelector_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelSelector_FieldPath
}

LabelSelector_FieldPathArrayOfValues allows storing slice of values for LabelSelector fields according to their type

func MustParseLabelSelector_FieldPathArrayOfValues

func MustParseLabelSelector_FieldPathArrayOfValues(pathStr, valuesStr string) LabelSelector_FieldPathArrayOfValues

func ParseLabelSelector_FieldPathArrayOfValues

func ParseLabelSelector_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelSelector_FieldPathArrayOfValues, error)

type LabelSelector_FieldPathMap

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

FieldPath for map type with additional Key information

func (*LabelSelector_FieldPathMap) ClearValue

func (fpm *LabelSelector_FieldPathMap) ClearValue(item *LabelSelector)

func (*LabelSelector_FieldPathMap) ClearValueRaw

func (fpm *LabelSelector_FieldPathMap) ClearValueRaw(item proto.Message)

func (*LabelSelector_FieldPathMap) Get

func (fpm *LabelSelector_FieldPathMap) Get(source *LabelSelector) (values []interface{})

Get returns all values pointed by selected field map key from source LabelSelector

func (*LabelSelector_FieldPathMap) GetDefault

func (fpm *LabelSelector_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*LabelSelector_FieldPathMap) GetRaw

func (fpm *LabelSelector_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*LabelSelector_FieldPathMap) GetSingle

func (fpm *LabelSelector_FieldPathMap) GetSingle(source *LabelSelector) (interface{}, bool)

GetSingle returns value by selected field map key from source LabelSelector

func (*LabelSelector_FieldPathMap) GetSingleRaw

func (fpm *LabelSelector_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*LabelSelector_FieldPathMap) IsLeaf

func (fpm *LabelSelector_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LabelSelector_FieldPathMap) JSONString

func (fpm *LabelSelector_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*LabelSelector_FieldPathMap) Key

func (*LabelSelector_FieldPathMap) Selector

func (*LabelSelector_FieldPathMap) SplitIntoTerminalIPaths

func (fpm *LabelSelector_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*LabelSelector_FieldPathMap) String

func (fpm *LabelSelector_FieldPathMap) String() string

String returns path representation in proto convention

func (*LabelSelector_FieldPathMap) WithIArrayItemValue

func (fpm *LabelSelector_FieldPathMap) WithIArrayItemValue(value interface{}) LabelSelector_FieldPathArrayItemValue

func (*LabelSelector_FieldPathMap) WithIArrayOfValues

func (fpm *LabelSelector_FieldPathMap) WithIArrayOfValues(values interface{}) LabelSelector_FieldPathArrayOfValues

func (*LabelSelector_FieldPathMap) WithIValue

func (fpm *LabelSelector_FieldPathMap) WithIValue(value interface{}) LabelSelector_FieldPathValue

func (*LabelSelector_FieldPathMap) WithRawIArrayItemValue

func (fpm *LabelSelector_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*LabelSelector_FieldPathMap) WithRawIArrayOfValues

func (fpm *LabelSelector_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*LabelSelector_FieldPathMap) WithRawIValue

func (fpm *LabelSelector_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type LabelSelector_FieldPathMapArrayOfValues

type LabelSelector_FieldPathMapArrayOfValues struct {
	LabelSelector_FieldPathMap
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldPathMapArrayOfValues) AsMatchLabelsArrayOfElementValues

func (fpmaov *LabelSelector_FieldPathMapArrayOfValues) AsMatchLabelsArrayOfElementValues() ([]string, bool)

func (*LabelSelector_FieldPathMapArrayOfValues) GetRawValues

func (fpmaov *LabelSelector_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type LabelSelector_FieldPathMapValue

type LabelSelector_FieldPathMapValue struct {
	LabelSelector_FieldPathMap
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldPathMapValue) AsMatchLabelsElementValue

func (fpmv *LabelSelector_FieldPathMapValue) AsMatchLabelsElementValue() (string, bool)

func (*LabelSelector_FieldPathMapValue) CompareWith

func (fpmv *LabelSelector_FieldPathMapValue) CompareWith(source *LabelSelector) (int, bool)

CompareWith compares value in the 'LabelSelector_FieldPathMapValue' with the value under path in 'LabelSelector'.

func (*LabelSelector_FieldPathMapValue) CompareWithRaw

func (fpmv *LabelSelector_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*LabelSelector_FieldPathMapValue) GetRawValue

func (fpmv *LabelSelector_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in LabelSelector as interface{}

func (*LabelSelector_FieldPathMapValue) SetTo

func (fpmv *LabelSelector_FieldPathMapValue) SetTo(target **LabelSelector)

SetTo stores value for selected field in LabelSelector

func (*LabelSelector_FieldPathMapValue) SetToRaw

func (fpmv *LabelSelector_FieldPathMapValue) SetToRaw(target proto.Message)

type LabelSelector_FieldPathSelector

type LabelSelector_FieldPathSelector int32
const (
	LabelSelector_FieldPathSelectorMatchLabels      LabelSelector_FieldPathSelector = 0
	LabelSelector_FieldPathSelectorMatchExpressions LabelSelector_FieldPathSelector = 1
)

func (LabelSelector_FieldPathSelector) String

type LabelSelector_FieldPathValue

type LabelSelector_FieldPathValue interface {
	LabelSelector_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelSelector)
	CompareWith(*LabelSelector) (cmp int, comparable bool)
}

LabelSelector_FieldPathValue allows storing values for LabelSelector fields according to their type

func MustParseLabelSelector_FieldPathValue

func MustParseLabelSelector_FieldPathValue(pathStr, valueStr string) LabelSelector_FieldPathValue

func ParseLabelSelector_FieldPathValue

func ParseLabelSelector_FieldPathValue(pathStr, valueStr string) (LabelSelector_FieldPathValue, error)

type LabelSelector_FieldSubPath

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

func (*LabelSelector_FieldSubPath) AsMatchExpressionsSubPath

func (fps *LabelSelector_FieldSubPath) AsMatchExpressionsSubPath() (LabelSelectorRequirement_FieldPath, bool)

func (*LabelSelector_FieldSubPath) ClearValue

func (fps *LabelSelector_FieldSubPath) ClearValue(item *LabelSelector)

func (*LabelSelector_FieldSubPath) ClearValueRaw

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

func (*LabelSelector_FieldSubPath) Get

func (fps *LabelSelector_FieldSubPath) Get(source *LabelSelector) (values []interface{})

Get returns all values pointed by selected field from source LabelSelector

func (*LabelSelector_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelSelector_FieldSubPath) GetRaw

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

func (*LabelSelector_FieldSubPath) GetSingle

func (fps *LabelSelector_FieldSubPath) GetSingle(source *LabelSelector) (interface{}, bool)

GetSingle returns value of selected field from source LabelSelector

func (*LabelSelector_FieldSubPath) GetSingleRaw

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

func (*LabelSelector_FieldSubPath) IsLeaf

func (fps *LabelSelector_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LabelSelector_FieldSubPath) JSONString

func (fps *LabelSelector_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelSelector_FieldSubPath) Selector

func (*LabelSelector_FieldSubPath) SplitIntoTerminalIPaths

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

func (*LabelSelector_FieldSubPath) String

func (fps *LabelSelector_FieldSubPath) String() string

String returns path representation in proto convention

func (*LabelSelector_FieldSubPath) WithIArrayItemValue

func (fps *LabelSelector_FieldSubPath) WithIArrayItemValue(value interface{}) LabelSelector_FieldPathArrayItemValue

func (*LabelSelector_FieldSubPath) WithIArrayOfValues

func (fps *LabelSelector_FieldSubPath) WithIArrayOfValues(values interface{}) LabelSelector_FieldPathArrayOfValues

func (*LabelSelector_FieldSubPath) WithIValue

func (fps *LabelSelector_FieldSubPath) WithIValue(value interface{}) LabelSelector_FieldPathValue

func (*LabelSelector_FieldSubPath) WithRawIArrayItemValue

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

func (*LabelSelector_FieldSubPath) WithRawIArrayOfValues

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

func (*LabelSelector_FieldSubPath) WithRawIValue

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

type LabelSelector_FieldSubPathArrayItemValue

type LabelSelector_FieldSubPathArrayItemValue struct {
	LabelSelector_FieldPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldSubPathArrayItemValue) AsMatchExpressionsPathItemValue

func (*LabelSelector_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *LabelSelector_FieldSubPathArrayItemValue) ContainsValue(source *LabelSelector) bool

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

func (*LabelSelector_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type LabelSelector_FieldSubPathArrayOfValues

type LabelSelector_FieldSubPathArrayOfValues struct {
	LabelSelector_FieldPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldSubPathArrayOfValues) AsMatchExpressionsPathArrayOfValues

func (fpsaov *LabelSelector_FieldSubPathArrayOfValues) AsMatchExpressionsPathArrayOfValues() (LabelSelectorRequirement_FieldPathArrayOfValues, bool)

func (*LabelSelector_FieldSubPathArrayOfValues) GetRawValues

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

type LabelSelector_FieldSubPathValue

type LabelSelector_FieldSubPathValue struct {
	LabelSelector_FieldPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldSubPathValue) AsMatchExpressionsPathValue

func (fpvs *LabelSelector_FieldSubPathValue) AsMatchExpressionsPathValue() (LabelSelectorRequirement_FieldPathValue, bool)

func (*LabelSelector_FieldSubPathValue) CompareWith

func (fpvs *LabelSelector_FieldSubPathValue) CompareWith(source *LabelSelector) (int, bool)

func (*LabelSelector_FieldSubPathValue) CompareWithRaw

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

func (*LabelSelector_FieldSubPathValue) GetRawValue

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

func (*LabelSelector_FieldSubPathValue) SetTo

func (fpvs *LabelSelector_FieldSubPathValue) SetTo(target **LabelSelector)

func (*LabelSelector_FieldSubPathValue) SetToRaw

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

type LabelSelector_FieldTerminalPath

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

func (*LabelSelector_FieldTerminalPath) ClearValue

func (fp *LabelSelector_FieldTerminalPath) ClearValue(item *LabelSelector)

func (*LabelSelector_FieldTerminalPath) ClearValueRaw

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

func (*LabelSelector_FieldTerminalPath) Get

func (fp *LabelSelector_FieldTerminalPath) Get(source *LabelSelector) (values []interface{})

Get returns all values pointed by specific field from source LabelSelector

func (*LabelSelector_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelSelector_FieldTerminalPath) GetRaw

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

func (*LabelSelector_FieldTerminalPath) GetSingle

func (fp *LabelSelector_FieldTerminalPath) GetSingle(source *LabelSelector) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelSelector

func (*LabelSelector_FieldTerminalPath) GetSingleRaw

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

func (*LabelSelector_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LabelSelector_FieldTerminalPath) JSONString

func (fp *LabelSelector_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelSelector_FieldTerminalPath) Selector

func (*LabelSelector_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LabelSelector_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelSelector_FieldTerminalPath) WithIArrayItemValue

func (fp *LabelSelector_FieldTerminalPath) WithIArrayItemValue(value interface{}) LabelSelector_FieldPathArrayItemValue

func (*LabelSelector_FieldTerminalPath) WithIArrayOfValues

func (fp *LabelSelector_FieldTerminalPath) WithIArrayOfValues(values interface{}) LabelSelector_FieldPathArrayOfValues

func (*LabelSelector_FieldTerminalPath) WithIValue

func (fp *LabelSelector_FieldTerminalPath) WithIValue(value interface{}) LabelSelector_FieldPathValue

func (*LabelSelector_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelSelector_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelSelector_FieldTerminalPath) WithRawIValue

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

type LabelSelector_FieldTerminalPathArrayItemValue

type LabelSelector_FieldTerminalPathArrayItemValue struct {
	LabelSelector_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldTerminalPathArrayItemValue) AsMatchExpressionsItemValue

func (fpaiv *LabelSelector_FieldTerminalPathArrayItemValue) AsMatchExpressionsItemValue() (*LabelSelectorRequirement, bool)

func (*LabelSelector_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LabelSelector_FieldTerminalPathArrayItemValue) GetSingle(source *LabelSelector) (interface{}, bool)

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelSelector_FieldTerminalPathArrayOfValues

type LabelSelector_FieldTerminalPathArrayOfValues struct {
	LabelSelector_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldTerminalPathArrayOfValues) AsMatchExpressionsArrayOfValues

func (fpaov *LabelSelector_FieldTerminalPathArrayOfValues) AsMatchExpressionsArrayOfValues() ([][]*LabelSelectorRequirement, bool)

func (*LabelSelector_FieldTerminalPathArrayOfValues) AsMatchLabelsArrayOfValues

func (fpaov *LabelSelector_FieldTerminalPathArrayOfValues) AsMatchLabelsArrayOfValues() ([]map[string]string, bool)

func (*LabelSelector_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelSelector_FieldTerminalPathValue

type LabelSelector_FieldTerminalPathValue struct {
	LabelSelector_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelSelector_FieldTerminalPathValue) AsMatchExpressionsValue

func (fpv *LabelSelector_FieldTerminalPathValue) AsMatchExpressionsValue() ([]*LabelSelectorRequirement, bool)

func (*LabelSelector_FieldTerminalPathValue) AsMatchLabelsValue

func (fpv *LabelSelector_FieldTerminalPathValue) AsMatchLabelsValue() (map[string]string, bool)

func (*LabelSelector_FieldTerminalPathValue) CompareWith

func (fpv *LabelSelector_FieldTerminalPathValue) CompareWith(source *LabelSelector) (int, bool)

CompareWith compares value in the 'LabelSelector_FieldTerminalPathValue' with the value under path in 'LabelSelector'.

func (*LabelSelector_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelSelector_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelSelector_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelSelector

func (*LabelSelector_FieldTerminalPathValue) SetToRaw

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

type Lifecycle

type Lifecycle struct {

	// Current resource state
	State Lifecycle_State `protobuf:"varint,1,opt,name=state,proto3,enum=goten.types.Lifecycle_State" json:"state,omitempty" firestore:"state"`
	// Optional flag indicating that resource must not be deleted - at least yet. This flag is
	// not accessible via API, it is expected developer will populate it if needed from custom
	// server code. It should be used when some condition (other than blocking back reference)
	// applies that server is not aware of.
	// If flag is true, then constraint store will block resource deletion. GC will also defer
	// from cleaning up, however developer should ensure that eventually deletion will be done.
	BlockDeletion bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Lifecycle) Clone

func (o *Lifecycle) Clone() *Lifecycle

func (*Lifecycle) CloneRaw

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

func (*Lifecycle) Descriptor

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

Deprecated, Use Lifecycle.ProtoReflect.Descriptor instead.

func (*Lifecycle) GetBlockDeletion

func (m *Lifecycle) GetBlockDeletion() bool

func (*Lifecycle) GetState

func (m *Lifecycle) GetState() Lifecycle_State

func (*Lifecycle) GotenMessage

func (*Lifecycle) GotenMessage()

func (*Lifecycle) GotenObjectExt

func (o *Lifecycle) GotenObjectExt()

func (*Lifecycle) GotenValidate

func (obj *Lifecycle) GotenValidate() error

func (*Lifecycle) MakeDiffFieldMask

func (o *Lifecycle) MakeDiffFieldMask(other *Lifecycle) *Lifecycle_FieldMask

func (*Lifecycle) MakeFullFieldMask

func (o *Lifecycle) MakeFullFieldMask() *Lifecycle_FieldMask

func (*Lifecycle) MakeRawDiffFieldMask

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

func (*Lifecycle) MakeRawFullFieldMask

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

func (*Lifecycle) Marshal

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

func (*Lifecycle) MarshalJSON

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

func (*Lifecycle) Merge

func (o *Lifecycle) Merge(source *Lifecycle)

func (*Lifecycle) MergeRaw

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

func (*Lifecycle) ProtoMessage

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) ProtoReflect

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

func (*Lifecycle) Reset

func (m *Lifecycle) Reset()

func (*Lifecycle) SetBlockDeletion

func (m *Lifecycle) SetBlockDeletion(fv bool)

func (*Lifecycle) SetState

func (m *Lifecycle) SetState(fv Lifecycle_State)

func (*Lifecycle) String

func (m *Lifecycle) String() string

func (*Lifecycle) Unmarshal

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

func (*Lifecycle) UnmarshalJSON

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

type LifecycleFieldPathBuilder

type LifecycleFieldPathBuilder struct{}

func NewLifecycleFieldPathBuilder

func NewLifecycleFieldPathBuilder() LifecycleFieldPathBuilder

func (LifecycleFieldPathBuilder) BlockDeletion

func (LifecycleFieldPathBuilder) State

type LifecyclePathSelectorBlockDeletion

type LifecyclePathSelectorBlockDeletion struct{}

func (LifecyclePathSelectorBlockDeletion) FieldPath

func (LifecyclePathSelectorBlockDeletion) WithArrayOfValues

func (LifecyclePathSelectorBlockDeletion) WithValue

type LifecyclePathSelectorState

type LifecyclePathSelectorState struct{}

func (LifecyclePathSelectorState) FieldPath

func (LifecyclePathSelectorState) WithArrayOfValues

func (LifecyclePathSelectorState) WithValue

type Lifecycle_FieldMask

type Lifecycle_FieldMask struct {
	Paths []Lifecycle_FieldPath
}

func FullLifecycle_FieldMask

func FullLifecycle_FieldMask() *Lifecycle_FieldMask

func (*Lifecycle_FieldMask) AppendPath

func (fieldMask *Lifecycle_FieldMask) AppendPath(path Lifecycle_FieldPath)

func (*Lifecycle_FieldMask) AppendRawPath

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

func (*Lifecycle_FieldMask) DecodeFirestore

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

func (*Lifecycle_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Lifecycle_FieldMask) FilterInputFields

func (fieldMask *Lifecycle_FieldMask) FilterInputFields() *Lifecycle_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Lifecycle_FieldMask) FromProtoFieldMask

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

func (*Lifecycle_FieldMask) GetPaths

func (fieldMask *Lifecycle_FieldMask) GetPaths() []Lifecycle_FieldPath

func (*Lifecycle_FieldMask) GetRawPaths

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

func (*Lifecycle_FieldMask) IsFull

func (fieldMask *Lifecycle_FieldMask) IsFull() bool

func (Lifecycle_FieldMask) Marshal

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

implement methods required by customType

func (Lifecycle_FieldMask) MarshalJSON

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

func (*Lifecycle_FieldMask) PathsCount

func (fieldMask *Lifecycle_FieldMask) PathsCount() int

func (*Lifecycle_FieldMask) Project

func (fieldMask *Lifecycle_FieldMask) Project(source *Lifecycle) *Lifecycle

func (*Lifecycle_FieldMask) ProjectRaw

func (*Lifecycle_FieldMask) ProtoMessage

func (fieldMask *Lifecycle_FieldMask) ProtoMessage()

func (*Lifecycle_FieldMask) ProtoReflect

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

func (*Lifecycle_FieldMask) Reset

func (fieldMask *Lifecycle_FieldMask) Reset()

func (*Lifecycle_FieldMask) Set

func (fieldMask *Lifecycle_FieldMask) Set(target, source *Lifecycle)

func (*Lifecycle_FieldMask) SetFromCliFlag

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

func (*Lifecycle_FieldMask) SetRaw

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

func (*Lifecycle_FieldMask) Size

func (fieldMask *Lifecycle_FieldMask) Size() int

func (*Lifecycle_FieldMask) String

func (fieldMask *Lifecycle_FieldMask) String() string

func (*Lifecycle_FieldMask) Subtract

func (fieldMask *Lifecycle_FieldMask) Subtract(other *Lifecycle_FieldMask) *Lifecycle_FieldMask

func (*Lifecycle_FieldMask) SubtractRaw

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

func (*Lifecycle_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Lifecycle_FieldMask) Unmarshal

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

func (*Lifecycle_FieldMask) UnmarshalJSON

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

type Lifecycle_FieldPath

type Lifecycle_FieldPath interface {
	gotenobject.FieldPath
	Selector() Lifecycle_FieldPathSelector
	Get(source *Lifecycle) []interface{}
	GetSingle(source *Lifecycle) (interface{}, bool)
	ClearValue(item *Lifecycle)

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

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

func BuildLifecycle_FieldPath

func BuildLifecycle_FieldPath(fp gotenobject.RawFieldPath) (Lifecycle_FieldPath, error)

func MustParseLifecycle_FieldPath

func MustParseLifecycle_FieldPath(rawField string) Lifecycle_FieldPath

func ParseLifecycle_FieldPath

func ParseLifecycle_FieldPath(rawField string) (Lifecycle_FieldPath, error)

type Lifecycle_FieldPathArrayItemValue

type Lifecycle_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Lifecycle_FieldPath
	ContainsValue(*Lifecycle) bool
}

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

func MustParseLifecycle_FieldPathArrayItemValue

func MustParseLifecycle_FieldPathArrayItemValue(pathStr, valueStr string) Lifecycle_FieldPathArrayItemValue

func ParseLifecycle_FieldPathArrayItemValue

func ParseLifecycle_FieldPathArrayItemValue(pathStr, valueStr string) (Lifecycle_FieldPathArrayItemValue, error)

ParseLifecycle_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Lifecycle_FieldPathArrayOfValues

type Lifecycle_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Lifecycle_FieldPath
}

Lifecycle_FieldPathArrayOfValues allows storing slice of values for Lifecycle fields according to their type

func MustParseLifecycle_FieldPathArrayOfValues

func MustParseLifecycle_FieldPathArrayOfValues(pathStr, valuesStr string) Lifecycle_FieldPathArrayOfValues

func ParseLifecycle_FieldPathArrayOfValues

func ParseLifecycle_FieldPathArrayOfValues(pathStr, valuesStr string) (Lifecycle_FieldPathArrayOfValues, error)

type Lifecycle_FieldPathSelector

type Lifecycle_FieldPathSelector int32
const (
	Lifecycle_FieldPathSelectorState         Lifecycle_FieldPathSelector = 0
	Lifecycle_FieldPathSelectorBlockDeletion Lifecycle_FieldPathSelector = 1
)

func (Lifecycle_FieldPathSelector) String

type Lifecycle_FieldPathValue

type Lifecycle_FieldPathValue interface {
	Lifecycle_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Lifecycle)
	CompareWith(*Lifecycle) (cmp int, comparable bool)
}

Lifecycle_FieldPathValue allows storing values for Lifecycle fields according to their type

func MustParseLifecycle_FieldPathValue

func MustParseLifecycle_FieldPathValue(pathStr, valueStr string) Lifecycle_FieldPathValue

func ParseLifecycle_FieldPathValue

func ParseLifecycle_FieldPathValue(pathStr, valueStr string) (Lifecycle_FieldPathValue, error)

type Lifecycle_FieldTerminalPath

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

func (*Lifecycle_FieldTerminalPath) ClearValue

func (fp *Lifecycle_FieldTerminalPath) ClearValue(item *Lifecycle)

func (*Lifecycle_FieldTerminalPath) ClearValueRaw

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

func (*Lifecycle_FieldTerminalPath) Get

func (fp *Lifecycle_FieldTerminalPath) Get(source *Lifecycle) (values []interface{})

Get returns all values pointed by specific field from source Lifecycle

func (*Lifecycle_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Lifecycle_FieldTerminalPath) GetRaw

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

func (*Lifecycle_FieldTerminalPath) GetSingle

func (fp *Lifecycle_FieldTerminalPath) GetSingle(source *Lifecycle) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Lifecycle

func (*Lifecycle_FieldTerminalPath) GetSingleRaw

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

func (*Lifecycle_FieldTerminalPath) IsLeaf

func (fp *Lifecycle_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Lifecycle_FieldTerminalPath) JSONString

func (fp *Lifecycle_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Lifecycle_FieldTerminalPath) Selector

func (*Lifecycle_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Lifecycle_FieldTerminalPath) String

func (fp *Lifecycle_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Lifecycle_FieldTerminalPath) WithIArrayItemValue

func (fp *Lifecycle_FieldTerminalPath) WithIArrayItemValue(value interface{}) Lifecycle_FieldPathArrayItemValue

func (*Lifecycle_FieldTerminalPath) WithIArrayOfValues

func (fp *Lifecycle_FieldTerminalPath) WithIArrayOfValues(values interface{}) Lifecycle_FieldPathArrayOfValues

func (*Lifecycle_FieldTerminalPath) WithIValue

func (fp *Lifecycle_FieldTerminalPath) WithIValue(value interface{}) Lifecycle_FieldPathValue

func (*Lifecycle_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Lifecycle_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Lifecycle_FieldTerminalPath) WithRawIValue

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

type Lifecycle_FieldTerminalPathArrayItemValue

type Lifecycle_FieldTerminalPathArrayItemValue struct {
	Lifecycle_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Lifecycle_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Lifecycle_FieldTerminalPathArrayItemValue) ContainsValue(source *Lifecycle) bool

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Lifecycle_FieldTerminalPathArrayItemValue) GetSingle(source *Lifecycle) (interface{}, bool)

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Lifecycle_FieldTerminalPathArrayOfValues

type Lifecycle_FieldTerminalPathArrayOfValues struct {
	Lifecycle_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Lifecycle_FieldTerminalPathArrayOfValues) AsBlockDeletionArrayOfValues

func (fpaov *Lifecycle_FieldTerminalPathArrayOfValues) AsBlockDeletionArrayOfValues() ([]bool, bool)

func (*Lifecycle_FieldTerminalPathArrayOfValues) AsStateArrayOfValues

func (fpaov *Lifecycle_FieldTerminalPathArrayOfValues) AsStateArrayOfValues() ([]Lifecycle_State, bool)

func (*Lifecycle_FieldTerminalPathArrayOfValues) GetRawValues

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

type Lifecycle_FieldTerminalPathValue

type Lifecycle_FieldTerminalPathValue struct {
	Lifecycle_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Lifecycle_FieldTerminalPathValue) AsBlockDeletionValue

func (fpv *Lifecycle_FieldTerminalPathValue) AsBlockDeletionValue() (bool, bool)

func (*Lifecycle_FieldTerminalPathValue) AsStateValue

func (fpv *Lifecycle_FieldTerminalPathValue) AsStateValue() (Lifecycle_State, bool)

func (*Lifecycle_FieldTerminalPathValue) CompareWith

func (fpv *Lifecycle_FieldTerminalPathValue) CompareWith(source *Lifecycle) (int, bool)

CompareWith compares value in the 'Lifecycle_FieldTerminalPathValue' with the value under path in 'Lifecycle'.

func (*Lifecycle_FieldTerminalPathValue) CompareWithRaw

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

func (*Lifecycle_FieldTerminalPathValue) GetRawValue

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

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

func (*Lifecycle_FieldTerminalPathValue) SetTo

func (fpv *Lifecycle_FieldTerminalPathValue) SetTo(target **Lifecycle)

SetTo stores value for selected field for object Lifecycle

func (*Lifecycle_FieldTerminalPathValue) SetToRaw

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

type Lifecycle_State

type Lifecycle_State int32

current resource state

const (
	// Must never be used
	Lifecycle_UNDEFINED Lifecycle_State = 0
	// Resource is up and running
	Lifecycle_ACTIVE Lifecycle_State = 1
	// Resource is in slow-deletion process.
	Lifecycle_DELETING Lifecycle_State = 2
)

func (Lifecycle_State) Descriptor

func (Lifecycle_State) Enum

func (x Lifecycle_State) Enum() *Lifecycle_State

func (Lifecycle_State) EnumDescriptor

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

Deprecated, Use Lifecycle_State.ProtoReflect.Descriptor instead.

func (Lifecycle_State) Number

func (x Lifecycle_State) Number() preflect.EnumNumber

func (Lifecycle_State) String

func (x Lifecycle_State) String() string

func (Lifecycle_State) Type

type Meta

type Meta struct {
	CreateTime  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" firestore:"createTime"`
	UpdateTime  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" firestore:"updateTime"`
	DeleteTime  *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty" firestore:"deleteTime"`
	Uuid        string                 `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty" firestore:"uuid"`
	Tags        []string               `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" firestore:"tags"`
	Labels      map[string]string      `` /* 172-byte string literal not displayed */
	Annotations map[string]string      `` /* 187-byte string literal not displayed */
	// generation is the version number of the spec of the resource.
	// This number increments when the resource is updated with any changes of its spec.
	Generation int64 `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty" firestore:"generation"`
	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	ResourceVersion string `` /* 134-byte string literal not displayed */
	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	OwnerReferences []*OwnerReference `` /* 135-byte string literal not displayed */
	// List of all shard indices by their keys
	Shards map[string]int64 `` /* 174-byte string literal not displayed */
	// Information about resource region and synchronization
	Syncing *SyncingMeta `protobuf:"bytes,15,opt,name=syncing,proto3" json:"syncing,omitempty" firestore:"syncing"`
	// Current lifecycle information about resource.
	Lifecycle *Lifecycle `protobuf:"bytes,17,opt,name=lifecycle,proto3" json:"lifecycle,omitempty" firestore:"lifecycle"`
	// Information about services access.ownership of given resource. Non populated
	// value should be treated as unregulated access.
	Services *ServicesInfo `protobuf:"bytes,18,opt,name=services,proto3" json:"services,omitempty" firestore:"services"`
	// contains filtered or unexported fields
}

Metadata

func (*Meta) Clone

func (o *Meta) Clone() *Meta

func (*Meta) CloneRaw

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

func (*Meta) Descriptor

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

Deprecated, Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) EnsureServices

func (m *Meta) EnsureServices() *ServicesInfo

func (*Meta) GetAnnotations

func (m *Meta) GetAnnotations() map[string]string

func (*Meta) GetCreateTime

func (m *Meta) GetCreateTime() *timestamppb.Timestamp

func (*Meta) GetDeleteTime

func (m *Meta) GetDeleteTime() *timestamppb.Timestamp

func (*Meta) GetGeneration

func (m *Meta) GetGeneration() int64

func (*Meta) GetLabels

func (m *Meta) GetLabels() map[string]string

func (*Meta) GetLifecycle

func (m *Meta) GetLifecycle() *Lifecycle

func (*Meta) GetOwnerReferences

func (m *Meta) GetOwnerReferences() []*OwnerReference

func (*Meta) GetResourceVersion

func (m *Meta) GetResourceVersion() string

func (*Meta) GetServices

func (m *Meta) GetServices() *ServicesInfo

func (*Meta) GetShardValue

func (m *Meta) GetShardValue(label string, ringSize int) int64

func (*Meta) GetShards

func (m *Meta) GetShards() map[string]int64

func (*Meta) GetSyncing

func (m *Meta) GetSyncing() *SyncingMeta

func (*Meta) GetTags

func (m *Meta) GetTags() []string

func (*Meta) GetUpdateTime

func (m *Meta) GetUpdateTime() *timestamppb.Timestamp

func (*Meta) GetUuid

func (m *Meta) GetUuid() string

func (*Meta) GotenMessage

func (*Meta) GotenMessage()

func (*Meta) GotenObjectExt

func (o *Meta) GotenObjectExt()

func (*Meta) GotenValidate

func (obj *Meta) GotenValidate() error

func (*Meta) MakeDiffFieldMask

func (o *Meta) MakeDiffFieldMask(other *Meta) *Meta_FieldMask

func (*Meta) MakeFullFieldMask

func (o *Meta) MakeFullFieldMask() *Meta_FieldMask

func (*Meta) MakeRawDiffFieldMask

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

func (*Meta) MakeRawFullFieldMask

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

func (*Meta) Marshal

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

func (*Meta) MarshalJSON

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

func (*Meta) Merge

func (o *Meta) Merge(source *Meta)

func (*Meta) MergeRaw

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

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (m *Meta) Reset()

func (*Meta) SetAnnotations

func (m *Meta) SetAnnotations(fv map[string]string)

func (*Meta) SetCreateTime

func (m *Meta) SetCreateTime(fv *timestamppb.Timestamp)

func (*Meta) SetDeleteTime

func (m *Meta) SetDeleteTime(fv *timestamppb.Timestamp)

func (*Meta) SetGeneration

func (m *Meta) SetGeneration(fv int64)

func (*Meta) SetLabels

func (m *Meta) SetLabels(fv map[string]string)

func (*Meta) SetLifecycle

func (m *Meta) SetLifecycle(fv *Lifecycle)

func (*Meta) SetOwnerReferences

func (m *Meta) SetOwnerReferences(fv []*OwnerReference)

func (*Meta) SetResourceVersion

func (m *Meta) SetResourceVersion(fv string)

func (*Meta) SetServices

func (m *Meta) SetServices(fv *ServicesInfo)

func (*Meta) SetShardValueByKey

func (m *Meta) SetShardValueByKey(key string, value int64)

func (*Meta) SetShardValueByLabel

func (m *Meta) SetShardValueByLabel(label string, ringSize int, hash int64)

func (*Meta) SetShards

func (m *Meta) SetShards(fv map[string]int64)

func (*Meta) SetSyncing

func (m *Meta) SetSyncing(fv *SyncingMeta)

func (*Meta) SetTags

func (m *Meta) SetTags(fv []string)

func (*Meta) SetUpdateTime

func (m *Meta) SetUpdateTime(fv *timestamppb.Timestamp)

func (*Meta) SetUuid

func (m *Meta) SetUuid(fv string)

func (*Meta) String

func (m *Meta) String() string

func (*Meta) Unmarshal

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

func (*Meta) UnmarshalJSON

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

type MetaFieldPathBuilder

type MetaFieldPathBuilder struct{}

func NewMetaFieldPathBuilder

func NewMetaFieldPathBuilder() MetaFieldPathBuilder

func (MetaFieldPathBuilder) Annotations

func (MetaFieldPathBuilder) CreateTime

func (MetaFieldPathBuilder) DeleteTime

func (MetaFieldPathBuilder) Generation

func (MetaFieldPathBuilder) Labels

func (MetaFieldPathBuilder) Lifecycle

func (MetaFieldPathBuilder) OwnerReferences

func (MetaFieldPathBuilder) ResourceVersion

func (MetaFieldPathBuilder) Services

func (MetaFieldPathBuilder) Shards

func (MetaFieldPathBuilder) Syncing

func (MetaFieldPathBuilder) Tags

func (MetaFieldPathBuilder) UpdateTime

func (MetaFieldPathBuilder) Uuid

type MetaMapPathSelectorAnnotations

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

func (MetaMapPathSelectorAnnotations) FieldPath

func (MetaMapPathSelectorAnnotations) WithArrayOfValues

func (MetaMapPathSelectorAnnotations) WithValue

type MetaMapPathSelectorLabels

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

func (MetaMapPathSelectorLabels) FieldPath

func (MetaMapPathSelectorLabels) WithArrayOfValues

func (s MetaMapPathSelectorLabels) WithArrayOfValues(values []string) *Meta_FieldPathMapArrayOfValues

func (MetaMapPathSelectorLabels) WithValue

type MetaMapPathSelectorShards

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

func (MetaMapPathSelectorShards) FieldPath

func (MetaMapPathSelectorShards) WithArrayOfValues

func (s MetaMapPathSelectorShards) WithArrayOfValues(values []int64) *Meta_FieldPathMapArrayOfValues

func (MetaMapPathSelectorShards) WithValue

type MetaPathSelectorAnnotations

type MetaPathSelectorAnnotations struct{}

func (MetaPathSelectorAnnotations) FieldPath

func (MetaPathSelectorAnnotations) WithArrayOfValues

func (MetaPathSelectorAnnotations) WithKey

func (MetaPathSelectorAnnotations) WithValue

type MetaPathSelectorCreateTime

type MetaPathSelectorCreateTime struct{}

func (MetaPathSelectorCreateTime) FieldPath

func (MetaPathSelectorCreateTime) WithArrayOfValues

func (MetaPathSelectorCreateTime) WithValue

type MetaPathSelectorDeleteTime

type MetaPathSelectorDeleteTime struct{}

func (MetaPathSelectorDeleteTime) FieldPath

func (MetaPathSelectorDeleteTime) WithArrayOfValues

func (MetaPathSelectorDeleteTime) WithValue

type MetaPathSelectorGeneration

type MetaPathSelectorGeneration struct{}

func (MetaPathSelectorGeneration) FieldPath

func (MetaPathSelectorGeneration) WithArrayOfValues

func (MetaPathSelectorGeneration) WithValue

type MetaPathSelectorLabels

type MetaPathSelectorLabels struct{}

func (MetaPathSelectorLabels) FieldPath

func (MetaPathSelectorLabels) WithArrayOfValues

func (s MetaPathSelectorLabels) WithArrayOfValues(values []map[string]string) *Meta_FieldTerminalPathArrayOfValues

func (MetaPathSelectorLabels) WithKey

func (MetaPathSelectorLabels) WithValue

type MetaPathSelectorLifecycle

type MetaPathSelectorLifecycle struct{}

func (MetaPathSelectorLifecycle) BlockDeletion

func (MetaPathSelectorLifecycle) FieldPath

func (MetaPathSelectorLifecycle) State

func (MetaPathSelectorLifecycle) WithArrayOfValues

func (MetaPathSelectorLifecycle) WithSubArrayItemValue

func (MetaPathSelectorLifecycle) WithSubArrayOfValues

func (MetaPathSelectorLifecycle) WithSubPath

func (MetaPathSelectorLifecycle) WithSubValue

func (MetaPathSelectorLifecycle) WithValue

type MetaPathSelectorLifecycleBlockDeletion

type MetaPathSelectorLifecycleBlockDeletion struct{}

func (MetaPathSelectorLifecycleBlockDeletion) FieldPath

func (MetaPathSelectorLifecycleBlockDeletion) WithArrayOfValues

func (MetaPathSelectorLifecycleBlockDeletion) WithValue

type MetaPathSelectorLifecycleState

type MetaPathSelectorLifecycleState struct{}

func (MetaPathSelectorLifecycleState) FieldPath

func (MetaPathSelectorLifecycleState) WithArrayOfValues

func (MetaPathSelectorLifecycleState) WithValue

type MetaPathSelectorOwnerReferences

type MetaPathSelectorOwnerReferences struct{}

func (MetaPathSelectorOwnerReferences) Controller

func (MetaPathSelectorOwnerReferences) FieldPath

func (MetaPathSelectorOwnerReferences) Kind

func (MetaPathSelectorOwnerReferences) Name

func (MetaPathSelectorOwnerReferences) Region

func (MetaPathSelectorOwnerReferences) RequiresOwnerReference

func (MetaPathSelectorOwnerReferences) Version

func (MetaPathSelectorOwnerReferences) WithArrayOfValues

func (MetaPathSelectorOwnerReferences) WithItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayOfValues

func (MetaPathSelectorOwnerReferences) WithSubPath

func (MetaPathSelectorOwnerReferences) WithSubValue

func (MetaPathSelectorOwnerReferences) WithValue

type MetaPathSelectorOwnerReferencesController

type MetaPathSelectorOwnerReferencesController struct{}

func (MetaPathSelectorOwnerReferencesController) FieldPath

func (MetaPathSelectorOwnerReferencesController) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesController) WithValue

type MetaPathSelectorOwnerReferencesKind

type MetaPathSelectorOwnerReferencesKind struct{}

func (MetaPathSelectorOwnerReferencesKind) FieldPath

func (MetaPathSelectorOwnerReferencesKind) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesKind) WithValue

type MetaPathSelectorOwnerReferencesName

type MetaPathSelectorOwnerReferencesName struct{}

func (MetaPathSelectorOwnerReferencesName) FieldPath

func (MetaPathSelectorOwnerReferencesName) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesName) WithValue

type MetaPathSelectorOwnerReferencesRegion

type MetaPathSelectorOwnerReferencesRegion struct{}

func (MetaPathSelectorOwnerReferencesRegion) FieldPath

func (MetaPathSelectorOwnerReferencesRegion) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesRegion) WithValue

type MetaPathSelectorOwnerReferencesRequiresOwnerReference

type MetaPathSelectorOwnerReferencesRequiresOwnerReference struct{}

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) FieldPath

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) WithValue

type MetaPathSelectorOwnerReferencesVersion

type MetaPathSelectorOwnerReferencesVersion struct{}

func (MetaPathSelectorOwnerReferencesVersion) FieldPath

func (MetaPathSelectorOwnerReferencesVersion) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesVersion) WithValue

type MetaPathSelectorResourceVersion

type MetaPathSelectorResourceVersion struct{}

func (MetaPathSelectorResourceVersion) FieldPath

func (MetaPathSelectorResourceVersion) WithArrayOfValues

func (MetaPathSelectorResourceVersion) WithValue

type MetaPathSelectorServices

type MetaPathSelectorServices struct{}

func (MetaPathSelectorServices) AllowedServices

func (MetaPathSelectorServices) FieldPath

func (MetaPathSelectorServices) OwningService

func (MetaPathSelectorServices) WithArrayOfValues

func (MetaPathSelectorServices) WithSubArrayItemValue

func (MetaPathSelectorServices) WithSubArrayOfValues

func (MetaPathSelectorServices) WithSubPath

func (MetaPathSelectorServices) WithSubValue

func (MetaPathSelectorServices) WithValue

type MetaPathSelectorServicesAllowedServices

type MetaPathSelectorServicesAllowedServices struct{}

func (MetaPathSelectorServicesAllowedServices) FieldPath

func (MetaPathSelectorServicesAllowedServices) WithArrayOfValues

func (MetaPathSelectorServicesAllowedServices) WithItemValue

func (MetaPathSelectorServicesAllowedServices) WithValue

type MetaPathSelectorServicesOwningService

type MetaPathSelectorServicesOwningService struct{}

func (MetaPathSelectorServicesOwningService) FieldPath

func (MetaPathSelectorServicesOwningService) WithArrayOfValues

func (MetaPathSelectorServicesOwningService) WithValue

type MetaPathSelectorShards

type MetaPathSelectorShards struct{}

func (MetaPathSelectorShards) FieldPath

func (MetaPathSelectorShards) WithArrayOfValues

func (s MetaPathSelectorShards) WithArrayOfValues(values []map[string]int64) *Meta_FieldTerminalPathArrayOfValues

func (MetaPathSelectorShards) WithKey

func (MetaPathSelectorShards) WithValue

type MetaPathSelectorSyncing

type MetaPathSelectorSyncing struct{}

func (MetaPathSelectorSyncing) FieldPath

func (MetaPathSelectorSyncing) OwningRegion

func (MetaPathSelectorSyncing) Regions

func (MetaPathSelectorSyncing) WithArrayOfValues

func (MetaPathSelectorSyncing) WithSubArrayItemValue

func (MetaPathSelectorSyncing) WithSubArrayOfValues

func (MetaPathSelectorSyncing) WithSubPath

func (MetaPathSelectorSyncing) WithSubValue

func (MetaPathSelectorSyncing) WithValue

type MetaPathSelectorSyncingOwningRegion

type MetaPathSelectorSyncingOwningRegion struct{}

func (MetaPathSelectorSyncingOwningRegion) FieldPath

func (MetaPathSelectorSyncingOwningRegion) WithArrayOfValues

func (MetaPathSelectorSyncingOwningRegion) WithValue

type MetaPathSelectorSyncingRegions

type MetaPathSelectorSyncingRegions struct{}

func (MetaPathSelectorSyncingRegions) FieldPath

func (MetaPathSelectorSyncingRegions) WithArrayOfValues

func (s MetaPathSelectorSyncingRegions) WithArrayOfValues(values [][]string) *Meta_FieldSubPathArrayOfValues

func (MetaPathSelectorSyncingRegions) WithItemValue

func (MetaPathSelectorSyncingRegions) WithValue

type MetaPathSelectorTags

type MetaPathSelectorTags struct{}

func (MetaPathSelectorTags) FieldPath

func (MetaPathSelectorTags) WithArrayOfValues

func (s MetaPathSelectorTags) WithArrayOfValues(values [][]string) *Meta_FieldTerminalPathArrayOfValues

func (MetaPathSelectorTags) WithItemValue

func (MetaPathSelectorTags) WithValue

type MetaPathSelectorUpdateTime

type MetaPathSelectorUpdateTime struct{}

func (MetaPathSelectorUpdateTime) FieldPath

func (MetaPathSelectorUpdateTime) WithArrayOfValues

func (MetaPathSelectorUpdateTime) WithValue

type MetaPathSelectorUuid

type MetaPathSelectorUuid struct{}

func (MetaPathSelectorUuid) FieldPath

func (MetaPathSelectorUuid) WithArrayOfValues

func (s MetaPathSelectorUuid) WithArrayOfValues(values []string) *Meta_FieldTerminalPathArrayOfValues

func (MetaPathSelectorUuid) WithValue

type Meta_FieldMask

type Meta_FieldMask struct {
	Paths []Meta_FieldPath
}

func FullMeta_FieldMask

func FullMeta_FieldMask() *Meta_FieldMask

func (*Meta_FieldMask) AppendPath

func (fieldMask *Meta_FieldMask) AppendPath(path Meta_FieldPath)

func (*Meta_FieldMask) AppendRawPath

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

func (*Meta_FieldMask) DecodeFirestore

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

func (*Meta_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Meta_FieldMask) FilterInputFields

func (fieldMask *Meta_FieldMask) FilterInputFields() *Meta_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Meta_FieldMask) FromProtoFieldMask

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

func (*Meta_FieldMask) GetPaths

func (fieldMask *Meta_FieldMask) GetPaths() []Meta_FieldPath

func (*Meta_FieldMask) GetRawPaths

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

func (*Meta_FieldMask) IsFull

func (fieldMask *Meta_FieldMask) IsFull() bool

func (Meta_FieldMask) Marshal

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

implement methods required by customType

func (Meta_FieldMask) MarshalJSON

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

func (*Meta_FieldMask) PathsCount

func (fieldMask *Meta_FieldMask) PathsCount() int

func (*Meta_FieldMask) Project

func (fieldMask *Meta_FieldMask) Project(source *Meta) *Meta

func (*Meta_FieldMask) ProjectRaw

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

func (*Meta_FieldMask) ProtoMessage

func (fieldMask *Meta_FieldMask) ProtoMessage()

func (*Meta_FieldMask) ProtoReflect

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

func (*Meta_FieldMask) Reset

func (fieldMask *Meta_FieldMask) Reset()

func (*Meta_FieldMask) Set

func (fieldMask *Meta_FieldMask) Set(target, source *Meta)

func (*Meta_FieldMask) SetFromCliFlag

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

func (*Meta_FieldMask) SetRaw

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

func (*Meta_FieldMask) Size

func (fieldMask *Meta_FieldMask) Size() int

func (*Meta_FieldMask) String

func (fieldMask *Meta_FieldMask) String() string

func (*Meta_FieldMask) Subtract

func (fieldMask *Meta_FieldMask) Subtract(other *Meta_FieldMask) *Meta_FieldMask

func (*Meta_FieldMask) SubtractRaw

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

func (*Meta_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Meta_FieldMask) Unmarshal

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

func (*Meta_FieldMask) UnmarshalJSON

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

type Meta_FieldPath

type Meta_FieldPath interface {
	gotenobject.FieldPath
	Selector() Meta_FieldPathSelector
	Get(source *Meta) []interface{}
	GetSingle(source *Meta) (interface{}, bool)
	ClearValue(item *Meta)

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

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

func BuildMeta_FieldPath

func BuildMeta_FieldPath(fp gotenobject.RawFieldPath) (Meta_FieldPath, error)

func MustParseMeta_FieldPath

func MustParseMeta_FieldPath(rawField string) Meta_FieldPath

func ParseMeta_FieldPath

func ParseMeta_FieldPath(rawField string) (Meta_FieldPath, error)

type Meta_FieldPathArrayItemValue

type Meta_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Meta_FieldPath
	ContainsValue(*Meta) bool
}

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

func MustParseMeta_FieldPathArrayItemValue

func MustParseMeta_FieldPathArrayItemValue(pathStr, valueStr string) Meta_FieldPathArrayItemValue

func ParseMeta_FieldPathArrayItemValue

func ParseMeta_FieldPathArrayItemValue(pathStr, valueStr string) (Meta_FieldPathArrayItemValue, error)

ParseMeta_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Meta_FieldPathArrayOfValues

type Meta_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Meta_FieldPath
}

Meta_FieldPathArrayOfValues allows storing slice of values for Meta fields according to their type

func MustParseMeta_FieldPathArrayOfValues

func MustParseMeta_FieldPathArrayOfValues(pathStr, valuesStr string) Meta_FieldPathArrayOfValues

func ParseMeta_FieldPathArrayOfValues

func ParseMeta_FieldPathArrayOfValues(pathStr, valuesStr string) (Meta_FieldPathArrayOfValues, error)

type Meta_FieldPathMap

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

FieldPath for map type with additional Key information

func (*Meta_FieldPathMap) ClearValue

func (fpm *Meta_FieldPathMap) ClearValue(item *Meta)

func (*Meta_FieldPathMap) ClearValueRaw

func (fpm *Meta_FieldPathMap) ClearValueRaw(item proto.Message)

func (*Meta_FieldPathMap) Get

func (fpm *Meta_FieldPathMap) Get(source *Meta) (values []interface{})

Get returns all values pointed by selected field map key from source Meta

func (*Meta_FieldPathMap) GetDefault

func (fpm *Meta_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*Meta_FieldPathMap) GetRaw

func (fpm *Meta_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*Meta_FieldPathMap) GetSingle

func (fpm *Meta_FieldPathMap) GetSingle(source *Meta) (interface{}, bool)

GetSingle returns value by selected field map key from source Meta

func (*Meta_FieldPathMap) GetSingleRaw

func (fpm *Meta_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*Meta_FieldPathMap) IsLeaf

func (fpm *Meta_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Meta_FieldPathMap) JSONString

func (fpm *Meta_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*Meta_FieldPathMap) Key

func (fpm *Meta_FieldPathMap) Key() string

func (*Meta_FieldPathMap) Selector

func (fpm *Meta_FieldPathMap) Selector() Meta_FieldPathSelector

func (*Meta_FieldPathMap) SplitIntoTerminalIPaths

func (fpm *Meta_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*Meta_FieldPathMap) String

func (fpm *Meta_FieldPathMap) String() string

String returns path representation in proto convention

func (*Meta_FieldPathMap) WithIArrayItemValue

func (fpm *Meta_FieldPathMap) WithIArrayItemValue(value interface{}) Meta_FieldPathArrayItemValue

func (*Meta_FieldPathMap) WithIArrayOfValues

func (fpm *Meta_FieldPathMap) WithIArrayOfValues(values interface{}) Meta_FieldPathArrayOfValues

func (*Meta_FieldPathMap) WithIValue

func (fpm *Meta_FieldPathMap) WithIValue(value interface{}) Meta_FieldPathValue

func (*Meta_FieldPathMap) WithRawIArrayItemValue

func (fpm *Meta_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*Meta_FieldPathMap) WithRawIArrayOfValues

func (fpm *Meta_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*Meta_FieldPathMap) WithRawIValue

func (fpm *Meta_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type Meta_FieldPathMapArrayOfValues

type Meta_FieldPathMapArrayOfValues struct {
	Meta_FieldPathMap
	// contains filtered or unexported fields
}

func (*Meta_FieldPathMapArrayOfValues) AsAnnotationsArrayOfElementValues

func (fpmaov *Meta_FieldPathMapArrayOfValues) AsAnnotationsArrayOfElementValues() ([]string, bool)

func (*Meta_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues

func (fpmaov *Meta_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues() ([]string, bool)

func (*Meta_FieldPathMapArrayOfValues) AsShardsArrayOfElementValues

func (fpmaov *Meta_FieldPathMapArrayOfValues) AsShardsArrayOfElementValues() ([]int64, bool)

func (*Meta_FieldPathMapArrayOfValues) GetRawValues

func (fpmaov *Meta_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type Meta_FieldPathMapValue

type Meta_FieldPathMapValue struct {
	Meta_FieldPathMap
	// contains filtered or unexported fields
}

func (*Meta_FieldPathMapValue) AsAnnotationsElementValue

func (fpmv *Meta_FieldPathMapValue) AsAnnotationsElementValue() (string, bool)

func (*Meta_FieldPathMapValue) AsLabelsElementValue

func (fpmv *Meta_FieldPathMapValue) AsLabelsElementValue() (string, bool)

func (*Meta_FieldPathMapValue) AsShardsElementValue

func (fpmv *Meta_FieldPathMapValue) AsShardsElementValue() (int64, bool)

func (*Meta_FieldPathMapValue) CompareWith

func (fpmv *Meta_FieldPathMapValue) CompareWith(source *Meta) (int, bool)

CompareWith compares value in the 'Meta_FieldPathMapValue' with the value under path in 'Meta'.

func (*Meta_FieldPathMapValue) CompareWithRaw

func (fpmv *Meta_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*Meta_FieldPathMapValue) GetRawValue

func (fpmv *Meta_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in Meta as interface{}

func (*Meta_FieldPathMapValue) SetTo

func (fpmv *Meta_FieldPathMapValue) SetTo(target **Meta)

SetTo stores value for selected field in Meta

func (*Meta_FieldPathMapValue) SetToRaw

func (fpmv *Meta_FieldPathMapValue) SetToRaw(target proto.Message)

type Meta_FieldPathSelector

type Meta_FieldPathSelector int32
const (
	Meta_FieldPathSelectorCreateTime      Meta_FieldPathSelector = 0
	Meta_FieldPathSelectorUpdateTime      Meta_FieldPathSelector = 1
	Meta_FieldPathSelectorDeleteTime      Meta_FieldPathSelector = 2
	Meta_FieldPathSelectorUuid            Meta_FieldPathSelector = 3
	Meta_FieldPathSelectorTags            Meta_FieldPathSelector = 4
	Meta_FieldPathSelectorLabels          Meta_FieldPathSelector = 5
	Meta_FieldPathSelectorAnnotations     Meta_FieldPathSelector = 6
	Meta_FieldPathSelectorGeneration      Meta_FieldPathSelector = 7
	Meta_FieldPathSelectorResourceVersion Meta_FieldPathSelector = 8
	Meta_FieldPathSelectorOwnerReferences Meta_FieldPathSelector = 9
	Meta_FieldPathSelectorShards          Meta_FieldPathSelector = 10
	Meta_FieldPathSelectorSyncing         Meta_FieldPathSelector = 11
	Meta_FieldPathSelectorLifecycle       Meta_FieldPathSelector = 12
	Meta_FieldPathSelectorServices        Meta_FieldPathSelector = 13
)

func (Meta_FieldPathSelector) String

func (s Meta_FieldPathSelector) String() string

type Meta_FieldPathValue

type Meta_FieldPathValue interface {
	Meta_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Meta)
	CompareWith(*Meta) (cmp int, comparable bool)
}

Meta_FieldPathValue allows storing values for Meta fields according to their type

func MustParseMeta_FieldPathValue

func MustParseMeta_FieldPathValue(pathStr, valueStr string) Meta_FieldPathValue

func ParseMeta_FieldPathValue

func ParseMeta_FieldPathValue(pathStr, valueStr string) (Meta_FieldPathValue, error)

type Meta_FieldSubPath

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

func (*Meta_FieldSubPath) AsLifecycleSubPath

func (fps *Meta_FieldSubPath) AsLifecycleSubPath() (Lifecycle_FieldPath, bool)

func (*Meta_FieldSubPath) AsOwnerReferencesSubPath

func (fps *Meta_FieldSubPath) AsOwnerReferencesSubPath() (OwnerReference_FieldPath, bool)

func (*Meta_FieldSubPath) AsServicesSubPath

func (fps *Meta_FieldSubPath) AsServicesSubPath() (ServicesInfo_FieldPath, bool)

func (*Meta_FieldSubPath) AsSyncingSubPath

func (fps *Meta_FieldSubPath) AsSyncingSubPath() (SyncingMeta_FieldPath, bool)

func (*Meta_FieldSubPath) ClearValue

func (fps *Meta_FieldSubPath) ClearValue(item *Meta)

func (*Meta_FieldSubPath) ClearValueRaw

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

func (*Meta_FieldSubPath) Get

func (fps *Meta_FieldSubPath) Get(source *Meta) (values []interface{})

Get returns all values pointed by selected field from source Meta

func (*Meta_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Meta_FieldSubPath) GetRaw

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

func (*Meta_FieldSubPath) GetSingle

func (fps *Meta_FieldSubPath) GetSingle(source *Meta) (interface{}, bool)

GetSingle returns value of selected field from source Meta

func (*Meta_FieldSubPath) GetSingleRaw

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

func (*Meta_FieldSubPath) IsLeaf

func (fps *Meta_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Meta_FieldSubPath) JSONString

func (fps *Meta_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Meta_FieldSubPath) Selector

func (fps *Meta_FieldSubPath) Selector() Meta_FieldPathSelector

func (*Meta_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Meta_FieldSubPath) String

func (fps *Meta_FieldSubPath) String() string

String returns path representation in proto convention

func (*Meta_FieldSubPath) WithIArrayItemValue

func (fps *Meta_FieldSubPath) WithIArrayItemValue(value interface{}) Meta_FieldPathArrayItemValue

func (*Meta_FieldSubPath) WithIArrayOfValues

func (fps *Meta_FieldSubPath) WithIArrayOfValues(values interface{}) Meta_FieldPathArrayOfValues

func (*Meta_FieldSubPath) WithIValue

func (fps *Meta_FieldSubPath) WithIValue(value interface{}) Meta_FieldPathValue

func (*Meta_FieldSubPath) WithRawIArrayItemValue

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

func (*Meta_FieldSubPath) WithRawIArrayOfValues

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

func (*Meta_FieldSubPath) WithRawIValue

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

type Meta_FieldSubPathArrayItemValue

type Meta_FieldSubPathArrayItemValue struct {
	Meta_FieldPath
	// contains filtered or unexported fields
}

func (*Meta_FieldSubPathArrayItemValue) AsLifecyclePathItemValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) AsLifecyclePathItemValue() (Lifecycle_FieldPathArrayItemValue, bool)

func (*Meta_FieldSubPathArrayItemValue) AsOwnerReferencesPathItemValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) AsOwnerReferencesPathItemValue() (OwnerReference_FieldPathArrayItemValue, bool)

func (*Meta_FieldSubPathArrayItemValue) AsServicesPathItemValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) AsServicesPathItemValue() (ServicesInfo_FieldPathArrayItemValue, bool)

func (*Meta_FieldSubPathArrayItemValue) AsSyncingPathItemValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) AsSyncingPathItemValue() (SyncingMeta_FieldPathArrayItemValue, bool)

func (*Meta_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) ContainsValue(source *Meta) bool

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

func (*Meta_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Meta_FieldSubPathArrayOfValues

type Meta_FieldSubPathArrayOfValues struct {
	Meta_FieldPath
	// contains filtered or unexported fields
}

func (*Meta_FieldSubPathArrayOfValues) AsLifecyclePathArrayOfValues

func (fpsaov *Meta_FieldSubPathArrayOfValues) AsLifecyclePathArrayOfValues() (Lifecycle_FieldPathArrayOfValues, bool)

func (*Meta_FieldSubPathArrayOfValues) AsOwnerReferencesPathArrayOfValues

func (fpsaov *Meta_FieldSubPathArrayOfValues) AsOwnerReferencesPathArrayOfValues() (OwnerReference_FieldPathArrayOfValues, bool)

func (*Meta_FieldSubPathArrayOfValues) AsServicesPathArrayOfValues

func (fpsaov *Meta_FieldSubPathArrayOfValues) AsServicesPathArrayOfValues() (ServicesInfo_FieldPathArrayOfValues, bool)

func (*Meta_FieldSubPathArrayOfValues) AsSyncingPathArrayOfValues

func (fpsaov *Meta_FieldSubPathArrayOfValues) AsSyncingPathArrayOfValues() (SyncingMeta_FieldPathArrayOfValues, bool)

func (*Meta_FieldSubPathArrayOfValues) GetRawValues

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

type Meta_FieldSubPathValue

type Meta_FieldSubPathValue struct {
	Meta_FieldPath
	// contains filtered or unexported fields
}

func (*Meta_FieldSubPathValue) AsLifecyclePathValue

func (fpvs *Meta_FieldSubPathValue) AsLifecyclePathValue() (Lifecycle_FieldPathValue, bool)

func (*Meta_FieldSubPathValue) AsOwnerReferencesPathValue

func (fpvs *Meta_FieldSubPathValue) AsOwnerReferencesPathValue() (OwnerReference_FieldPathValue, bool)

func (*Meta_FieldSubPathValue) AsServicesPathValue

func (fpvs *Meta_FieldSubPathValue) AsServicesPathValue() (ServicesInfo_FieldPathValue, bool)

func (*Meta_FieldSubPathValue) AsSyncingPathValue

func (fpvs *Meta_FieldSubPathValue) AsSyncingPathValue() (SyncingMeta_FieldPathValue, bool)

func (*Meta_FieldSubPathValue) CompareWith

func (fpvs *Meta_FieldSubPathValue) CompareWith(source *Meta) (int, bool)

func (*Meta_FieldSubPathValue) CompareWithRaw

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

func (*Meta_FieldSubPathValue) GetRawValue

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

func (*Meta_FieldSubPathValue) SetTo

func (fpvs *Meta_FieldSubPathValue) SetTo(target **Meta)

func (*Meta_FieldSubPathValue) SetToRaw

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

type Meta_FieldTerminalPath

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

func (*Meta_FieldTerminalPath) ClearValue

func (fp *Meta_FieldTerminalPath) ClearValue(item *Meta)

func (*Meta_FieldTerminalPath) ClearValueRaw

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

func (*Meta_FieldTerminalPath) Get

func (fp *Meta_FieldTerminalPath) Get(source *Meta) (values []interface{})

Get returns all values pointed by specific field from source Meta

func (*Meta_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Meta_FieldTerminalPath) GetRaw

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

func (*Meta_FieldTerminalPath) GetSingle

func (fp *Meta_FieldTerminalPath) GetSingle(source *Meta) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Meta

func (*Meta_FieldTerminalPath) GetSingleRaw

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

func (*Meta_FieldTerminalPath) IsLeaf

func (fp *Meta_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Meta_FieldTerminalPath) JSONString

func (fp *Meta_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Meta_FieldTerminalPath) Selector

func (*Meta_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Meta_FieldTerminalPath) String

func (fp *Meta_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Meta_FieldTerminalPath) WithIArrayItemValue

func (fp *Meta_FieldTerminalPath) WithIArrayItemValue(value interface{}) Meta_FieldPathArrayItemValue

func (*Meta_FieldTerminalPath) WithIArrayOfValues

func (fp *Meta_FieldTerminalPath) WithIArrayOfValues(values interface{}) Meta_FieldPathArrayOfValues

func (*Meta_FieldTerminalPath) WithIValue

func (fp *Meta_FieldTerminalPath) WithIValue(value interface{}) Meta_FieldPathValue

func (*Meta_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Meta_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Meta_FieldTerminalPath) WithRawIValue

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

type Meta_FieldTerminalPathArrayItemValue

type Meta_FieldTerminalPathArrayItemValue struct {
	Meta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Meta_FieldTerminalPathArrayItemValue) AsOwnerReferencesItemValue

func (fpaiv *Meta_FieldTerminalPathArrayItemValue) AsOwnerReferencesItemValue() (*OwnerReference, bool)

func (*Meta_FieldTerminalPathArrayItemValue) AsTagsItemValue

func (fpaiv *Meta_FieldTerminalPathArrayItemValue) AsTagsItemValue() (string, bool)

func (*Meta_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Meta_FieldTerminalPathArrayItemValue) ContainsValue(source *Meta) bool

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

func (*Meta_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Meta_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Meta_FieldTerminalPathArrayItemValue) GetSingle(source *Meta) (interface{}, bool)

func (*Meta_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Meta_FieldTerminalPathArrayOfValues

type Meta_FieldTerminalPathArrayOfValues struct {
	Meta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Meta_FieldTerminalPathArrayOfValues) AsAnnotationsArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsAnnotationsArrayOfValues() ([]map[string]string, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsCreateTimeArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsCreateTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsDeleteTimeArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsDeleteTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsGenerationArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsGenerationArrayOfValues() ([]int64, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([]map[string]string, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsLifecycleArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsLifecycleArrayOfValues() ([]*Lifecycle, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsOwnerReferencesArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsOwnerReferencesArrayOfValues() ([][]*OwnerReference, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsResourceVersionArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsResourceVersionArrayOfValues() ([]string, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsServicesArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsServicesArrayOfValues() ([]*ServicesInfo, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsShardsArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsShardsArrayOfValues() ([]map[string]int64, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsSyncingArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsSyncingArrayOfValues() ([]*SyncingMeta, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsTagsArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsTagsArrayOfValues() ([][]string, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsUpdateTimeArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsUpdateTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathArrayOfValues) AsUuidArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsUuidArrayOfValues() ([]string, bool)

func (*Meta_FieldTerminalPathArrayOfValues) GetRawValues

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

type Meta_FieldTerminalPathValue

type Meta_FieldTerminalPathValue struct {
	Meta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Meta_FieldTerminalPathValue) AsAnnotationsValue

func (fpv *Meta_FieldTerminalPathValue) AsAnnotationsValue() (map[string]string, bool)

func (*Meta_FieldTerminalPathValue) AsCreateTimeValue

func (fpv *Meta_FieldTerminalPathValue) AsCreateTimeValue() (*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathValue) AsDeleteTimeValue

func (fpv *Meta_FieldTerminalPathValue) AsDeleteTimeValue() (*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathValue) AsGenerationValue

func (fpv *Meta_FieldTerminalPathValue) AsGenerationValue() (int64, bool)

func (*Meta_FieldTerminalPathValue) AsLabelsValue

func (fpv *Meta_FieldTerminalPathValue) AsLabelsValue() (map[string]string, bool)

func (*Meta_FieldTerminalPathValue) AsLifecycleValue

func (fpv *Meta_FieldTerminalPathValue) AsLifecycleValue() (*Lifecycle, bool)

func (*Meta_FieldTerminalPathValue) AsOwnerReferencesValue

func (fpv *Meta_FieldTerminalPathValue) AsOwnerReferencesValue() ([]*OwnerReference, bool)

func (*Meta_FieldTerminalPathValue) AsResourceVersionValue

func (fpv *Meta_FieldTerminalPathValue) AsResourceVersionValue() (string, bool)

func (*Meta_FieldTerminalPathValue) AsServicesValue

func (fpv *Meta_FieldTerminalPathValue) AsServicesValue() (*ServicesInfo, bool)

func (*Meta_FieldTerminalPathValue) AsShardsValue

func (fpv *Meta_FieldTerminalPathValue) AsShardsValue() (map[string]int64, bool)

func (*Meta_FieldTerminalPathValue) AsSyncingValue

func (fpv *Meta_FieldTerminalPathValue) AsSyncingValue() (*SyncingMeta, bool)

func (*Meta_FieldTerminalPathValue) AsTagsValue

func (fpv *Meta_FieldTerminalPathValue) AsTagsValue() ([]string, bool)

func (*Meta_FieldTerminalPathValue) AsUpdateTimeValue

func (fpv *Meta_FieldTerminalPathValue) AsUpdateTimeValue() (*timestamppb.Timestamp, bool)

func (*Meta_FieldTerminalPathValue) AsUuidValue

func (fpv *Meta_FieldTerminalPathValue) AsUuidValue() (string, bool)

func (*Meta_FieldTerminalPathValue) CompareWith

func (fpv *Meta_FieldTerminalPathValue) CompareWith(source *Meta) (int, bool)

CompareWith compares value in the 'Meta_FieldTerminalPathValue' with the value under path in 'Meta'.

func (*Meta_FieldTerminalPathValue) CompareWithRaw

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

func (*Meta_FieldTerminalPathValue) GetRawValue

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

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

func (*Meta_FieldTerminalPathValue) SetTo

func (fpv *Meta_FieldTerminalPathValue) SetTo(target **Meta)

SetTo stores value for selected field for object Meta

func (*Meta_FieldTerminalPathValue) SetToRaw

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

type OwnerReference

type OwnerReference struct {

	// Resource kind, for example "library.goten.com/Site"
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty" firestore:"kind"`
	// For example v1
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty" firestore:"version"`
	// Name of the resource, for example projects/p1/devices/d1
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Region ID owning resource
	Region string `protobuf:"bytes,9,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// If true, this reference points to the managing controller.
	Controller bool `protobuf:"varint,6,opt,name=controller,proto3" json:"controller,omitempty" firestore:"controller"`
	// This flag indicates that owner must have schema-based reference for this
	// owner reference to be valid. Otherwise it will be removed. If there are
	// no other owners, resource will be deleted. It also works if owner
	// resource unsets its reference.
	// This extends default behavior of meta references, where ownees are deleted
	// only when owner is deleted. Here, we also want to delete ownee if owner
	// just stops pointing to ownee via own reference (or never pointed at all).
	// This flag is useful if higher-level service creates some resource in
	// lower level service and assigns via schema reference.
	RequiresOwnerReference bool `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

func (*OwnerReference) Clone

func (o *OwnerReference) Clone() *OwnerReference

func (*OwnerReference) CloneRaw

func (*OwnerReference) Descriptor

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

Deprecated, Use OwnerReference.ProtoReflect.Descriptor instead.

func (*OwnerReference) GetController

func (m *OwnerReference) GetController() bool

func (*OwnerReference) GetKind

func (m *OwnerReference) GetKind() string

func (*OwnerReference) GetName

func (m *OwnerReference) GetName() string

func (*OwnerReference) GetRegion

func (m *OwnerReference) GetRegion() string

func (*OwnerReference) GetRequiresOwnerReference

func (m *OwnerReference) GetRequiresOwnerReference() bool

func (*OwnerReference) GetVersion

func (m *OwnerReference) GetVersion() string

func (*OwnerReference) GotenMessage

func (*OwnerReference) GotenMessage()

func (*OwnerReference) GotenObjectExt

func (o *OwnerReference) GotenObjectExt()

func (*OwnerReference) GotenValidate

func (obj *OwnerReference) GotenValidate() error

func (*OwnerReference) MakeDiffFieldMask

func (o *OwnerReference) MakeDiffFieldMask(other *OwnerReference) *OwnerReference_FieldMask

func (*OwnerReference) MakeFullFieldMask

func (o *OwnerReference) MakeFullFieldMask() *OwnerReference_FieldMask

func (*OwnerReference) MakeRawDiffFieldMask

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

func (*OwnerReference) MakeRawFullFieldMask

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

func (*OwnerReference) Marshal

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

func (*OwnerReference) MarshalJSON

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

func (*OwnerReference) Merge

func (o *OwnerReference) Merge(source *OwnerReference)

func (*OwnerReference) MergeRaw

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

func (*OwnerReference) ProtoMessage

func (*OwnerReference) ProtoMessage()

func (*OwnerReference) ProtoReflect

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

func (*OwnerReference) Reset

func (m *OwnerReference) Reset()

func (*OwnerReference) SetController

func (m *OwnerReference) SetController(fv bool)

func (*OwnerReference) SetKind

func (m *OwnerReference) SetKind(fv string)

func (*OwnerReference) SetName

func (m *OwnerReference) SetName(fv string)

func (*OwnerReference) SetRegion

func (m *OwnerReference) SetRegion(fv string)

func (*OwnerReference) SetRequiresOwnerReference

func (m *OwnerReference) SetRequiresOwnerReference(fv bool)

func (*OwnerReference) SetVersion

func (m *OwnerReference) SetVersion(fv string)

func (*OwnerReference) String

func (m *OwnerReference) String() string

func (*OwnerReference) Unmarshal

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

func (*OwnerReference) UnmarshalJSON

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

type OwnerReferenceFieldPathBuilder

type OwnerReferenceFieldPathBuilder struct{}

func NewOwnerReferenceFieldPathBuilder

func NewOwnerReferenceFieldPathBuilder() OwnerReferenceFieldPathBuilder

func (OwnerReferenceFieldPathBuilder) Controller

func (OwnerReferenceFieldPathBuilder) Kind

func (OwnerReferenceFieldPathBuilder) Name

func (OwnerReferenceFieldPathBuilder) Region

func (OwnerReferenceFieldPathBuilder) RequiresOwnerReference

func (OwnerReferenceFieldPathBuilder) Version

type OwnerReferencePathSelectorController

type OwnerReferencePathSelectorController struct{}

func (OwnerReferencePathSelectorController) FieldPath

func (OwnerReferencePathSelectorController) WithArrayOfValues

func (OwnerReferencePathSelectorController) WithValue

type OwnerReferencePathSelectorKind

type OwnerReferencePathSelectorKind struct{}

func (OwnerReferencePathSelectorKind) FieldPath

func (OwnerReferencePathSelectorKind) WithArrayOfValues

func (OwnerReferencePathSelectorKind) WithValue

type OwnerReferencePathSelectorName

type OwnerReferencePathSelectorName struct{}

func (OwnerReferencePathSelectorName) FieldPath

func (OwnerReferencePathSelectorName) WithArrayOfValues

func (OwnerReferencePathSelectorName) WithValue

type OwnerReferencePathSelectorRegion

type OwnerReferencePathSelectorRegion struct{}

func (OwnerReferencePathSelectorRegion) FieldPath

func (OwnerReferencePathSelectorRegion) WithArrayOfValues

func (OwnerReferencePathSelectorRegion) WithValue

type OwnerReferencePathSelectorRequiresOwnerReference

type OwnerReferencePathSelectorRequiresOwnerReference struct{}

func (OwnerReferencePathSelectorRequiresOwnerReference) FieldPath

func (OwnerReferencePathSelectorRequiresOwnerReference) WithArrayOfValues

func (OwnerReferencePathSelectorRequiresOwnerReference) WithValue

type OwnerReferencePathSelectorVersion

type OwnerReferencePathSelectorVersion struct{}

func (OwnerReferencePathSelectorVersion) FieldPath

func (OwnerReferencePathSelectorVersion) WithArrayOfValues

func (OwnerReferencePathSelectorVersion) WithValue

type OwnerReference_FieldMask

type OwnerReference_FieldMask struct {
	Paths []OwnerReference_FieldPath
}

func FullOwnerReference_FieldMask

func FullOwnerReference_FieldMask() *OwnerReference_FieldMask

func (*OwnerReference_FieldMask) AppendPath

func (fieldMask *OwnerReference_FieldMask) AppendPath(path OwnerReference_FieldPath)

func (*OwnerReference_FieldMask) AppendRawPath

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

func (*OwnerReference_FieldMask) DecodeFirestore

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

func (*OwnerReference_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*OwnerReference_FieldMask) FilterInputFields

func (fieldMask *OwnerReference_FieldMask) FilterInputFields() *OwnerReference_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*OwnerReference_FieldMask) FromProtoFieldMask

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

func (*OwnerReference_FieldMask) GetPaths

func (fieldMask *OwnerReference_FieldMask) GetPaths() []OwnerReference_FieldPath

func (*OwnerReference_FieldMask) GetRawPaths

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

func (*OwnerReference_FieldMask) IsFull

func (fieldMask *OwnerReference_FieldMask) IsFull() bool

func (OwnerReference_FieldMask) Marshal

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

implement methods required by customType

func (OwnerReference_FieldMask) MarshalJSON

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

func (*OwnerReference_FieldMask) PathsCount

func (fieldMask *OwnerReference_FieldMask) PathsCount() int

func (*OwnerReference_FieldMask) Project

func (fieldMask *OwnerReference_FieldMask) Project(source *OwnerReference) *OwnerReference

func (*OwnerReference_FieldMask) ProjectRaw

func (*OwnerReference_FieldMask) ProtoMessage

func (fieldMask *OwnerReference_FieldMask) ProtoMessage()

func (*OwnerReference_FieldMask) ProtoReflect

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

func (*OwnerReference_FieldMask) Reset

func (fieldMask *OwnerReference_FieldMask) Reset()

func (*OwnerReference_FieldMask) Set

func (fieldMask *OwnerReference_FieldMask) Set(target, source *OwnerReference)

func (*OwnerReference_FieldMask) SetFromCliFlag

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

func (*OwnerReference_FieldMask) SetRaw

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

func (*OwnerReference_FieldMask) Size

func (fieldMask *OwnerReference_FieldMask) Size() int

func (*OwnerReference_FieldMask) String

func (fieldMask *OwnerReference_FieldMask) String() string

func (*OwnerReference_FieldMask) Subtract

func (*OwnerReference_FieldMask) SubtractRaw

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

func (*OwnerReference_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*OwnerReference_FieldMask) Unmarshal

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

func (*OwnerReference_FieldMask) UnmarshalJSON

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

type OwnerReference_FieldPath

type OwnerReference_FieldPath interface {
	gotenobject.FieldPath
	Selector() OwnerReference_FieldPathSelector
	Get(source *OwnerReference) []interface{}
	GetSingle(source *OwnerReference) (interface{}, bool)
	ClearValue(item *OwnerReference)

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

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

func MustParseOwnerReference_FieldPath

func MustParseOwnerReference_FieldPath(rawField string) OwnerReference_FieldPath

func ParseOwnerReference_FieldPath

func ParseOwnerReference_FieldPath(rawField string) (OwnerReference_FieldPath, error)

type OwnerReference_FieldPathArrayItemValue

type OwnerReference_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	OwnerReference_FieldPath
	ContainsValue(*OwnerReference) bool
}

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

func MustParseOwnerReference_FieldPathArrayItemValue

func MustParseOwnerReference_FieldPathArrayItemValue(pathStr, valueStr string) OwnerReference_FieldPathArrayItemValue

func ParseOwnerReference_FieldPathArrayItemValue

func ParseOwnerReference_FieldPathArrayItemValue(pathStr, valueStr string) (OwnerReference_FieldPathArrayItemValue, error)

ParseOwnerReference_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type OwnerReference_FieldPathArrayOfValues

type OwnerReference_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	OwnerReference_FieldPath
}

OwnerReference_FieldPathArrayOfValues allows storing slice of values for OwnerReference fields according to their type

func MustParseOwnerReference_FieldPathArrayOfValues

func MustParseOwnerReference_FieldPathArrayOfValues(pathStr, valuesStr string) OwnerReference_FieldPathArrayOfValues

func ParseOwnerReference_FieldPathArrayOfValues

func ParseOwnerReference_FieldPathArrayOfValues(pathStr, valuesStr string) (OwnerReference_FieldPathArrayOfValues, error)

type OwnerReference_FieldPathSelector

type OwnerReference_FieldPathSelector int32
const (
	OwnerReference_FieldPathSelectorKind                   OwnerReference_FieldPathSelector = 0
	OwnerReference_FieldPathSelectorVersion                OwnerReference_FieldPathSelector = 1
	OwnerReference_FieldPathSelectorName                   OwnerReference_FieldPathSelector = 2
	OwnerReference_FieldPathSelectorRegion                 OwnerReference_FieldPathSelector = 3
	OwnerReference_FieldPathSelectorController             OwnerReference_FieldPathSelector = 4
	OwnerReference_FieldPathSelectorRequiresOwnerReference OwnerReference_FieldPathSelector = 5
)

func (OwnerReference_FieldPathSelector) String

type OwnerReference_FieldPathValue

type OwnerReference_FieldPathValue interface {
	OwnerReference_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **OwnerReference)
	CompareWith(*OwnerReference) (cmp int, comparable bool)
}

OwnerReference_FieldPathValue allows storing values for OwnerReference fields according to their type

func MustParseOwnerReference_FieldPathValue

func MustParseOwnerReference_FieldPathValue(pathStr, valueStr string) OwnerReference_FieldPathValue

func ParseOwnerReference_FieldPathValue

func ParseOwnerReference_FieldPathValue(pathStr, valueStr string) (OwnerReference_FieldPathValue, error)

type OwnerReference_FieldTerminalPath

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

func (*OwnerReference_FieldTerminalPath) ClearValue

func (fp *OwnerReference_FieldTerminalPath) ClearValue(item *OwnerReference)

func (*OwnerReference_FieldTerminalPath) ClearValueRaw

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

func (*OwnerReference_FieldTerminalPath) Get

func (fp *OwnerReference_FieldTerminalPath) Get(source *OwnerReference) (values []interface{})

Get returns all values pointed by specific field from source OwnerReference

func (*OwnerReference_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*OwnerReference_FieldTerminalPath) GetRaw

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

func (*OwnerReference_FieldTerminalPath) GetSingle

func (fp *OwnerReference_FieldTerminalPath) GetSingle(source *OwnerReference) (interface{}, bool)

GetSingle returns value pointed by specific field of from source OwnerReference

func (*OwnerReference_FieldTerminalPath) GetSingleRaw

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

func (*OwnerReference_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*OwnerReference_FieldTerminalPath) JSONString

func (fp *OwnerReference_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*OwnerReference_FieldTerminalPath) Selector

func (*OwnerReference_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*OwnerReference_FieldTerminalPath) String

String returns path representation in proto convention

func (*OwnerReference_FieldTerminalPath) WithIArrayItemValue

func (fp *OwnerReference_FieldTerminalPath) WithIArrayItemValue(value interface{}) OwnerReference_FieldPathArrayItemValue

func (*OwnerReference_FieldTerminalPath) WithIArrayOfValues

func (fp *OwnerReference_FieldTerminalPath) WithIArrayOfValues(values interface{}) OwnerReference_FieldPathArrayOfValues

func (*OwnerReference_FieldTerminalPath) WithIValue

func (fp *OwnerReference_FieldTerminalPath) WithIValue(value interface{}) OwnerReference_FieldPathValue

func (*OwnerReference_FieldTerminalPath) WithRawIArrayItemValue

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

func (*OwnerReference_FieldTerminalPath) WithRawIArrayOfValues

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

func (*OwnerReference_FieldTerminalPath) WithRawIValue

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

type OwnerReference_FieldTerminalPathArrayItemValue

type OwnerReference_FieldTerminalPathArrayItemValue struct {
	OwnerReference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OwnerReference_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *OwnerReference_FieldTerminalPathArrayItemValue) GetSingle(source *OwnerReference) (interface{}, bool)

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type OwnerReference_FieldTerminalPathArrayOfValues

type OwnerReference_FieldTerminalPathArrayOfValues struct {
	OwnerReference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsControllerArrayOfValues

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsControllerArrayOfValues() ([]bool, bool)

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsKindArrayOfValues

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsKindArrayOfValues() ([]string, bool)

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsRequiresOwnerReferenceArrayOfValues

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsRequiresOwnerReferenceArrayOfValues() ([]bool, bool)

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues() ([]string, bool)

func (*OwnerReference_FieldTerminalPathArrayOfValues) GetRawValues

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

type OwnerReference_FieldTerminalPathValue

type OwnerReference_FieldTerminalPathValue struct {
	OwnerReference_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OwnerReference_FieldTerminalPathValue) AsControllerValue

func (fpv *OwnerReference_FieldTerminalPathValue) AsControllerValue() (bool, bool)

func (*OwnerReference_FieldTerminalPathValue) AsKindValue

func (fpv *OwnerReference_FieldTerminalPathValue) AsKindValue() (string, bool)

func (*OwnerReference_FieldTerminalPathValue) AsNameValue

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

func (*OwnerReference_FieldTerminalPathValue) AsRegionValue

func (fpv *OwnerReference_FieldTerminalPathValue) AsRegionValue() (string, bool)

func (*OwnerReference_FieldTerminalPathValue) AsRequiresOwnerReferenceValue

func (fpv *OwnerReference_FieldTerminalPathValue) AsRequiresOwnerReferenceValue() (bool, bool)

func (*OwnerReference_FieldTerminalPathValue) AsVersionValue

func (fpv *OwnerReference_FieldTerminalPathValue) AsVersionValue() (string, bool)

func (*OwnerReference_FieldTerminalPathValue) CompareWith

func (fpv *OwnerReference_FieldTerminalPathValue) CompareWith(source *OwnerReference) (int, bool)

CompareWith compares value in the 'OwnerReference_FieldTerminalPathValue' with the value under path in 'OwnerReference'.

func (*OwnerReference_FieldTerminalPathValue) CompareWithRaw

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

func (*OwnerReference_FieldTerminalPathValue) GetRawValue

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

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

func (*OwnerReference_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object OwnerReference

func (*OwnerReference_FieldTerminalPathValue) SetToRaw

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

type ServicesInfo

type ServicesInfo struct {

	// Service domain owning resource
	OwningService string `` /* 126-byte string literal not displayed */
	// List of services with allowed access to resource.
	AllowedServices []string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

ServicesInfo contains information about resource ownership/access in terms of service. As goten is a multi-service framework, it is possible for a resource in one service to be "owned" by another one. Owning service may also need to regulate access to other services via allowed services field. It should be note that Goten does not provide authorization layer of its own, ServicesInfo is provided for convenience, but actual restriction should be implemented by actual services.

func (*ServicesInfo) Clone

func (o *ServicesInfo) Clone() *ServicesInfo

func (*ServicesInfo) CloneRaw

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

func (*ServicesInfo) Descriptor

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

Deprecated, Use ServicesInfo.ProtoReflect.Descriptor instead.

func (*ServicesInfo) EnsureHasAllowed

func (si *ServicesInfo) EnsureHasAllowed(svcId string)

func (*ServicesInfo) EnsureRemovedFromAllowed

func (si *ServicesInfo) EnsureRemovedFromAllowed(svcId string)

func (*ServicesInfo) GetAllowedServices

func (m *ServicesInfo) GetAllowedServices() []string

func (*ServicesInfo) GetOwningService

func (m *ServicesInfo) GetOwningService() string

func (*ServicesInfo) GotenMessage

func (*ServicesInfo) GotenMessage()

func (*ServicesInfo) GotenObjectExt

func (o *ServicesInfo) GotenObjectExt()

func (*ServicesInfo) GotenValidate

func (obj *ServicesInfo) GotenValidate() error

func (*ServicesInfo) MakeDiffFieldMask

func (o *ServicesInfo) MakeDiffFieldMask(other *ServicesInfo) *ServicesInfo_FieldMask

func (*ServicesInfo) MakeFullFieldMask

func (o *ServicesInfo) MakeFullFieldMask() *ServicesInfo_FieldMask

func (*ServicesInfo) MakeRawDiffFieldMask

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

func (*ServicesInfo) MakeRawFullFieldMask

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

func (*ServicesInfo) Marshal

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

func (*ServicesInfo) MarshalJSON

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

func (*ServicesInfo) Merge

func (o *ServicesInfo) Merge(source *ServicesInfo)

func (*ServicesInfo) MergeRaw

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

func (*ServicesInfo) ProtoMessage

func (*ServicesInfo) ProtoMessage()

func (*ServicesInfo) ProtoReflect

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

func (*ServicesInfo) Reset

func (m *ServicesInfo) Reset()

func (*ServicesInfo) SetAllowedServices

func (m *ServicesInfo) SetAllowedServices(fv []string)

func (*ServicesInfo) SetOwningService

func (m *ServicesInfo) SetOwningService(fv string)

func (*ServicesInfo) String

func (m *ServicesInfo) String() string

func (*ServicesInfo) Unmarshal

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

func (*ServicesInfo) UnmarshalJSON

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

type ServicesInfoFieldPathBuilder

type ServicesInfoFieldPathBuilder struct{}

func NewServicesInfoFieldPathBuilder

func NewServicesInfoFieldPathBuilder() ServicesInfoFieldPathBuilder

func (ServicesInfoFieldPathBuilder) AllowedServices

func (ServicesInfoFieldPathBuilder) OwningService

type ServicesInfoPathSelectorAllowedServices

type ServicesInfoPathSelectorAllowedServices struct{}

func (ServicesInfoPathSelectorAllowedServices) FieldPath

func (ServicesInfoPathSelectorAllowedServices) WithArrayOfValues

func (ServicesInfoPathSelectorAllowedServices) WithItemValue

func (ServicesInfoPathSelectorAllowedServices) WithValue

type ServicesInfoPathSelectorOwningService

type ServicesInfoPathSelectorOwningService struct{}

func (ServicesInfoPathSelectorOwningService) FieldPath

func (ServicesInfoPathSelectorOwningService) WithArrayOfValues

func (ServicesInfoPathSelectorOwningService) WithValue

type ServicesInfo_FieldMask

type ServicesInfo_FieldMask struct {
	Paths []ServicesInfo_FieldPath
}

func FullServicesInfo_FieldMask

func FullServicesInfo_FieldMask() *ServicesInfo_FieldMask

func (*ServicesInfo_FieldMask) AppendPath

func (fieldMask *ServicesInfo_FieldMask) AppendPath(path ServicesInfo_FieldPath)

func (*ServicesInfo_FieldMask) AppendRawPath

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

func (*ServicesInfo_FieldMask) DecodeFirestore

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

func (*ServicesInfo_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ServicesInfo_FieldMask) FilterInputFields

func (fieldMask *ServicesInfo_FieldMask) FilterInputFields() *ServicesInfo_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ServicesInfo_FieldMask) FromProtoFieldMask

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

func (*ServicesInfo_FieldMask) GetPaths

func (fieldMask *ServicesInfo_FieldMask) GetPaths() []ServicesInfo_FieldPath

func (*ServicesInfo_FieldMask) GetRawPaths

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

func (*ServicesInfo_FieldMask) IsFull

func (fieldMask *ServicesInfo_FieldMask) IsFull() bool

func (ServicesInfo_FieldMask) Marshal

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

implement methods required by customType

func (ServicesInfo_FieldMask) MarshalJSON

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

func (*ServicesInfo_FieldMask) PathsCount

func (fieldMask *ServicesInfo_FieldMask) PathsCount() int

func (*ServicesInfo_FieldMask) Project

func (fieldMask *ServicesInfo_FieldMask) Project(source *ServicesInfo) *ServicesInfo

func (*ServicesInfo_FieldMask) ProjectRaw

func (*ServicesInfo_FieldMask) ProtoMessage

func (fieldMask *ServicesInfo_FieldMask) ProtoMessage()

func (*ServicesInfo_FieldMask) ProtoReflect

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

func (*ServicesInfo_FieldMask) Reset

func (fieldMask *ServicesInfo_FieldMask) Reset()

func (*ServicesInfo_FieldMask) Set

func (fieldMask *ServicesInfo_FieldMask) Set(target, source *ServicesInfo)

func (*ServicesInfo_FieldMask) SetFromCliFlag

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

func (*ServicesInfo_FieldMask) SetRaw

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

func (*ServicesInfo_FieldMask) Size

func (fieldMask *ServicesInfo_FieldMask) Size() int

func (*ServicesInfo_FieldMask) String

func (fieldMask *ServicesInfo_FieldMask) String() string

func (*ServicesInfo_FieldMask) Subtract

func (*ServicesInfo_FieldMask) SubtractRaw

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

func (*ServicesInfo_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ServicesInfo_FieldMask) Unmarshal

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

func (*ServicesInfo_FieldMask) UnmarshalJSON

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

type ServicesInfo_FieldPath

type ServicesInfo_FieldPath interface {
	gotenobject.FieldPath
	Selector() ServicesInfo_FieldPathSelector
	Get(source *ServicesInfo) []interface{}
	GetSingle(source *ServicesInfo) (interface{}, bool)
	ClearValue(item *ServicesInfo)

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

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

func MustParseServicesInfo_FieldPath

func MustParseServicesInfo_FieldPath(rawField string) ServicesInfo_FieldPath

func ParseServicesInfo_FieldPath

func ParseServicesInfo_FieldPath(rawField string) (ServicesInfo_FieldPath, error)

type ServicesInfo_FieldPathArrayItemValue

type ServicesInfo_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ServicesInfo_FieldPath
	ContainsValue(*ServicesInfo) bool
}

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

func MustParseServicesInfo_FieldPathArrayItemValue

func MustParseServicesInfo_FieldPathArrayItemValue(pathStr, valueStr string) ServicesInfo_FieldPathArrayItemValue

func ParseServicesInfo_FieldPathArrayItemValue

func ParseServicesInfo_FieldPathArrayItemValue(pathStr, valueStr string) (ServicesInfo_FieldPathArrayItemValue, error)

ParseServicesInfo_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ServicesInfo_FieldPathArrayOfValues

type ServicesInfo_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ServicesInfo_FieldPath
}

ServicesInfo_FieldPathArrayOfValues allows storing slice of values for ServicesInfo fields according to their type

func MustParseServicesInfo_FieldPathArrayOfValues

func MustParseServicesInfo_FieldPathArrayOfValues(pathStr, valuesStr string) ServicesInfo_FieldPathArrayOfValues

func ParseServicesInfo_FieldPathArrayOfValues

func ParseServicesInfo_FieldPathArrayOfValues(pathStr, valuesStr string) (ServicesInfo_FieldPathArrayOfValues, error)

type ServicesInfo_FieldPathSelector

type ServicesInfo_FieldPathSelector int32
const (
	ServicesInfo_FieldPathSelectorOwningService   ServicesInfo_FieldPathSelector = 0
	ServicesInfo_FieldPathSelectorAllowedServices ServicesInfo_FieldPathSelector = 1
)

func (ServicesInfo_FieldPathSelector) String

type ServicesInfo_FieldPathValue

type ServicesInfo_FieldPathValue interface {
	ServicesInfo_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ServicesInfo)
	CompareWith(*ServicesInfo) (cmp int, comparable bool)
}

ServicesInfo_FieldPathValue allows storing values for ServicesInfo fields according to their type

func MustParseServicesInfo_FieldPathValue

func MustParseServicesInfo_FieldPathValue(pathStr, valueStr string) ServicesInfo_FieldPathValue

func ParseServicesInfo_FieldPathValue

func ParseServicesInfo_FieldPathValue(pathStr, valueStr string) (ServicesInfo_FieldPathValue, error)

type ServicesInfo_FieldTerminalPath

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

func (*ServicesInfo_FieldTerminalPath) ClearValue

func (fp *ServicesInfo_FieldTerminalPath) ClearValue(item *ServicesInfo)

func (*ServicesInfo_FieldTerminalPath) ClearValueRaw

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

func (*ServicesInfo_FieldTerminalPath) Get

func (fp *ServicesInfo_FieldTerminalPath) Get(source *ServicesInfo) (values []interface{})

Get returns all values pointed by specific field from source ServicesInfo

func (*ServicesInfo_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ServicesInfo_FieldTerminalPath) GetRaw

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

func (*ServicesInfo_FieldTerminalPath) GetSingle

func (fp *ServicesInfo_FieldTerminalPath) GetSingle(source *ServicesInfo) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ServicesInfo

func (*ServicesInfo_FieldTerminalPath) GetSingleRaw

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

func (*ServicesInfo_FieldTerminalPath) IsLeaf

func (fp *ServicesInfo_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ServicesInfo_FieldTerminalPath) JSONString

func (fp *ServicesInfo_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ServicesInfo_FieldTerminalPath) Selector

func (*ServicesInfo_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*ServicesInfo_FieldTerminalPath) String

String returns path representation in proto convention

func (*ServicesInfo_FieldTerminalPath) WithIArrayItemValue

func (fp *ServicesInfo_FieldTerminalPath) WithIArrayItemValue(value interface{}) ServicesInfo_FieldPathArrayItemValue

func (*ServicesInfo_FieldTerminalPath) WithIArrayOfValues

func (fp *ServicesInfo_FieldTerminalPath) WithIArrayOfValues(values interface{}) ServicesInfo_FieldPathArrayOfValues

func (*ServicesInfo_FieldTerminalPath) WithIValue

func (fp *ServicesInfo_FieldTerminalPath) WithIValue(value interface{}) ServicesInfo_FieldPathValue

func (*ServicesInfo_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ServicesInfo_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ServicesInfo_FieldTerminalPath) WithRawIValue

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

type ServicesInfo_FieldTerminalPathArrayItemValue

type ServicesInfo_FieldTerminalPathArrayItemValue struct {
	ServicesInfo_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServicesInfo_FieldTerminalPathArrayItemValue) AsAllowedServicesItemValue

func (fpaiv *ServicesInfo_FieldTerminalPathArrayItemValue) AsAllowedServicesItemValue() (string, bool)

func (*ServicesInfo_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ServicesInfo_FieldTerminalPathArrayItemValue) ContainsValue(source *ServicesInfo) bool

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

func (*ServicesInfo_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ServicesInfo_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ServicesInfo_FieldTerminalPathArrayItemValue) GetSingle(source *ServicesInfo) (interface{}, bool)

func (*ServicesInfo_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ServicesInfo_FieldTerminalPathArrayOfValues

type ServicesInfo_FieldTerminalPathArrayOfValues struct {
	ServicesInfo_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServicesInfo_FieldTerminalPathArrayOfValues) AsAllowedServicesArrayOfValues

func (fpaov *ServicesInfo_FieldTerminalPathArrayOfValues) AsAllowedServicesArrayOfValues() ([][]string, bool)

func (*ServicesInfo_FieldTerminalPathArrayOfValues) AsOwningServiceArrayOfValues

func (fpaov *ServicesInfo_FieldTerminalPathArrayOfValues) AsOwningServiceArrayOfValues() ([]string, bool)

func (*ServicesInfo_FieldTerminalPathArrayOfValues) GetRawValues

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

type ServicesInfo_FieldTerminalPathValue

type ServicesInfo_FieldTerminalPathValue struct {
	ServicesInfo_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ServicesInfo_FieldTerminalPathValue) AsAllowedServicesValue

func (fpv *ServicesInfo_FieldTerminalPathValue) AsAllowedServicesValue() ([]string, bool)

func (*ServicesInfo_FieldTerminalPathValue) AsOwningServiceValue

func (fpv *ServicesInfo_FieldTerminalPathValue) AsOwningServiceValue() (string, bool)

func (*ServicesInfo_FieldTerminalPathValue) CompareWith

func (fpv *ServicesInfo_FieldTerminalPathValue) CompareWith(source *ServicesInfo) (int, bool)

CompareWith compares value in the 'ServicesInfo_FieldTerminalPathValue' with the value under path in 'ServicesInfo'.

func (*ServicesInfo_FieldTerminalPathValue) CompareWithRaw

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

func (*ServicesInfo_FieldTerminalPathValue) GetRawValue

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

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

func (*ServicesInfo_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object ServicesInfo

func (*ServicesInfo_FieldTerminalPathValue) SetToRaw

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

type SyncingMeta

type SyncingMeta struct {

	// For regional resources (or their descendants) it is equal to the region ID (present in resource name). Otherwise
	// it is equal to the region as defined in Policy object under default_control_region field.
	OwningRegion string `protobuf:"bytes,1,opt,name=owning_region,json=owningRegion,proto3" json:"owning_region,omitempty" firestore:"owningRegion"`
	// List of regions where owning resource can be present. If can be present in all regions, will contain "*".
	Regions []string `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty" firestore:"regions"`
	// contains filtered or unexported fields
}

SyncingMeta is a helper object associated with each resource that is either regional or is governed by Policy object. This object is used for internal purposes like Sync controller which ensures data synchronization of all resources across multiple regions.

func (*SyncingMeta) Clone

func (o *SyncingMeta) Clone() *SyncingMeta

func (*SyncingMeta) CloneRaw

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

func (*SyncingMeta) Descriptor

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

Deprecated, Use SyncingMeta.ProtoReflect.Descriptor instead.

func (*SyncingMeta) GetOwningRegion

func (m *SyncingMeta) GetOwningRegion() string

func (*SyncingMeta) GetRegions

func (m *SyncingMeta) GetRegions() []string

func (*SyncingMeta) GotenMessage

func (*SyncingMeta) GotenMessage()

func (*SyncingMeta) GotenObjectExt

func (o *SyncingMeta) GotenObjectExt()

func (*SyncingMeta) GotenValidate

func (obj *SyncingMeta) GotenValidate() error

func (*SyncingMeta) MakeDiffFieldMask

func (o *SyncingMeta) MakeDiffFieldMask(other *SyncingMeta) *SyncingMeta_FieldMask

func (*SyncingMeta) MakeFullFieldMask

func (o *SyncingMeta) MakeFullFieldMask() *SyncingMeta_FieldMask

func (*SyncingMeta) MakeRawDiffFieldMask

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

func (*SyncingMeta) MakeRawFullFieldMask

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

func (*SyncingMeta) Marshal

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

func (*SyncingMeta) MarshalJSON

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

func (*SyncingMeta) Merge

func (o *SyncingMeta) Merge(source *SyncingMeta)

func (*SyncingMeta) MergeRaw

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

func (*SyncingMeta) ProtoMessage

func (*SyncingMeta) ProtoMessage()

func (*SyncingMeta) ProtoReflect

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

func (*SyncingMeta) Reset

func (m *SyncingMeta) Reset()

func (*SyncingMeta) SetOwningRegion

func (m *SyncingMeta) SetOwningRegion(fv string)

func (*SyncingMeta) SetRegions

func (m *SyncingMeta) SetRegions(fv []string)

func (*SyncingMeta) String

func (m *SyncingMeta) String() string

func (*SyncingMeta) Unmarshal

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

func (*SyncingMeta) UnmarshalJSON

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

type SyncingMetaFieldPathBuilder

type SyncingMetaFieldPathBuilder struct{}

func NewSyncingMetaFieldPathBuilder

func NewSyncingMetaFieldPathBuilder() SyncingMetaFieldPathBuilder

func (SyncingMetaFieldPathBuilder) OwningRegion

func (SyncingMetaFieldPathBuilder) Regions

type SyncingMetaPathSelectorOwningRegion

type SyncingMetaPathSelectorOwningRegion struct{}

func (SyncingMetaPathSelectorOwningRegion) FieldPath

func (SyncingMetaPathSelectorOwningRegion) WithArrayOfValues

func (SyncingMetaPathSelectorOwningRegion) WithValue

type SyncingMetaPathSelectorRegions

type SyncingMetaPathSelectorRegions struct{}

func (SyncingMetaPathSelectorRegions) FieldPath

func (SyncingMetaPathSelectorRegions) WithArrayOfValues

func (SyncingMetaPathSelectorRegions) WithItemValue

func (SyncingMetaPathSelectorRegions) WithValue

type SyncingMeta_FieldMask

type SyncingMeta_FieldMask struct {
	Paths []SyncingMeta_FieldPath
}

func FullSyncingMeta_FieldMask

func FullSyncingMeta_FieldMask() *SyncingMeta_FieldMask

func (*SyncingMeta_FieldMask) AppendPath

func (fieldMask *SyncingMeta_FieldMask) AppendPath(path SyncingMeta_FieldPath)

func (*SyncingMeta_FieldMask) AppendRawPath

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

func (*SyncingMeta_FieldMask) DecodeFirestore

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

func (*SyncingMeta_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*SyncingMeta_FieldMask) FilterInputFields

func (fieldMask *SyncingMeta_FieldMask) FilterInputFields() *SyncingMeta_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*SyncingMeta_FieldMask) FromProtoFieldMask

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

func (*SyncingMeta_FieldMask) GetPaths

func (fieldMask *SyncingMeta_FieldMask) GetPaths() []SyncingMeta_FieldPath

func (*SyncingMeta_FieldMask) GetRawPaths

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

func (*SyncingMeta_FieldMask) IsFull

func (fieldMask *SyncingMeta_FieldMask) IsFull() bool

func (SyncingMeta_FieldMask) Marshal

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

implement methods required by customType

func (SyncingMeta_FieldMask) MarshalJSON

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

func (*SyncingMeta_FieldMask) PathsCount

func (fieldMask *SyncingMeta_FieldMask) PathsCount() int

func (*SyncingMeta_FieldMask) Project

func (fieldMask *SyncingMeta_FieldMask) Project(source *SyncingMeta) *SyncingMeta

func (*SyncingMeta_FieldMask) ProjectRaw

func (*SyncingMeta_FieldMask) ProtoMessage

func (fieldMask *SyncingMeta_FieldMask) ProtoMessage()

func (*SyncingMeta_FieldMask) ProtoReflect

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

func (*SyncingMeta_FieldMask) Reset

func (fieldMask *SyncingMeta_FieldMask) Reset()

func (*SyncingMeta_FieldMask) Set

func (fieldMask *SyncingMeta_FieldMask) Set(target, source *SyncingMeta)

func (*SyncingMeta_FieldMask) SetFromCliFlag

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

func (*SyncingMeta_FieldMask) SetRaw

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

func (*SyncingMeta_FieldMask) Size

func (fieldMask *SyncingMeta_FieldMask) Size() int

func (*SyncingMeta_FieldMask) String

func (fieldMask *SyncingMeta_FieldMask) String() string

func (*SyncingMeta_FieldMask) Subtract

func (*SyncingMeta_FieldMask) SubtractRaw

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

func (*SyncingMeta_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*SyncingMeta_FieldMask) Unmarshal

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

func (*SyncingMeta_FieldMask) UnmarshalJSON

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

type SyncingMeta_FieldPath

type SyncingMeta_FieldPath interface {
	gotenobject.FieldPath
	Selector() SyncingMeta_FieldPathSelector
	Get(source *SyncingMeta) []interface{}
	GetSingle(source *SyncingMeta) (interface{}, bool)
	ClearValue(item *SyncingMeta)

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

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

func MustParseSyncingMeta_FieldPath

func MustParseSyncingMeta_FieldPath(rawField string) SyncingMeta_FieldPath

func ParseSyncingMeta_FieldPath

func ParseSyncingMeta_FieldPath(rawField string) (SyncingMeta_FieldPath, error)

type SyncingMeta_FieldPathArrayItemValue

type SyncingMeta_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	SyncingMeta_FieldPath
	ContainsValue(*SyncingMeta) bool
}

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

func MustParseSyncingMeta_FieldPathArrayItemValue

func MustParseSyncingMeta_FieldPathArrayItemValue(pathStr, valueStr string) SyncingMeta_FieldPathArrayItemValue

func ParseSyncingMeta_FieldPathArrayItemValue

func ParseSyncingMeta_FieldPathArrayItemValue(pathStr, valueStr string) (SyncingMeta_FieldPathArrayItemValue, error)

ParseSyncingMeta_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type SyncingMeta_FieldPathArrayOfValues

type SyncingMeta_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	SyncingMeta_FieldPath
}

SyncingMeta_FieldPathArrayOfValues allows storing slice of values for SyncingMeta fields according to their type

func MustParseSyncingMeta_FieldPathArrayOfValues

func MustParseSyncingMeta_FieldPathArrayOfValues(pathStr, valuesStr string) SyncingMeta_FieldPathArrayOfValues

func ParseSyncingMeta_FieldPathArrayOfValues

func ParseSyncingMeta_FieldPathArrayOfValues(pathStr, valuesStr string) (SyncingMeta_FieldPathArrayOfValues, error)

type SyncingMeta_FieldPathSelector

type SyncingMeta_FieldPathSelector int32
const (
	SyncingMeta_FieldPathSelectorOwningRegion SyncingMeta_FieldPathSelector = 0
	SyncingMeta_FieldPathSelectorRegions      SyncingMeta_FieldPathSelector = 1
)

func (SyncingMeta_FieldPathSelector) String

type SyncingMeta_FieldPathValue

type SyncingMeta_FieldPathValue interface {
	SyncingMeta_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **SyncingMeta)
	CompareWith(*SyncingMeta) (cmp int, comparable bool)
}

SyncingMeta_FieldPathValue allows storing values for SyncingMeta fields according to their type

func MustParseSyncingMeta_FieldPathValue

func MustParseSyncingMeta_FieldPathValue(pathStr, valueStr string) SyncingMeta_FieldPathValue

func ParseSyncingMeta_FieldPathValue

func ParseSyncingMeta_FieldPathValue(pathStr, valueStr string) (SyncingMeta_FieldPathValue, error)

type SyncingMeta_FieldTerminalPath

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

func (*SyncingMeta_FieldTerminalPath) ClearValue

func (fp *SyncingMeta_FieldTerminalPath) ClearValue(item *SyncingMeta)

func (*SyncingMeta_FieldTerminalPath) ClearValueRaw

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

func (*SyncingMeta_FieldTerminalPath) Get

func (fp *SyncingMeta_FieldTerminalPath) Get(source *SyncingMeta) (values []interface{})

Get returns all values pointed by specific field from source SyncingMeta

func (*SyncingMeta_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*SyncingMeta_FieldTerminalPath) GetRaw

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

func (*SyncingMeta_FieldTerminalPath) GetSingle

func (fp *SyncingMeta_FieldTerminalPath) GetSingle(source *SyncingMeta) (interface{}, bool)

GetSingle returns value pointed by specific field of from source SyncingMeta

func (*SyncingMeta_FieldTerminalPath) GetSingleRaw

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

func (*SyncingMeta_FieldTerminalPath) IsLeaf

func (fp *SyncingMeta_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*SyncingMeta_FieldTerminalPath) JSONString

func (fp *SyncingMeta_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*SyncingMeta_FieldTerminalPath) Selector

func (*SyncingMeta_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*SyncingMeta_FieldTerminalPath) String

String returns path representation in proto convention

func (*SyncingMeta_FieldTerminalPath) WithIArrayItemValue

func (fp *SyncingMeta_FieldTerminalPath) WithIArrayItemValue(value interface{}) SyncingMeta_FieldPathArrayItemValue

func (*SyncingMeta_FieldTerminalPath) WithIArrayOfValues

func (fp *SyncingMeta_FieldTerminalPath) WithIArrayOfValues(values interface{}) SyncingMeta_FieldPathArrayOfValues

func (*SyncingMeta_FieldTerminalPath) WithIValue

func (fp *SyncingMeta_FieldTerminalPath) WithIValue(value interface{}) SyncingMeta_FieldPathValue

func (*SyncingMeta_FieldTerminalPath) WithRawIArrayItemValue

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

func (*SyncingMeta_FieldTerminalPath) WithRawIArrayOfValues

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

func (*SyncingMeta_FieldTerminalPath) WithRawIValue

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

type SyncingMeta_FieldTerminalPathArrayItemValue

type SyncingMeta_FieldTerminalPathArrayItemValue struct {
	SyncingMeta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*SyncingMeta_FieldTerminalPathArrayItemValue) AsRegionsItemValue

func (fpaiv *SyncingMeta_FieldTerminalPathArrayItemValue) AsRegionsItemValue() (string, bool)

func (*SyncingMeta_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *SyncingMeta_FieldTerminalPathArrayItemValue) ContainsValue(source *SyncingMeta) bool

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *SyncingMeta_FieldTerminalPathArrayItemValue) GetSingle(source *SyncingMeta) (interface{}, bool)

func (*SyncingMeta_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type SyncingMeta_FieldTerminalPathArrayOfValues

type SyncingMeta_FieldTerminalPathArrayOfValues struct {
	SyncingMeta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*SyncingMeta_FieldTerminalPathArrayOfValues) AsOwningRegionArrayOfValues

func (fpaov *SyncingMeta_FieldTerminalPathArrayOfValues) AsOwningRegionArrayOfValues() ([]string, bool)

func (*SyncingMeta_FieldTerminalPathArrayOfValues) AsRegionsArrayOfValues

func (fpaov *SyncingMeta_FieldTerminalPathArrayOfValues) AsRegionsArrayOfValues() ([][]string, bool)

func (*SyncingMeta_FieldTerminalPathArrayOfValues) GetRawValues

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

type SyncingMeta_FieldTerminalPathValue

type SyncingMeta_FieldTerminalPathValue struct {
	SyncingMeta_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*SyncingMeta_FieldTerminalPathValue) AsOwningRegionValue

func (fpv *SyncingMeta_FieldTerminalPathValue) AsOwningRegionValue() (string, bool)

func (*SyncingMeta_FieldTerminalPathValue) AsRegionsValue

func (fpv *SyncingMeta_FieldTerminalPathValue) AsRegionsValue() ([]string, bool)

func (*SyncingMeta_FieldTerminalPathValue) CompareWith

func (fpv *SyncingMeta_FieldTerminalPathValue) CompareWith(source *SyncingMeta) (int, bool)

CompareWith compares value in the 'SyncingMeta_FieldTerminalPathValue' with the value under path in 'SyncingMeta'.

func (*SyncingMeta_FieldTerminalPathValue) CompareWithRaw

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

func (*SyncingMeta_FieldTerminalPathValue) GetRawValue

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

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

func (*SyncingMeta_FieldTerminalPathValue) SetTo

func (fpv *SyncingMeta_FieldTerminalPathValue) SetTo(target **SyncingMeta)

SetTo stores value for selected field for object SyncingMeta

func (*SyncingMeta_FieldTerminalPathValue) SetToRaw

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

Jump to

Keyboard shortcuts

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