common

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelDescriptor

type LabelDescriptor struct {

	// The label key.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" firestore:"key"`
	// Label description
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// contains filtered or unexported fields
}

func (*LabelDescriptor) Clone

func (o *LabelDescriptor) Clone() *LabelDescriptor

func (*LabelDescriptor) CloneRaw

func (*LabelDescriptor) Descriptor

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

Deprecated, Use LabelDescriptor.ProtoReflect.Descriptor instead.

func (*LabelDescriptor) GetDescription

func (m *LabelDescriptor) GetDescription() string

func (*LabelDescriptor) GetKey

func (m *LabelDescriptor) GetKey() string

func (*LabelDescriptor) GotenMessage

func (*LabelDescriptor) GotenMessage()

func (*LabelDescriptor) GotenObjectExt

func (o *LabelDescriptor) GotenObjectExt()

func (*LabelDescriptor) GotenValidate

func (obj *LabelDescriptor) GotenValidate() error

func (*LabelDescriptor) MakeDiffFieldMask

func (o *LabelDescriptor) MakeDiffFieldMask(other *LabelDescriptor) *LabelDescriptor_FieldMask

func (*LabelDescriptor) MakeFullFieldMask

func (o *LabelDescriptor) MakeFullFieldMask() *LabelDescriptor_FieldMask

func (*LabelDescriptor) MakeRawDiffFieldMask

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

func (*LabelDescriptor) MakeRawFullFieldMask

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

func (*LabelDescriptor) Marshal

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

func (*LabelDescriptor) MarshalJSON

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

func (*LabelDescriptor) Merge

func (o *LabelDescriptor) Merge(source *LabelDescriptor)

func (*LabelDescriptor) MergeRaw

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

func (*LabelDescriptor) ProtoMessage

func (*LabelDescriptor) ProtoMessage()

func (*LabelDescriptor) ProtoReflect

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

func (*LabelDescriptor) Reset

func (m *LabelDescriptor) Reset()

func (*LabelDescriptor) SetDescription

func (m *LabelDescriptor) SetDescription(fv string)

func (*LabelDescriptor) SetKey

func (m *LabelDescriptor) SetKey(fv string)

func (*LabelDescriptor) String

func (m *LabelDescriptor) String() string

func (*LabelDescriptor) Unmarshal

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

func (*LabelDescriptor) UnmarshalJSON

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

type LabelDescriptorFieldPathBuilder

type LabelDescriptorFieldPathBuilder struct{}

func NewLabelDescriptorFieldPathBuilder

func NewLabelDescriptorFieldPathBuilder() LabelDescriptorFieldPathBuilder

func (LabelDescriptorFieldPathBuilder) Description

func (LabelDescriptorFieldPathBuilder) Key

type LabelDescriptorPathSelectorDescription

type LabelDescriptorPathSelectorDescription struct{}

func (LabelDescriptorPathSelectorDescription) FieldPath

func (LabelDescriptorPathSelectorDescription) WithArrayOfValues

func (LabelDescriptorPathSelectorDescription) WithValue

type LabelDescriptorPathSelectorKey

type LabelDescriptorPathSelectorKey struct{}

func (LabelDescriptorPathSelectorKey) FieldPath

func (LabelDescriptorPathSelectorKey) WithArrayOfValues

func (LabelDescriptorPathSelectorKey) WithValue

type LabelDescriptor_FieldMask

type LabelDescriptor_FieldMask struct {
	Paths []LabelDescriptor_FieldPath
}

func FullLabelDescriptor_FieldMask

func FullLabelDescriptor_FieldMask() *LabelDescriptor_FieldMask

func (*LabelDescriptor_FieldMask) AppendPath

func (fieldMask *LabelDescriptor_FieldMask) AppendPath(path LabelDescriptor_FieldPath)

func (*LabelDescriptor_FieldMask) AppendRawPath

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

func (*LabelDescriptor_FieldMask) DecodeFirestore

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

func (*LabelDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelDescriptor_FieldMask) FilterInputFields

func (fieldMask *LabelDescriptor_FieldMask) FilterInputFields() *LabelDescriptor_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelDescriptor_FieldMask) FromProtoFieldMask

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

func (*LabelDescriptor_FieldMask) GetPaths

func (fieldMask *LabelDescriptor_FieldMask) GetPaths() []LabelDescriptor_FieldPath

func (*LabelDescriptor_FieldMask) GetRawPaths

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

func (*LabelDescriptor_FieldMask) IsFull

func (fieldMask *LabelDescriptor_FieldMask) IsFull() bool

func (LabelDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (LabelDescriptor_FieldMask) MarshalJSON

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

func (*LabelDescriptor_FieldMask) PathsCount

func (fieldMask *LabelDescriptor_FieldMask) PathsCount() int

func (*LabelDescriptor_FieldMask) Project

func (fieldMask *LabelDescriptor_FieldMask) Project(source *LabelDescriptor) *LabelDescriptor

func (*LabelDescriptor_FieldMask) ProjectRaw

func (*LabelDescriptor_FieldMask) ProtoMessage

func (fieldMask *LabelDescriptor_FieldMask) ProtoMessage()

func (*LabelDescriptor_FieldMask) ProtoReflect

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

func (*LabelDescriptor_FieldMask) Reset

func (fieldMask *LabelDescriptor_FieldMask) Reset()

func (*LabelDescriptor_FieldMask) Set

func (fieldMask *LabelDescriptor_FieldMask) Set(target, source *LabelDescriptor)

func (*LabelDescriptor_FieldMask) SetFromCliFlag

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

func (*LabelDescriptor_FieldMask) SetRaw

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

func (*LabelDescriptor_FieldMask) Size

func (fieldMask *LabelDescriptor_FieldMask) Size() int

func (*LabelDescriptor_FieldMask) String

func (fieldMask *LabelDescriptor_FieldMask) String() string

func (*LabelDescriptor_FieldMask) Subtract

func (*LabelDescriptor_FieldMask) SubtractRaw

func (*LabelDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelDescriptor_FieldMask) Unmarshal

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

func (*LabelDescriptor_FieldMask) UnmarshalJSON

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

type LabelDescriptor_FieldPath

type LabelDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelDescriptor_FieldPathSelector
	Get(source *LabelDescriptor) []interface{}
	GetSingle(source *LabelDescriptor) (interface{}, bool)
	ClearValue(item *LabelDescriptor)

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

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

func MustParseLabelDescriptor_FieldPath

func MustParseLabelDescriptor_FieldPath(rawField string) LabelDescriptor_FieldPath

func ParseLabelDescriptor_FieldPath

func ParseLabelDescriptor_FieldPath(rawField string) (LabelDescriptor_FieldPath, error)

type LabelDescriptor_FieldPathArrayItemValue

type LabelDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelDescriptor_FieldPath
	ContainsValue(*LabelDescriptor) bool
}

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

func MustParseLabelDescriptor_FieldPathArrayItemValue

func MustParseLabelDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) LabelDescriptor_FieldPathArrayItemValue

func ParseLabelDescriptor_FieldPathArrayItemValue

func ParseLabelDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (LabelDescriptor_FieldPathArrayItemValue, error)

ParseLabelDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelDescriptor_FieldPathArrayOfValues

type LabelDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelDescriptor_FieldPath
}

LabelDescriptor_FieldPathArrayOfValues allows storing slice of values for LabelDescriptor fields according to their type

func MustParseLabelDescriptor_FieldPathArrayOfValues

func MustParseLabelDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) LabelDescriptor_FieldPathArrayOfValues

func ParseLabelDescriptor_FieldPathArrayOfValues

func ParseLabelDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelDescriptor_FieldPathArrayOfValues, error)

type LabelDescriptor_FieldPathSelector

type LabelDescriptor_FieldPathSelector int32
const (
	LabelDescriptor_FieldPathSelectorKey         LabelDescriptor_FieldPathSelector = 0
	LabelDescriptor_FieldPathSelectorDescription LabelDescriptor_FieldPathSelector = 1
)

func (LabelDescriptor_FieldPathSelector) String

type LabelDescriptor_FieldPathValue

type LabelDescriptor_FieldPathValue interface {
	LabelDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelDescriptor)
	CompareWith(*LabelDescriptor) (cmp int, comparable bool)
}

LabelDescriptor_FieldPathValue allows storing values for LabelDescriptor fields according to their type

func MustParseLabelDescriptor_FieldPathValue

func MustParseLabelDescriptor_FieldPathValue(pathStr, valueStr string) LabelDescriptor_FieldPathValue

func ParseLabelDescriptor_FieldPathValue

func ParseLabelDescriptor_FieldPathValue(pathStr, valueStr string) (LabelDescriptor_FieldPathValue, error)

type LabelDescriptor_FieldTerminalPath

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

func (*LabelDescriptor_FieldTerminalPath) ClearValue

func (fp *LabelDescriptor_FieldTerminalPath) ClearValue(item *LabelDescriptor)

func (*LabelDescriptor_FieldTerminalPath) ClearValueRaw

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

func (*LabelDescriptor_FieldTerminalPath) Get

func (fp *LabelDescriptor_FieldTerminalPath) Get(source *LabelDescriptor) (values []interface{})

Get returns all values pointed by specific field from source LabelDescriptor

func (*LabelDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelDescriptor_FieldTerminalPath) GetRaw

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

func (*LabelDescriptor_FieldTerminalPath) GetSingle

func (fp *LabelDescriptor_FieldTerminalPath) GetSingle(source *LabelDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelDescriptor

func (*LabelDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*LabelDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LabelDescriptor_FieldTerminalPath) JSONString

func (fp *LabelDescriptor_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelDescriptor_FieldTerminalPath) Selector

func (*LabelDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LabelDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelDescriptor_FieldTerminalPath) WithIArrayItemValue

func (fp *LabelDescriptor_FieldTerminalPath) WithIArrayItemValue(value interface{}) LabelDescriptor_FieldPathArrayItemValue

func (*LabelDescriptor_FieldTerminalPath) WithIArrayOfValues

func (fp *LabelDescriptor_FieldTerminalPath) WithIArrayOfValues(values interface{}) LabelDescriptor_FieldPathArrayOfValues

func (*LabelDescriptor_FieldTerminalPath) WithIValue

func (fp *LabelDescriptor_FieldTerminalPath) WithIValue(value interface{}) LabelDescriptor_FieldPathValue

func (*LabelDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelDescriptor_FieldTerminalPath) WithRawIValue

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

type LabelDescriptor_FieldTerminalPathArrayItemValue

type LabelDescriptor_FieldTerminalPathArrayItemValue struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingle(source *LabelDescriptor) (interface{}, bool)

func (*LabelDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelDescriptor_FieldTerminalPathArrayOfValues

type LabelDescriptor_FieldTerminalPathArrayOfValues struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

func (fpaov *LabelDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues

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

func (*LabelDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelDescriptor_FieldTerminalPathValue

type LabelDescriptor_FieldTerminalPathValue struct {
	LabelDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelDescriptor_FieldTerminalPathValue) AsDescriptionValue

func (fpv *LabelDescriptor_FieldTerminalPathValue) AsDescriptionValue() (string, bool)

func (*LabelDescriptor_FieldTerminalPathValue) AsKeyValue

func (fpv *LabelDescriptor_FieldTerminalPathValue) AsKeyValue() (string, bool)

func (*LabelDescriptor_FieldTerminalPathValue) CompareWith

func (fpv *LabelDescriptor_FieldTerminalPathValue) CompareWith(source *LabelDescriptor) (int, bool)

CompareWith compares value in the 'LabelDescriptor_FieldTerminalPathValue' with the value under path in 'LabelDescriptor'.

func (*LabelDescriptor_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LabelDescriptor

func (*LabelDescriptor_FieldTerminalPathValue) SetToRaw

type LabelKeySet

type LabelKeySet struct {
	LabelKeys []string `protobuf:"bytes,1,rep,name=label_keys,json=labelKeys,proto3" json:"label_keys,omitempty" firestore:"labelKeys"`
	// contains filtered or unexported fields
}

LabelKeySet is used for defining PromotedLabelKeySets

func (*LabelKeySet) Clone

func (o *LabelKeySet) Clone() *LabelKeySet

func (*LabelKeySet) CloneRaw

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

func (*LabelKeySet) Descriptor

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

Deprecated, Use LabelKeySet.ProtoReflect.Descriptor instead.

func (*LabelKeySet) GetLabelKeys

func (m *LabelKeySet) GetLabelKeys() []string

func (*LabelKeySet) GotenMessage

func (*LabelKeySet) GotenMessage()

func (*LabelKeySet) GotenObjectExt

func (o *LabelKeySet) GotenObjectExt()

func (*LabelKeySet) GotenValidate

func (obj *LabelKeySet) GotenValidate() error

func (*LabelKeySet) MakeDiffFieldMask

func (o *LabelKeySet) MakeDiffFieldMask(other *LabelKeySet) *LabelKeySet_FieldMask

func (*LabelKeySet) MakeFullFieldMask

func (o *LabelKeySet) MakeFullFieldMask() *LabelKeySet_FieldMask

func (*LabelKeySet) MakeRawDiffFieldMask

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

func (*LabelKeySet) MakeRawFullFieldMask

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

func (*LabelKeySet) Marshal

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

func (*LabelKeySet) MarshalJSON

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

func (*LabelKeySet) Merge

func (o *LabelKeySet) Merge(source *LabelKeySet)

func (*LabelKeySet) MergeRaw

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

func (*LabelKeySet) ProtoMessage

func (*LabelKeySet) ProtoMessage()

func (*LabelKeySet) ProtoReflect

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

func (*LabelKeySet) Reset

func (m *LabelKeySet) Reset()

func (*LabelKeySet) SetLabelKeys

func (m *LabelKeySet) SetLabelKeys(fv []string)

func (*LabelKeySet) String

func (m *LabelKeySet) String() string

func (*LabelKeySet) Unmarshal

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

func (*LabelKeySet) UnmarshalJSON

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

type LabelKeySetFieldPathBuilder

type LabelKeySetFieldPathBuilder struct{}

func NewLabelKeySetFieldPathBuilder

func NewLabelKeySetFieldPathBuilder() LabelKeySetFieldPathBuilder

func (LabelKeySetFieldPathBuilder) LabelKeys

type LabelKeySetPathSelectorLabelKeys

type LabelKeySetPathSelectorLabelKeys struct{}

func (LabelKeySetPathSelectorLabelKeys) FieldPath

func (LabelKeySetPathSelectorLabelKeys) WithArrayOfValues

func (LabelKeySetPathSelectorLabelKeys) WithItemValue

func (LabelKeySetPathSelectorLabelKeys) WithValue

type LabelKeySet_FieldMask

type LabelKeySet_FieldMask struct {
	Paths []LabelKeySet_FieldPath
}

func FullLabelKeySet_FieldMask

func FullLabelKeySet_FieldMask() *LabelKeySet_FieldMask

func (*LabelKeySet_FieldMask) AppendPath

func (fieldMask *LabelKeySet_FieldMask) AppendPath(path LabelKeySet_FieldPath)

func (*LabelKeySet_FieldMask) AppendRawPath

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

func (*LabelKeySet_FieldMask) DecodeFirestore

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

func (*LabelKeySet_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LabelKeySet_FieldMask) FilterInputFields

func (fieldMask *LabelKeySet_FieldMask) FilterInputFields() *LabelKeySet_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LabelKeySet_FieldMask) FromProtoFieldMask

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

func (*LabelKeySet_FieldMask) GetPaths

func (fieldMask *LabelKeySet_FieldMask) GetPaths() []LabelKeySet_FieldPath

func (*LabelKeySet_FieldMask) GetRawPaths

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

func (*LabelKeySet_FieldMask) IsFull

func (fieldMask *LabelKeySet_FieldMask) IsFull() bool

func (LabelKeySet_FieldMask) Marshal

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

implement methods required by customType

func (LabelKeySet_FieldMask) MarshalJSON

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

func (*LabelKeySet_FieldMask) PathsCount

func (fieldMask *LabelKeySet_FieldMask) PathsCount() int

func (*LabelKeySet_FieldMask) Project

func (fieldMask *LabelKeySet_FieldMask) Project(source *LabelKeySet) *LabelKeySet

func (*LabelKeySet_FieldMask) ProjectRaw

func (*LabelKeySet_FieldMask) ProtoMessage

func (fieldMask *LabelKeySet_FieldMask) ProtoMessage()

func (*LabelKeySet_FieldMask) ProtoReflect

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

func (*LabelKeySet_FieldMask) Reset

func (fieldMask *LabelKeySet_FieldMask) Reset()

func (*LabelKeySet_FieldMask) Set

func (fieldMask *LabelKeySet_FieldMask) Set(target, source *LabelKeySet)

func (*LabelKeySet_FieldMask) SetFromCliFlag

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

func (*LabelKeySet_FieldMask) SetRaw

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

func (*LabelKeySet_FieldMask) Size

func (fieldMask *LabelKeySet_FieldMask) Size() int

func (*LabelKeySet_FieldMask) String

func (fieldMask *LabelKeySet_FieldMask) String() string

func (*LabelKeySet_FieldMask) Subtract

func (*LabelKeySet_FieldMask) SubtractRaw

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

func (*LabelKeySet_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LabelKeySet_FieldMask) Unmarshal

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

func (*LabelKeySet_FieldMask) UnmarshalJSON

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

type LabelKeySet_FieldPath

type LabelKeySet_FieldPath interface {
	gotenobject.FieldPath
	Selector() LabelKeySet_FieldPathSelector
	Get(source *LabelKeySet) []interface{}
	GetSingle(source *LabelKeySet) (interface{}, bool)
	ClearValue(item *LabelKeySet)

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

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

func MustParseLabelKeySet_FieldPath

func MustParseLabelKeySet_FieldPath(rawField string) LabelKeySet_FieldPath

func ParseLabelKeySet_FieldPath

func ParseLabelKeySet_FieldPath(rawField string) (LabelKeySet_FieldPath, error)

type LabelKeySet_FieldPathArrayItemValue

type LabelKeySet_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LabelKeySet_FieldPath
	ContainsValue(*LabelKeySet) bool
}

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

func MustParseLabelKeySet_FieldPathArrayItemValue

func MustParseLabelKeySet_FieldPathArrayItemValue(pathStr, valueStr string) LabelKeySet_FieldPathArrayItemValue

func ParseLabelKeySet_FieldPathArrayItemValue

func ParseLabelKeySet_FieldPathArrayItemValue(pathStr, valueStr string) (LabelKeySet_FieldPathArrayItemValue, error)

ParseLabelKeySet_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LabelKeySet_FieldPathArrayOfValues

type LabelKeySet_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LabelKeySet_FieldPath
}

LabelKeySet_FieldPathArrayOfValues allows storing slice of values for LabelKeySet fields according to their type

func MustParseLabelKeySet_FieldPathArrayOfValues

func MustParseLabelKeySet_FieldPathArrayOfValues(pathStr, valuesStr string) LabelKeySet_FieldPathArrayOfValues

func ParseLabelKeySet_FieldPathArrayOfValues

func ParseLabelKeySet_FieldPathArrayOfValues(pathStr, valuesStr string) (LabelKeySet_FieldPathArrayOfValues, error)

type LabelKeySet_FieldPathSelector

type LabelKeySet_FieldPathSelector int32
const (
	LabelKeySet_FieldPathSelectorLabelKeys LabelKeySet_FieldPathSelector = 0
)

func (LabelKeySet_FieldPathSelector) String

type LabelKeySet_FieldPathValue

type LabelKeySet_FieldPathValue interface {
	LabelKeySet_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LabelKeySet)
	CompareWith(*LabelKeySet) (cmp int, comparable bool)
}

LabelKeySet_FieldPathValue allows storing values for LabelKeySet fields according to their type

func MustParseLabelKeySet_FieldPathValue

func MustParseLabelKeySet_FieldPathValue(pathStr, valueStr string) LabelKeySet_FieldPathValue

func ParseLabelKeySet_FieldPathValue

func ParseLabelKeySet_FieldPathValue(pathStr, valueStr string) (LabelKeySet_FieldPathValue, error)

type LabelKeySet_FieldTerminalPath

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

func (*LabelKeySet_FieldTerminalPath) ClearValue

func (fp *LabelKeySet_FieldTerminalPath) ClearValue(item *LabelKeySet)

func (*LabelKeySet_FieldTerminalPath) ClearValueRaw

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

func (*LabelKeySet_FieldTerminalPath) Get

func (fp *LabelKeySet_FieldTerminalPath) Get(source *LabelKeySet) (values []interface{})

Get returns all values pointed by specific field from source LabelKeySet

func (*LabelKeySet_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LabelKeySet_FieldTerminalPath) GetRaw

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

func (*LabelKeySet_FieldTerminalPath) GetSingle

func (fp *LabelKeySet_FieldTerminalPath) GetSingle(source *LabelKeySet) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LabelKeySet

func (*LabelKeySet_FieldTerminalPath) GetSingleRaw

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

func (*LabelKeySet_FieldTerminalPath) IsLeaf

func (fp *LabelKeySet_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LabelKeySet_FieldTerminalPath) JSONString

func (fp *LabelKeySet_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LabelKeySet_FieldTerminalPath) Selector

func (*LabelKeySet_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LabelKeySet_FieldTerminalPath) String

String returns path representation in proto convention

func (*LabelKeySet_FieldTerminalPath) WithIArrayItemValue

func (fp *LabelKeySet_FieldTerminalPath) WithIArrayItemValue(value interface{}) LabelKeySet_FieldPathArrayItemValue

func (*LabelKeySet_FieldTerminalPath) WithIArrayOfValues

func (fp *LabelKeySet_FieldTerminalPath) WithIArrayOfValues(values interface{}) LabelKeySet_FieldPathArrayOfValues

func (*LabelKeySet_FieldTerminalPath) WithIValue

func (fp *LabelKeySet_FieldTerminalPath) WithIValue(value interface{}) LabelKeySet_FieldPathValue

func (*LabelKeySet_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LabelKeySet_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LabelKeySet_FieldTerminalPath) WithRawIValue

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

type LabelKeySet_FieldTerminalPathArrayItemValue

type LabelKeySet_FieldTerminalPathArrayItemValue struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathArrayItemValue) AsLabelKeysItemValue

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) AsLabelKeysItemValue() (string, bool)

func (*LabelKeySet_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) ContainsValue(source *LabelKeySet) bool

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

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LabelKeySet_FieldTerminalPathArrayItemValue) GetSingle(source *LabelKeySet) (interface{}, bool)

func (*LabelKeySet_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LabelKeySet_FieldTerminalPathArrayOfValues

type LabelKeySet_FieldTerminalPathArrayOfValues struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathArrayOfValues) AsLabelKeysArrayOfValues

func (fpaov *LabelKeySet_FieldTerminalPathArrayOfValues) AsLabelKeysArrayOfValues() ([][]string, bool)

func (*LabelKeySet_FieldTerminalPathArrayOfValues) GetRawValues

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

type LabelKeySet_FieldTerminalPathValue

type LabelKeySet_FieldTerminalPathValue struct {
	LabelKeySet_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LabelKeySet_FieldTerminalPathValue) AsLabelKeysValue

func (fpv *LabelKeySet_FieldTerminalPathValue) AsLabelKeysValue() ([]string, bool)

func (*LabelKeySet_FieldTerminalPathValue) CompareWith

func (fpv *LabelKeySet_FieldTerminalPathValue) CompareWith(source *LabelKeySet) (int, bool)

CompareWith compares value in the 'LabelKeySet_FieldTerminalPathValue' with the value under path in 'LabelKeySet'.

func (*LabelKeySet_FieldTerminalPathValue) CompareWithRaw

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

func (*LabelKeySet_FieldTerminalPathValue) GetRawValue

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

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

func (*LabelKeySet_FieldTerminalPathValue) SetTo

func (fpv *LabelKeySet_FieldTerminalPathValue) SetTo(target **LabelKeySet)

SetTo stores value for selected field for object LabelKeySet

func (*LabelKeySet_FieldTerminalPathValue) SetToRaw

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

type TimeInterval

type TimeInterval struct {

	// Optional - end of the time interval. If not provided, current
	// time will be assumed.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty" firestore:"endTime"`
	// Required. The beginning of the time interval. The start time must not be
	// later than the end time.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty" firestore:"startTime"`
	// contains filtered or unexported fields
}

A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.

func (*TimeInterval) Clone

func (o *TimeInterval) Clone() *TimeInterval

func (*TimeInterval) CloneRaw

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

func (*TimeInterval) Descriptor

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

Deprecated, Use TimeInterval.ProtoReflect.Descriptor instead.

func (*TimeInterval) GetEndTime

func (m *TimeInterval) GetEndTime() *timestamppb.Timestamp

func (*TimeInterval) GetStartTime

func (m *TimeInterval) GetStartTime() *timestamppb.Timestamp

func (*TimeInterval) GotenMessage

func (*TimeInterval) GotenMessage()

func (*TimeInterval) GotenObjectExt

func (o *TimeInterval) GotenObjectExt()

func (*TimeInterval) GotenValidate

func (obj *TimeInterval) GotenValidate() error

func (*TimeInterval) MakeDiffFieldMask

func (o *TimeInterval) MakeDiffFieldMask(other *TimeInterval) *TimeInterval_FieldMask

func (*TimeInterval) MakeFullFieldMask

func (o *TimeInterval) MakeFullFieldMask() *TimeInterval_FieldMask

func (*TimeInterval) MakeRawDiffFieldMask

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

func (*TimeInterval) MakeRawFullFieldMask

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

func (*TimeInterval) Marshal

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

func (*TimeInterval) MarshalJSON

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

func (*TimeInterval) Merge

func (o *TimeInterval) Merge(source *TimeInterval)

func (*TimeInterval) MergeRaw

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

func (*TimeInterval) ProtoMessage

func (*TimeInterval) ProtoMessage()

func (*TimeInterval) ProtoReflect

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

func (*TimeInterval) Reset

func (m *TimeInterval) Reset()

func (*TimeInterval) SetEndTime

func (m *TimeInterval) SetEndTime(fv *timestamppb.Timestamp)

func (*TimeInterval) SetStartTime

func (m *TimeInterval) SetStartTime(fv *timestamppb.Timestamp)

func (*TimeInterval) String

func (m *TimeInterval) String() string

func (*TimeInterval) Unmarshal

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

func (*TimeInterval) UnmarshalJSON

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

type TimeIntervalFieldPathBuilder

type TimeIntervalFieldPathBuilder struct{}

func NewTimeIntervalFieldPathBuilder

func NewTimeIntervalFieldPathBuilder() TimeIntervalFieldPathBuilder

func (TimeIntervalFieldPathBuilder) EndTime

func (TimeIntervalFieldPathBuilder) StartTime

type TimeIntervalPathSelectorEndTime

type TimeIntervalPathSelectorEndTime struct{}

func (TimeIntervalPathSelectorEndTime) FieldPath

func (TimeIntervalPathSelectorEndTime) WithArrayOfValues

func (TimeIntervalPathSelectorEndTime) WithValue

type TimeIntervalPathSelectorStartTime

type TimeIntervalPathSelectorStartTime struct{}

func (TimeIntervalPathSelectorStartTime) FieldPath

func (TimeIntervalPathSelectorStartTime) WithArrayOfValues

func (TimeIntervalPathSelectorStartTime) WithValue

type TimeInterval_FieldMask

type TimeInterval_FieldMask struct {
	Paths []TimeInterval_FieldPath
}

func FullTimeInterval_FieldMask

func FullTimeInterval_FieldMask() *TimeInterval_FieldMask

func (*TimeInterval_FieldMask) AppendPath

func (fieldMask *TimeInterval_FieldMask) AppendPath(path TimeInterval_FieldPath)

func (*TimeInterval_FieldMask) AppendRawPath

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

func (*TimeInterval_FieldMask) DecodeFirestore

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

func (*TimeInterval_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*TimeInterval_FieldMask) FilterInputFields

func (fieldMask *TimeInterval_FieldMask) FilterInputFields() *TimeInterval_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*TimeInterval_FieldMask) FromProtoFieldMask

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

func (*TimeInterval_FieldMask) GetPaths

func (fieldMask *TimeInterval_FieldMask) GetPaths() []TimeInterval_FieldPath

func (*TimeInterval_FieldMask) GetRawPaths

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

func (*TimeInterval_FieldMask) IsFull

func (fieldMask *TimeInterval_FieldMask) IsFull() bool

func (TimeInterval_FieldMask) Marshal

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

implement methods required by customType

func (TimeInterval_FieldMask) MarshalJSON

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

func (*TimeInterval_FieldMask) PathsCount

func (fieldMask *TimeInterval_FieldMask) PathsCount() int

func (*TimeInterval_FieldMask) Project

func (fieldMask *TimeInterval_FieldMask) Project(source *TimeInterval) *TimeInterval

func (*TimeInterval_FieldMask) ProjectRaw

func (*TimeInterval_FieldMask) ProtoMessage

func (fieldMask *TimeInterval_FieldMask) ProtoMessage()

func (*TimeInterval_FieldMask) ProtoReflect

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

func (*TimeInterval_FieldMask) Reset

func (fieldMask *TimeInterval_FieldMask) Reset()

func (*TimeInterval_FieldMask) Set

func (fieldMask *TimeInterval_FieldMask) Set(target, source *TimeInterval)

func (*TimeInterval_FieldMask) SetFromCliFlag

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

func (*TimeInterval_FieldMask) SetRaw

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

func (*TimeInterval_FieldMask) Size

func (fieldMask *TimeInterval_FieldMask) Size() int

func (*TimeInterval_FieldMask) String

func (fieldMask *TimeInterval_FieldMask) String() string

func (*TimeInterval_FieldMask) Subtract

func (*TimeInterval_FieldMask) SubtractRaw

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

func (*TimeInterval_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*TimeInterval_FieldMask) Unmarshal

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

func (*TimeInterval_FieldMask) UnmarshalJSON

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

type TimeInterval_FieldPath

type TimeInterval_FieldPath interface {
	gotenobject.FieldPath
	Selector() TimeInterval_FieldPathSelector
	Get(source *TimeInterval) []interface{}
	GetSingle(source *TimeInterval) (interface{}, bool)
	ClearValue(item *TimeInterval)

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

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

func MustParseTimeInterval_FieldPath

func MustParseTimeInterval_FieldPath(rawField string) TimeInterval_FieldPath

func ParseTimeInterval_FieldPath

func ParseTimeInterval_FieldPath(rawField string) (TimeInterval_FieldPath, error)

type TimeInterval_FieldPathArrayItemValue

type TimeInterval_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	TimeInterval_FieldPath
	ContainsValue(*TimeInterval) bool
}

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

func MustParseTimeInterval_FieldPathArrayItemValue

func MustParseTimeInterval_FieldPathArrayItemValue(pathStr, valueStr string) TimeInterval_FieldPathArrayItemValue

func ParseTimeInterval_FieldPathArrayItemValue

func ParseTimeInterval_FieldPathArrayItemValue(pathStr, valueStr string) (TimeInterval_FieldPathArrayItemValue, error)

ParseTimeInterval_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type TimeInterval_FieldPathArrayOfValues

type TimeInterval_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	TimeInterval_FieldPath
}

TimeInterval_FieldPathArrayOfValues allows storing slice of values for TimeInterval fields according to their type

func MustParseTimeInterval_FieldPathArrayOfValues

func MustParseTimeInterval_FieldPathArrayOfValues(pathStr, valuesStr string) TimeInterval_FieldPathArrayOfValues

func ParseTimeInterval_FieldPathArrayOfValues

func ParseTimeInterval_FieldPathArrayOfValues(pathStr, valuesStr string) (TimeInterval_FieldPathArrayOfValues, error)

type TimeInterval_FieldPathSelector

type TimeInterval_FieldPathSelector int32
const (
	TimeInterval_FieldPathSelectorEndTime   TimeInterval_FieldPathSelector = 0
	TimeInterval_FieldPathSelectorStartTime TimeInterval_FieldPathSelector = 1
)

func (TimeInterval_FieldPathSelector) String

type TimeInterval_FieldPathValue

type TimeInterval_FieldPathValue interface {
	TimeInterval_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **TimeInterval)
	CompareWith(*TimeInterval) (cmp int, comparable bool)
}

TimeInterval_FieldPathValue allows storing values for TimeInterval fields according to their type

func MustParseTimeInterval_FieldPathValue

func MustParseTimeInterval_FieldPathValue(pathStr, valueStr string) TimeInterval_FieldPathValue

func ParseTimeInterval_FieldPathValue

func ParseTimeInterval_FieldPathValue(pathStr, valueStr string) (TimeInterval_FieldPathValue, error)

type TimeInterval_FieldTerminalPath

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

func (*TimeInterval_FieldTerminalPath) ClearValue

func (fp *TimeInterval_FieldTerminalPath) ClearValue(item *TimeInterval)

func (*TimeInterval_FieldTerminalPath) ClearValueRaw

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

func (*TimeInterval_FieldTerminalPath) Get

func (fp *TimeInterval_FieldTerminalPath) Get(source *TimeInterval) (values []interface{})

Get returns all values pointed by specific field from source TimeInterval

func (*TimeInterval_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*TimeInterval_FieldTerminalPath) GetRaw

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

func (*TimeInterval_FieldTerminalPath) GetSingle

func (fp *TimeInterval_FieldTerminalPath) GetSingle(source *TimeInterval) (interface{}, bool)

GetSingle returns value pointed by specific field of from source TimeInterval

func (*TimeInterval_FieldTerminalPath) GetSingleRaw

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

func (*TimeInterval_FieldTerminalPath) IsLeaf

func (fp *TimeInterval_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*TimeInterval_FieldTerminalPath) JSONString

func (fp *TimeInterval_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*TimeInterval_FieldTerminalPath) Selector

func (*TimeInterval_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*TimeInterval_FieldTerminalPath) String

String returns path representation in proto convention

func (*TimeInterval_FieldTerminalPath) WithIArrayItemValue

func (fp *TimeInterval_FieldTerminalPath) WithIArrayItemValue(value interface{}) TimeInterval_FieldPathArrayItemValue

func (*TimeInterval_FieldTerminalPath) WithIArrayOfValues

func (fp *TimeInterval_FieldTerminalPath) WithIArrayOfValues(values interface{}) TimeInterval_FieldPathArrayOfValues

func (*TimeInterval_FieldTerminalPath) WithIValue

func (fp *TimeInterval_FieldTerminalPath) WithIValue(value interface{}) TimeInterval_FieldPathValue

func (*TimeInterval_FieldTerminalPath) WithRawIArrayItemValue

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

func (*TimeInterval_FieldTerminalPath) WithRawIArrayOfValues

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

func (*TimeInterval_FieldTerminalPath) WithRawIValue

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

type TimeInterval_FieldTerminalPathArrayItemValue

type TimeInterval_FieldTerminalPathArrayItemValue struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *TimeInterval_FieldTerminalPathArrayItemValue) ContainsValue(source *TimeInterval) bool

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

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *TimeInterval_FieldTerminalPathArrayItemValue) GetSingle(source *TimeInterval) (interface{}, bool)

func (*TimeInterval_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type TimeInterval_FieldTerminalPathArrayOfValues

type TimeInterval_FieldTerminalPathArrayOfValues struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathArrayOfValues) AsEndTimeArrayOfValues

func (fpaov *TimeInterval_FieldTerminalPathArrayOfValues) AsEndTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathArrayOfValues) AsStartTimeArrayOfValues

func (fpaov *TimeInterval_FieldTerminalPathArrayOfValues) AsStartTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathArrayOfValues) GetRawValues

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

type TimeInterval_FieldTerminalPathValue

type TimeInterval_FieldTerminalPathValue struct {
	TimeInterval_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*TimeInterval_FieldTerminalPathValue) AsEndTimeValue

func (*TimeInterval_FieldTerminalPathValue) AsStartTimeValue

func (fpv *TimeInterval_FieldTerminalPathValue) AsStartTimeValue() (*timestamppb.Timestamp, bool)

func (*TimeInterval_FieldTerminalPathValue) CompareWith

func (fpv *TimeInterval_FieldTerminalPathValue) CompareWith(source *TimeInterval) (int, bool)

CompareWith compares value in the 'TimeInterval_FieldTerminalPathValue' with the value under path in 'TimeInterval'.

func (*TimeInterval_FieldTerminalPathValue) CompareWithRaw

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

func (*TimeInterval_FieldTerminalPathValue) GetRawValue

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

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

func (*TimeInterval_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object TimeInterval

func (*TimeInterval_FieldTerminalPathValue) SetToRaw

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

Jump to

Keyboard shortcuts

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