ntt_meta

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.
	// +optional
	MatchLabels map[string]string `` /* 206-byte string literal not displayed */
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	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) 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 *fieldmaskpb.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() *fieldmaskpb.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) 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 *fieldmaskpb.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() *fieldmaskpb.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) 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) 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) 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 Meta

type Meta struct {
	CreateTime  *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty" firestore:"createTime"`
	UpdateTime  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty" firestore:"updateTime"`
	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.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info:
	// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	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.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	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"`
	// 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) GetAnnotations

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

func (*Meta) GetCreateTime

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

func (*Meta) GetGeneration

func (m *Meta) GetGeneration() int64

func (*Meta) GetLabels

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

func (*Meta) GetOwnerReferences

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

func (*Meta) GetResourceVersion

func (m *Meta) GetResourceVersion() string

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() *timestamp.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 *timestamp.Timestamp)

func (*Meta) SetGeneration

func (m *Meta) SetGeneration(fv int64)

func (*Meta) SetLabels

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

func (*Meta) SetOwnerReferences

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

func (*Meta) SetResourceVersion

func (m *Meta) SetResourceVersion(fv string)

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 *timestamp.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) Generation

func (MetaFieldPathBuilder) Labels

func (MetaFieldPathBuilder) OwnerReferences

func (MetaFieldPathBuilder) ResourceVersion

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 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 MetaPathSelectorOwnerReferences

type MetaPathSelectorOwnerReferences struct{}

func (MetaPathSelectorOwnerReferences) ApiVersion

func (MetaPathSelectorOwnerReferences) BlockOwnerDeletion

func (MetaPathSelectorOwnerReferences) Controller

func (MetaPathSelectorOwnerReferences) FieldPath

func (MetaPathSelectorOwnerReferences) Kind

func (MetaPathSelectorOwnerReferences) Name

func (MetaPathSelectorOwnerReferences) Uid

func (MetaPathSelectorOwnerReferences) WithArrayOfValues

func (MetaPathSelectorOwnerReferences) WithItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayOfValues

func (MetaPathSelectorOwnerReferences) WithSubPath

func (MetaPathSelectorOwnerReferences) WithSubValue

func (MetaPathSelectorOwnerReferences) WithValue

type MetaPathSelectorOwnerReferencesApiVersion

type MetaPathSelectorOwnerReferencesApiVersion struct{}

func (MetaPathSelectorOwnerReferencesApiVersion) FieldPath

func (MetaPathSelectorOwnerReferencesApiVersion) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesApiVersion) WithValue

type MetaPathSelectorOwnerReferencesBlockOwnerDeletion

type MetaPathSelectorOwnerReferencesBlockOwnerDeletion struct{}

func (MetaPathSelectorOwnerReferencesBlockOwnerDeletion) FieldPath

func (MetaPathSelectorOwnerReferencesBlockOwnerDeletion) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesBlockOwnerDeletion) 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 MetaPathSelectorOwnerReferencesUid

type MetaPathSelectorOwnerReferencesUid struct{}

func (MetaPathSelectorOwnerReferencesUid) FieldPath

func (MetaPathSelectorOwnerReferencesUid) WithArrayOfValues

func (MetaPathSelectorOwnerReferencesUid) WithValue

type MetaPathSelectorResourceVersion

type MetaPathSelectorResourceVersion struct{}

func (MetaPathSelectorResourceVersion) FieldPath

func (MetaPathSelectorResourceVersion) WithArrayOfValues

func (MetaPathSelectorResourceVersion) 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 *fieldmaskpb.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() *fieldmaskpb.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) 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_FieldPathSelectorUuid            Meta_FieldPathSelector = 2
	Meta_FieldPathSelectorTags            Meta_FieldPathSelector = 3
	Meta_FieldPathSelectorLabels          Meta_FieldPathSelector = 4
	Meta_FieldPathSelectorAnnotations     Meta_FieldPathSelector = 5
	Meta_FieldPathSelectorGeneration      Meta_FieldPathSelector = 6
	Meta_FieldPathSelectorResourceVersion Meta_FieldPathSelector = 7
	Meta_FieldPathSelectorOwnerReferences Meta_FieldPathSelector = 8
	Meta_FieldPathSelectorShards          Meta_FieldPathSelector = 9
	Meta_FieldPathSelectorSyncing         Meta_FieldPathSelector = 10
)

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

func (fps *Meta_FieldSubPath) AsOwnerReferencesSubPath() (OwnerReference_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) 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) AsOwnerReferencesPathItemValue

func (fpaivs *Meta_FieldSubPathArrayItemValue) AsOwnerReferencesPathItemValue() (OwnerReference_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) AsOwnerReferencesPathArrayOfValues

func (fpsaov *Meta_FieldSubPathArrayOfValues) AsOwnerReferencesPathArrayOfValues() (OwnerReference_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) AsOwnerReferencesPathValue

func (fpvs *Meta_FieldSubPathValue) AsOwnerReferencesPathValue() (OwnerReference_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) 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() ([]*timestamp.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) AsOwnerReferencesArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) AsResourceVersionArrayOfValues

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsResourceVersionArrayOfValues() ([]string, 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() ([]*timestamp.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() (*timestamp.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) AsOwnerReferencesValue

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

func (*Meta_FieldTerminalPathValue) AsResourceVersionValue

func (fpv *Meta_FieldTerminalPathValue) AsResourceVersionValue() (string, 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() (*timestamp.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 {

	// API version of the referent.
	ApiVersion string `protobuf:"bytes,5,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty" firestore:"apiVersion"`
	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty" firestore:"kind"`
	// Name of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// UID of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty" firestore:"uid"`
	// If true, this reference points to the managing controller.
	Controller bool `protobuf:"varint,6,opt,name=controller,proto3" json:"controller,omitempty" firestore:"controller"`
	// If true, AND if the owner has the "foregroundDeletion" finalizer, then
	// the owner cannot be deleted from the key-value store until this
	// reference is removed.
	// Defaults to false.
	// To set this field, a user needs "delete" permission of the owner,
	// otherwise 422 (Unprocessable Entity) will be returned.
	BlockOwnerDeletion bool `` /* 149-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) GetApiVersion

func (m *OwnerReference) GetApiVersion() string

func (*OwnerReference) GetBlockOwnerDeletion

func (m *OwnerReference) GetBlockOwnerDeletion() bool

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

func (m *OwnerReference) GetUid() 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) SetApiVersion

func (m *OwnerReference) SetApiVersion(fv string)

func (*OwnerReference) SetBlockOwnerDeletion

func (m *OwnerReference) SetBlockOwnerDeletion(fv bool)

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

func (m *OwnerReference) SetUid(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) ApiVersion

func (OwnerReferenceFieldPathBuilder) BlockOwnerDeletion

func (OwnerReferenceFieldPathBuilder) Controller

func (OwnerReferenceFieldPathBuilder) Kind

func (OwnerReferenceFieldPathBuilder) Name

func (OwnerReferenceFieldPathBuilder) Uid

type OwnerReferencePathSelectorApiVersion

type OwnerReferencePathSelectorApiVersion struct{}

func (OwnerReferencePathSelectorApiVersion) FieldPath

func (OwnerReferencePathSelectorApiVersion) WithArrayOfValues

func (OwnerReferencePathSelectorApiVersion) WithValue

type OwnerReferencePathSelectorBlockOwnerDeletion

type OwnerReferencePathSelectorBlockOwnerDeletion struct{}

func (OwnerReferencePathSelectorBlockOwnerDeletion) FieldPath

func (OwnerReferencePathSelectorBlockOwnerDeletion) WithArrayOfValues

func (OwnerReferencePathSelectorBlockOwnerDeletion) WithValue

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 OwnerReferencePathSelectorUid

type OwnerReferencePathSelectorUid struct{}

func (OwnerReferencePathSelectorUid) FieldPath

func (OwnerReferencePathSelectorUid) WithArrayOfValues

func (OwnerReferencePathSelectorUid) 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 *fieldmaskpb.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() *fieldmaskpb.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_FieldPathSelectorApiVersion         OwnerReference_FieldPathSelector = 0
	OwnerReference_FieldPathSelectorKind               OwnerReference_FieldPathSelector = 1
	OwnerReference_FieldPathSelectorName               OwnerReference_FieldPathSelector = 2
	OwnerReference_FieldPathSelectorUid                OwnerReference_FieldPathSelector = 3
	OwnerReference_FieldPathSelectorController         OwnerReference_FieldPathSelector = 4
	OwnerReference_FieldPathSelectorBlockOwnerDeletion 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) 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) AsApiVersionArrayOfValues

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsBlockOwnerDeletionArrayOfValues

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

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

func (fpaov *OwnerReference_FieldTerminalPathArrayOfValues) AsUidArrayOfValues() ([]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) AsApiVersionValue

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

func (*OwnerReference_FieldTerminalPathValue) AsBlockOwnerDeletionValue

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

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

func (fpv *OwnerReference_FieldTerminalPathValue) AsUidValue() (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 SyncingMeta added in v0.5.1

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

func (o *SyncingMeta) Clone() *SyncingMeta

func (*SyncingMeta) CloneRaw added in v0.5.1

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

func (*SyncingMeta) Descriptor added in v0.5.1

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

Deprecated, Use SyncingMeta.ProtoReflect.Descriptor instead.

func (*SyncingMeta) GetOwningRegion added in v0.5.1

func (m *SyncingMeta) GetOwningRegion() string

func (*SyncingMeta) GetRegions added in v0.5.1

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

func (*SyncingMeta) GotenMessage added in v0.5.1

func (*SyncingMeta) GotenMessage()

func (*SyncingMeta) GotenObjectExt added in v0.5.1

func (o *SyncingMeta) GotenObjectExt()

func (*SyncingMeta) GotenValidate added in v0.5.1

func (obj *SyncingMeta) GotenValidate() error

func (*SyncingMeta) MakeDiffFieldMask added in v0.5.1

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

func (*SyncingMeta) MakeFullFieldMask added in v0.5.1

func (o *SyncingMeta) MakeFullFieldMask() *SyncingMeta_FieldMask

func (*SyncingMeta) MakeRawDiffFieldMask added in v0.5.1

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

func (*SyncingMeta) MakeRawFullFieldMask added in v0.5.1

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

func (*SyncingMeta) Marshal added in v0.5.1

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

func (*SyncingMeta) MarshalJSON added in v0.5.1

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

func (*SyncingMeta) Merge added in v0.5.1

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

func (*SyncingMeta) MergeRaw added in v0.5.1

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

func (*SyncingMeta) ProtoMessage added in v0.5.1

func (*SyncingMeta) ProtoMessage()

func (*SyncingMeta) ProtoReflect added in v0.5.1

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

func (*SyncingMeta) Reset added in v0.5.1

func (m *SyncingMeta) Reset()

func (*SyncingMeta) SetOwningRegion added in v0.5.1

func (m *SyncingMeta) SetOwningRegion(fv string)

func (*SyncingMeta) SetRegions added in v0.5.1

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

func (*SyncingMeta) String added in v0.5.1

func (m *SyncingMeta) String() string

func (*SyncingMeta) Unmarshal added in v0.5.1

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

func (*SyncingMeta) UnmarshalJSON added in v0.5.1

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

type SyncingMetaFieldPathBuilder added in v0.5.1

type SyncingMetaFieldPathBuilder struct{}

func NewSyncingMetaFieldPathBuilder added in v0.5.1

func NewSyncingMetaFieldPathBuilder() SyncingMetaFieldPathBuilder

func (SyncingMetaFieldPathBuilder) OwningRegion added in v0.5.1

func (SyncingMetaFieldPathBuilder) Regions added in v0.5.1

type SyncingMetaPathSelectorOwningRegion added in v0.5.1

type SyncingMetaPathSelectorOwningRegion struct{}

func (SyncingMetaPathSelectorOwningRegion) FieldPath added in v0.5.1

func (SyncingMetaPathSelectorOwningRegion) WithArrayOfValues added in v0.5.1

func (SyncingMetaPathSelectorOwningRegion) WithValue added in v0.5.1

type SyncingMetaPathSelectorRegions added in v0.5.1

type SyncingMetaPathSelectorRegions struct{}

func (SyncingMetaPathSelectorRegions) FieldPath added in v0.5.1

func (SyncingMetaPathSelectorRegions) WithArrayOfValues added in v0.5.1

func (SyncingMetaPathSelectorRegions) WithItemValue added in v0.5.1

func (SyncingMetaPathSelectorRegions) WithValue added in v0.5.1

type SyncingMeta_FieldMask added in v0.5.1

type SyncingMeta_FieldMask struct {
	Paths []SyncingMeta_FieldPath
}

func FullSyncingMeta_FieldMask added in v0.5.1

func FullSyncingMeta_FieldMask() *SyncingMeta_FieldMask

func (*SyncingMeta_FieldMask) AppendPath added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) AppendPath(path SyncingMeta_FieldPath)

func (*SyncingMeta_FieldMask) AppendRawPath added in v0.5.1

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

func (*SyncingMeta_FieldMask) DecodeFirestore added in v0.5.1

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

func (*SyncingMeta_FieldMask) EncodeFirestore added in v0.5.1

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

firestore encoding/decoding integration

func (*SyncingMeta_FieldMask) FilterInputFields added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) FilterInputFields() *SyncingMeta_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*SyncingMeta_FieldMask) FromProtoFieldMask added in v0.5.1

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

func (*SyncingMeta_FieldMask) GetPaths added in v0.5.1

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

func (*SyncingMeta_FieldMask) GetRawPaths added in v0.5.1

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

func (*SyncingMeta_FieldMask) IsFull added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) IsFull() bool

func (SyncingMeta_FieldMask) Marshal added in v0.5.1

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

implement methods required by customType

func (SyncingMeta_FieldMask) MarshalJSON added in v0.5.1

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

func (*SyncingMeta_FieldMask) PathsCount added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) PathsCount() int

func (*SyncingMeta_FieldMask) Project added in v0.5.1

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

func (*SyncingMeta_FieldMask) ProjectRaw added in v0.5.1

func (*SyncingMeta_FieldMask) ProtoMessage added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) ProtoMessage()

func (*SyncingMeta_FieldMask) ProtoReflect added in v0.5.1

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

func (*SyncingMeta_FieldMask) Reset added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) Reset()

func (*SyncingMeta_FieldMask) Set added in v0.5.1

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

func (*SyncingMeta_FieldMask) SetFromCliFlag added in v0.5.1

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

func (*SyncingMeta_FieldMask) SetRaw added in v0.5.1

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

func (*SyncingMeta_FieldMask) Size added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) Size() int

func (*SyncingMeta_FieldMask) String added in v0.5.1

func (fieldMask *SyncingMeta_FieldMask) String() string

func (*SyncingMeta_FieldMask) Subtract added in v0.5.1

func (*SyncingMeta_FieldMask) SubtractRaw added in v0.5.1

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

func (*SyncingMeta_FieldMask) ToProtoFieldMask added in v0.5.1

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

ToFieldMask is used for proto conversions

func (*SyncingMeta_FieldMask) Unmarshal added in v0.5.1

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

func (*SyncingMeta_FieldMask) UnmarshalJSON added in v0.5.1

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

type SyncingMeta_FieldPath added in v0.5.1

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

func BuildSyncingMeta_FieldPath(fp gotenobject.RawFieldPath) (SyncingMeta_FieldPath, error)

func MustParseSyncingMeta_FieldPath added in v0.5.1

func MustParseSyncingMeta_FieldPath(rawField string) SyncingMeta_FieldPath

func ParseSyncingMeta_FieldPath added in v0.5.1

func ParseSyncingMeta_FieldPath(rawField string) (SyncingMeta_FieldPath, error)

type SyncingMeta_FieldPathArrayItemValue added in v0.5.1

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

func MustParseSyncingMeta_FieldPathArrayItemValue(pathStr, valueStr string) SyncingMeta_FieldPathArrayItemValue

func ParseSyncingMeta_FieldPathArrayItemValue added in v0.5.1

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

ParseSyncingMeta_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type SyncingMeta_FieldPathArrayOfValues added in v0.5.1

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

func MustParseSyncingMeta_FieldPathArrayOfValues(pathStr, valuesStr string) SyncingMeta_FieldPathArrayOfValues

func ParseSyncingMeta_FieldPathArrayOfValues added in v0.5.1

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

type SyncingMeta_FieldPathSelector added in v0.5.1

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

func (SyncingMeta_FieldPathSelector) String added in v0.5.1

type SyncingMeta_FieldPathValue added in v0.5.1

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

func MustParseSyncingMeta_FieldPathValue(pathStr, valueStr string) SyncingMeta_FieldPathValue

func ParseSyncingMeta_FieldPathValue added in v0.5.1

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

type SyncingMeta_FieldTerminalPath added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) ClearValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) ClearValueRaw added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) Get added in v0.5.1

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

Get returns all values pointed by specific field from source SyncingMeta

func (*SyncingMeta_FieldTerminalPath) GetDefault added in v0.5.1

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

GetDefault returns a default value of the field type

func (*SyncingMeta_FieldTerminalPath) GetRaw added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) GetSingle added in v0.5.1

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

GetSingle returns value pointed by specific field of from source SyncingMeta

func (*SyncingMeta_FieldTerminalPath) GetSingleRaw added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) IsLeaf added in v0.5.1

func (fp *SyncingMeta_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*SyncingMeta_FieldTerminalPath) JSONString added in v0.5.1

func (fp *SyncingMeta_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*SyncingMeta_FieldTerminalPath) Selector added in v0.5.1

func (*SyncingMeta_FieldTerminalPath) String added in v0.5.1

String returns path representation in proto convention

func (*SyncingMeta_FieldTerminalPath) WithIArrayItemValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) WithIArrayOfValues added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) WithIValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) WithRawIArrayItemValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) WithRawIArrayOfValues added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPath) WithRawIValue added in v0.5.1

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

type SyncingMeta_FieldTerminalPathArrayItemValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) AsRegionsItemValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) ContainsValue added in v0.5.1

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

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

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) GetSingle added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayItemValue) GetSingleRaw added in v0.5.1

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

type SyncingMeta_FieldTerminalPathArrayOfValues added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayOfValues) AsOwningRegionArrayOfValues added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayOfValues) AsRegionsArrayOfValues added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathArrayOfValues) GetRawValues added in v0.5.1

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

type SyncingMeta_FieldTerminalPathValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathValue) AsOwningRegionValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathValue) AsRegionsValue added in v0.5.1

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

func (*SyncingMeta_FieldTerminalPathValue) CompareWith added in v0.5.1

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

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

func (*SyncingMeta_FieldTerminalPathValue) GetRawValue added in v0.5.1

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

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

func (*SyncingMeta_FieldTerminalPathValue) SetTo added in v0.5.1

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

SetTo stores value for selected field for object SyncingMeta

func (*SyncingMeta_FieldTerminalPathValue) SetToRaw added in v0.5.1

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