ntt_meta

package
v0.12.33 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

Functions

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.
	MatchLabels map[string]string `` /* 206-byte string literal not displayed */
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	MatchExpressions []*LabelSelectorRequirement `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*LabelSelector) Clone

func (o *LabelSelector) Clone() *LabelSelector

func (*LabelSelector) CloneRaw

func (*LabelSelector) Descriptor

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

Deprecated, Use LabelSelector.ProtoReflect.Descriptor instead.

func (*LabelSelector) GetMatchExpressions

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

func (*LabelSelector) GetMatchLabels

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

func (*LabelSelector) GotenMessage

func (*LabelSelector) GotenMessage()

func (*LabelSelector) GotenObjectExt

func (o *LabelSelector) GotenObjectExt()

func (*LabelSelector) GotenValidate

func (obj *LabelSelector) GotenValidate() error

func (*LabelSelector) MakeDiffFieldMask

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

func (*LabelSelector) MakeFullFieldMask

func (o *LabelSelector) MakeFullFieldMask() *LabelSelector_FieldMask

func (*LabelSelector) MakeRawDiffFieldMask

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

func (*LabelSelector) MakeRawFullFieldMask

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

func (*LabelSelector) Marshal

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

func (*LabelSelector) MarshalJSON

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

func (*LabelSelector) 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) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelSelectorRequirement_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelSelectorRequirement_FieldTerminalPath) WithIArrayItemValue

func (*LabelSelectorRequirement_FieldTerminalPath) WithIArrayOfValues

func (*LabelSelectorRequirement_FieldTerminalPath) WithIValue

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPath) WithRawIValue

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

type LabelSelectorRequirement_FieldTerminalPathArrayItemValue

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) AsValuesItemValue

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetSingle

func (*LabelSelectorRequirement_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelSelectorRequirement_FieldTerminalPathArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsOperatorArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) AsValuesArrayOfValues

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

func (*LabelSelectorRequirement_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelSelectorRequirement_FieldTerminalPathValue

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsKeyValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsOperatorValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) AsValuesValue

func (*LabelSelectorRequirement_FieldTerminalPathValue) CompareWith

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelSelectorRequirement_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelSelectorRequirement

func (*LabelSelectorRequirement_FieldTerminalPathValue) SetToRaw

type LabelSelector_FieldMask

type LabelSelector_FieldMask struct {
	Paths []LabelSelector_FieldPath
}

func FullLabelSelector_FieldMask

func FullLabelSelector_FieldMask() *LabelSelector_FieldMask

func (*LabelSelector_FieldMask) AppendPath

func (fieldMask *LabelSelector_FieldMask) AppendPath(path LabelSelector_FieldPath)

func (*LabelSelector_FieldMask) AppendRawPath

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

func (*LabelSelector_FieldMask) DecodeFirestore

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

func (*LabelSelector_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelSelector_FieldMask) FilterInputFields

func (fieldMask *LabelSelector_FieldMask) FilterInputFields() *LabelSelector_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelSelector_FieldMask) FromProtoFieldMask

func (fieldMask *LabelSelector_FieldMask) FromProtoFieldMask(protoFieldMask *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) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelSelector_FieldPathMap) String

func (fpm *LabelSelector_FieldPathMap) String() string

String returns path representation in proto convention

func (*LabelSelector_FieldPathMap) WithIArrayItemValue

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

func (*LabelSelector_FieldPathMap) WithIArrayOfValues

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

func (*LabelSelector_FieldPathMap) WithIValue

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

func (*LabelSelector_FieldPathMap) WithRawIArrayItemValue

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

func (*LabelSelector_FieldPathMap) WithRawIArrayOfValues

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

func (*LabelSelector_FieldPathMap) WithRawIValue

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

type LabelSelector_FieldPathMapArrayOfValues

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

func (*LabelSelector_FieldPathMapArrayOfValues) AsMatchLabelsArrayOfElementValues

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

func (*LabelSelector_FieldPathMapArrayOfValues) GetRawValues

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

type LabelSelector_FieldPathMapValue

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

func (*LabelSelector_FieldPathMapValue) AsMatchLabelsElementValue

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

func (*LabelSelector_FieldPathMapValue) CompareWith

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

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

func (*LabelSelector_FieldPathMapValue) CompareWithRaw

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

func (*LabelSelector_FieldPathMapValue) GetRawValue

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

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

func (*LabelSelector_FieldPathMapValue) SetTo

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

SetTo stores value for selected field in LabelSelector

func (*LabelSelector_FieldPathMapValue) SetToRaw

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

type LabelSelector_FieldPathSelector

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

func (LabelSelector_FieldPathSelector) String

type LabelSelector_FieldPathValue

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

LabelSelector_FieldPathValue allows storing values for LabelSelector fields according to their type

func MustParseLabelSelector_FieldPathValue

func MustParseLabelSelector_FieldPathValue(pathStr, valueStr string) LabelSelector_FieldPathValue

func ParseLabelSelector_FieldPathValue

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

type LabelSelector_FieldSubPath

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

func (*LabelSelector_FieldSubPath) AsMatchExpressionsSubPath

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

func (*LabelSelector_FieldSubPath) ClearValue

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

func (*LabelSelector_FieldSubPath) ClearValueRaw

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

func (*LabelSelector_FieldSubPath) Get

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

Get returns all values pointed by selected field from source LabelSelector

func (*LabelSelector_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelSelector_FieldSubPath) GetRaw

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

func (*LabelSelector_FieldSubPath) GetSingle

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

GetSingle returns value of selected field from source LabelSelector

func (*LabelSelector_FieldSubPath) GetSingleRaw

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

func (*LabelSelector_FieldSubPath) IsLeaf

func (fps *LabelSelector_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LabelSelector_FieldSubPath) JSONString

func (fps *LabelSelector_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelSelector_FieldSubPath) Selector

func (*LabelSelector_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelSelector_FieldSubPath) String

func (fps *LabelSelector_FieldSubPath) String() string

String returns path representation in proto convention

func (*LabelSelector_FieldSubPath) WithIArrayItemValue

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

func (*LabelSelector_FieldSubPath) WithIArrayOfValues

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

func (*LabelSelector_FieldSubPath) WithIValue

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

func (*LabelSelector_FieldSubPath) WithRawIArrayItemValue

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

func (*LabelSelector_FieldSubPath) WithRawIArrayOfValues

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

func (*LabelSelector_FieldSubPath) WithRawIValue

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

type LabelSelector_FieldSubPathArrayItemValue

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

func (*LabelSelector_FieldSubPathArrayItemValue) AsMatchExpressionsPathItemValue

func (*LabelSelector_FieldSubPathArrayItemValue) ContainsValue

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

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

func (*LabelSelector_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type LabelSelector_FieldSubPathArrayOfValues

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

func (*LabelSelector_FieldSubPathArrayOfValues) AsMatchExpressionsPathArrayOfValues

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

func (*LabelSelector_FieldSubPathArrayOfValues) GetRawValues

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

type LabelSelector_FieldSubPathValue

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

func (*LabelSelector_FieldSubPathValue) AsMatchExpressionsPathValue

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

func (*LabelSelector_FieldSubPathValue) CompareWith

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

func (*LabelSelector_FieldSubPathValue) CompareWithRaw

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

func (*LabelSelector_FieldSubPathValue) GetRawValue

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

func (*LabelSelector_FieldSubPathValue) SetTo

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

func (*LabelSelector_FieldSubPathValue) SetToRaw

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

type LabelSelector_FieldTerminalPath

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

func (*LabelSelector_FieldTerminalPath) ClearValue

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

func (*LabelSelector_FieldTerminalPath) ClearValueRaw

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

func (*LabelSelector_FieldTerminalPath) Get

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

Get returns all values pointed by specific field from source LabelSelector

func (*LabelSelector_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelSelector_FieldTerminalPath) GetRaw

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

func (*LabelSelector_FieldTerminalPath) GetSingle

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

GetSingle returns value pointed by specific field of from source LabelSelector

func (*LabelSelector_FieldTerminalPath) GetSingleRaw

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

func (*LabelSelector_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LabelSelector_FieldTerminalPath) JSONString

func (fp *LabelSelector_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelSelector_FieldTerminalPath) Selector

func (*LabelSelector_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LabelSelector_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelSelector_FieldTerminalPath) WithIArrayItemValue

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

func (*LabelSelector_FieldTerminalPath) WithIArrayOfValues

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

func (*LabelSelector_FieldTerminalPath) WithIValue

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

func (*LabelSelector_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelSelector_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelSelector_FieldTerminalPath) WithRawIValue

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

type LabelSelector_FieldTerminalPathArrayItemValue

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) AsMatchExpressionsItemValue

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetSingle

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

func (*LabelSelector_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelSelector_FieldTerminalPathArrayOfValues

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

func (*LabelSelector_FieldTerminalPathArrayOfValues) AsMatchExpressionsArrayOfValues

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

func (*LabelSelector_FieldTerminalPathArrayOfValues) AsMatchLabelsArrayOfValues

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

func (*LabelSelector_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelSelector_FieldTerminalPathValue

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

func (*LabelSelector_FieldTerminalPathValue) AsMatchExpressionsValue

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

func (*LabelSelector_FieldTerminalPathValue) AsMatchLabelsValue

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

func (*LabelSelector_FieldTerminalPathValue) CompareWith

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

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

func (*LabelSelector_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelSelector_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelSelector_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelSelector

func (*LabelSelector_FieldTerminalPathValue) SetToRaw

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

type Lifecycle added in v0.8.0

type Lifecycle struct {

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

func (*Lifecycle) Clone added in v0.8.0

func (o *Lifecycle) Clone() *Lifecycle

func (*Lifecycle) CloneRaw added in v0.8.0

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

func (*Lifecycle) Descriptor added in v0.8.0

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

Deprecated, Use Lifecycle.ProtoReflect.Descriptor instead.

func (*Lifecycle) GetBlockDeletion added in v0.8.0

func (m *Lifecycle) GetBlockDeletion() bool

func (*Lifecycle) GetState added in v0.8.0

func (m *Lifecycle) GetState() Lifecycle_State

func (*Lifecycle) GotenMessage added in v0.8.0

func (*Lifecycle) GotenMessage()

func (*Lifecycle) GotenObjectExt added in v0.8.0

func (o *Lifecycle) GotenObjectExt()

func (*Lifecycle) GotenValidate added in v0.8.0

func (obj *Lifecycle) GotenValidate() error

func (*Lifecycle) MakeDiffFieldMask added in v0.8.0

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

func (*Lifecycle) MakeFullFieldMask added in v0.8.0

func (o *Lifecycle) MakeFullFieldMask() *Lifecycle_FieldMask

func (*Lifecycle) MakeRawDiffFieldMask added in v0.8.0

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

func (*Lifecycle) MakeRawFullFieldMask added in v0.8.0

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

func (*Lifecycle) Marshal added in v0.8.0

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

func (*Lifecycle) MarshalJSON added in v0.8.0

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

func (*Lifecycle) Merge added in v0.8.0

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

func (*Lifecycle) MergeRaw added in v0.8.0

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

func (*Lifecycle) ProtoMessage added in v0.8.0

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) ProtoReflect added in v0.8.0

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

func (*Lifecycle) Reset added in v0.8.0

func (m *Lifecycle) Reset()

func (*Lifecycle) SetBlockDeletion added in v0.8.0

func (m *Lifecycle) SetBlockDeletion(fv bool)

func (*Lifecycle) SetState added in v0.8.0

func (m *Lifecycle) SetState(fv Lifecycle_State)

func (*Lifecycle) String added in v0.8.0

func (m *Lifecycle) String() string

func (*Lifecycle) Unmarshal added in v0.8.0

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

func (*Lifecycle) UnmarshalJSON added in v0.8.0

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

type LifecycleFieldPathBuilder added in v0.8.0

type LifecycleFieldPathBuilder struct{}

func NewLifecycleFieldPathBuilder added in v0.8.0

func NewLifecycleFieldPathBuilder() LifecycleFieldPathBuilder

func (LifecycleFieldPathBuilder) BlockDeletion added in v0.8.0

func (LifecycleFieldPathBuilder) State added in v0.8.0

type LifecyclePathSelectorBlockDeletion added in v0.8.0

type LifecyclePathSelectorBlockDeletion struct{}

func (LifecyclePathSelectorBlockDeletion) FieldPath added in v0.8.0

func (LifecyclePathSelectorBlockDeletion) WithArrayOfValues added in v0.8.0

func (LifecyclePathSelectorBlockDeletion) WithValue added in v0.8.0

type LifecyclePathSelectorState added in v0.8.0

type LifecyclePathSelectorState struct{}

func (LifecyclePathSelectorState) FieldPath added in v0.8.0

func (LifecyclePathSelectorState) WithArrayOfValues added in v0.8.0

func (LifecyclePathSelectorState) WithValue added in v0.8.0

type Lifecycle_FieldMask added in v0.8.0

type Lifecycle_FieldMask struct {
	Paths []Lifecycle_FieldPath
}

func FullLifecycle_FieldMask added in v0.8.0

func FullLifecycle_FieldMask() *Lifecycle_FieldMask

func (*Lifecycle_FieldMask) AppendPath added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) AppendPath(path Lifecycle_FieldPath)

func (*Lifecycle_FieldMask) AppendRawPath added in v0.8.0

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

func (*Lifecycle_FieldMask) DecodeFirestore added in v0.8.0

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

func (*Lifecycle_FieldMask) EncodeFirestore added in v0.8.0

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

firestore encoding/decoding integration

func (*Lifecycle_FieldMask) FilterInputFields added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) FilterInputFields() *Lifecycle_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Lifecycle_FieldMask) FromProtoFieldMask added in v0.8.0

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

func (*Lifecycle_FieldMask) GetPaths added in v0.8.0

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

func (*Lifecycle_FieldMask) GetRawPaths added in v0.8.0

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

func (*Lifecycle_FieldMask) IsFull added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) IsFull() bool

func (Lifecycle_FieldMask) Marshal added in v0.8.0

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

implement methods required by customType

func (Lifecycle_FieldMask) MarshalJSON added in v0.8.0

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

func (*Lifecycle_FieldMask) PathsCount added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) PathsCount() int

func (*Lifecycle_FieldMask) Project added in v0.8.0

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

func (*Lifecycle_FieldMask) ProjectRaw added in v0.8.0

func (*Lifecycle_FieldMask) ProtoMessage added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) ProtoMessage()

func (*Lifecycle_FieldMask) ProtoReflect added in v0.8.0

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

func (*Lifecycle_FieldMask) Reset added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) Reset()

func (*Lifecycle_FieldMask) Set added in v0.8.0

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

func (*Lifecycle_FieldMask) SetFromCliFlag added in v0.8.0

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

func (*Lifecycle_FieldMask) SetRaw added in v0.8.0

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

func (*Lifecycle_FieldMask) Size added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) Size() int

func (*Lifecycle_FieldMask) String added in v0.8.0

func (fieldMask *Lifecycle_FieldMask) String() string

func (*Lifecycle_FieldMask) Subtract added in v0.8.0

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

func (*Lifecycle_FieldMask) SubtractRaw added in v0.8.0

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

func (*Lifecycle_FieldMask) ToProtoFieldMask added in v0.8.0

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

ToFieldMask is used for proto conversions

func (*Lifecycle_FieldMask) Unmarshal added in v0.8.0

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

func (*Lifecycle_FieldMask) UnmarshalJSON added in v0.8.0

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

type Lifecycle_FieldPath added in v0.8.0

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

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

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

func BuildLifecycle_FieldPath added in v0.8.0

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

func MustParseLifecycle_FieldPath added in v0.8.0

func MustParseLifecycle_FieldPath(rawField string) Lifecycle_FieldPath

func ParseLifecycle_FieldPath added in v0.8.0

func ParseLifecycle_FieldPath(rawField string) (Lifecycle_FieldPath, error)

type Lifecycle_FieldPathArrayItemValue added in v0.8.0

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

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

func MustParseLifecycle_FieldPathArrayItemValue added in v0.8.0

func MustParseLifecycle_FieldPathArrayItemValue(pathStr, valueStr string) Lifecycle_FieldPathArrayItemValue

func ParseLifecycle_FieldPathArrayItemValue added in v0.8.0

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

ParseLifecycle_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Lifecycle_FieldPathArrayOfValues added in v0.8.0

type Lifecycle_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Lifecycle_FieldPath
}

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

func MustParseLifecycle_FieldPathArrayOfValues added in v0.8.0

func MustParseLifecycle_FieldPathArrayOfValues(pathStr, valuesStr string) Lifecycle_FieldPathArrayOfValues

func ParseLifecycle_FieldPathArrayOfValues added in v0.8.0

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

type Lifecycle_FieldPathSelector added in v0.8.0

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

func (Lifecycle_FieldPathSelector) String added in v0.8.0

type Lifecycle_FieldPathValue added in v0.8.0

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

Lifecycle_FieldPathValue allows storing values for Lifecycle fields according to their type

func MustParseLifecycle_FieldPathValue added in v0.8.0

func MustParseLifecycle_FieldPathValue(pathStr, valueStr string) Lifecycle_FieldPathValue

func ParseLifecycle_FieldPathValue added in v0.8.0

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

type Lifecycle_FieldTerminalPath added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) ClearValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) ClearValueRaw added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) Get added in v0.8.0

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

Get returns all values pointed by specific field from source Lifecycle

func (*Lifecycle_FieldTerminalPath) GetDefault added in v0.8.0

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

GetDefault returns a default value of the field type

func (*Lifecycle_FieldTerminalPath) GetRaw added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) GetSingle added in v0.8.0

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

GetSingle returns value pointed by specific field of from source Lifecycle

func (*Lifecycle_FieldTerminalPath) GetSingleRaw added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) IsLeaf added in v0.8.0

func (fp *Lifecycle_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Lifecycle_FieldTerminalPath) JSONString added in v0.8.0

func (fp *Lifecycle_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Lifecycle_FieldTerminalPath) Selector added in v0.8.0

func (*Lifecycle_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) String added in v0.8.0

func (fp *Lifecycle_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Lifecycle_FieldTerminalPath) WithIArrayItemValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) WithIArrayOfValues added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) WithIValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) WithRawIArrayItemValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) WithRawIArrayOfValues added in v0.8.0

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

func (*Lifecycle_FieldTerminalPath) WithRawIValue added in v0.8.0

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

type Lifecycle_FieldTerminalPathArrayItemValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) ContainsValue added in v0.8.0

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

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetRawItemValue added in v0.8.0

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

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetSingle added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathArrayItemValue) GetSingleRaw added in v0.8.0

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

type Lifecycle_FieldTerminalPathArrayOfValues added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathArrayOfValues) AsBlockDeletionArrayOfValues added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathArrayOfValues) AsStateArrayOfValues added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathArrayOfValues) GetRawValues added in v0.8.0

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

type Lifecycle_FieldTerminalPathValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathValue) AsBlockDeletionValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathValue) AsStateValue added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathValue) CompareWith added in v0.8.0

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

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

func (*Lifecycle_FieldTerminalPathValue) CompareWithRaw added in v0.8.0

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

func (*Lifecycle_FieldTerminalPathValue) GetRawValue added in v0.8.0

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

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

func (*Lifecycle_FieldTerminalPathValue) SetTo added in v0.8.0

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

SetTo stores value for selected field for object Lifecycle

func (*Lifecycle_FieldTerminalPathValue) SetToRaw added in v0.8.0

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

type Lifecycle_State added in v0.8.0

type Lifecycle_State int32

current resource state

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

func (Lifecycle_State) Descriptor added in v0.8.0

func (Lifecycle_State) Enum added in v0.8.0

func (x Lifecycle_State) Enum() *Lifecycle_State

func (Lifecycle_State) EnumDescriptor added in v0.8.0

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

Deprecated, Use Lifecycle_State.ProtoReflect.Descriptor instead.

func (Lifecycle_State) Number added in v0.8.0

func (x Lifecycle_State) Number() preflect.EnumNumber

func (Lifecycle_State) String added in v0.8.0

func (x Lifecycle_State) String() string

func (Lifecycle_State) Type added in v0.8.0

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"`
	DeleteTime  *timestamp.Timestamp `protobuf:"bytes,16,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty" firestore:"deleteTime"`
	Uuid        string               `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty" firestore:"uuid"`
	Tags        []string             `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty" firestore:"tags"`
	Labels      map[string]string    `` /* 172-byte string literal not displayed */
	Annotations map[string]string    `` /* 187-byte string literal not displayed */
	// generation is the version number of the spec of the resource.
	// This number increments when the resource is updated with any changes of its spec.
	Generation int64 `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty" firestore:"generation"`
	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	ResourceVersion string `` /* 134-byte string literal not displayed */
	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	OwnerReferences []*OwnerReference `` /* 135-byte string literal not displayed */
	// List of all shard indices by their keys
	Shards map[string]int64 `` /* 174-byte string literal not displayed */
	// Information about resource region and synchronization
	Syncing *SyncingMeta `protobuf:"bytes,15,opt,name=syncing,proto3" json:"syncing,omitempty" firestore:"syncing"`
	// Current lifecycle information about resource.
	Lifecycle *Lifecycle `protobuf:"bytes,17,opt,name=lifecycle,proto3" json:"lifecycle,omitempty" firestore:"lifecycle"`
	// 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) GetDeleteTime added in v0.8.0

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

func (*Meta) GetGeneration

func (m *Meta) GetGeneration() int64

func (*Meta) GetLabels

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

func (*Meta) GetLifecycle added in v0.8.0

func (m *Meta) GetLifecycle() *Lifecycle

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) SetDeleteTime added in v0.8.0

func (m *Meta) SetDeleteTime(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) SetLifecycle added in v0.8.0

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

func (*Meta) SetOwnerReferences

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

func (*Meta) SetResourceVersion

func (m *Meta) SetResourceVersion(fv string)

func (*Meta) 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) DeleteTime added in v0.8.0

func (MetaFieldPathBuilder) Generation

func (MetaFieldPathBuilder) Labels

func (MetaFieldPathBuilder) Lifecycle added in v0.8.0

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

type MetaPathSelectorDeleteTime struct{}

func (MetaPathSelectorDeleteTime) FieldPath added in v0.8.0

func (MetaPathSelectorDeleteTime) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorDeleteTime) WithValue added in v0.8.0

type MetaPathSelectorGeneration

type MetaPathSelectorGeneration struct{}

func (MetaPathSelectorGeneration) FieldPath

func (MetaPathSelectorGeneration) WithArrayOfValues

func (MetaPathSelectorGeneration) WithValue

type MetaPathSelectorLabels

type MetaPathSelectorLabels struct{}

func (MetaPathSelectorLabels) FieldPath

func (MetaPathSelectorLabels) WithArrayOfValues

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

func (MetaPathSelectorLabels) WithKey

func (MetaPathSelectorLabels) WithValue

type MetaPathSelectorLifecycle added in v0.8.0

type MetaPathSelectorLifecycle struct{}

func (MetaPathSelectorLifecycle) BlockDeletion added in v0.8.0

func (MetaPathSelectorLifecycle) FieldPath added in v0.8.0

func (MetaPathSelectorLifecycle) State added in v0.8.0

func (MetaPathSelectorLifecycle) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorLifecycle) WithSubArrayItemValue added in v0.8.0

func (MetaPathSelectorLifecycle) WithSubArrayOfValues added in v0.8.0

func (MetaPathSelectorLifecycle) WithSubPath added in v0.8.0

func (MetaPathSelectorLifecycle) WithSubValue added in v0.8.0

func (MetaPathSelectorLifecycle) WithValue added in v0.8.0

type MetaPathSelectorLifecycleBlockDeletion added in v0.8.0

type MetaPathSelectorLifecycleBlockDeletion struct{}

func (MetaPathSelectorLifecycleBlockDeletion) FieldPath added in v0.8.0

func (MetaPathSelectorLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorLifecycleBlockDeletion) WithValue added in v0.8.0

type MetaPathSelectorLifecycleState added in v0.8.0

type MetaPathSelectorLifecycleState struct{}

func (MetaPathSelectorLifecycleState) FieldPath added in v0.8.0

func (MetaPathSelectorLifecycleState) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorLifecycleState) WithValue added in v0.8.0

type MetaPathSelectorOwnerReferences

type MetaPathSelectorOwnerReferences struct{}

func (MetaPathSelectorOwnerReferences) BlockOwnerDeletion

func (MetaPathSelectorOwnerReferences) Controller

func (MetaPathSelectorOwnerReferences) FieldPath

func (MetaPathSelectorOwnerReferences) Kind

func (MetaPathSelectorOwnerReferences) Name

func (MetaPathSelectorOwnerReferences) Region added in v0.8.0

func (MetaPathSelectorOwnerReferences) RequiresOwnerReference added in v0.8.0

func (MetaPathSelectorOwnerReferences) Version added in v0.8.0

func (MetaPathSelectorOwnerReferences) WithArrayOfValues

func (MetaPathSelectorOwnerReferences) WithItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayItemValue

func (MetaPathSelectorOwnerReferences) WithSubArrayOfValues

func (MetaPathSelectorOwnerReferences) WithSubPath

func (MetaPathSelectorOwnerReferences) WithSubValue

func (MetaPathSelectorOwnerReferences) 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 MetaPathSelectorOwnerReferencesRegion added in v0.8.0

type MetaPathSelectorOwnerReferencesRegion struct{}

func (MetaPathSelectorOwnerReferencesRegion) FieldPath added in v0.8.0

func (MetaPathSelectorOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorOwnerReferencesRegion) WithValue added in v0.8.0

type MetaPathSelectorOwnerReferencesRequiresOwnerReference added in v0.8.0

type MetaPathSelectorOwnerReferencesRequiresOwnerReference struct{}

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type MetaPathSelectorOwnerReferencesVersion added in v0.8.0

type MetaPathSelectorOwnerReferencesVersion struct{}

func (MetaPathSelectorOwnerReferencesVersion) FieldPath added in v0.8.0

func (MetaPathSelectorOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (MetaPathSelectorOwnerReferencesVersion) WithValue added in v0.8.0

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) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Meta_FieldPathMap) String

func (fpm *Meta_FieldPathMap) String() string

String returns path representation in proto convention

func (*Meta_FieldPathMap) WithIArrayItemValue

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

func (*Meta_FieldPathMap) WithIArrayOfValues

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

func (*Meta_FieldPathMap) WithIValue

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

func (*Meta_FieldPathMap) WithRawIArrayItemValue

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

func (*Meta_FieldPathMap) WithRawIArrayOfValues

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

func (*Meta_FieldPathMap) WithRawIValue

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

type Meta_FieldPathMapArrayOfValues

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

func (*Meta_FieldPathMapArrayOfValues) AsAnnotationsArrayOfElementValues

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

func (*Meta_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues

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

func (*Meta_FieldPathMapArrayOfValues) AsShardsArrayOfElementValues

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

func (*Meta_FieldPathMapArrayOfValues) GetRawValues

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

type Meta_FieldPathMapValue

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

func (*Meta_FieldPathMapValue) AsAnnotationsElementValue

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

func (*Meta_FieldPathMapValue) AsLabelsElementValue

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

func (*Meta_FieldPathMapValue) AsShardsElementValue

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

func (*Meta_FieldPathMapValue) CompareWith

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

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

func (*Meta_FieldPathMapValue) CompareWithRaw

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

func (*Meta_FieldPathMapValue) GetRawValue

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

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

func (*Meta_FieldPathMapValue) SetTo

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

SetTo stores value for selected field in Meta

func (*Meta_FieldPathMapValue) SetToRaw

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

type Meta_FieldPathSelector

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

func (Meta_FieldPathSelector) String

func (s Meta_FieldPathSelector) String() string

type Meta_FieldPathValue

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

Meta_FieldPathValue allows storing values for Meta fields according to their type

func MustParseMeta_FieldPathValue

func MustParseMeta_FieldPathValue(pathStr, valueStr string) Meta_FieldPathValue

func ParseMeta_FieldPathValue

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

type Meta_FieldSubPath

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

func (*Meta_FieldSubPath) AsLifecycleSubPath added in v0.8.0

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

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) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Meta_FieldSubPath) String

func (fps *Meta_FieldSubPath) String() string

String returns path representation in proto convention

func (*Meta_FieldSubPath) WithIArrayItemValue

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

func (*Meta_FieldSubPath) WithIArrayOfValues

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

func (*Meta_FieldSubPath) WithIValue

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

func (*Meta_FieldSubPath) WithRawIArrayItemValue

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

func (*Meta_FieldSubPath) WithRawIArrayOfValues

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

func (*Meta_FieldSubPath) WithRawIValue

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

type Meta_FieldSubPathArrayItemValue

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

func (*Meta_FieldSubPathArrayItemValue) AsLifecyclePathItemValue added in v0.8.0

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

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) AsLifecyclePathArrayOfValues added in v0.8.0

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

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) AsLifecyclePathValue added in v0.8.0

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

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) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Meta_FieldTerminalPath) String

func (fp *Meta_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Meta_FieldTerminalPath) WithIArrayItemValue

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

func (*Meta_FieldTerminalPath) WithIArrayOfValues

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

func (*Meta_FieldTerminalPath) WithIValue

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

func (*Meta_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Meta_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Meta_FieldTerminalPath) WithRawIValue

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

type Meta_FieldTerminalPathArrayItemValue

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

func (*Meta_FieldTerminalPathArrayItemValue) AsOwnerReferencesItemValue

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

func (*Meta_FieldTerminalPathArrayItemValue) AsTagsItemValue

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

func (*Meta_FieldTerminalPathArrayItemValue) ContainsValue

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

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

func (*Meta_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Meta_FieldTerminalPathArrayItemValue) GetSingle

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

func (*Meta_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Meta_FieldTerminalPathArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) AsAnnotationsArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) AsCreateTimeArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) AsDeleteTimeArrayOfValues added in v0.8.0

func (fpaov *Meta_FieldTerminalPathArrayOfValues) AsDeleteTimeArrayOfValues() ([]*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) AsLifecycleArrayOfValues added in v0.8.0

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

func (*Meta_FieldTerminalPathArrayOfValues) AsOwnerReferencesArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) AsResourceVersionArrayOfValues

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

func (*Meta_FieldTerminalPathArrayOfValues) 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) AsDeleteTimeValue added in v0.8.0

func (fpv *Meta_FieldTerminalPathValue) AsDeleteTimeValue() (*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) AsLifecycleValue added in v0.8.0

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

func (*Meta_FieldTerminalPathValue) AsOwnerReferencesValue

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

func (*Meta_FieldTerminalPathValue) AsResourceVersionValue

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

func (*Meta_FieldTerminalPathValue) 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 {

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

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

func (*OwnerReference) Clone

func (o *OwnerReference) Clone() *OwnerReference

func (*OwnerReference) CloneRaw

func (*OwnerReference) Descriptor

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

Deprecated, Use OwnerReference.ProtoReflect.Descriptor instead.

func (*OwnerReference) 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) GetRegion added in v0.8.0

func (m *OwnerReference) GetRegion() string

func (*OwnerReference) GetRequiresOwnerReference added in v0.8.0

func (m *OwnerReference) GetRequiresOwnerReference() bool

func (*OwnerReference) GetVersion added in v0.8.0

func (m *OwnerReference) GetVersion() string

func (*OwnerReference) GotenMessage

func (*OwnerReference) GotenMessage()

func (*OwnerReference) GotenObjectExt

func (o *OwnerReference) GotenObjectExt()

func (*OwnerReference) GotenValidate

func (obj *OwnerReference) GotenValidate() error

func (*OwnerReference) MakeDiffFieldMask

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

func (*OwnerReference) MakeFullFieldMask

func (o *OwnerReference) MakeFullFieldMask() *OwnerReference_FieldMask

func (*OwnerReference) MakeRawDiffFieldMask

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

func (*OwnerReference) MakeRawFullFieldMask

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

func (*OwnerReference) Marshal

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

func (*OwnerReference) MarshalJSON

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

func (*OwnerReference) Merge

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

func (*OwnerReference) MergeRaw

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

func (*OwnerReference) ProtoMessage

func (*OwnerReference) ProtoMessage()

func (*OwnerReference) ProtoReflect

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

func (*OwnerReference) Reset

func (m *OwnerReference) Reset()

func (*OwnerReference) 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) SetRegion added in v0.8.0

func (m *OwnerReference) SetRegion(fv string)

func (*OwnerReference) SetRequiresOwnerReference added in v0.8.0

func (m *OwnerReference) SetRequiresOwnerReference(fv bool)

func (*OwnerReference) SetVersion added in v0.8.0

func (m *OwnerReference) SetVersion(fv string)

func (*OwnerReference) String

func (m *OwnerReference) String() string

func (*OwnerReference) Unmarshal

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

func (*OwnerReference) UnmarshalJSON

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

type OwnerReferenceFieldPathBuilder

type OwnerReferenceFieldPathBuilder struct{}

func NewOwnerReferenceFieldPathBuilder

func NewOwnerReferenceFieldPathBuilder() OwnerReferenceFieldPathBuilder

func (OwnerReferenceFieldPathBuilder) BlockOwnerDeletion

func (OwnerReferenceFieldPathBuilder) Controller

func (OwnerReferenceFieldPathBuilder) Kind

func (OwnerReferenceFieldPathBuilder) Name

func (OwnerReferenceFieldPathBuilder) Region added in v0.8.0

func (OwnerReferenceFieldPathBuilder) RequiresOwnerReference added in v0.8.0

func (OwnerReferenceFieldPathBuilder) Version added in v0.8.0

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

type OwnerReferencePathSelectorRegion struct{}

func (OwnerReferencePathSelectorRegion) FieldPath added in v0.8.0

func (OwnerReferencePathSelectorRegion) WithArrayOfValues added in v0.8.0

func (OwnerReferencePathSelectorRegion) WithValue added in v0.8.0

type OwnerReferencePathSelectorRequiresOwnerReference added in v0.8.0

type OwnerReferencePathSelectorRequiresOwnerReference struct{}

func (OwnerReferencePathSelectorRequiresOwnerReference) FieldPath added in v0.8.0

func (OwnerReferencePathSelectorRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (OwnerReferencePathSelectorRequiresOwnerReference) WithValue added in v0.8.0

type OwnerReferencePathSelectorVersion added in v0.8.0

type OwnerReferencePathSelectorVersion struct{}

func (OwnerReferencePathSelectorVersion) FieldPath added in v0.8.0

func (OwnerReferencePathSelectorVersion) WithArrayOfValues added in v0.8.0

func (OwnerReferencePathSelectorVersion) WithValue added in v0.8.0

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_FieldPathSelectorKind                   OwnerReference_FieldPathSelector = 0
	OwnerReference_FieldPathSelectorVersion                OwnerReference_FieldPathSelector = 1
	OwnerReference_FieldPathSelectorName                   OwnerReference_FieldPathSelector = 2
	OwnerReference_FieldPathSelectorRegion                 OwnerReference_FieldPathSelector = 3
	OwnerReference_FieldPathSelectorController             OwnerReference_FieldPathSelector = 4
	OwnerReference_FieldPathSelectorBlockOwnerDeletion     OwnerReference_FieldPathSelector = 5
	OwnerReference_FieldPathSelectorRequiresOwnerReference OwnerReference_FieldPathSelector = 6
)

func (OwnerReference_FieldPathSelector) String

type OwnerReference_FieldPathValue

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

OwnerReference_FieldPathValue allows storing values for OwnerReference fields according to their type

func MustParseOwnerReference_FieldPathValue

func MustParseOwnerReference_FieldPathValue(pathStr, valueStr string) OwnerReference_FieldPathValue

func ParseOwnerReference_FieldPathValue

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

type OwnerReference_FieldTerminalPath

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

func (*OwnerReference_FieldTerminalPath) ClearValue

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

func (*OwnerReference_FieldTerminalPath) ClearValueRaw

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

func (*OwnerReference_FieldTerminalPath) Get

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

Get returns all values pointed by specific field from source OwnerReference

func (*OwnerReference_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*OwnerReference_FieldTerminalPath) GetRaw

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

func (*OwnerReference_FieldTerminalPath) GetSingle

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

GetSingle returns value pointed by specific field of from source OwnerReference

func (*OwnerReference_FieldTerminalPath) GetSingleRaw

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

func (*OwnerReference_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*OwnerReference_FieldTerminalPath) JSONString

func (fp *OwnerReference_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*OwnerReference_FieldTerminalPath) Selector

func (*OwnerReference_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*OwnerReference_FieldTerminalPath) String

String returns path representation in proto convention

func (*OwnerReference_FieldTerminalPath) WithIArrayItemValue

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

func (*OwnerReference_FieldTerminalPath) WithIArrayOfValues

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

func (*OwnerReference_FieldTerminalPath) WithIValue

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

func (*OwnerReference_FieldTerminalPath) WithRawIArrayItemValue

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

func (*OwnerReference_FieldTerminalPath) WithRawIArrayOfValues

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

func (*OwnerReference_FieldTerminalPath) WithRawIValue

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

type OwnerReference_FieldTerminalPathArrayItemValue

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetSingle

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

func (*OwnerReference_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type OwnerReference_FieldTerminalPathArrayOfValues

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) 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) AsRegionArrayOfValues added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsRequiresOwnerReferenceArrayOfValues added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathArrayOfValues) GetRawValues

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

type OwnerReference_FieldTerminalPathValue

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

func (*OwnerReference_FieldTerminalPathValue) 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) AsRegionValue added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathValue) AsRequiresOwnerReferenceValue added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathValue) AsVersionValue added in v0.8.0

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

func (*OwnerReference_FieldTerminalPathValue) CompareWith

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

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

func (*OwnerReference_FieldTerminalPathValue) CompareWithRaw

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

func (*OwnerReference_FieldTerminalPathValue) GetRawValue

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

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

func (*OwnerReference_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object OwnerReference

func (*OwnerReference_FieldTerminalPathValue) SetToRaw

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

type 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) SplitIntoTerminalIPaths added in v0.8.0

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

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