Documentation ¶
Index ¶
- Constants
- Variables
- func AsAnyCastAccess(access ConditionAccess) gotenresource.Access
- type Condition
- func (o *Condition) Clone() *Condition
- func (o *Condition) CloneRaw() gotenobject.GotenObjectExt
- func (*Condition) Descriptor() ([]byte, []int)
- func (m *Condition) GetDescription() string
- func (m *Condition) GetDisplayName() string
- func (m *Condition) GetExpression() string
- func (m *Condition) GetName() *Name
- func (m *Condition) GetParameterDeclarations() []*Condition_ParameterDeclaration
- func (r *Condition) GetRawName() gotenresource.Name
- func (r *Condition) GetResourceDescriptor() gotenresource.Descriptor
- func (*Condition) GotenMessage()
- func (o *Condition) GotenObjectExt()
- func (obj *Condition) GotenValidate() error
- func (o *Condition) MakeDiffFieldMask(other *Condition) *Condition_FieldMask
- func (o *Condition) MakeFullFieldMask() *Condition_FieldMask
- func (o *Condition) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Condition) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Condition) Marshal() ([]byte, error)
- func (m *Condition) MarshalJSON() ([]byte, error)
- func (r *Condition) MaybePopulateDefaults() error
- func (o *Condition) Merge(source *Condition)
- func (o *Condition) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Condition) ProtoMessage()
- func (m *Condition) ProtoReflect() preflect.Message
- func (m *Condition) Reset()
- func (m *Condition) SetDescription(fv string)
- func (m *Condition) SetDisplayName(fv string)
- func (m *Condition) SetExpression(fv string)
- func (m *Condition) SetName(fv *Name)
- func (m *Condition) SetParameterDeclarations(fv []*Condition_ParameterDeclaration)
- func (m *Condition) String() string
- func (m *Condition) Unmarshal(b []byte) error
- func (m *Condition) UnmarshalJSON(data []byte) error
- type ConditionAccess
- type ConditionBinding
- func (o *ConditionBinding) Clone() *ConditionBinding
- func (o *ConditionBinding) CloneRaw() gotenobject.GotenObjectExt
- func (*ConditionBinding) Descriptor() ([]byte, []int)
- func (m *ConditionBinding) GetCondition() *Reference
- func (m *ConditionBinding) GetParameters() map[string]string
- func (*ConditionBinding) GotenMessage()
- func (o *ConditionBinding) GotenObjectExt()
- func (obj *ConditionBinding) GotenValidate() error
- func (o *ConditionBinding) MakeDiffFieldMask(other *ConditionBinding) *ConditionBinding_FieldMask
- func (o *ConditionBinding) MakeFullFieldMask() *ConditionBinding_FieldMask
- func (o *ConditionBinding) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *ConditionBinding) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *ConditionBinding) Marshal() ([]byte, error)
- func (m *ConditionBinding) MarshalJSON() ([]byte, error)
- func (o *ConditionBinding) Merge(source *ConditionBinding)
- func (o *ConditionBinding) MergeRaw(source gotenobject.GotenObjectExt)
- func (*ConditionBinding) ProtoMessage()
- func (m *ConditionBinding) ProtoReflect() preflect.Message
- func (m *ConditionBinding) Reset()
- func (m *ConditionBinding) SetCondition(fv *Reference)
- func (m *ConditionBinding) SetParameters(fv map[string]string)
- func (m *ConditionBinding) String() string
- func (m *ConditionBinding) Unmarshal(b []byte) error
- func (m *ConditionBinding) UnmarshalJSON(data []byte) error
- type ConditionBindingFieldPathBuilder
- type ConditionBindingMapPathSelectorParameters
- func (s ConditionBindingMapPathSelectorParameters) FieldPath() *ConditionBinding_FieldPathMap
- func (s ConditionBindingMapPathSelectorParameters) WithArrayOfValues(values []string) *ConditionBinding_FieldPathMapArrayOfValues
- func (s ConditionBindingMapPathSelectorParameters) WithValue(value string) *ConditionBinding_FieldPathMapValue
- type ConditionBindingPathSelectorCondition
- func (ConditionBindingPathSelectorCondition) FieldPath() *ConditionBinding_FieldTerminalPath
- func (s ConditionBindingPathSelectorCondition) WithArrayOfValues(values []*Reference) *ConditionBinding_FieldTerminalPathArrayOfValues
- func (s ConditionBindingPathSelectorCondition) WithValue(value *Reference) *ConditionBinding_FieldTerminalPathValue
- type ConditionBindingPathSelectorParameters
- func (ConditionBindingPathSelectorParameters) FieldPath() *ConditionBinding_FieldTerminalPath
- func (s ConditionBindingPathSelectorParameters) WithArrayOfValues(values []map[string]string) *ConditionBinding_FieldTerminalPathArrayOfValues
- func (ConditionBindingPathSelectorParameters) WithKey(key string) ConditionBindingMapPathSelectorParameters
- func (s ConditionBindingPathSelectorParameters) WithValue(value map[string]string) *ConditionBinding_FieldTerminalPathValue
- type ConditionBinding_FieldMask
- func (fieldMask *ConditionBinding_FieldMask) AppendPath(path ConditionBinding_FieldPath)
- func (fieldMask *ConditionBinding_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *ConditionBinding_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *ConditionBinding_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *ConditionBinding_FieldMask) FilterInputFields() *ConditionBinding_FieldMask
- func (fieldMask *ConditionBinding_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *ConditionBinding_FieldMask) GetPaths() []ConditionBinding_FieldPath
- func (fieldMask *ConditionBinding_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *ConditionBinding_FieldMask) IsFull() bool
- func (fieldMask ConditionBinding_FieldMask) Marshal() ([]byte, error)
- func (fieldMask ConditionBinding_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *ConditionBinding_FieldMask) PathsCount() int
- func (fieldMask *ConditionBinding_FieldMask) Project(source *ConditionBinding) *ConditionBinding
- func (fieldMask *ConditionBinding_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *ConditionBinding_FieldMask) ProtoMessage()
- func (fieldMask *ConditionBinding_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *ConditionBinding_FieldMask) Reset()
- func (fieldMask *ConditionBinding_FieldMask) Set(target, source *ConditionBinding)
- func (fieldMask *ConditionBinding_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *ConditionBinding_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *ConditionBinding_FieldMask) Size() int
- func (fieldMask *ConditionBinding_FieldMask) String() string
- func (fieldMask *ConditionBinding_FieldMask) Subtract(other *ConditionBinding_FieldMask) *ConditionBinding_FieldMask
- func (fieldMask *ConditionBinding_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *ConditionBinding_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *ConditionBinding_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *ConditionBinding_FieldMask) UnmarshalJSON(data []byte) error
- type ConditionBinding_FieldPath
- type ConditionBinding_FieldPathArrayItemValue
- type ConditionBinding_FieldPathArrayOfValues
- type ConditionBinding_FieldPathMap
- func (fpm *ConditionBinding_FieldPathMap) ClearValue(item *ConditionBinding)
- func (fpm *ConditionBinding_FieldPathMap) ClearValueRaw(item proto.Message)
- func (fpm *ConditionBinding_FieldPathMap) Get(source *ConditionBinding) (values []interface{})
- func (fpm *ConditionBinding_FieldPathMap) GetDefault() interface{}
- func (fpm *ConditionBinding_FieldPathMap) GetRaw(source proto.Message) []interface{}
- func (fpm *ConditionBinding_FieldPathMap) GetSingle(source *ConditionBinding) (interface{}, bool)
- func (fpm *ConditionBinding_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fpm *ConditionBinding_FieldPathMap) IsLeaf() bool
- func (fpm *ConditionBinding_FieldPathMap) JSONString() string
- func (fpm *ConditionBinding_FieldPathMap) Key() string
- func (fpm *ConditionBinding_FieldPathMap) Selector() ConditionBinding_FieldPathSelector
- func (fpm *ConditionBinding_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fpm *ConditionBinding_FieldPathMap) String() string
- func (fpm *ConditionBinding_FieldPathMap) WithIArrayItemValue(value interface{}) ConditionBinding_FieldPathArrayItemValue
- func (fpm *ConditionBinding_FieldPathMap) WithIArrayOfValues(values interface{}) ConditionBinding_FieldPathArrayOfValues
- func (fpm *ConditionBinding_FieldPathMap) WithIValue(value interface{}) ConditionBinding_FieldPathValue
- func (fpm *ConditionBinding_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fpm *ConditionBinding_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fpm *ConditionBinding_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type ConditionBinding_FieldPathMapArrayOfValues
- type ConditionBinding_FieldPathMapValue
- func (fpmv *ConditionBinding_FieldPathMapValue) AsParametersElementValue() (string, bool)
- func (fpmv *ConditionBinding_FieldPathMapValue) CompareWith(source *ConditionBinding) (int, bool)
- func (fpmv *ConditionBinding_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpmv *ConditionBinding_FieldPathMapValue) GetRawValue() interface{}
- func (fpmv *ConditionBinding_FieldPathMapValue) SetTo(target **ConditionBinding)
- func (fpmv *ConditionBinding_FieldPathMapValue) SetToRaw(target proto.Message)
- type ConditionBinding_FieldPathSelector
- type ConditionBinding_FieldPathValue
- type ConditionBinding_FieldTerminalPath
- func (fp *ConditionBinding_FieldTerminalPath) ClearValue(item *ConditionBinding)
- func (fp *ConditionBinding_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *ConditionBinding_FieldTerminalPath) Get(source *ConditionBinding) (values []interface{})
- func (fp *ConditionBinding_FieldTerminalPath) GetDefault() interface{}
- func (fp *ConditionBinding_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *ConditionBinding_FieldTerminalPath) GetSingle(source *ConditionBinding) (interface{}, bool)
- func (fp *ConditionBinding_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *ConditionBinding_FieldTerminalPath) IsLeaf() bool
- func (fp *ConditionBinding_FieldTerminalPath) JSONString() string
- func (fp *ConditionBinding_FieldTerminalPath) Selector() ConditionBinding_FieldPathSelector
- func (fp *ConditionBinding_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *ConditionBinding_FieldTerminalPath) String() string
- func (fp *ConditionBinding_FieldTerminalPath) WithIArrayItemValue(value interface{}) ConditionBinding_FieldPathArrayItemValue
- func (fp *ConditionBinding_FieldTerminalPath) WithIArrayOfValues(values interface{}) ConditionBinding_FieldPathArrayOfValues
- func (fp *ConditionBinding_FieldTerminalPath) WithIValue(value interface{}) ConditionBinding_FieldPathValue
- func (fp *ConditionBinding_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *ConditionBinding_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *ConditionBinding_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type ConditionBinding_FieldTerminalPathArrayItemValue
- func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) ContainsValue(source *ConditionBinding) bool
- func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetSingle(source *ConditionBinding) (interface{}, bool)
- func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type ConditionBinding_FieldTerminalPathArrayOfValues
- func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues() ([]*Reference, bool)
- func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) AsParametersArrayOfValues() ([]map[string]string, bool)
- func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type ConditionBinding_FieldTerminalPathValue
- func (fpv *ConditionBinding_FieldTerminalPathValue) AsConditionValue() (*Reference, bool)
- func (fpv *ConditionBinding_FieldTerminalPathValue) AsParametersValue() (map[string]string, bool)
- func (fpv *ConditionBinding_FieldTerminalPathValue) CompareWith(source *ConditionBinding) (int, bool)
- func (fpv *ConditionBinding_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *ConditionBinding_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *ConditionBinding_FieldTerminalPathValue) SetTo(target **ConditionBinding)
- func (fpv *ConditionBinding_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type ConditionChange
- func (*ConditionChange) Descriptor() ([]byte, []int)
- func (m *ConditionChange) GetAdded() *ConditionChange_Added
- func (m *ConditionChange) GetChangeType() isConditionChange_ChangeType
- func (c *ConditionChange) GetCondition() *Condition
- func (c *ConditionChange) GetConditionName() *Name
- func (m *ConditionChange) GetCurrent() *ConditionChange_Current
- func (c *ConditionChange) GetCurrentViewIndex() int32
- func (m *ConditionChange) GetModified() *ConditionChange_Modified
- func (c *ConditionChange) GetPreviousViewIndex() int32
- func (c *ConditionChange) GetRawName() gotenresource.Name
- func (c *ConditionChange) GetRawResource() gotenresource.Resource
- func (m *ConditionChange) GetRemoved() *ConditionChange_Removed
- func (*ConditionChange) GotenMessage()
- func (obj *ConditionChange) GotenValidate() error
- func (c *ConditionChange) IsAdd() bool
- func (c *ConditionChange) IsCurrent() bool
- func (c *ConditionChange) IsDelete() bool
- func (c *ConditionChange) IsModify() bool
- func (m *ConditionChange) Marshal() ([]byte, error)
- func (m *ConditionChange) MarshalJSON() ([]byte, error)
- func (*ConditionChange) ProtoMessage()
- func (m *ConditionChange) ProtoReflect() preflect.Message
- func (m *ConditionChange) Reset()
- func (m *ConditionChange) SetAdded(fv *ConditionChange_Added)
- func (c *ConditionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *ConditionChange) SetChangeType(ofv isConditionChange_ChangeType)
- func (m *ConditionChange) SetCurrent(fv *ConditionChange_Current)
- func (c *ConditionChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *ConditionChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *ConditionChange) SetModified(fv *ConditionChange_Modified)
- func (c *ConditionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *ConditionChange) SetRemoved(fv *ConditionChange_Removed)
- func (m *ConditionChange) String() string
- func (m *ConditionChange) Unmarshal(b []byte) error
- func (m *ConditionChange) UnmarshalJSON(data []byte) error
- type ConditionChangeList
- func (l ConditionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l ConditionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l ConditionChangeList) At(idx int) gotenresource.ResourceChange
- func (l ConditionChangeList) Length() int
- func (l ConditionChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l ConditionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type ConditionChangeMap
- func (m ConditionChangeMap) Delete(name gotenresource.Name)
- func (m ConditionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m ConditionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m ConditionChangeMap) Length() int
- func (m ConditionChangeMap) Set(change gotenresource.ResourceChange)
- type ConditionChange_Added
- func (*ConditionChange_Added) Descriptor() ([]byte, []int)
- func (m *ConditionChange_Added) GetCondition() *Condition
- func (m *ConditionChange_Added) GetViewIndex() int32
- func (*ConditionChange_Added) GotenMessage()
- func (obj *ConditionChange_Added) GotenValidate() error
- func (m *ConditionChange_Added) Marshal() ([]byte, error)
- func (m *ConditionChange_Added) MarshalJSON() ([]byte, error)
- func (*ConditionChange_Added) ProtoMessage()
- func (m *ConditionChange_Added) ProtoReflect() preflect.Message
- func (m *ConditionChange_Added) Reset()
- func (m *ConditionChange_Added) SetCondition(fv *Condition)
- func (m *ConditionChange_Added) SetViewIndex(fv int32)
- func (m *ConditionChange_Added) String() string
- func (m *ConditionChange_Added) Unmarshal(b []byte) error
- func (m *ConditionChange_Added) UnmarshalJSON(data []byte) error
- type ConditionChange_Added_
- type ConditionChange_Current
- func (*ConditionChange_Current) Descriptor() ([]byte, []int)
- func (m *ConditionChange_Current) GetCondition() *Condition
- func (*ConditionChange_Current) GotenMessage()
- func (obj *ConditionChange_Current) GotenValidate() error
- func (m *ConditionChange_Current) Marshal() ([]byte, error)
- func (m *ConditionChange_Current) MarshalJSON() ([]byte, error)
- func (*ConditionChange_Current) ProtoMessage()
- func (m *ConditionChange_Current) ProtoReflect() preflect.Message
- func (m *ConditionChange_Current) Reset()
- func (m *ConditionChange_Current) SetCondition(fv *Condition)
- func (m *ConditionChange_Current) String() string
- func (m *ConditionChange_Current) Unmarshal(b []byte) error
- func (m *ConditionChange_Current) UnmarshalJSON(data []byte) error
- type ConditionChange_Current_
- type ConditionChange_Modified
- func (*ConditionChange_Modified) Descriptor() ([]byte, []int)
- func (m *ConditionChange_Modified) GetCondition() *Condition
- func (m *ConditionChange_Modified) GetFieldMask() *Condition_FieldMask
- func (m *ConditionChange_Modified) GetName() *Name
- func (m *ConditionChange_Modified) GetPreviousViewIndex() int32
- func (m *ConditionChange_Modified) GetViewIndex() int32
- func (*ConditionChange_Modified) GotenMessage()
- func (obj *ConditionChange_Modified) GotenValidate() error
- func (m *ConditionChange_Modified) Marshal() ([]byte, error)
- func (m *ConditionChange_Modified) MarshalJSON() ([]byte, error)
- func (*ConditionChange_Modified) ProtoMessage()
- func (m *ConditionChange_Modified) ProtoReflect() preflect.Message
- func (m *ConditionChange_Modified) Reset()
- func (m *ConditionChange_Modified) SetCondition(fv *Condition)
- func (m *ConditionChange_Modified) SetFieldMask(fv *Condition_FieldMask)
- func (m *ConditionChange_Modified) SetName(fv *Name)
- func (m *ConditionChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *ConditionChange_Modified) SetViewIndex(fv int32)
- func (m *ConditionChange_Modified) String() string
- func (m *ConditionChange_Modified) Unmarshal(b []byte) error
- func (m *ConditionChange_Modified) UnmarshalJSON(data []byte) error
- type ConditionChange_Modified_
- type ConditionChange_Removed
- func (*ConditionChange_Removed) Descriptor() ([]byte, []int)
- func (m *ConditionChange_Removed) GetName() *Name
- func (m *ConditionChange_Removed) GetViewIndex() int32
- func (*ConditionChange_Removed) GotenMessage()
- func (obj *ConditionChange_Removed) GotenValidate() error
- func (m *ConditionChange_Removed) Marshal() ([]byte, error)
- func (m *ConditionChange_Removed) MarshalJSON() ([]byte, error)
- func (*ConditionChange_Removed) ProtoMessage()
- func (m *ConditionChange_Removed) ProtoReflect() preflect.Message
- func (m *ConditionChange_Removed) Reset()
- func (m *ConditionChange_Removed) SetName(fv *Name)
- func (m *ConditionChange_Removed) SetViewIndex(fv int32)
- func (m *ConditionChange_Removed) String() string
- func (m *ConditionChange_Removed) Unmarshal(b []byte) error
- func (m *ConditionChange_Removed) UnmarshalJSON(data []byte) error
- type ConditionChange_Removed_
- type ConditionFieldPathBuilder
- func (ConditionFieldPathBuilder) Description() ConditionPathSelectorDescription
- func (ConditionFieldPathBuilder) DisplayName() ConditionPathSelectorDisplayName
- func (ConditionFieldPathBuilder) Expression() ConditionPathSelectorExpression
- func (ConditionFieldPathBuilder) Name() ConditionPathSelectorName
- func (ConditionFieldPathBuilder) ParameterDeclarations() ConditionPathSelectorParameterDeclarations
- type ConditionList
- func (l ConditionList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l ConditionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l ConditionList) At(idx int) gotenresource.Resource
- func (l ConditionList) Length() int
- func (l ConditionList) Set(idx int, res gotenresource.Resource)
- func (l ConditionList) Slice(first, second int) gotenresource.ResourceList
- type ConditionMap
- func (m ConditionMap) Delete(name gotenresource.Name)
- func (m ConditionMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
- func (m ConditionMap) Get(name gotenresource.Name) gotenresource.Resource
- func (m ConditionMap) Length() int
- func (m ConditionMap) Set(res gotenresource.Resource)
- type ConditionNameList
- func (l ConditionNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l ConditionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l ConditionNameList) At(idx int) gotenresource.Name
- func (l ConditionNameList) Length() int
- func (l ConditionNameList) Set(idx int, name gotenresource.Name)
- func (l ConditionNameList) Slice(first, second int) gotenresource.NameList
- type ConditionParameterDeclarationFieldPathBuilder
- type ConditionParameterDeclaration_FieldPath
- func BuildConditionParameterDeclaration_FieldPath(fp gotenobject.RawFieldPath) (ConditionParameterDeclaration_FieldPath, error)
- func MustParseConditionParameterDeclaration_FieldPath(rawField string) ConditionParameterDeclaration_FieldPath
- func ParseConditionParameterDeclaration_FieldPath(rawField string) (ConditionParameterDeclaration_FieldPath, error)
- type ConditionParameterDeclaration_FieldPathArrayItemValue
- func MustParseConditionParameterDeclaration_FieldPathArrayItemValue(pathStr, valueStr string) ConditionParameterDeclaration_FieldPathArrayItemValue
- func ParseConditionParameterDeclaration_FieldPathArrayItemValue(pathStr, valueStr string) (ConditionParameterDeclaration_FieldPathArrayItemValue, error)
- type ConditionParameterDeclaration_FieldPathArrayOfValues
- type ConditionParameterDeclaration_FieldPathSelector
- type ConditionParameterDeclaration_FieldPathValue
- type ConditionParameterDeclaration_FieldTerminalPath
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) ClearValue(item *Condition_ParameterDeclaration)
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) Get(source *Condition_ParameterDeclaration) (values []interface{})
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetDefault() interface{}
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetSingle(source *Condition_ParameterDeclaration) (interface{}, bool)
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) IsLeaf() bool
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) JSONString() string
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) Selector() ConditionParameterDeclaration_FieldPathSelector
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) String() string
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIArrayItemValue(value interface{}) ConditionParameterDeclaration_FieldPathArrayItemValue
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIArrayOfValues(values interface{}) ConditionParameterDeclaration_FieldPathArrayOfValues
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIValue(value interface{}) ConditionParameterDeclaration_FieldPathValue
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type ConditionParameterDeclaration_FieldTerminalPathArrayItemValue
- func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) ContainsValue(source *Condition_ParameterDeclaration) bool
- func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingle(source *Condition_ParameterDeclaration) (interface{}, bool)
- func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type ConditionParameterDeclaration_FieldTerminalPathArrayOfValues
- func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues() ([]string, bool)
- func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues() ([]Condition_ParameterType, bool)
- func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type ConditionParameterDeclaration_FieldTerminalPathValue
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) AsKeyValue() (string, bool)
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) AsTypeValue() (Condition_ParameterType, bool)
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) CompareWith(source *Condition_ParameterDeclaration) (int, bool)
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) SetTo(target **Condition_ParameterDeclaration)
- func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type ConditionParentNameList
- func (l ConditionParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
- func (l ConditionParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
- func (l ConditionParentNameList) At(idx int) gotenresource.Name
- func (l ConditionParentNameList) Length() int
- func (l ConditionParentNameList) Set(idx int, name gotenresource.Name)
- func (l ConditionParentNameList) Slice(first, second int) gotenresource.ParentNameList
- type ConditionParentReferenceList
- func (l ConditionParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
- func (l ConditionParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
- func (l ConditionParentReferenceList) At(idx int) gotenresource.Reference
- func (l ConditionParentReferenceList) Length() int
- func (l ConditionParentReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ConditionParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
- type ConditionPathSelectorDescription
- type ConditionPathSelectorDisplayName
- type ConditionPathSelectorExpression
- type ConditionPathSelectorName
- type ConditionPathSelectorParameterDeclarations
- func (ConditionPathSelectorParameterDeclarations) FieldPath() *Condition_FieldTerminalPath
- func (ConditionPathSelectorParameterDeclarations) Key() ConditionPathSelectorParameterDeclarationsKey
- func (ConditionPathSelectorParameterDeclarations) Type() ConditionPathSelectorParameterDeclarationsType
- func (s ConditionPathSelectorParameterDeclarations) WithArrayOfValues(values [][]*Condition_ParameterDeclaration) *Condition_FieldTerminalPathArrayOfValues
- func (s ConditionPathSelectorParameterDeclarations) WithItemValue(value *Condition_ParameterDeclaration) *Condition_FieldTerminalPathArrayItemValue
- func (s ConditionPathSelectorParameterDeclarations) WithSubArrayItemValue(subPathArrayItemValue ConditionParameterDeclaration_FieldPathArrayItemValue) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorParameterDeclarations) WithSubArrayOfValues(subPathArrayOfValues ConditionParameterDeclaration_FieldPathArrayOfValues) *Condition_FieldSubPathArrayOfValues
- func (ConditionPathSelectorParameterDeclarations) WithSubPath(subPath ConditionParameterDeclaration_FieldPath) *Condition_FieldSubPath
- func (s ConditionPathSelectorParameterDeclarations) WithSubValue(subPathValue ConditionParameterDeclaration_FieldPathValue) *Condition_FieldSubPathValue
- func (s ConditionPathSelectorParameterDeclarations) WithValue(value []*Condition_ParameterDeclaration) *Condition_FieldTerminalPathValue
- type ConditionPathSelectorParameterDeclarationsKey
- func (ConditionPathSelectorParameterDeclarationsKey) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorParameterDeclarationsKey) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorParameterDeclarationsKey) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorParameterDeclarationsType
- func (ConditionPathSelectorParameterDeclarationsType) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorParameterDeclarationsType) WithArrayOfValues(values []Condition_ParameterType) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorParameterDeclarationsType) WithValue(value Condition_ParameterType) *Condition_FieldSubPathValue
- type ConditionReferenceList
- func (l ConditionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l ConditionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l ConditionReferenceList) At(idx int) gotenresource.Reference
- func (l ConditionReferenceList) Length() int
- func (l ConditionReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ConditionReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Condition_FieldMask
- func (fieldMask *Condition_FieldMask) AppendPath(path Condition_FieldPath)
- func (fieldMask *Condition_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Condition_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Condition_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Condition_FieldMask) FilterInputFields() *Condition_FieldMask
- func (fieldMask *Condition_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Condition_FieldMask) GetPaths() []Condition_FieldPath
- func (fieldMask *Condition_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Condition_FieldMask) IsFull() bool
- func (fieldMask Condition_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Condition_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Condition_FieldMask) PathsCount() int
- func (fieldMask *Condition_FieldMask) Project(source *Condition) *Condition
- func (fieldMask *Condition_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Condition_FieldMask) ProtoMessage()
- func (fieldMask *Condition_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Condition_FieldMask) Reset()
- func (fieldMask *Condition_FieldMask) Set(target, source *Condition)
- func (fieldMask *Condition_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Condition_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Condition_FieldMask) Size() int
- func (fieldMask *Condition_FieldMask) String() string
- func (fieldMask *Condition_FieldMask) Subtract(other *Condition_FieldMask) *Condition_FieldMask
- func (fieldMask *Condition_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Condition_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Condition_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Condition_FieldMask) UnmarshalJSON(data []byte) error
- type Condition_FieldPath
- type Condition_FieldPathArrayItemValue
- type Condition_FieldPathArrayOfValues
- type Condition_FieldPathSelector
- type Condition_FieldPathValue
- type Condition_FieldSubPath
- func (fps *Condition_FieldSubPath) AsParameterDeclarationsSubPath() (ConditionParameterDeclaration_FieldPath, bool)
- func (fps *Condition_FieldSubPath) ClearValue(item *Condition)
- func (fps *Condition_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Condition_FieldSubPath) Get(source *Condition) (values []interface{})
- func (fps *Condition_FieldSubPath) GetDefault() interface{}
- func (fps *Condition_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Condition_FieldSubPath) GetSingle(source *Condition) (interface{}, bool)
- func (fps *Condition_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Condition_FieldSubPath) IsLeaf() bool
- func (fps *Condition_FieldSubPath) JSONString() string
- func (fps *Condition_FieldSubPath) Selector() Condition_FieldPathSelector
- func (fps *Condition_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *Condition_FieldSubPath) String() string
- func (fps *Condition_FieldSubPath) WithIArrayItemValue(value interface{}) Condition_FieldPathArrayItemValue
- func (fps *Condition_FieldSubPath) WithIArrayOfValues(values interface{}) Condition_FieldPathArrayOfValues
- func (fps *Condition_FieldSubPath) WithIValue(value interface{}) Condition_FieldPathValue
- func (fps *Condition_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Condition_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Condition_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Condition_FieldSubPathArrayItemValue
- func (fpaivs *Condition_FieldSubPathArrayItemValue) AsParameterDeclarationsPathItemValue() (ConditionParameterDeclaration_FieldPathArrayItemValue, bool)
- func (fpaivs *Condition_FieldSubPathArrayItemValue) ContainsValue(source *Condition) bool
- func (fpaivs *Condition_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
- type Condition_FieldSubPathArrayOfValues
- type Condition_FieldSubPathValue
- func (fpvs *Condition_FieldSubPathValue) AsParameterDeclarationsPathValue() (ConditionParameterDeclaration_FieldPathValue, bool)
- func (fpvs *Condition_FieldSubPathValue) CompareWith(source *Condition) (int, bool)
- func (fpvs *Condition_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Condition_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Condition_FieldSubPathValue) SetTo(target **Condition)
- func (fpvs *Condition_FieldSubPathValue) SetToRaw(target proto.Message)
- type Condition_FieldTerminalPath
- func (fp *Condition_FieldTerminalPath) ClearValue(item *Condition)
- func (fp *Condition_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Condition_FieldTerminalPath) Get(source *Condition) (values []interface{})
- func (fp *Condition_FieldTerminalPath) GetDefault() interface{}
- func (fp *Condition_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Condition_FieldTerminalPath) GetSingle(source *Condition) (interface{}, bool)
- func (fp *Condition_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Condition_FieldTerminalPath) IsLeaf() bool
- func (fp *Condition_FieldTerminalPath) JSONString() string
- func (fp *Condition_FieldTerminalPath) Selector() Condition_FieldPathSelector
- func (fp *Condition_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Condition_FieldTerminalPath) String() string
- func (fp *Condition_FieldTerminalPath) WithIArrayItemValue(value interface{}) Condition_FieldPathArrayItemValue
- func (fp *Condition_FieldTerminalPath) WithIArrayOfValues(values interface{}) Condition_FieldPathArrayOfValues
- func (fp *Condition_FieldTerminalPath) WithIValue(value interface{}) Condition_FieldPathValue
- func (fp *Condition_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Condition_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Condition_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Condition_FieldTerminalPathArrayItemValue
- func (fpaiv *Condition_FieldTerminalPathArrayItemValue) AsParameterDeclarationsItemValue() (*Condition_ParameterDeclaration, bool)
- func (fpaiv *Condition_FieldTerminalPathArrayItemValue) ContainsValue(source *Condition) bool
- func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetSingle(source *Condition) (interface{}, bool)
- func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Condition_FieldTerminalPathArrayOfValues
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsExpressionArrayOfValues() ([]string, bool)
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsParameterDeclarationsArrayOfValues() ([][]*Condition_ParameterDeclaration, bool)
- func (fpaov *Condition_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Condition_FieldTerminalPathValue
- func (fpv *Condition_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
- func (fpv *Condition_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
- func (fpv *Condition_FieldTerminalPathValue) AsExpressionValue() (string, bool)
- func (fpv *Condition_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Condition_FieldTerminalPathValue) AsParameterDeclarationsValue() ([]*Condition_ParameterDeclaration, bool)
- func (fpv *Condition_FieldTerminalPathValue) CompareWith(source *Condition) (int, bool)
- func (fpv *Condition_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Condition_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Condition_FieldTerminalPathValue) SetTo(target **Condition)
- func (fpv *Condition_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type Condition_ParameterDeclaration
- func (o *Condition_ParameterDeclaration) Clone() *Condition_ParameterDeclaration
- func (o *Condition_ParameterDeclaration) CloneRaw() gotenobject.GotenObjectExt
- func (*Condition_ParameterDeclaration) Descriptor() ([]byte, []int)
- func (m *Condition_ParameterDeclaration) GetKey() string
- func (m *Condition_ParameterDeclaration) GetType() Condition_ParameterType
- func (*Condition_ParameterDeclaration) GotenMessage()
- func (o *Condition_ParameterDeclaration) GotenObjectExt()
- func (obj *Condition_ParameterDeclaration) GotenValidate() error
- func (o *Condition_ParameterDeclaration) MakeDiffFieldMask(other *Condition_ParameterDeclaration) *Condition_ParameterDeclaration_FieldMask
- func (o *Condition_ParameterDeclaration) MakeFullFieldMask() *Condition_ParameterDeclaration_FieldMask
- func (o *Condition_ParameterDeclaration) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Condition_ParameterDeclaration) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Condition_ParameterDeclaration) Marshal() ([]byte, error)
- func (m *Condition_ParameterDeclaration) MarshalJSON() ([]byte, error)
- func (o *Condition_ParameterDeclaration) Merge(source *Condition_ParameterDeclaration)
- func (o *Condition_ParameterDeclaration) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Condition_ParameterDeclaration) ProtoMessage()
- func (m *Condition_ParameterDeclaration) ProtoReflect() preflect.Message
- func (m *Condition_ParameterDeclaration) Reset()
- func (m *Condition_ParameterDeclaration) SetKey(fv string)
- func (m *Condition_ParameterDeclaration) SetType(fv Condition_ParameterType)
- func (m *Condition_ParameterDeclaration) String() string
- func (m *Condition_ParameterDeclaration) Unmarshal(b []byte) error
- func (m *Condition_ParameterDeclaration) UnmarshalJSON(data []byte) error
- type Condition_ParameterDeclarationPathSelectorKey
- func (Condition_ParameterDeclarationPathSelectorKey) FieldPath() *ConditionParameterDeclaration_FieldTerminalPath
- func (s Condition_ParameterDeclarationPathSelectorKey) WithArrayOfValues(values []string) *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues
- func (s Condition_ParameterDeclarationPathSelectorKey) WithValue(value string) *ConditionParameterDeclaration_FieldTerminalPathValue
- type Condition_ParameterDeclarationPathSelectorType
- func (Condition_ParameterDeclarationPathSelectorType) FieldPath() *ConditionParameterDeclaration_FieldTerminalPath
- func (s Condition_ParameterDeclarationPathSelectorType) WithArrayOfValues(values []Condition_ParameterType) *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues
- func (s Condition_ParameterDeclarationPathSelectorType) WithValue(value Condition_ParameterType) *ConditionParameterDeclaration_FieldTerminalPathValue
- type Condition_ParameterDeclaration_FieldMask
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) AppendPath(path ConditionParameterDeclaration_FieldPath)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) FilterInputFields() *Condition_ParameterDeclaration_FieldMask
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) GetPaths() []ConditionParameterDeclaration_FieldPath
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) IsFull() bool
- func (fieldMask Condition_ParameterDeclaration_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Condition_ParameterDeclaration_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) PathsCount() int
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Project(source *Condition_ParameterDeclaration) *Condition_ParameterDeclaration
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProtoMessage()
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Reset()
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Set(target, source *Condition_ParameterDeclaration)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Size() int
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) String() string
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Subtract(other *Condition_ParameterDeclaration_FieldMask) *Condition_ParameterDeclaration_FieldMask
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Condition_ParameterDeclaration_FieldMask) UnmarshalJSON(data []byte) error
- type Condition_ParameterType
- func (Condition_ParameterType) Descriptor() preflect.EnumDescriptor
- func (x Condition_ParameterType) Enum() *Condition_ParameterType
- func (Condition_ParameterType) EnumDescriptor() ([]byte, []int)
- func (x Condition_ParameterType) Number() preflect.EnumNumber
- func (x Condition_ParameterType) String() string
- func (Condition_ParameterType) Type() preflect.EnumType
- type Descriptor
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
- func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
- func (d *Descriptor) NewListQuery() gotenresource.ListQuery
- func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
- func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
- func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
- func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
- func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
- func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
- func (d *Descriptor) NewResource() gotenresource.Resource
- func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
- func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
- func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
- func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
- func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
- func (d *Descriptor) NewResourceFilter() gotenresource.Filter
- func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
- func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
- func (d *Descriptor) NewResourceName() gotenresource.Name
- func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
- func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
- func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Condition) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Condition) (out []*Condition)
- func (filter *Filter) GetCondition() FilterCondition
- func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
- func (filter *Filter) HasTrait(trait int) bool
- func (filter *Filter) Match(pattern ref.Val) ref.Val
- func (filter *Filter) ParseProtoString(data string) error
- func (filter *Filter) ProtoString() (string, error)
- func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val
- func (filter *Filter) SetFromCliFlag(raw string) error
- func (filter *Filter) String() string
- func (filter *Filter) Type() ref.Type
- func (filter *Filter) TypeName() string
- func (filter *Filter) Value() interface{}
- type FilterBuilder
- func (b *FilterBuilder) Filter() *Filter
- func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
- func (b *FilterBuilder) WherePath(fp Condition_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
- func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, ...) *FilterBuilder
- type FilterBuilderOrCondition
- type FilterCondition
- type FilterConditionCompare
- func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionCompare) ConditionCompare()
- func (cond *FilterConditionCompare) Evaluate(res *Condition) bool
- func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
- func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
- func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionCompare) String() string
- type FilterConditionComposite
- func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionComposite) ConditionComposite()
- func (cond *FilterConditionComposite) Evaluate(res *Condition) bool
- func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
- func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
- func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionComposite) String() string
- type FilterConditionContains
- func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionContains) ConditionContains()
- func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
- func (cond *FilterConditionContains) Evaluate(res *Condition) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Condition_FieldPath
- func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
- func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
- func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionContains) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionContains) String() string
- type FilterConditionIn
- func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIn) ConditionIn()
- func (cond *FilterConditionIn) Evaluate(res *Condition) bool
- func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIn) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIn) String() string
- type FilterConditionIsNaN
- func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNaN) ConditionIsNaN()
- func (cond *FilterConditionIsNaN) Evaluate(res *Condition) bool
- func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNaN) String() string
- type FilterConditionIsNull
- func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNull) ConditionIsNull()
- func (cond *FilterConditionIsNull) Evaluate(res *Condition) bool
- func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNull) NotNull() bool
- func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNull) String() string
- type FilterConditionNot
- func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNot) ConditionNot()
- func (cond *FilterConditionNot) Evaluate(res *Condition) bool
- func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
- func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNot) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNot) String() string
- type FilterConditionNotIn
- func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNotIn) ConditionNotIn()
- func (cond *FilterConditionNotIn) Evaluate(res *Condition) bool
- func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Condition_FieldPath) bool
- func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNotIn) String() string
- type GetQuery
- func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
- func (q *GetQuery) GetReference() gotenresource.Reference
- func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *GetQuery) GotenQuery()
- func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *GetQuery) SetReference(ref gotenresource.Reference)
- func (q *GetQuery) String() string
- type ListQuery
- func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
- func (q *ListQuery) GetFilter() gotenresource.Filter
- func (q *ListQuery) GetPager() gotenresource.PagerQuery
- func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *ListQuery) GetWithPagingInfo() bool
- func (q *ListQuery) GotenQuery()
- func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *ListQuery) SetFilter(filter gotenresource.Filter)
- func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
- func (q *ListQuery) SetWithPagingInfo(with bool)
- func (q *ListQuery) String() string
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIParentName() gotenresource.Name
- func (name *Name) GetIUnderlyingParentName() gotenresource.Name
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetOrganizationName() *organization.Name
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetProjectName() *project.Name
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- func (b *NameBuilder) Name() *Name
- func (b *NameBuilder) Parent() *ParentName
- func (b *NameBuilder) ParentReference() *ParentReference
- func (b *NameBuilder) Reference() *Reference
- func (b *NameBuilder) SetId(id string) *NameBuilder
- func (b *NameBuilder) SetOrganization(parent *organization.Name) *NameBuilder
- func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
- func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder
- func (b *NameBuilder) SetProjectId(id string) *NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Condition) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Condition_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted ConditionList, elem *Condition) (ConditionList, int)
- func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
- func (orderBy *OrderBy) ParseProtoString(data string) error
- func (orderBy *OrderBy) ProtoString() (string, error)
- func (orderBy *OrderBy) SetFromCliFlag(raw string) error
- func (orderBy *OrderBy) Sort(results ConditionList)
- func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
- func (orderBy *OrderBy) String() string
- type OrderByField
- type PagerCursor
- func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
- func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
- func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
- func (cursor *PagerCursor) IsEmpty() bool
- func (cursor *PagerCursor) ParseProtoString(data string) (err error)
- func (cursor *PagerCursor) ProtoString() (string, error)
- func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
- func (cursor *PagerCursor) SetFromCliFlag(raw string) error
- func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
- func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
- func (cursor *PagerCursor) String() string
- type PagerQuery
- func (p *PagerQuery) GetCursor() gotenresource.Cursor
- func (p *PagerQuery) GetLimit() int
- func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
- func (p *PagerQuery) GetPeekForward() bool
- func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (p *PagerQuery) PageDirection() gotenresource.PageDirection
- func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
- func (p *PagerQuery) SetLimit(limit int)
- func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
- func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
- func (p *PagerQuery) SetPeekForward(peekForward bool)
- type ParentName
- func (name *ParentName) AsRawReference() gotenresource.Reference
- func (name *ParentName) AsReference() *ParentReference
- func (name *ParentName) DescendsFrom(ancestor string) bool
- func (name *ParentName) FullyQualifiedName() (string, error)
- func (name *ParentName) GetIParentName() gotenresource.Name
- func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
- func (name *ParentName) GetIdParts() map[string]string
- func (name *ParentName) GetOrganizationName() *organization.Name
- func (name *ParentName) GetPattern() gotenresource.NamePattern
- func (name *ParentName) GetProjectName() *project.Name
- func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
- func (name *ParentName) GetSegments() gotenresource.NameSegments
- func (name *ParentName) GotenEqual(other interface{}) bool
- func (name *ParentName) IsFullyQualified() bool
- func (name *ParentName) IsSpecified() bool
- func (name *ParentName) Matches(other interface{}) bool
- func (name *ParentName) ParseProtoString(data string) error
- func (name *ParentName) ProtoString() (string, error)
- func (name *ParentName) SetFromCliFlag(raw string) error
- func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *ParentName) String() string
- type ParentReference
- func (ref *ParentReference) ClearCached()
- func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
- func (name *ParentReference) Equal(other ref.Val) ref.Val
- func (ref *ParentReference) GetIParentName() gotenresource.Name
- func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *ParentReference) GetIdParts() map[string]string
- func (ref *ParentReference) GetOrganization() *organization.Organization
- func (ref *ParentReference) GetOrganizationReference() *organization.Reference
- func (ref *ParentReference) GetPattern() gotenresource.NamePattern
- func (ref *ParentReference) GetProject() *project.Project
- func (ref *ParentReference) GetProjectReference() *project.Reference
- func (ref *ParentReference) GetRawResource() gotenresource.Resource
- func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *ParentReference) GetSegments() gotenresource.NameSegments
- func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
- func (ref *ParentReference) GotenEqual(other interface{}) bool
- func (name *ParentReference) HasTrait(trait int) bool
- func (ref *ParentReference) IsFullyQualified() bool
- func (ref *ParentReference) IsSpecified() bool
- func (name *ParentReference) Match(pattern ref.Val) ref.Val
- func (name *ParentReference) Matches(other interface{}) bool
- func (ref *ParentReference) ParseProtoString(data string) error
- func (ref *ParentReference) ProtoString() (string, error)
- func (name *ParentReference) Receive(function string, overload string, args []ref.Val) ref.Val
- func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
- func (ref *ParentReference) Resolved() bool
- func (ref *ParentReference) SetFromCliFlag(raw string) error
- func (ref *ParentReference) String() string
- func (name *ParentReference) Type() ref.Type
- func (name *ParentReference) TypeName() string
- func (name *ParentReference) Value() interface{}
- type QueryResultChange
- func (qr *QueryResultChange) GetIsCurrent() bool
- func (qr *QueryResultChange) GetIsHardReset() bool
- func (qr *QueryResultChange) GetIsSoftReset() bool
- func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
- func (qr *QueryResultChange) GetResumeToken() string
- func (qr *QueryResultChange) GetSnapshotSize() int64
- func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultChange) SetIsCurrent()
- func (qr *QueryResultChange) SetIsHardReset()
- func (qr *QueryResultChange) SetIsSoftReset()
- func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
- func (qr *QueryResultChange) SetResumeToken(token string)
- func (qr *QueryResultChange) SetSnapshotSize(size int64)
- type QueryResultSnapshot
- func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
- func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
- func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) GetCondition() *Condition
- func (ref *Reference) GetIParentName() gotenresource.Name
- func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *Reference) GetIdParts() map[string]string
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *Reference) GetSegments() gotenresource.NameSegments
- func (ref *Reference) GotenEqual(other interface{}) bool
- func (ref *Reference) IsFullyQualified() bool
- func (ref *Reference) IsSpecified() bool
- func (name *Reference) Matches(other interface{}) bool
- func (ref *Reference) ParseProtoString(data string) error
- func (ref *Reference) ProtoString() (string, error)
- func (ref *Reference) Resolve(resolved *Condition)
- func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
- func (ref *Reference) Resolved() bool
- func (ref *Reference) SetFromCliFlag(raw string) error
- func (ref *Reference) String() string
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const ( NamePattern_Nil = "conditions/{condition}" NamePattern_Project = "projects/{project}/conditions/{condition}" NamePattern_Organization = "organizations/{organization}/conditions/{condition}" )
Variables ¶
var ( Condition_ParameterType_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "STRING", 2: "INT64", 3: "DOUBLE", 4: "BOOL", } Condition_ParameterType_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "STRING": 1, "INT64": 2, "DOUBLE": 3, "BOOL": 4, } )
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access ConditionAccess) gotenresource.Access
Types ¶
type Condition ¶
type Condition struct { // Name of Condition Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Display Name DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"` // Description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"` // Condition expression in [Google // CEL](https://github.com/google/cel-spec/blob/v0.4.0/doc/intro.md), syntax, // e.g. `resource.name == "projects/xyz/instances/abc"` // // Accessible parameters: // | variable | type | description | examples | // |-|-|-|-| // | `resource.body` | `string` | Resource type | `"iam.edgelq.com/Condition"` // | | `request.action` | `string` | Action verb | `"create"`, `"batchGet"` | // | `request.body` | `dyn` | Request body (in native format). | // request.body.page_size | | `parameters` | `map(string, dyn)` | Bound // parameters. | `parameters.minSeverity` | // // Extension: // // Some // // Filter.`satisfies(other)` // // Access is determined by the return value. Return `true` to grant access or // `false` to deny. Any execution error results in access denied. Expression string `protobuf:"bytes,4,opt,name=expression,proto3" json:"expression,omitempty" firestore:"expression"` // Typed parameters declarations. When binding a Condition passed parameters // must correspond to declarations. ParameterDeclarations []*Condition_ParameterDeclaration `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
Condition Resource provides an extension to primary RBAC model, which allows customizable (scriptable) access. Conditions can only be used to further limit (or narrow) access compared to standard (or unconditional) RBAC.
Usage:
- Condition is created with expression and parameter declarations. Consider this a definition, which will be later "bound".
- When creating a [RoleBinding] pass ConditionBinding with reference to
Condition and bound parameters.
When checking for principal access (anonymous, user, service account), for RoleBinding to grant permissions included in bound [Role], both RBAC and Condition expression evaluation must grant access.
func (*Condition) CloneRaw ¶
func (o *Condition) CloneRaw() gotenobject.GotenObjectExt
func (*Condition) Descriptor ¶
Deprecated, Use Condition.ProtoReflect.Descriptor instead.
func (*Condition) GetDescription ¶
func (*Condition) GetDisplayName ¶
func (*Condition) GetExpression ¶
func (*Condition) GetParameterDeclarations ¶
func (m *Condition) GetParameterDeclarations() []*Condition_ParameterDeclaration
func (*Condition) GetRawName ¶
func (r *Condition) GetRawName() gotenresource.Name
func (*Condition) GetResourceDescriptor ¶
func (r *Condition) GetResourceDescriptor() gotenresource.Descriptor
func (*Condition) GotenMessage ¶
func (*Condition) GotenMessage()
func (*Condition) GotenObjectExt ¶
func (o *Condition) GotenObjectExt()
func (*Condition) GotenValidate ¶
func (*Condition) MakeDiffFieldMask ¶
func (o *Condition) MakeDiffFieldMask(other *Condition) *Condition_FieldMask
func (*Condition) MakeFullFieldMask ¶
func (o *Condition) MakeFullFieldMask() *Condition_FieldMask
func (*Condition) MakeRawDiffFieldMask ¶
func (o *Condition) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Condition) MakeRawFullFieldMask ¶
func (o *Condition) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Condition) MarshalJSON ¶
func (*Condition) MaybePopulateDefaults ¶
func (*Condition) MergeRaw ¶
func (o *Condition) MergeRaw(source gotenobject.GotenObjectExt)
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (*Condition) SetDescription ¶
func (*Condition) SetDisplayName ¶
func (*Condition) SetExpression ¶
func (*Condition) SetParameterDeclarations ¶
func (m *Condition) SetParameterDeclarations(fv []*Condition_ParameterDeclaration)
func (*Condition) UnmarshalJSON ¶
type ConditionAccess ¶
type ConditionAccess interface { GetCondition(context.Context, *GetQuery) (*Condition, error) BatchGetConditions(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryConditions(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchCondition(context.Context, *GetQuery, func(*ConditionChange) error) error WatchConditions(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveCondition(context.Context, *Condition, ...gotenresource.SaveOption) error DeleteCondition(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type ConditionBinding ¶
type ConditionBinding struct { // Reference to Condition which may also be parameterized Condition *Reference `protobuf:"bytes,1,opt,customtype=Reference,name=condition,proto3" json:"condition,omitempty" firestore:"condition"` // Parameters in string form. Parameters must match // [declarations][ntt.iam.v1alpha.Condition.parameter_declarations] Parameters map[string]string `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
ConditionBinding represents instantiantion of condi
func (*ConditionBinding) Clone ¶
func (o *ConditionBinding) Clone() *ConditionBinding
func (*ConditionBinding) CloneRaw ¶
func (o *ConditionBinding) CloneRaw() gotenobject.GotenObjectExt
func (*ConditionBinding) Descriptor ¶
func (*ConditionBinding) Descriptor() ([]byte, []int)
Deprecated, Use ConditionBinding.ProtoReflect.Descriptor instead.
func (*ConditionBinding) GetCondition ¶
func (m *ConditionBinding) GetCondition() *Reference
func (*ConditionBinding) GetParameters ¶
func (m *ConditionBinding) GetParameters() map[string]string
func (*ConditionBinding) GotenMessage ¶
func (*ConditionBinding) GotenMessage()
func (*ConditionBinding) GotenObjectExt ¶
func (o *ConditionBinding) GotenObjectExt()
func (*ConditionBinding) GotenValidate ¶
func (obj *ConditionBinding) GotenValidate() error
func (*ConditionBinding) MakeDiffFieldMask ¶
func (o *ConditionBinding) MakeDiffFieldMask(other *ConditionBinding) *ConditionBinding_FieldMask
func (*ConditionBinding) MakeFullFieldMask ¶
func (o *ConditionBinding) MakeFullFieldMask() *ConditionBinding_FieldMask
func (*ConditionBinding) MakeRawDiffFieldMask ¶
func (o *ConditionBinding) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*ConditionBinding) MakeRawFullFieldMask ¶
func (o *ConditionBinding) MakeRawFullFieldMask() gotenobject.FieldMask
func (*ConditionBinding) Marshal ¶
func (m *ConditionBinding) Marshal() ([]byte, error)
func (*ConditionBinding) MarshalJSON ¶
func (m *ConditionBinding) MarshalJSON() ([]byte, error)
func (*ConditionBinding) Merge ¶
func (o *ConditionBinding) Merge(source *ConditionBinding)
func (*ConditionBinding) MergeRaw ¶
func (o *ConditionBinding) MergeRaw(source gotenobject.GotenObjectExt)
func (*ConditionBinding) ProtoMessage ¶
func (*ConditionBinding) ProtoMessage()
func (*ConditionBinding) ProtoReflect ¶
func (m *ConditionBinding) ProtoReflect() preflect.Message
func (*ConditionBinding) Reset ¶
func (m *ConditionBinding) Reset()
func (*ConditionBinding) SetCondition ¶
func (m *ConditionBinding) SetCondition(fv *Reference)
func (*ConditionBinding) SetParameters ¶
func (m *ConditionBinding) SetParameters(fv map[string]string)
func (*ConditionBinding) String ¶
func (m *ConditionBinding) String() string
func (*ConditionBinding) Unmarshal ¶
func (m *ConditionBinding) Unmarshal(b []byte) error
func (*ConditionBinding) UnmarshalJSON ¶
func (m *ConditionBinding) UnmarshalJSON(data []byte) error
type ConditionBindingFieldPathBuilder ¶
type ConditionBindingFieldPathBuilder struct{}
func NewConditionBindingFieldPathBuilder ¶
func NewConditionBindingFieldPathBuilder() ConditionBindingFieldPathBuilder
func (ConditionBindingFieldPathBuilder) Condition ¶
func (ConditionBindingFieldPathBuilder) Condition() ConditionBindingPathSelectorCondition
func (ConditionBindingFieldPathBuilder) Parameters ¶
func (ConditionBindingFieldPathBuilder) Parameters() ConditionBindingPathSelectorParameters
type ConditionBindingMapPathSelectorParameters ¶
type ConditionBindingMapPathSelectorParameters struct {
// contains filtered or unexported fields
}
func (ConditionBindingMapPathSelectorParameters) FieldPath ¶
func (s ConditionBindingMapPathSelectorParameters) FieldPath() *ConditionBinding_FieldPathMap
func (ConditionBindingMapPathSelectorParameters) WithArrayOfValues ¶
func (s ConditionBindingMapPathSelectorParameters) WithArrayOfValues(values []string) *ConditionBinding_FieldPathMapArrayOfValues
func (ConditionBindingMapPathSelectorParameters) WithValue ¶
func (s ConditionBindingMapPathSelectorParameters) WithValue(value string) *ConditionBinding_FieldPathMapValue
type ConditionBindingPathSelectorCondition ¶
type ConditionBindingPathSelectorCondition struct{}
func (ConditionBindingPathSelectorCondition) FieldPath ¶
func (ConditionBindingPathSelectorCondition) FieldPath() *ConditionBinding_FieldTerminalPath
func (ConditionBindingPathSelectorCondition) WithArrayOfValues ¶
func (s ConditionBindingPathSelectorCondition) WithArrayOfValues(values []*Reference) *ConditionBinding_FieldTerminalPathArrayOfValues
func (ConditionBindingPathSelectorCondition) WithValue ¶
func (s ConditionBindingPathSelectorCondition) WithValue(value *Reference) *ConditionBinding_FieldTerminalPathValue
type ConditionBindingPathSelectorParameters ¶
type ConditionBindingPathSelectorParameters struct{}
func (ConditionBindingPathSelectorParameters) FieldPath ¶
func (ConditionBindingPathSelectorParameters) FieldPath() *ConditionBinding_FieldTerminalPath
func (ConditionBindingPathSelectorParameters) WithArrayOfValues ¶
func (s ConditionBindingPathSelectorParameters) WithArrayOfValues(values []map[string]string) *ConditionBinding_FieldTerminalPathArrayOfValues
func (ConditionBindingPathSelectorParameters) WithKey ¶
func (ConditionBindingPathSelectorParameters) WithKey(key string) ConditionBindingMapPathSelectorParameters
func (ConditionBindingPathSelectorParameters) WithValue ¶
func (s ConditionBindingPathSelectorParameters) WithValue(value map[string]string) *ConditionBinding_FieldTerminalPathValue
type ConditionBinding_FieldMask ¶
type ConditionBinding_FieldMask struct {
Paths []ConditionBinding_FieldPath
}
func FullConditionBinding_FieldMask ¶
func FullConditionBinding_FieldMask() *ConditionBinding_FieldMask
func (*ConditionBinding_FieldMask) AppendPath ¶
func (fieldMask *ConditionBinding_FieldMask) AppendPath(path ConditionBinding_FieldPath)
func (*ConditionBinding_FieldMask) AppendRawPath ¶
func (fieldMask *ConditionBinding_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*ConditionBinding_FieldMask) DecodeFirestore ¶
func (fieldMask *ConditionBinding_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*ConditionBinding_FieldMask) EncodeFirestore ¶
func (fieldMask *ConditionBinding_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*ConditionBinding_FieldMask) FilterInputFields ¶
func (fieldMask *ConditionBinding_FieldMask) FilterInputFields() *ConditionBinding_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*ConditionBinding_FieldMask) FromProtoFieldMask ¶
func (fieldMask *ConditionBinding_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*ConditionBinding_FieldMask) GetPaths ¶
func (fieldMask *ConditionBinding_FieldMask) GetPaths() []ConditionBinding_FieldPath
func (*ConditionBinding_FieldMask) GetRawPaths ¶
func (fieldMask *ConditionBinding_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*ConditionBinding_FieldMask) IsFull ¶
func (fieldMask *ConditionBinding_FieldMask) IsFull() bool
func (ConditionBinding_FieldMask) Marshal ¶
func (fieldMask ConditionBinding_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (ConditionBinding_FieldMask) MarshalJSON ¶
func (fieldMask ConditionBinding_FieldMask) MarshalJSON() ([]byte, error)
func (*ConditionBinding_FieldMask) PathsCount ¶
func (fieldMask *ConditionBinding_FieldMask) PathsCount() int
func (*ConditionBinding_FieldMask) Project ¶
func (fieldMask *ConditionBinding_FieldMask) Project(source *ConditionBinding) *ConditionBinding
func (*ConditionBinding_FieldMask) ProjectRaw ¶
func (fieldMask *ConditionBinding_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*ConditionBinding_FieldMask) ProtoMessage ¶
func (fieldMask *ConditionBinding_FieldMask) ProtoMessage()
func (*ConditionBinding_FieldMask) ProtoReflect ¶
func (fieldMask *ConditionBinding_FieldMask) ProtoReflect() preflect.Message
func (*ConditionBinding_FieldMask) Reset ¶
func (fieldMask *ConditionBinding_FieldMask) Reset()
func (*ConditionBinding_FieldMask) Set ¶
func (fieldMask *ConditionBinding_FieldMask) Set(target, source *ConditionBinding)
func (*ConditionBinding_FieldMask) SetFromCliFlag ¶
func (fieldMask *ConditionBinding_FieldMask) SetFromCliFlag(raw string) error
func (*ConditionBinding_FieldMask) SetRaw ¶
func (fieldMask *ConditionBinding_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*ConditionBinding_FieldMask) Size ¶
func (fieldMask *ConditionBinding_FieldMask) Size() int
func (*ConditionBinding_FieldMask) String ¶
func (fieldMask *ConditionBinding_FieldMask) String() string
func (*ConditionBinding_FieldMask) Subtract ¶
func (fieldMask *ConditionBinding_FieldMask) Subtract(other *ConditionBinding_FieldMask) *ConditionBinding_FieldMask
func (*ConditionBinding_FieldMask) SubtractRaw ¶
func (fieldMask *ConditionBinding_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*ConditionBinding_FieldMask) ToProtoFieldMask ¶
func (fieldMask *ConditionBinding_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*ConditionBinding_FieldMask) Unmarshal ¶
func (fieldMask *ConditionBinding_FieldMask) Unmarshal(data []byte) error
func (*ConditionBinding_FieldMask) UnmarshalJSON ¶
func (fieldMask *ConditionBinding_FieldMask) UnmarshalJSON(data []byte) error
type ConditionBinding_FieldPath ¶
type ConditionBinding_FieldPath interface { gotenobject.FieldPath Selector() ConditionBinding_FieldPathSelector Get(source *ConditionBinding) []interface{} GetSingle(source *ConditionBinding) (interface{}, bool) ClearValue(item *ConditionBinding) // Those methods build corresponding ConditionBinding_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) ConditionBinding_FieldPathValue WithIArrayOfValues(values interface{}) ConditionBinding_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) ConditionBinding_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildConditionBinding_FieldPath ¶
func BuildConditionBinding_FieldPath(fp gotenobject.RawFieldPath) (ConditionBinding_FieldPath, error)
func MustParseConditionBinding_FieldPath ¶
func MustParseConditionBinding_FieldPath(rawField string) ConditionBinding_FieldPath
func ParseConditionBinding_FieldPath ¶
func ParseConditionBinding_FieldPath(rawField string) (ConditionBinding_FieldPath, error)
type ConditionBinding_FieldPathArrayItemValue ¶
type ConditionBinding_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue ConditionBinding_FieldPath ContainsValue(*ConditionBinding) bool }
ConditionBinding_FieldPathArrayItemValue allows storing single item in Path-specific values for ConditionBinding according to their type Present only for array (repeated) types.
func MustParseConditionBinding_FieldPathArrayItemValue ¶
func MustParseConditionBinding_FieldPathArrayItemValue(pathStr, valueStr string) ConditionBinding_FieldPathArrayItemValue
func ParseConditionBinding_FieldPathArrayItemValue ¶
func ParseConditionBinding_FieldPathArrayItemValue(pathStr, valueStr string) (ConditionBinding_FieldPathArrayItemValue, error)
ParseConditionBinding_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type ConditionBinding_FieldPathArrayOfValues ¶
type ConditionBinding_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues ConditionBinding_FieldPath }
ConditionBinding_FieldPathArrayOfValues allows storing slice of values for ConditionBinding fields according to their type
func MustParseConditionBinding_FieldPathArrayOfValues ¶
func MustParseConditionBinding_FieldPathArrayOfValues(pathStr, valuesStr string) ConditionBinding_FieldPathArrayOfValues
func ParseConditionBinding_FieldPathArrayOfValues ¶
func ParseConditionBinding_FieldPathArrayOfValues(pathStr, valuesStr string) (ConditionBinding_FieldPathArrayOfValues, error)
type ConditionBinding_FieldPathMap ¶
type ConditionBinding_FieldPathMap struct {
// contains filtered or unexported fields
}
FieldPath for map type with additional Key information
func (*ConditionBinding_FieldPathMap) ClearValue ¶
func (fpm *ConditionBinding_FieldPathMap) ClearValue(item *ConditionBinding)
func (*ConditionBinding_FieldPathMap) ClearValueRaw ¶
func (fpm *ConditionBinding_FieldPathMap) ClearValueRaw(item proto.Message)
func (*ConditionBinding_FieldPathMap) Get ¶
func (fpm *ConditionBinding_FieldPathMap) Get(source *ConditionBinding) (values []interface{})
Get returns all values pointed by selected field map key from source ConditionBinding
func (*ConditionBinding_FieldPathMap) GetDefault ¶
func (fpm *ConditionBinding_FieldPathMap) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*ConditionBinding_FieldPathMap) GetRaw ¶
func (fpm *ConditionBinding_FieldPathMap) GetRaw(source proto.Message) []interface{}
func (*ConditionBinding_FieldPathMap) GetSingle ¶
func (fpm *ConditionBinding_FieldPathMap) GetSingle(source *ConditionBinding) (interface{}, bool)
GetSingle returns value by selected field map key from source ConditionBinding
func (*ConditionBinding_FieldPathMap) GetSingleRaw ¶
func (fpm *ConditionBinding_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*ConditionBinding_FieldPathMap) IsLeaf ¶
func (fpm *ConditionBinding_FieldPathMap) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*ConditionBinding_FieldPathMap) JSONString ¶
func (fpm *ConditionBinding_FieldPathMap) JSONString() string
JSONString returns path representation is JSON convention. Note that map keys are not transformed
func (*ConditionBinding_FieldPathMap) Key ¶
func (fpm *ConditionBinding_FieldPathMap) Key() string
func (*ConditionBinding_FieldPathMap) Selector ¶
func (fpm *ConditionBinding_FieldPathMap) Selector() ConditionBinding_FieldPathSelector
func (*ConditionBinding_FieldPathMap) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fpm *ConditionBinding_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*ConditionBinding_FieldPathMap) String ¶
func (fpm *ConditionBinding_FieldPathMap) String() string
String returns path representation in proto convention
func (*ConditionBinding_FieldPathMap) WithIArrayItemValue ¶
func (fpm *ConditionBinding_FieldPathMap) WithIArrayItemValue(value interface{}) ConditionBinding_FieldPathArrayItemValue
func (*ConditionBinding_FieldPathMap) WithIArrayOfValues ¶
func (fpm *ConditionBinding_FieldPathMap) WithIArrayOfValues(values interface{}) ConditionBinding_FieldPathArrayOfValues
func (*ConditionBinding_FieldPathMap) WithIValue ¶
func (fpm *ConditionBinding_FieldPathMap) WithIValue(value interface{}) ConditionBinding_FieldPathValue
func (*ConditionBinding_FieldPathMap) WithRawIArrayItemValue ¶
func (fpm *ConditionBinding_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*ConditionBinding_FieldPathMap) WithRawIArrayOfValues ¶
func (fpm *ConditionBinding_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*ConditionBinding_FieldPathMap) WithRawIValue ¶
func (fpm *ConditionBinding_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type ConditionBinding_FieldPathMapArrayOfValues ¶
type ConditionBinding_FieldPathMapArrayOfValues struct { ConditionBinding_FieldPathMap // contains filtered or unexported fields }
func (*ConditionBinding_FieldPathMapArrayOfValues) AsParametersArrayOfElementValues ¶
func (fpmaov *ConditionBinding_FieldPathMapArrayOfValues) AsParametersArrayOfElementValues() ([]string, bool)
func (*ConditionBinding_FieldPathMapArrayOfValues) GetRawValues ¶
func (fpmaov *ConditionBinding_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})
type ConditionBinding_FieldPathMapValue ¶
type ConditionBinding_FieldPathMapValue struct { ConditionBinding_FieldPathMap // contains filtered or unexported fields }
func (*ConditionBinding_FieldPathMapValue) AsParametersElementValue ¶
func (fpmv *ConditionBinding_FieldPathMapValue) AsParametersElementValue() (string, bool)
func (*ConditionBinding_FieldPathMapValue) CompareWith ¶
func (fpmv *ConditionBinding_FieldPathMapValue) CompareWith(source *ConditionBinding) (int, bool)
CompareWith compares value in the 'ConditionBinding_FieldPathMapValue' with the value under path in 'ConditionBinding'.
func (*ConditionBinding_FieldPathMapValue) CompareWithRaw ¶
func (fpmv *ConditionBinding_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)
func (*ConditionBinding_FieldPathMapValue) GetRawValue ¶
func (fpmv *ConditionBinding_FieldPathMapValue) GetRawValue() interface{}
GetValue returns value stored under selected field in ConditionBinding as interface{}
func (*ConditionBinding_FieldPathMapValue) SetTo ¶
func (fpmv *ConditionBinding_FieldPathMapValue) SetTo(target **ConditionBinding)
SetTo stores value for selected field in ConditionBinding
func (*ConditionBinding_FieldPathMapValue) SetToRaw ¶
func (fpmv *ConditionBinding_FieldPathMapValue) SetToRaw(target proto.Message)
type ConditionBinding_FieldPathSelector ¶
type ConditionBinding_FieldPathSelector int32
const ( ConditionBinding_FieldPathSelectorCondition ConditionBinding_FieldPathSelector = 0 ConditionBinding_FieldPathSelectorParameters ConditionBinding_FieldPathSelector = 1 )
func (ConditionBinding_FieldPathSelector) String ¶
func (s ConditionBinding_FieldPathSelector) String() string
type ConditionBinding_FieldPathValue ¶
type ConditionBinding_FieldPathValue interface { ConditionBinding_FieldPath gotenobject.FieldPathValue SetTo(target **ConditionBinding) CompareWith(*ConditionBinding) (cmp int, comparable bool) }
ConditionBinding_FieldPathValue allows storing values for ConditionBinding fields according to their type
func MustParseConditionBinding_FieldPathValue ¶
func MustParseConditionBinding_FieldPathValue(pathStr, valueStr string) ConditionBinding_FieldPathValue
func ParseConditionBinding_FieldPathValue ¶
func ParseConditionBinding_FieldPathValue(pathStr, valueStr string) (ConditionBinding_FieldPathValue, error)
type ConditionBinding_FieldTerminalPath ¶
type ConditionBinding_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*ConditionBinding_FieldTerminalPath) ClearValue ¶
func (fp *ConditionBinding_FieldTerminalPath) ClearValue(item *ConditionBinding)
func (*ConditionBinding_FieldTerminalPath) ClearValueRaw ¶
func (fp *ConditionBinding_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*ConditionBinding_FieldTerminalPath) Get ¶
func (fp *ConditionBinding_FieldTerminalPath) Get(source *ConditionBinding) (values []interface{})
Get returns all values pointed by specific field from source ConditionBinding
func (*ConditionBinding_FieldTerminalPath) GetDefault ¶
func (fp *ConditionBinding_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*ConditionBinding_FieldTerminalPath) GetRaw ¶
func (fp *ConditionBinding_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*ConditionBinding_FieldTerminalPath) GetSingle ¶
func (fp *ConditionBinding_FieldTerminalPath) GetSingle(source *ConditionBinding) (interface{}, bool)
GetSingle returns value pointed by specific field of from source ConditionBinding
func (*ConditionBinding_FieldTerminalPath) GetSingleRaw ¶
func (fp *ConditionBinding_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*ConditionBinding_FieldTerminalPath) IsLeaf ¶
func (fp *ConditionBinding_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*ConditionBinding_FieldTerminalPath) JSONString ¶
func (fp *ConditionBinding_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*ConditionBinding_FieldTerminalPath) Selector ¶
func (fp *ConditionBinding_FieldTerminalPath) Selector() ConditionBinding_FieldPathSelector
func (*ConditionBinding_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *ConditionBinding_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*ConditionBinding_FieldTerminalPath) String ¶
func (fp *ConditionBinding_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*ConditionBinding_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *ConditionBinding_FieldTerminalPath) WithIArrayItemValue(value interface{}) ConditionBinding_FieldPathArrayItemValue
func (*ConditionBinding_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *ConditionBinding_FieldTerminalPath) WithIArrayOfValues(values interface{}) ConditionBinding_FieldPathArrayOfValues
func (*ConditionBinding_FieldTerminalPath) WithIValue ¶
func (fp *ConditionBinding_FieldTerminalPath) WithIValue(value interface{}) ConditionBinding_FieldPathValue
func (*ConditionBinding_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *ConditionBinding_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*ConditionBinding_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *ConditionBinding_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*ConditionBinding_FieldTerminalPath) WithRawIValue ¶
func (fp *ConditionBinding_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type ConditionBinding_FieldTerminalPathArrayItemValue ¶
type ConditionBinding_FieldTerminalPathArrayItemValue struct { ConditionBinding_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionBinding_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) ContainsValue(source *ConditionBinding) bool
Contains returns a boolean indicating if value that is being held is present in given 'ConditionBinding'
func (*ConditionBinding_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object ConditionBinding as interface{}
func (*ConditionBinding_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetSingle(source *ConditionBinding) (interface{}, bool)
func (*ConditionBinding_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *ConditionBinding_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type ConditionBinding_FieldTerminalPathArrayOfValues ¶
type ConditionBinding_FieldTerminalPathArrayOfValues struct { ConditionBinding_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionBinding_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues ¶
func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues() ([]*Reference, bool)
func (*ConditionBinding_FieldTerminalPathArrayOfValues) AsParametersArrayOfValues ¶
func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) AsParametersArrayOfValues() ([]map[string]string, bool)
func (*ConditionBinding_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *ConditionBinding_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type ConditionBinding_FieldTerminalPathValue ¶
type ConditionBinding_FieldTerminalPathValue struct { ConditionBinding_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionBinding_FieldTerminalPathValue) AsConditionValue ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) AsConditionValue() (*Reference, bool)
func (*ConditionBinding_FieldTerminalPathValue) AsParametersValue ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) AsParametersValue() (map[string]string, bool)
func (*ConditionBinding_FieldTerminalPathValue) CompareWith ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) CompareWith(source *ConditionBinding) (int, bool)
CompareWith compares value in the 'ConditionBinding_FieldTerminalPathValue' with the value under path in 'ConditionBinding'.
func (*ConditionBinding_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*ConditionBinding_FieldTerminalPathValue) GetRawValue ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'ConditionBinding' as interface{}
func (*ConditionBinding_FieldTerminalPathValue) SetTo ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) SetTo(target **ConditionBinding)
SetTo stores value for selected field for object ConditionBinding
func (*ConditionBinding_FieldTerminalPathValue) SetToRaw ¶
func (fpv *ConditionBinding_FieldTerminalPathValue) SetToRaw(target proto.Message)
type ConditionChange ¶
type ConditionChange struct { // Condition change // // Types that are valid to be assigned to ChangeType: // *ConditionChange_Added_ // *ConditionChange_Modified_ // *ConditionChange_Current_ // *ConditionChange_Removed_ ChangeType isConditionChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
ConditionChange is used by Watch notifications Responses to describe change of single Condition One of Added, Modified, Removed
func (*ConditionChange) Descriptor ¶
func (*ConditionChange) Descriptor() ([]byte, []int)
Deprecated, Use ConditionChange.ProtoReflect.Descriptor instead.
func (*ConditionChange) GetAdded ¶
func (m *ConditionChange) GetAdded() *ConditionChange_Added
func (*ConditionChange) GetChangeType ¶
func (m *ConditionChange) GetChangeType() isConditionChange_ChangeType
func (*ConditionChange) GetCondition ¶
func (c *ConditionChange) GetCondition() *Condition
func (*ConditionChange) GetConditionName ¶
func (c *ConditionChange) GetConditionName() *Name
func (*ConditionChange) GetCurrent ¶
func (m *ConditionChange) GetCurrent() *ConditionChange_Current
func (*ConditionChange) GetCurrentViewIndex ¶
func (c *ConditionChange) GetCurrentViewIndex() int32
func (*ConditionChange) GetModified ¶
func (m *ConditionChange) GetModified() *ConditionChange_Modified
func (*ConditionChange) GetPreviousViewIndex ¶
func (c *ConditionChange) GetPreviousViewIndex() int32
func (*ConditionChange) GetRawName ¶
func (c *ConditionChange) GetRawName() gotenresource.Name
func (*ConditionChange) GetRawResource ¶ added in v0.5.1
func (c *ConditionChange) GetRawResource() gotenresource.Resource
func (*ConditionChange) GetRemoved ¶
func (m *ConditionChange) GetRemoved() *ConditionChange_Removed
func (*ConditionChange) GotenMessage ¶
func (*ConditionChange) GotenMessage()
func (*ConditionChange) GotenValidate ¶
func (obj *ConditionChange) GotenValidate() error
func (*ConditionChange) IsAdd ¶
func (c *ConditionChange) IsAdd() bool
func (*ConditionChange) IsCurrent ¶
func (c *ConditionChange) IsCurrent() bool
func (*ConditionChange) IsDelete ¶
func (c *ConditionChange) IsDelete() bool
func (*ConditionChange) IsModify ¶
func (c *ConditionChange) IsModify() bool
func (*ConditionChange) Marshal ¶
func (m *ConditionChange) Marshal() ([]byte, error)
func (*ConditionChange) MarshalJSON ¶
func (m *ConditionChange) MarshalJSON() ([]byte, error)
func (*ConditionChange) ProtoMessage ¶
func (*ConditionChange) ProtoMessage()
func (*ConditionChange) ProtoReflect ¶
func (m *ConditionChange) ProtoReflect() preflect.Message
func (*ConditionChange) Reset ¶
func (m *ConditionChange) Reset()
func (*ConditionChange) SetAdded ¶
func (m *ConditionChange) SetAdded(fv *ConditionChange_Added)
func (*ConditionChange) SetAddedRaw ¶
func (c *ConditionChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*ConditionChange) SetChangeType ¶
func (m *ConditionChange) SetChangeType(ofv isConditionChange_ChangeType)
func (*ConditionChange) SetCurrent ¶
func (m *ConditionChange) SetCurrent(fv *ConditionChange_Current)
func (*ConditionChange) SetCurrentRaw ¶
func (c *ConditionChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*ConditionChange) SetDeletedRaw ¶
func (c *ConditionChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*ConditionChange) SetModified ¶
func (m *ConditionChange) SetModified(fv *ConditionChange_Modified)
func (*ConditionChange) SetModifiedRaw ¶
func (c *ConditionChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*ConditionChange) SetRemoved ¶
func (m *ConditionChange) SetRemoved(fv *ConditionChange_Removed)
func (*ConditionChange) String ¶
func (m *ConditionChange) String() string
func (*ConditionChange) Unmarshal ¶
func (m *ConditionChange) Unmarshal(b []byte) error
func (*ConditionChange) UnmarshalJSON ¶
func (m *ConditionChange) UnmarshalJSON(data []byte) error
type ConditionChangeList ¶
type ConditionChangeList []*ConditionChange
func (ConditionChangeList) Append ¶
func (l ConditionChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (ConditionChangeList) AppendList ¶
func (l ConditionChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (ConditionChangeList) At ¶
func (l ConditionChangeList) At(idx int) gotenresource.ResourceChange
func (ConditionChangeList) Length ¶
func (l ConditionChangeList) Length() int
func (ConditionChangeList) Set ¶
func (l ConditionChangeList) Set(idx int, change gotenresource.ResourceChange)
func (ConditionChangeList) Slice ¶
func (l ConditionChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type ConditionChangeMap ¶
type ConditionChangeMap map[Name]*ConditionChange
func (ConditionChangeMap) Delete ¶
func (m ConditionChangeMap) Delete(name gotenresource.Name)
func (ConditionChangeMap) ForEach ¶
func (m ConditionChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (ConditionChangeMap) Get ¶
func (m ConditionChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (ConditionChangeMap) Length ¶
func (m ConditionChangeMap) Length() int
func (ConditionChangeMap) Set ¶
func (m ConditionChangeMap) Set(change gotenresource.ResourceChange)
type ConditionChange_Added ¶
type ConditionChange_Added struct { Condition *Condition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty" firestore:"condition"` // Integer describing index of added Condition in resulting query view. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Condition has been added to query view
func (*ConditionChange_Added) Descriptor ¶
func (*ConditionChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use ConditionChange_Added.ProtoReflect.Descriptor instead.
func (*ConditionChange_Added) GetCondition ¶
func (m *ConditionChange_Added) GetCondition() *Condition
func (*ConditionChange_Added) GetViewIndex ¶
func (m *ConditionChange_Added) GetViewIndex() int32
func (*ConditionChange_Added) GotenMessage ¶
func (*ConditionChange_Added) GotenMessage()
func (*ConditionChange_Added) GotenValidate ¶
func (obj *ConditionChange_Added) GotenValidate() error
func (*ConditionChange_Added) Marshal ¶
func (m *ConditionChange_Added) Marshal() ([]byte, error)
func (*ConditionChange_Added) MarshalJSON ¶
func (m *ConditionChange_Added) MarshalJSON() ([]byte, error)
func (*ConditionChange_Added) ProtoMessage ¶
func (*ConditionChange_Added) ProtoMessage()
func (*ConditionChange_Added) ProtoReflect ¶
func (m *ConditionChange_Added) ProtoReflect() preflect.Message
func (*ConditionChange_Added) Reset ¶
func (m *ConditionChange_Added) Reset()
func (*ConditionChange_Added) SetCondition ¶
func (m *ConditionChange_Added) SetCondition(fv *Condition)
func (*ConditionChange_Added) SetViewIndex ¶
func (m *ConditionChange_Added) SetViewIndex(fv int32)
func (*ConditionChange_Added) String ¶
func (m *ConditionChange_Added) String() string
func (*ConditionChange_Added) Unmarshal ¶
func (m *ConditionChange_Added) Unmarshal(b []byte) error
func (*ConditionChange_Added) UnmarshalJSON ¶
func (m *ConditionChange_Added) UnmarshalJSON(data []byte) error
type ConditionChange_Added_ ¶
type ConditionChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *ConditionChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type ConditionChange_Current ¶
type ConditionChange_Current struct { Condition *Condition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty" firestore:"condition"` // contains filtered or unexported fields }
Condition has been added or modified in a query view. Version used for stateless watching
func (*ConditionChange_Current) Descriptor ¶
func (*ConditionChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use ConditionChange_Current.ProtoReflect.Descriptor instead.
func (*ConditionChange_Current) GetCondition ¶
func (m *ConditionChange_Current) GetCondition() *Condition
func (*ConditionChange_Current) GotenMessage ¶
func (*ConditionChange_Current) GotenMessage()
func (*ConditionChange_Current) GotenValidate ¶
func (obj *ConditionChange_Current) GotenValidate() error
func (*ConditionChange_Current) Marshal ¶
func (m *ConditionChange_Current) Marshal() ([]byte, error)
func (*ConditionChange_Current) MarshalJSON ¶
func (m *ConditionChange_Current) MarshalJSON() ([]byte, error)
func (*ConditionChange_Current) ProtoMessage ¶
func (*ConditionChange_Current) ProtoMessage()
func (*ConditionChange_Current) ProtoReflect ¶
func (m *ConditionChange_Current) ProtoReflect() preflect.Message
func (*ConditionChange_Current) Reset ¶
func (m *ConditionChange_Current) Reset()
func (*ConditionChange_Current) SetCondition ¶
func (m *ConditionChange_Current) SetCondition(fv *Condition)
func (*ConditionChange_Current) String ¶
func (m *ConditionChange_Current) String() string
func (*ConditionChange_Current) Unmarshal ¶
func (m *ConditionChange_Current) Unmarshal(b []byte) error
func (*ConditionChange_Current) UnmarshalJSON ¶
func (m *ConditionChange_Current) UnmarshalJSON(data []byte) error
type ConditionChange_Current_ ¶
type ConditionChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *ConditionChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type ConditionChange_Modified ¶
type ConditionChange_Modified struct { // Name of modified Condition Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Condition or masked difference, depending on mask_changes // instrumentation of issued [WatchConditionRequest] or // [WatchConditionsRequest] Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty" firestore:"condition"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Condition_FieldMask `` /* 141-byte string literal not displayed */ // Previous view index specifies previous position of modified Condition. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Condition new index in resulting query view. ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Condition changed some of it's fields - contains either full document or masked change
func (*ConditionChange_Modified) Descriptor ¶
func (*ConditionChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use ConditionChange_Modified.ProtoReflect.Descriptor instead.
func (*ConditionChange_Modified) GetCondition ¶
func (m *ConditionChange_Modified) GetCondition() *Condition
func (*ConditionChange_Modified) GetFieldMask ¶
func (m *ConditionChange_Modified) GetFieldMask() *Condition_FieldMask
func (*ConditionChange_Modified) GetName ¶
func (m *ConditionChange_Modified) GetName() *Name
func (*ConditionChange_Modified) GetPreviousViewIndex ¶
func (m *ConditionChange_Modified) GetPreviousViewIndex() int32
func (*ConditionChange_Modified) GetViewIndex ¶
func (m *ConditionChange_Modified) GetViewIndex() int32
func (*ConditionChange_Modified) GotenMessage ¶
func (*ConditionChange_Modified) GotenMessage()
func (*ConditionChange_Modified) GotenValidate ¶
func (obj *ConditionChange_Modified) GotenValidate() error
func (*ConditionChange_Modified) Marshal ¶
func (m *ConditionChange_Modified) Marshal() ([]byte, error)
func (*ConditionChange_Modified) MarshalJSON ¶
func (m *ConditionChange_Modified) MarshalJSON() ([]byte, error)
func (*ConditionChange_Modified) ProtoMessage ¶
func (*ConditionChange_Modified) ProtoMessage()
func (*ConditionChange_Modified) ProtoReflect ¶
func (m *ConditionChange_Modified) ProtoReflect() preflect.Message
func (*ConditionChange_Modified) Reset ¶
func (m *ConditionChange_Modified) Reset()
func (*ConditionChange_Modified) SetCondition ¶
func (m *ConditionChange_Modified) SetCondition(fv *Condition)
func (*ConditionChange_Modified) SetFieldMask ¶
func (m *ConditionChange_Modified) SetFieldMask(fv *Condition_FieldMask)
func (*ConditionChange_Modified) SetName ¶
func (m *ConditionChange_Modified) SetName(fv *Name)
func (*ConditionChange_Modified) SetPreviousViewIndex ¶
func (m *ConditionChange_Modified) SetPreviousViewIndex(fv int32)
func (*ConditionChange_Modified) SetViewIndex ¶
func (m *ConditionChange_Modified) SetViewIndex(fv int32)
func (*ConditionChange_Modified) String ¶
func (m *ConditionChange_Modified) String() string
func (*ConditionChange_Modified) Unmarshal ¶
func (m *ConditionChange_Modified) Unmarshal(b []byte) error
func (*ConditionChange_Modified) UnmarshalJSON ¶
func (m *ConditionChange_Modified) UnmarshalJSON(data []byte) error
type ConditionChange_Modified_ ¶
type ConditionChange_Modified_ struct { // Modified is returned when watched document is modified Modified *ConditionChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type ConditionChange_Removed ¶
type ConditionChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Condition index. Not populated in stateless // watch type. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Removed is returned when Condition is deleted or leaves Query view
func (*ConditionChange_Removed) Descriptor ¶
func (*ConditionChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use ConditionChange_Removed.ProtoReflect.Descriptor instead.
func (*ConditionChange_Removed) GetName ¶
func (m *ConditionChange_Removed) GetName() *Name
func (*ConditionChange_Removed) GetViewIndex ¶
func (m *ConditionChange_Removed) GetViewIndex() int32
func (*ConditionChange_Removed) GotenMessage ¶
func (*ConditionChange_Removed) GotenMessage()
func (*ConditionChange_Removed) GotenValidate ¶
func (obj *ConditionChange_Removed) GotenValidate() error
func (*ConditionChange_Removed) Marshal ¶
func (m *ConditionChange_Removed) Marshal() ([]byte, error)
func (*ConditionChange_Removed) MarshalJSON ¶
func (m *ConditionChange_Removed) MarshalJSON() ([]byte, error)
func (*ConditionChange_Removed) ProtoMessage ¶
func (*ConditionChange_Removed) ProtoMessage()
func (*ConditionChange_Removed) ProtoReflect ¶
func (m *ConditionChange_Removed) ProtoReflect() preflect.Message
func (*ConditionChange_Removed) Reset ¶
func (m *ConditionChange_Removed) Reset()
func (*ConditionChange_Removed) SetName ¶
func (m *ConditionChange_Removed) SetName(fv *Name)
func (*ConditionChange_Removed) SetViewIndex ¶
func (m *ConditionChange_Removed) SetViewIndex(fv int32)
func (*ConditionChange_Removed) String ¶
func (m *ConditionChange_Removed) String() string
func (*ConditionChange_Removed) Unmarshal ¶
func (m *ConditionChange_Removed) Unmarshal(b []byte) error
func (*ConditionChange_Removed) UnmarshalJSON ¶
func (m *ConditionChange_Removed) UnmarshalJSON(data []byte) error
type ConditionChange_Removed_ ¶
type ConditionChange_Removed_ struct { // Removed is returned when Condition is deleted or leaves Query view Removed *ConditionChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type ConditionFieldPathBuilder ¶
type ConditionFieldPathBuilder struct{}
func NewConditionFieldPathBuilder ¶
func NewConditionFieldPathBuilder() ConditionFieldPathBuilder
func (ConditionFieldPathBuilder) Description ¶
func (ConditionFieldPathBuilder) Description() ConditionPathSelectorDescription
func (ConditionFieldPathBuilder) DisplayName ¶
func (ConditionFieldPathBuilder) DisplayName() ConditionPathSelectorDisplayName
func (ConditionFieldPathBuilder) Expression ¶
func (ConditionFieldPathBuilder) Expression() ConditionPathSelectorExpression
func (ConditionFieldPathBuilder) Name ¶
func (ConditionFieldPathBuilder) Name() ConditionPathSelectorName
func (ConditionFieldPathBuilder) ParameterDeclarations ¶
func (ConditionFieldPathBuilder) ParameterDeclarations() ConditionPathSelectorParameterDeclarations
type ConditionList ¶
type ConditionList []*Condition
func (ConditionList) Append ¶
func (l ConditionList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (ConditionList) AppendList ¶
func (l ConditionList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (ConditionList) At ¶
func (l ConditionList) At(idx int) gotenresource.Resource
func (ConditionList) Length ¶
func (l ConditionList) Length() int
func (ConditionList) Set ¶
func (l ConditionList) Set(idx int, res gotenresource.Resource)
func (ConditionList) Slice ¶
func (l ConditionList) Slice(first, second int) gotenresource.ResourceList
type ConditionMap ¶
func (ConditionMap) Delete ¶
func (m ConditionMap) Delete(name gotenresource.Name)
func (ConditionMap) ForEach ¶
func (m ConditionMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (ConditionMap) Get ¶
func (m ConditionMap) Get(name gotenresource.Name) gotenresource.Resource
func (ConditionMap) Length ¶
func (m ConditionMap) Length() int
func (ConditionMap) Set ¶
func (m ConditionMap) Set(res gotenresource.Resource)
type ConditionNameList ¶
type ConditionNameList []*Name
func (ConditionNameList) Append ¶
func (l ConditionNameList) Append(name gotenresource.Name) gotenresource.NameList
func (ConditionNameList) AppendList ¶
func (l ConditionNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (ConditionNameList) At ¶
func (l ConditionNameList) At(idx int) gotenresource.Name
func (ConditionNameList) Length ¶
func (l ConditionNameList) Length() int
func (ConditionNameList) Set ¶
func (l ConditionNameList) Set(idx int, name gotenresource.Name)
func (ConditionNameList) Slice ¶
func (l ConditionNameList) Slice(first, second int) gotenresource.NameList
type ConditionParameterDeclarationFieldPathBuilder ¶
type ConditionParameterDeclarationFieldPathBuilder struct{}
func NewConditionParameterDeclarationFieldPathBuilder ¶
func NewConditionParameterDeclarationFieldPathBuilder() ConditionParameterDeclarationFieldPathBuilder
type ConditionParameterDeclaration_FieldPath ¶
type ConditionParameterDeclaration_FieldPath interface { gotenobject.FieldPath Selector() ConditionParameterDeclaration_FieldPathSelector Get(source *Condition_ParameterDeclaration) []interface{} GetSingle(source *Condition_ParameterDeclaration) (interface{}, bool) ClearValue(item *Condition_ParameterDeclaration) // Those methods build corresponding ConditionParameterDeclaration_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) ConditionParameterDeclaration_FieldPathValue WithIArrayOfValues(values interface{}) ConditionParameterDeclaration_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) ConditionParameterDeclaration_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildConditionParameterDeclaration_FieldPath ¶
func BuildConditionParameterDeclaration_FieldPath(fp gotenobject.RawFieldPath) (ConditionParameterDeclaration_FieldPath, error)
func MustParseConditionParameterDeclaration_FieldPath ¶
func MustParseConditionParameterDeclaration_FieldPath(rawField string) ConditionParameterDeclaration_FieldPath
func ParseConditionParameterDeclaration_FieldPath ¶
func ParseConditionParameterDeclaration_FieldPath(rawField string) (ConditionParameterDeclaration_FieldPath, error)
type ConditionParameterDeclaration_FieldPathArrayItemValue ¶
type ConditionParameterDeclaration_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue ConditionParameterDeclaration_FieldPath ContainsValue(*Condition_ParameterDeclaration) bool }
ConditionParameterDeclaration_FieldPathArrayItemValue allows storing single item in Path-specific values for ParameterDeclaration according to their type Present only for array (repeated) types.
func MustParseConditionParameterDeclaration_FieldPathArrayItemValue ¶
func MustParseConditionParameterDeclaration_FieldPathArrayItemValue(pathStr, valueStr string) ConditionParameterDeclaration_FieldPathArrayItemValue
func ParseConditionParameterDeclaration_FieldPathArrayItemValue ¶
func ParseConditionParameterDeclaration_FieldPathArrayItemValue(pathStr, valueStr string) (ConditionParameterDeclaration_FieldPathArrayItemValue, error)
ParseConditionParameterDeclaration_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type ConditionParameterDeclaration_FieldPathArrayOfValues ¶
type ConditionParameterDeclaration_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues ConditionParameterDeclaration_FieldPath }
ConditionParameterDeclaration_FieldPathArrayOfValues allows storing slice of values for ParameterDeclaration fields according to their type
func MustParseConditionParameterDeclaration_FieldPathArrayOfValues ¶
func MustParseConditionParameterDeclaration_FieldPathArrayOfValues(pathStr, valuesStr string) ConditionParameterDeclaration_FieldPathArrayOfValues
func ParseConditionParameterDeclaration_FieldPathArrayOfValues ¶
func ParseConditionParameterDeclaration_FieldPathArrayOfValues(pathStr, valuesStr string) (ConditionParameterDeclaration_FieldPathArrayOfValues, error)
type ConditionParameterDeclaration_FieldPathSelector ¶
type ConditionParameterDeclaration_FieldPathSelector int32
const ( ConditionParameterDeclaration_FieldPathSelectorKey ConditionParameterDeclaration_FieldPathSelector = 0 ConditionParameterDeclaration_FieldPathSelectorType ConditionParameterDeclaration_FieldPathSelector = 1 )
func (ConditionParameterDeclaration_FieldPathSelector) String ¶
func (s ConditionParameterDeclaration_FieldPathSelector) String() string
type ConditionParameterDeclaration_FieldPathValue ¶
type ConditionParameterDeclaration_FieldPathValue interface { ConditionParameterDeclaration_FieldPath gotenobject.FieldPathValue SetTo(target **Condition_ParameterDeclaration) CompareWith(*Condition_ParameterDeclaration) (cmp int, comparable bool) }
ConditionParameterDeclaration_FieldPathValue allows storing values for ParameterDeclaration fields according to their type
func MustParseConditionParameterDeclaration_FieldPathValue ¶
func MustParseConditionParameterDeclaration_FieldPathValue(pathStr, valueStr string) ConditionParameterDeclaration_FieldPathValue
func ParseConditionParameterDeclaration_FieldPathValue ¶
func ParseConditionParameterDeclaration_FieldPathValue(pathStr, valueStr string) (ConditionParameterDeclaration_FieldPathValue, error)
type ConditionParameterDeclaration_FieldTerminalPath ¶
type ConditionParameterDeclaration_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*ConditionParameterDeclaration_FieldTerminalPath) ClearValue ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) ClearValue(item *Condition_ParameterDeclaration)
func (*ConditionParameterDeclaration_FieldTerminalPath) ClearValueRaw ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*ConditionParameterDeclaration_FieldTerminalPath) Get ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) Get(source *Condition_ParameterDeclaration) (values []interface{})
Get returns all values pointed by specific field from source Condition_ParameterDeclaration
func (*ConditionParameterDeclaration_FieldTerminalPath) GetDefault ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*ConditionParameterDeclaration_FieldTerminalPath) GetRaw ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*ConditionParameterDeclaration_FieldTerminalPath) GetSingle ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetSingle(source *Condition_ParameterDeclaration) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Condition_ParameterDeclaration
func (*ConditionParameterDeclaration_FieldTerminalPath) GetSingleRaw ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*ConditionParameterDeclaration_FieldTerminalPath) IsLeaf ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*ConditionParameterDeclaration_FieldTerminalPath) JSONString ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*ConditionParameterDeclaration_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *ConditionParameterDeclaration_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*ConditionParameterDeclaration_FieldTerminalPath) String ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*ConditionParameterDeclaration_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIArrayItemValue(value interface{}) ConditionParameterDeclaration_FieldPathArrayItemValue
func (*ConditionParameterDeclaration_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIArrayOfValues(values interface{}) ConditionParameterDeclaration_FieldPathArrayOfValues
func (*ConditionParameterDeclaration_FieldTerminalPath) WithIValue ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithIValue(value interface{}) ConditionParameterDeclaration_FieldPathValue
func (*ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*ConditionParameterDeclaration_FieldTerminalPath) WithRawIValue ¶
func (fp *ConditionParameterDeclaration_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type ConditionParameterDeclaration_FieldTerminalPathArrayItemValue ¶
type ConditionParameterDeclaration_FieldTerminalPathArrayItemValue struct { ConditionParameterDeclaration_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) ContainsValue(source *Condition_ParameterDeclaration) bool
Contains returns a boolean indicating if value that is being held is present in given 'ParameterDeclaration'
func (*ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Condition_ParameterDeclaration as interface{}
func (*ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingle(source *Condition_ParameterDeclaration) (interface{}, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *ConditionParameterDeclaration_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type ConditionParameterDeclaration_FieldTerminalPathArrayOfValues ¶
type ConditionParameterDeclaration_FieldTerminalPathArrayOfValues struct { ConditionParameterDeclaration_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues ¶
func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues() ([]string, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues ¶
func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) AsTypeArrayOfValues() ([]Condition_ParameterType, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type ConditionParameterDeclaration_FieldTerminalPathValue ¶
type ConditionParameterDeclaration_FieldTerminalPathValue struct { ConditionParameterDeclaration_FieldTerminalPath // contains filtered or unexported fields }
func (*ConditionParameterDeclaration_FieldTerminalPathValue) AsKeyValue ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) AsKeyValue() (string, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathValue) AsTypeValue ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) AsTypeValue() (Condition_ParameterType, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathValue) CompareWith ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) CompareWith(source *Condition_ParameterDeclaration) (int, bool)
CompareWith compares value in the 'ConditionParameterDeclaration_FieldTerminalPathValue' with the value under path in 'Condition_ParameterDeclaration'.
func (*ConditionParameterDeclaration_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*ConditionParameterDeclaration_FieldTerminalPathValue) GetRawValue ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'ParameterDeclaration' as interface{}
func (*ConditionParameterDeclaration_FieldTerminalPathValue) SetTo ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) SetTo(target **Condition_ParameterDeclaration)
SetTo stores value for selected field for object ParameterDeclaration
func (*ConditionParameterDeclaration_FieldTerminalPathValue) SetToRaw ¶
func (fpv *ConditionParameterDeclaration_FieldTerminalPathValue) SetToRaw(target proto.Message)
type ConditionParentNameList ¶
type ConditionParentNameList []*ParentName
func (ConditionParentNameList) Append ¶
func (l ConditionParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
func (ConditionParentNameList) AppendList ¶
func (l ConditionParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
func (ConditionParentNameList) At ¶
func (l ConditionParentNameList) At(idx int) gotenresource.Name
func (ConditionParentNameList) Length ¶
func (l ConditionParentNameList) Length() int
func (ConditionParentNameList) Set ¶
func (l ConditionParentNameList) Set(idx int, name gotenresource.Name)
func (ConditionParentNameList) Slice ¶
func (l ConditionParentNameList) Slice(first, second int) gotenresource.ParentNameList
type ConditionParentReferenceList ¶
type ConditionParentReferenceList []*ParentReference
func (ConditionParentReferenceList) Append ¶
func (l ConditionParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
func (ConditionParentReferenceList) AppendList ¶
func (l ConditionParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
func (ConditionParentReferenceList) At ¶
func (l ConditionParentReferenceList) At(idx int) gotenresource.Reference
func (ConditionParentReferenceList) Length ¶
func (l ConditionParentReferenceList) Length() int
func (ConditionParentReferenceList) Set ¶
func (l ConditionParentReferenceList) Set(idx int, ref gotenresource.Reference)
func (ConditionParentReferenceList) Slice ¶
func (l ConditionParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
type ConditionPathSelectorDescription ¶
type ConditionPathSelectorDescription struct{}
func (ConditionPathSelectorDescription) FieldPath ¶
func (ConditionPathSelectorDescription) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorDescription) WithArrayOfValues ¶
func (s ConditionPathSelectorDescription) WithArrayOfValues(values []string) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorDescription) WithValue ¶
func (s ConditionPathSelectorDescription) WithValue(value string) *Condition_FieldTerminalPathValue
type ConditionPathSelectorDisplayName ¶
type ConditionPathSelectorDisplayName struct{}
func (ConditionPathSelectorDisplayName) FieldPath ¶
func (ConditionPathSelectorDisplayName) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorDisplayName) WithArrayOfValues ¶
func (s ConditionPathSelectorDisplayName) WithArrayOfValues(values []string) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorDisplayName) WithValue ¶
func (s ConditionPathSelectorDisplayName) WithValue(value string) *Condition_FieldTerminalPathValue
type ConditionPathSelectorExpression ¶
type ConditionPathSelectorExpression struct{}
func (ConditionPathSelectorExpression) FieldPath ¶
func (ConditionPathSelectorExpression) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorExpression) WithArrayOfValues ¶
func (s ConditionPathSelectorExpression) WithArrayOfValues(values []string) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorExpression) WithValue ¶
func (s ConditionPathSelectorExpression) WithValue(value string) *Condition_FieldTerminalPathValue
type ConditionPathSelectorName ¶
type ConditionPathSelectorName struct{}
func (ConditionPathSelectorName) FieldPath ¶
func (ConditionPathSelectorName) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorName) WithArrayOfValues ¶
func (s ConditionPathSelectorName) WithArrayOfValues(values []*Name) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorName) WithValue ¶
func (s ConditionPathSelectorName) WithValue(value *Name) *Condition_FieldTerminalPathValue
type ConditionPathSelectorParameterDeclarations ¶
type ConditionPathSelectorParameterDeclarations struct{}
func (ConditionPathSelectorParameterDeclarations) FieldPath ¶
func (ConditionPathSelectorParameterDeclarations) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorParameterDeclarations) WithArrayOfValues ¶
func (s ConditionPathSelectorParameterDeclarations) WithArrayOfValues(values [][]*Condition_ParameterDeclaration) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorParameterDeclarations) WithItemValue ¶
func (s ConditionPathSelectorParameterDeclarations) WithItemValue(value *Condition_ParameterDeclaration) *Condition_FieldTerminalPathArrayItemValue
func (ConditionPathSelectorParameterDeclarations) WithSubArrayItemValue ¶
func (s ConditionPathSelectorParameterDeclarations) WithSubArrayItemValue(subPathArrayItemValue ConditionParameterDeclaration_FieldPathArrayItemValue) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorParameterDeclarations) WithSubArrayOfValues ¶
func (s ConditionPathSelectorParameterDeclarations) WithSubArrayOfValues(subPathArrayOfValues ConditionParameterDeclaration_FieldPathArrayOfValues) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorParameterDeclarations) WithSubPath ¶
func (ConditionPathSelectorParameterDeclarations) WithSubPath(subPath ConditionParameterDeclaration_FieldPath) *Condition_FieldSubPath
func (ConditionPathSelectorParameterDeclarations) WithSubValue ¶
func (s ConditionPathSelectorParameterDeclarations) WithSubValue(subPathValue ConditionParameterDeclaration_FieldPathValue) *Condition_FieldSubPathValue
func (ConditionPathSelectorParameterDeclarations) WithValue ¶
func (s ConditionPathSelectorParameterDeclarations) WithValue(value []*Condition_ParameterDeclaration) *Condition_FieldTerminalPathValue
type ConditionPathSelectorParameterDeclarationsKey ¶
type ConditionPathSelectorParameterDeclarationsKey struct{}
func (ConditionPathSelectorParameterDeclarationsKey) FieldPath ¶
func (ConditionPathSelectorParameterDeclarationsKey) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorParameterDeclarationsKey) WithArrayOfValues ¶
func (s ConditionPathSelectorParameterDeclarationsKey) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorParameterDeclarationsKey) WithValue ¶
func (s ConditionPathSelectorParameterDeclarationsKey) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorParameterDeclarationsType ¶
type ConditionPathSelectorParameterDeclarationsType struct{}
func (ConditionPathSelectorParameterDeclarationsType) FieldPath ¶
func (ConditionPathSelectorParameterDeclarationsType) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorParameterDeclarationsType) WithArrayOfValues ¶
func (s ConditionPathSelectorParameterDeclarationsType) WithArrayOfValues(values []Condition_ParameterType) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorParameterDeclarationsType) WithValue ¶
func (s ConditionPathSelectorParameterDeclarationsType) WithValue(value Condition_ParameterType) *Condition_FieldSubPathValue
type ConditionReferenceList ¶
type ConditionReferenceList []*Reference
func (ConditionReferenceList) Append ¶
func (l ConditionReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (ConditionReferenceList) AppendList ¶
func (l ConditionReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (ConditionReferenceList) At ¶
func (l ConditionReferenceList) At(idx int) gotenresource.Reference
func (ConditionReferenceList) Length ¶
func (l ConditionReferenceList) Length() int
func (ConditionReferenceList) Set ¶
func (l ConditionReferenceList) Set(idx int, ref gotenresource.Reference)
func (ConditionReferenceList) Slice ¶
func (l ConditionReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Condition_FieldMask ¶
type Condition_FieldMask struct {
Paths []Condition_FieldPath
}
func FullCondition_FieldMask ¶
func FullCondition_FieldMask() *Condition_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Condition_FieldMask) *Condition_FieldMask
func (*Condition_FieldMask) AppendPath ¶
func (fieldMask *Condition_FieldMask) AppendPath(path Condition_FieldPath)
func (*Condition_FieldMask) AppendRawPath ¶
func (fieldMask *Condition_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Condition_FieldMask) DecodeFirestore ¶
func (fieldMask *Condition_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Condition_FieldMask) EncodeFirestore ¶
func (fieldMask *Condition_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Condition_FieldMask) FilterInputFields ¶
func (fieldMask *Condition_FieldMask) FilterInputFields() *Condition_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Condition_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Condition_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Condition_FieldMask) GetPaths ¶
func (fieldMask *Condition_FieldMask) GetPaths() []Condition_FieldPath
func (*Condition_FieldMask) GetRawPaths ¶
func (fieldMask *Condition_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Condition_FieldMask) IsFull ¶
func (fieldMask *Condition_FieldMask) IsFull() bool
func (Condition_FieldMask) Marshal ¶
func (fieldMask Condition_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Condition_FieldMask) MarshalJSON ¶
func (fieldMask Condition_FieldMask) MarshalJSON() ([]byte, error)
func (*Condition_FieldMask) PathsCount ¶
func (fieldMask *Condition_FieldMask) PathsCount() int
func (*Condition_FieldMask) Project ¶
func (fieldMask *Condition_FieldMask) Project(source *Condition) *Condition
func (*Condition_FieldMask) ProjectRaw ¶
func (fieldMask *Condition_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Condition_FieldMask) ProtoMessage ¶
func (fieldMask *Condition_FieldMask) ProtoMessage()
func (*Condition_FieldMask) ProtoReflect ¶
func (fieldMask *Condition_FieldMask) ProtoReflect() preflect.Message
func (*Condition_FieldMask) Reset ¶
func (fieldMask *Condition_FieldMask) Reset()
func (*Condition_FieldMask) Set ¶
func (fieldMask *Condition_FieldMask) Set(target, source *Condition)
func (*Condition_FieldMask) SetFromCliFlag ¶
func (fieldMask *Condition_FieldMask) SetFromCliFlag(raw string) error
func (*Condition_FieldMask) SetRaw ¶
func (fieldMask *Condition_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Condition_FieldMask) Size ¶
func (fieldMask *Condition_FieldMask) Size() int
func (*Condition_FieldMask) String ¶
func (fieldMask *Condition_FieldMask) String() string
func (*Condition_FieldMask) Subtract ¶
func (fieldMask *Condition_FieldMask) Subtract(other *Condition_FieldMask) *Condition_FieldMask
func (*Condition_FieldMask) SubtractRaw ¶
func (fieldMask *Condition_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Condition_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Condition_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Condition_FieldMask) Unmarshal ¶
func (fieldMask *Condition_FieldMask) Unmarshal(data []byte) error
func (*Condition_FieldMask) UnmarshalJSON ¶
func (fieldMask *Condition_FieldMask) UnmarshalJSON(data []byte) error
type Condition_FieldPath ¶
type Condition_FieldPath interface { gotenobject.FieldPath Selector() Condition_FieldPathSelector Get(source *Condition) []interface{} GetSingle(source *Condition) (interface{}, bool) ClearValue(item *Condition) // Those methods build corresponding Condition_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Condition_FieldPathValue WithIArrayOfValues(values interface{}) Condition_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Condition_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildCondition_FieldPath ¶
func BuildCondition_FieldPath(fp gotenobject.RawFieldPath) (Condition_FieldPath, error)
func MustParseCondition_FieldPath ¶
func MustParseCondition_FieldPath(rawField string) Condition_FieldPath
func ParseCondition_FieldPath ¶
func ParseCondition_FieldPath(rawField string) (Condition_FieldPath, error)
type Condition_FieldPathArrayItemValue ¶
type Condition_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Condition_FieldPath ContainsValue(*Condition) bool }
Condition_FieldPathArrayItemValue allows storing single item in Path-specific values for Condition according to their type Present only for array (repeated) types.
func MustParseCondition_FieldPathArrayItemValue ¶
func MustParseCondition_FieldPathArrayItemValue(pathStr, valueStr string) Condition_FieldPathArrayItemValue
func ParseCondition_FieldPathArrayItemValue ¶
func ParseCondition_FieldPathArrayItemValue(pathStr, valueStr string) (Condition_FieldPathArrayItemValue, error)
ParseCondition_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Condition_FieldPathArrayOfValues ¶
type Condition_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Condition_FieldPath }
Condition_FieldPathArrayOfValues allows storing slice of values for Condition fields according to their type
func MustParseCondition_FieldPathArrayOfValues ¶
func MustParseCondition_FieldPathArrayOfValues(pathStr, valuesStr string) Condition_FieldPathArrayOfValues
func ParseCondition_FieldPathArrayOfValues ¶
func ParseCondition_FieldPathArrayOfValues(pathStr, valuesStr string) (Condition_FieldPathArrayOfValues, error)
type Condition_FieldPathSelector ¶
type Condition_FieldPathSelector int32
const ( Condition_FieldPathSelectorName Condition_FieldPathSelector = 0 Condition_FieldPathSelectorDisplayName Condition_FieldPathSelector = 1 Condition_FieldPathSelectorDescription Condition_FieldPathSelector = 2 Condition_FieldPathSelectorExpression Condition_FieldPathSelector = 3 Condition_FieldPathSelectorParameterDeclarations Condition_FieldPathSelector = 4 )
func (Condition_FieldPathSelector) String ¶
func (s Condition_FieldPathSelector) String() string
type Condition_FieldPathValue ¶
type Condition_FieldPathValue interface { Condition_FieldPath gotenobject.FieldPathValue SetTo(target **Condition) CompareWith(*Condition) (cmp int, comparable bool) }
Condition_FieldPathValue allows storing values for Condition fields according to their type
func MustParseCondition_FieldPathValue ¶
func MustParseCondition_FieldPathValue(pathStr, valueStr string) Condition_FieldPathValue
func ParseCondition_FieldPathValue ¶
func ParseCondition_FieldPathValue(pathStr, valueStr string) (Condition_FieldPathValue, error)
type Condition_FieldSubPath ¶
type Condition_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Condition_FieldSubPath) AsParameterDeclarationsSubPath ¶
func (fps *Condition_FieldSubPath) AsParameterDeclarationsSubPath() (ConditionParameterDeclaration_FieldPath, bool)
func (*Condition_FieldSubPath) ClearValue ¶
func (fps *Condition_FieldSubPath) ClearValue(item *Condition)
func (*Condition_FieldSubPath) ClearValueRaw ¶
func (fps *Condition_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Condition_FieldSubPath) Get ¶
func (fps *Condition_FieldSubPath) Get(source *Condition) (values []interface{})
Get returns all values pointed by selected field from source Condition
func (*Condition_FieldSubPath) GetDefault ¶
func (fps *Condition_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Condition_FieldSubPath) GetRaw ¶
func (fps *Condition_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Condition_FieldSubPath) GetSingle ¶
func (fps *Condition_FieldSubPath) GetSingle(source *Condition) (interface{}, bool)
GetSingle returns value of selected field from source Condition
func (*Condition_FieldSubPath) GetSingleRaw ¶
func (fps *Condition_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Condition_FieldSubPath) IsLeaf ¶
func (fps *Condition_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Condition_FieldSubPath) JSONString ¶
func (fps *Condition_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Condition_FieldSubPath) Selector ¶
func (fps *Condition_FieldSubPath) Selector() Condition_FieldPathSelector
func (*Condition_FieldSubPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fps *Condition_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Condition_FieldSubPath) String ¶
func (fps *Condition_FieldSubPath) String() string
String returns path representation in proto convention
func (*Condition_FieldSubPath) WithIArrayItemValue ¶
func (fps *Condition_FieldSubPath) WithIArrayItemValue(value interface{}) Condition_FieldPathArrayItemValue
func (*Condition_FieldSubPath) WithIArrayOfValues ¶
func (fps *Condition_FieldSubPath) WithIArrayOfValues(values interface{}) Condition_FieldPathArrayOfValues
func (*Condition_FieldSubPath) WithIValue ¶
func (fps *Condition_FieldSubPath) WithIValue(value interface{}) Condition_FieldPathValue
func (*Condition_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Condition_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Condition_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Condition_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Condition_FieldSubPath) WithRawIValue ¶
func (fps *Condition_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Condition_FieldSubPathArrayItemValue ¶
type Condition_FieldSubPathArrayItemValue struct { Condition_FieldPath // contains filtered or unexported fields }
func (*Condition_FieldSubPathArrayItemValue) AsParameterDeclarationsPathItemValue ¶
func (fpaivs *Condition_FieldSubPathArrayItemValue) AsParameterDeclarationsPathItemValue() (ConditionParameterDeclaration_FieldPathArrayItemValue, bool)
func (*Condition_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Condition_FieldSubPathArrayItemValue) ContainsValue(source *Condition) bool
Contains returns a boolean indicating if value that is being held is present in given 'Condition'
func (*Condition_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Condition_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Condition_FieldSubPathArrayOfValues ¶
type Condition_FieldSubPathArrayOfValues struct { Condition_FieldPath // contains filtered or unexported fields }
func (*Condition_FieldSubPathArrayOfValues) AsParameterDeclarationsPathArrayOfValues ¶
func (fpsaov *Condition_FieldSubPathArrayOfValues) AsParameterDeclarationsPathArrayOfValues() (ConditionParameterDeclaration_FieldPathArrayOfValues, bool)
func (*Condition_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Condition_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Condition_FieldSubPathValue ¶
type Condition_FieldSubPathValue struct { Condition_FieldPath // contains filtered or unexported fields }
func (*Condition_FieldSubPathValue) AsParameterDeclarationsPathValue ¶
func (fpvs *Condition_FieldSubPathValue) AsParameterDeclarationsPathValue() (ConditionParameterDeclaration_FieldPathValue, bool)
func (*Condition_FieldSubPathValue) CompareWith ¶
func (fpvs *Condition_FieldSubPathValue) CompareWith(source *Condition) (int, bool)
func (*Condition_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Condition_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Condition_FieldSubPathValue) GetRawValue ¶
func (fpvs *Condition_FieldSubPathValue) GetRawValue() interface{}
func (*Condition_FieldSubPathValue) SetTo ¶
func (fpvs *Condition_FieldSubPathValue) SetTo(target **Condition)
func (*Condition_FieldSubPathValue) SetToRaw ¶
func (fpvs *Condition_FieldSubPathValue) SetToRaw(target proto.Message)
type Condition_FieldTerminalPath ¶
type Condition_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Condition_FieldTerminalPath) ClearValue ¶
func (fp *Condition_FieldTerminalPath) ClearValue(item *Condition)
func (*Condition_FieldTerminalPath) ClearValueRaw ¶
func (fp *Condition_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Condition_FieldTerminalPath) Get ¶
func (fp *Condition_FieldTerminalPath) Get(source *Condition) (values []interface{})
Get returns all values pointed by specific field from source Condition
func (*Condition_FieldTerminalPath) GetDefault ¶
func (fp *Condition_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Condition_FieldTerminalPath) GetRaw ¶
func (fp *Condition_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Condition_FieldTerminalPath) GetSingle ¶
func (fp *Condition_FieldTerminalPath) GetSingle(source *Condition) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Condition
func (*Condition_FieldTerminalPath) GetSingleRaw ¶
func (fp *Condition_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Condition_FieldTerminalPath) IsLeaf ¶
func (fp *Condition_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Condition_FieldTerminalPath) JSONString ¶
func (fp *Condition_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Condition_FieldTerminalPath) Selector ¶
func (fp *Condition_FieldTerminalPath) Selector() Condition_FieldPathSelector
func (*Condition_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Condition_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Condition_FieldTerminalPath) String ¶
func (fp *Condition_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Condition_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Condition_FieldTerminalPath) WithIArrayItemValue(value interface{}) Condition_FieldPathArrayItemValue
func (*Condition_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Condition_FieldTerminalPath) WithIArrayOfValues(values interface{}) Condition_FieldPathArrayOfValues
func (*Condition_FieldTerminalPath) WithIValue ¶
func (fp *Condition_FieldTerminalPath) WithIValue(value interface{}) Condition_FieldPathValue
func (*Condition_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Condition_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Condition_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Condition_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Condition_FieldTerminalPath) WithRawIValue ¶
func (fp *Condition_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Condition_FieldTerminalPathArrayItemValue ¶
type Condition_FieldTerminalPathArrayItemValue struct { Condition_FieldTerminalPath // contains filtered or unexported fields }
func (*Condition_FieldTerminalPathArrayItemValue) AsParameterDeclarationsItemValue ¶
func (fpaiv *Condition_FieldTerminalPathArrayItemValue) AsParameterDeclarationsItemValue() (*Condition_ParameterDeclaration, bool)
func (*Condition_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Condition_FieldTerminalPathArrayItemValue) ContainsValue(source *Condition) bool
Contains returns a boolean indicating if value that is being held is present in given 'Condition'
func (*Condition_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Condition as interface{}
func (*Condition_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetSingle(source *Condition) (interface{}, bool)
func (*Condition_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Condition_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Condition_FieldTerminalPathArrayOfValues ¶
type Condition_FieldTerminalPathArrayOfValues struct { Condition_FieldTerminalPath // contains filtered or unexported fields }
func (*Condition_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
func (*Condition_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
func (*Condition_FieldTerminalPathArrayOfValues) AsExpressionArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsExpressionArrayOfValues() ([]string, bool)
func (*Condition_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Condition_FieldTerminalPathArrayOfValues) AsParameterDeclarationsArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsParameterDeclarationsArrayOfValues() ([][]*Condition_ParameterDeclaration, bool)
func (*Condition_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Condition_FieldTerminalPathValue ¶
type Condition_FieldTerminalPathValue struct { Condition_FieldTerminalPath // contains filtered or unexported fields }
func (*Condition_FieldTerminalPathValue) AsDescriptionValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
func (*Condition_FieldTerminalPathValue) AsDisplayNameValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
func (*Condition_FieldTerminalPathValue) AsExpressionValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsExpressionValue() (string, bool)
func (*Condition_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Condition_FieldTerminalPathValue) AsParameterDeclarationsValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsParameterDeclarationsValue() ([]*Condition_ParameterDeclaration, bool)
func (*Condition_FieldTerminalPathValue) CompareWith ¶
func (fpv *Condition_FieldTerminalPathValue) CompareWith(source *Condition) (int, bool)
CompareWith compares value in the 'Condition_FieldTerminalPathValue' with the value under path in 'Condition'.
func (*Condition_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Condition_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Condition_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Condition_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Condition' as interface{}
func (*Condition_FieldTerminalPathValue) SetTo ¶
func (fpv *Condition_FieldTerminalPathValue) SetTo(target **Condition)
SetTo stores value for selected field for object Condition
func (*Condition_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Condition_FieldTerminalPathValue) SetToRaw(target proto.Message)
type Condition_ParameterDeclaration ¶
type Condition_ParameterDeclaration struct { // Parameter Key - must be unique within condition. Defined parameter // variables are accessible in condition expression via `parameters.<key>`, // e.g.`parameters.projectId` Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty" firestore:"key"` // Parameter value type Type Condition_ParameterType `protobuf:"varint,2,opt,name=type,proto3,enum=ntt.iam.v1alpha.Condition_ParameterType" json:"type,omitempty" firestore:"type"` // contains filtered or unexported fields }
Parameter Declarations used
func (*Condition_ParameterDeclaration) Clone ¶
func (o *Condition_ParameterDeclaration) Clone() *Condition_ParameterDeclaration
func (*Condition_ParameterDeclaration) CloneRaw ¶
func (o *Condition_ParameterDeclaration) CloneRaw() gotenobject.GotenObjectExt
func (*Condition_ParameterDeclaration) Descriptor ¶
func (*Condition_ParameterDeclaration) Descriptor() ([]byte, []int)
Deprecated, Use Condition_ParameterDeclaration.ProtoReflect.Descriptor instead.
func (*Condition_ParameterDeclaration) GetKey ¶
func (m *Condition_ParameterDeclaration) GetKey() string
func (*Condition_ParameterDeclaration) GetType ¶
func (m *Condition_ParameterDeclaration) GetType() Condition_ParameterType
func (*Condition_ParameterDeclaration) GotenMessage ¶
func (*Condition_ParameterDeclaration) GotenMessage()
func (*Condition_ParameterDeclaration) GotenObjectExt ¶
func (o *Condition_ParameterDeclaration) GotenObjectExt()
func (*Condition_ParameterDeclaration) GotenValidate ¶
func (obj *Condition_ParameterDeclaration) GotenValidate() error
func (*Condition_ParameterDeclaration) MakeDiffFieldMask ¶
func (o *Condition_ParameterDeclaration) MakeDiffFieldMask(other *Condition_ParameterDeclaration) *Condition_ParameterDeclaration_FieldMask
func (*Condition_ParameterDeclaration) MakeFullFieldMask ¶
func (o *Condition_ParameterDeclaration) MakeFullFieldMask() *Condition_ParameterDeclaration_FieldMask
func (*Condition_ParameterDeclaration) MakeRawDiffFieldMask ¶
func (o *Condition_ParameterDeclaration) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Condition_ParameterDeclaration) MakeRawFullFieldMask ¶
func (o *Condition_ParameterDeclaration) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Condition_ParameterDeclaration) Marshal ¶
func (m *Condition_ParameterDeclaration) Marshal() ([]byte, error)
func (*Condition_ParameterDeclaration) MarshalJSON ¶
func (m *Condition_ParameterDeclaration) MarshalJSON() ([]byte, error)
func (*Condition_ParameterDeclaration) Merge ¶
func (o *Condition_ParameterDeclaration) Merge(source *Condition_ParameterDeclaration)
func (*Condition_ParameterDeclaration) MergeRaw ¶
func (o *Condition_ParameterDeclaration) MergeRaw(source gotenobject.GotenObjectExt)
func (*Condition_ParameterDeclaration) ProtoMessage ¶
func (*Condition_ParameterDeclaration) ProtoMessage()
func (*Condition_ParameterDeclaration) ProtoReflect ¶
func (m *Condition_ParameterDeclaration) ProtoReflect() preflect.Message
func (*Condition_ParameterDeclaration) Reset ¶
func (m *Condition_ParameterDeclaration) Reset()
func (*Condition_ParameterDeclaration) SetKey ¶
func (m *Condition_ParameterDeclaration) SetKey(fv string)
func (*Condition_ParameterDeclaration) SetType ¶
func (m *Condition_ParameterDeclaration) SetType(fv Condition_ParameterType)
func (*Condition_ParameterDeclaration) String ¶
func (m *Condition_ParameterDeclaration) String() string
func (*Condition_ParameterDeclaration) Unmarshal ¶
func (m *Condition_ParameterDeclaration) Unmarshal(b []byte) error
func (*Condition_ParameterDeclaration) UnmarshalJSON ¶
func (m *Condition_ParameterDeclaration) UnmarshalJSON(data []byte) error
type Condition_ParameterDeclarationPathSelectorKey ¶
type Condition_ParameterDeclarationPathSelectorKey struct{}
func (Condition_ParameterDeclarationPathSelectorKey) WithArrayOfValues ¶
func (s Condition_ParameterDeclarationPathSelectorKey) WithArrayOfValues(values []string) *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues
func (Condition_ParameterDeclarationPathSelectorKey) WithValue ¶
func (s Condition_ParameterDeclarationPathSelectorKey) WithValue(value string) *ConditionParameterDeclaration_FieldTerminalPathValue
type Condition_ParameterDeclarationPathSelectorType ¶
type Condition_ParameterDeclarationPathSelectorType struct{}
func (Condition_ParameterDeclarationPathSelectorType) WithArrayOfValues ¶
func (s Condition_ParameterDeclarationPathSelectorType) WithArrayOfValues(values []Condition_ParameterType) *ConditionParameterDeclaration_FieldTerminalPathArrayOfValues
type Condition_ParameterDeclaration_FieldMask ¶
type Condition_ParameterDeclaration_FieldMask struct {
Paths []ConditionParameterDeclaration_FieldPath
}
func FullCondition_ParameterDeclaration_FieldMask ¶
func FullCondition_ParameterDeclaration_FieldMask() *Condition_ParameterDeclaration_FieldMask
func (*Condition_ParameterDeclaration_FieldMask) AppendPath ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) AppendPath(path ConditionParameterDeclaration_FieldPath)
func (*Condition_ParameterDeclaration_FieldMask) AppendRawPath ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Condition_ParameterDeclaration_FieldMask) DecodeFirestore ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Condition_ParameterDeclaration_FieldMask) EncodeFirestore ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Condition_ParameterDeclaration_FieldMask) FilterInputFields ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) FilterInputFields() *Condition_ParameterDeclaration_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Condition_ParameterDeclaration_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Condition_ParameterDeclaration_FieldMask) GetPaths ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) GetPaths() []ConditionParameterDeclaration_FieldPath
func (*Condition_ParameterDeclaration_FieldMask) GetRawPaths ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Condition_ParameterDeclaration_FieldMask) IsFull ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) IsFull() bool
func (Condition_ParameterDeclaration_FieldMask) Marshal ¶
func (fieldMask Condition_ParameterDeclaration_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Condition_ParameterDeclaration_FieldMask) MarshalJSON ¶
func (fieldMask Condition_ParameterDeclaration_FieldMask) MarshalJSON() ([]byte, error)
func (*Condition_ParameterDeclaration_FieldMask) PathsCount ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) PathsCount() int
func (*Condition_ParameterDeclaration_FieldMask) Project ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Project(source *Condition_ParameterDeclaration) *Condition_ParameterDeclaration
func (*Condition_ParameterDeclaration_FieldMask) ProjectRaw ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Condition_ParameterDeclaration_FieldMask) ProtoMessage ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProtoMessage()
func (*Condition_ParameterDeclaration_FieldMask) ProtoReflect ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) ProtoReflect() preflect.Message
func (*Condition_ParameterDeclaration_FieldMask) Reset ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Reset()
func (*Condition_ParameterDeclaration_FieldMask) Set ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Set(target, source *Condition_ParameterDeclaration)
func (*Condition_ParameterDeclaration_FieldMask) SetFromCliFlag ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) SetFromCliFlag(raw string) error
func (*Condition_ParameterDeclaration_FieldMask) SetRaw ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Condition_ParameterDeclaration_FieldMask) Size ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Size() int
func (*Condition_ParameterDeclaration_FieldMask) String ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) String() string
func (*Condition_ParameterDeclaration_FieldMask) Subtract ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Subtract(other *Condition_ParameterDeclaration_FieldMask) *Condition_ParameterDeclaration_FieldMask
func (*Condition_ParameterDeclaration_FieldMask) SubtractRaw ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Condition_ParameterDeclaration_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Condition_ParameterDeclaration_FieldMask) Unmarshal ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) Unmarshal(data []byte) error
func (*Condition_ParameterDeclaration_FieldMask) UnmarshalJSON ¶
func (fieldMask *Condition_ParameterDeclaration_FieldMask) UnmarshalJSON(data []byte) error
type Condition_ParameterType ¶
type Condition_ParameterType int32
Parameter Type. Note: currently only STRING type is supported.
const ( Condition_TYPE_UNSPECIFIED Condition_ParameterType = 0 Condition_STRING Condition_ParameterType = 1 Condition_INT64 Condition_ParameterType = 2 Condition_DOUBLE Condition_ParameterType = 3 Condition_BOOL Condition_ParameterType = 4 )
func (Condition_ParameterType) Descriptor ¶
func (Condition_ParameterType) Descriptor() preflect.EnumDescriptor
func (Condition_ParameterType) Enum ¶
func (x Condition_ParameterType) Enum() *Condition_ParameterType
func (Condition_ParameterType) EnumDescriptor ¶
func (Condition_ParameterType) EnumDescriptor() ([]byte, []int)
Deprecated, Use Condition_ParameterType.ProtoReflect.Descriptor instead.
func (Condition_ParameterType) Number ¶
func (x Condition_ParameterType) Number() preflect.EnumNumber
func (Condition_ParameterType) String ¶
func (x Condition_ParameterType) String() string
func (Condition_ParameterType) Type ¶
func (Condition_ParameterType) Type() preflect.EnumType
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetResourceTypeName ¶
func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
func (*Descriptor) NewGetQuery ¶
func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
func (*Descriptor) NewListQuery ¶
func (d *Descriptor) NewListQuery() gotenresource.ListQuery
func (*Descriptor) NewNameList ¶
func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
func (*Descriptor) NewParentNameList ¶
func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
func (*Descriptor) NewParentReferenceList ¶
func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
func (*Descriptor) NewQueryResultChange ¶
func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
func (*Descriptor) NewQueryResultSnapshot ¶
func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
func (*Descriptor) NewReferenceList ¶
func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
func (*Descriptor) NewResource ¶
func (d *Descriptor) NewResource() gotenresource.Resource
func (*Descriptor) NewResourceChange ¶
func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
func (*Descriptor) NewResourceChangeList ¶
func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
func (*Descriptor) NewResourceChangeMap ¶
func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
func (*Descriptor) NewResourceCursor ¶
func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
func (*Descriptor) NewResourceFieldMask ¶ added in v0.4.16
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶ added in v0.4.16
func (d *Descriptor) NewResourceFilter() gotenresource.Filter
func (*Descriptor) NewResourceList ¶
func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
func (*Descriptor) NewResourceMap ¶
func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
func (*Descriptor) NewResourceName ¶
func (d *Descriptor) NewResourceName() gotenresource.Name
func (*Descriptor) NewResourceOrderBy ¶ added in v0.4.16
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶ added in v0.9.0
func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) DecodeFirestore ¶
func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Filter) EncodeFirestore ¶
func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
type FilterBuilder ¶
type FilterBuilder struct {
// contains filtered or unexported fields
}
func NewAndFilterBuilder ¶
func NewAndFilterBuilder() *FilterBuilder
func NewFilterBuilder ¶
func NewFilterBuilder() *FilterBuilder
func NewOrFilterBuilder ¶
func NewOrFilterBuilder() *FilterBuilder
func (*FilterBuilder) Filter ¶
func (b *FilterBuilder) Filter() *Filter
func (*FilterBuilder) Where ¶
func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
func (*FilterBuilder) WherePath ¶
func (b *FilterBuilder) WherePath(fp Condition_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
func (*FilterBuilder) With ¶
func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, opts ...gotenfilter.FilterConditionOption) *FilterBuilder
type FilterBuilderOrCondition ¶
type FilterBuilderOrCondition interface {
// contains filtered or unexported methods
}
type FilterCondition ¶
type FilterCondition interface { gotenresource.FilterCondition And(...FilterCondition) FilterCondition Evaluate(res *Condition) bool // Whether this condition is at least as specific as other. // When true, any Condition that passes this condition will also pass other condition. Satisfies(other FilterCondition) bool // Checks whether condition specifies given field path // Useful for blacklisting protected paths in iam policy conditions SpecifiesFieldPath(fp Condition_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Condition_FieldPathValue }
func (*FilterConditionCompare) And ¶
func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionCompare) ConditionCompare ¶
func (cond *FilterConditionCompare) ConditionCompare()
func (*FilterConditionCompare) Evaluate ¶
func (cond *FilterConditionCompare) Evaluate(res *Condition) bool
func (*FilterConditionCompare) EvaluateRaw ¶
func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionCompare) GetOperator ¶
func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
func (*FilterConditionCompare) GetRawFieldPath ¶
func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionCompare) GetRawFieldPathValue ¶
func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
func (*FilterConditionCompare) Satisfies ¶
func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
func (*FilterConditionCompare) SatisfiesRaw ¶
func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionCompare) SpecifiesFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionCompare) SpecifiesRawFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionCompare) String ¶
func (cond *FilterConditionCompare) String() string
type FilterConditionComposite ¶
type FilterConditionComposite struct { Operator filterParser.CompositeOperator Conditions []FilterCondition }
func (*FilterConditionComposite) And ¶
func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionComposite) ConditionComposite ¶
func (cond *FilterConditionComposite) ConditionComposite()
func (*FilterConditionComposite) Evaluate ¶
func (cond *FilterConditionComposite) Evaluate(res *Condition) bool
func (*FilterConditionComposite) EvaluateRaw ¶
func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionComposite) GetOperator ¶
func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
func (*FilterConditionComposite) GetSubConditions ¶
func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
func (*FilterConditionComposite) Satisfies ¶
func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
func (*FilterConditionComposite) SatisfiesRaw ¶
func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionComposite) SpecifiesFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionComposite) SpecifiesRawFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionComposite) String ¶
func (cond *FilterConditionComposite) String() string
type FilterConditionContains ¶
type FilterConditionContains struct { Type gotenresource.ConditionContainsType FieldPath Condition_FieldPath Value Condition_FieldPathArrayItemValue Values []Condition_FieldPathArrayItemValue }
func (*FilterConditionContains) And ¶
func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionContains) ConditionContains ¶
func (cond *FilterConditionContains) ConditionContains()
func (*FilterConditionContains) ConditionContainsType ¶
func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
func (*FilterConditionContains) Evaluate ¶
func (cond *FilterConditionContains) Evaluate(res *Condition) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Condition_FieldPath
func (*FilterConditionContains) GetRawFieldPath ¶
func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionContains) GetRawFieldPathItemValue ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
func (*FilterConditionContains) GetRawFieldPathItemValues ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
func (*FilterConditionContains) Satisfies ¶
func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
func (*FilterConditionContains) SatisfiesRaw ¶
func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionContains) SpecifiesFieldPath ¶
func (cond *FilterConditionContains) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionContains) SpecifiesRawFieldPath ¶
func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionContains) String ¶
func (cond *FilterConditionContains) String() string
type FilterConditionIn ¶
type FilterConditionIn struct {
Condition_FieldPathArrayOfValues
}
func (*FilterConditionIn) And ¶
func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIn) ConditionIn ¶
func (cond *FilterConditionIn) ConditionIn()
func (*FilterConditionIn) Evaluate ¶
func (cond *FilterConditionIn) Evaluate(res *Condition) bool
func (*FilterConditionIn) EvaluateRaw ¶
func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIn) GetRawFieldPath ¶
func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionIn) Satisfies ¶
func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
func (*FilterConditionIn) SatisfiesRaw ¶
func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIn) SpecifiesFieldPath ¶
func (cond *FilterConditionIn) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIn) String ¶
func (cond *FilterConditionIn) String() string
type FilterConditionIsNaN ¶
type FilterConditionIsNaN struct { Not bool FieldPath Condition_FieldPath }
func (*FilterConditionIsNaN) And ¶
func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNaN) ConditionIsNaN ¶
func (cond *FilterConditionIsNaN) ConditionIsNaN()
func (*FilterConditionIsNaN) Evaluate ¶
func (cond *FilterConditionIsNaN) Evaluate(res *Condition) bool
func (*FilterConditionIsNaN) EvaluateRaw ¶
func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNaN) GetRawFieldPath ¶
func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNaN) Satisfies ¶
func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNaN) SatisfiesRaw ¶
func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNaN) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionIsNaN) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNaN) String ¶
func (cond *FilterConditionIsNaN) String() string
type FilterConditionIsNull ¶
type FilterConditionIsNull struct { Not bool FieldPath Condition_FieldPath }
func (*FilterConditionIsNull) And ¶
func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNull) ConditionIsNull ¶
func (cond *FilterConditionIsNull) ConditionIsNull()
func (*FilterConditionIsNull) Evaluate ¶
func (cond *FilterConditionIsNull) Evaluate(res *Condition) bool
func (*FilterConditionIsNull) EvaluateRaw ¶
func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNull) GetRawFieldPath ¶
func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNull) NotNull ¶
func (cond *FilterConditionIsNull) NotNull() bool
func (*FilterConditionIsNull) Satisfies ¶
func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNull) SatisfiesRaw ¶
func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNull) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionIsNull) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNull) String ¶
func (cond *FilterConditionIsNull) String() string
type FilterConditionNot ¶
type FilterConditionNot struct {
FilterCondition
}
func (*FilterConditionNot) And ¶
func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNot) ConditionNot ¶
func (cond *FilterConditionNot) ConditionNot()
func (*FilterConditionNot) Evaluate ¶
func (cond *FilterConditionNot) Evaluate(res *Condition) bool
func (*FilterConditionNot) EvaluateRaw ¶
func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNot) GetSubCondition ¶
func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
func (*FilterConditionNot) Satisfies ¶
func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
func (*FilterConditionNot) SatisfiesRaw ¶
func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNot) SpecifiesFieldPath ¶
func (cond *FilterConditionNot) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionNot) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNot) String ¶
func (cond *FilterConditionNot) String() string
type FilterConditionNotIn ¶
type FilterConditionNotIn struct {
Condition_FieldPathArrayOfValues
}
func (*FilterConditionNotIn) And ¶
func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNotIn) ConditionNotIn ¶
func (cond *FilterConditionNotIn) ConditionNotIn()
func (*FilterConditionNotIn) Evaluate ¶
func (cond *FilterConditionNotIn) Evaluate(res *Condition) bool
func (*FilterConditionNotIn) EvaluateRaw ¶
func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNotIn) GetRawFieldPath ¶
func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionNotIn) Satisfies ¶
func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
func (*FilterConditionNotIn) SatisfiesRaw ¶
func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNotIn) SpecifiesFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Condition_FieldPath) bool
func (*FilterConditionNotIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNotIn) String ¶
func (cond *FilterConditionNotIn) String() string
type GetQuery ¶
type GetQuery struct { Reference *Reference Mask *Condition_FieldMask }
func (*GetQuery) GetFieldMask ¶
func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
func (*GetQuery) GetReference ¶
func (q *GetQuery) GetReference() gotenresource.Reference
func (*GetQuery) GetResourceDescriptor ¶
func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*GetQuery) GotenQuery ¶
func (q *GetQuery) GotenQuery()
func (*GetQuery) SetFieldMask ¶
func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*GetQuery) SetReference ¶
func (q *GetQuery) SetReference(ref gotenresource.Reference)
type ListQuery ¶
type ListQuery struct { Filter *Filter Pager *PagerQuery Mask *Condition_FieldMask WithPagingInfo bool }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GetWithPagingInfo ¶ added in v0.10.1
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
func (*ListQuery) SetWithPagingInfo ¶ added in v0.10.1
type Name ¶
type Name struct { ParentName ConditionId string `firestore:"conditionId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
func (*Name) GetIParentName ¶ added in v0.8.0
func (name *Name) GetIParentName() gotenresource.Name
func (*Name) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *Name) GetIUnderlyingParentName() gotenresource.Name
func (*Name) GetIdParts ¶
func (*Name) GetOrganizationName ¶
func (name *Name) GetOrganizationName() *organization.Name
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetProjectName ¶
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Parent ¶
func (b *NameBuilder) Parent() *ParentName
func (*NameBuilder) ParentReference ¶
func (b *NameBuilder) ParentReference() *ParentReference
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
func (*NameBuilder) SetOrganization ¶
func (b *NameBuilder) SetOrganization(parent *organization.Name) *NameBuilder
func (*NameBuilder) SetOrganizationId ¶
func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
func (*NameBuilder) SetProject ¶
func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder
func (*NameBuilder) SetProjectId ¶
func (b *NameBuilder) SetProjectId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Condition_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
func (orderBy *OrderBy) InsertSorted(sorted ConditionList, elem *Condition) (ConditionList, int)
func (*OrderBy) InsertSortedRaw ¶
func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
func (*OrderBy) ParseProtoString ¶
func (*OrderBy) ProtoString ¶
func (*OrderBy) SetFromCliFlag ¶
func (*OrderBy) Sort ¶
func (orderBy *OrderBy) Sort(results ConditionList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Condition_FieldPath Direction gotenresource.OrderDirection }
OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)
func (*OrderByField) CompareWithDirection ¶
func (orderByFld *OrderByField) CompareWithDirection(left, right *Condition) int
func (*OrderByField) GetDirection ¶
func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection
func (*OrderByField) GetFieldPath ¶
func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath
type PagerCursor ¶
type PagerCursor struct { CursorValue gotenresource.CursorValue Inclusion gotenresource.CursorInclusion PageDirection gotenresource.PageDirection }
PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)
func (*PagerCursor) GetInclusion ¶
func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
func (*PagerCursor) GetPageDirection ¶
func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
func (*PagerCursor) GetValue ¶
func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
func (*PagerCursor) IsEmpty ¶
func (cursor *PagerCursor) IsEmpty() bool
func (*PagerCursor) ParseProtoString ¶
func (cursor *PagerCursor) ParseProtoString(data string) (err error)
func (*PagerCursor) ProtoString ¶
func (cursor *PagerCursor) ProtoString() (string, error)
func (*PagerCursor) SetCursorValue ¶
func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
func (*PagerCursor) SetFromCliFlag ¶
func (cursor *PagerCursor) SetFromCliFlag(raw string) error
func (*PagerCursor) SetInclusion ¶
func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
func (*PagerCursor) SetPageDirection ¶
func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerCursor) String ¶
func (cursor *PagerCursor) String() string
type PagerQuery ¶
type PagerQuery struct { OrderBy *OrderBy Cursor *PagerCursor Limit int PeekForward bool }
PagerQuery is main struct used for assisting server and database to perform Pagination
func MakePagerQuery ¶
func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery
MakePagerQuery builds pager from API data and applies defaults
func (*PagerQuery) GetCursor ¶
func (p *PagerQuery) GetCursor() gotenresource.Cursor
func (*PagerQuery) GetLimit ¶
func (p *PagerQuery) GetLimit() int
func (*PagerQuery) GetOrderBy ¶
func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
func (*PagerQuery) GetPeekForward ¶
func (p *PagerQuery) GetPeekForward() bool
func (*PagerQuery) GetResourceDescriptor ¶
func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*PagerQuery) PageDirection ¶
func (p *PagerQuery) PageDirection() gotenresource.PageDirection
func (*PagerQuery) SetCursor ¶ added in v0.8.0
func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
func (*PagerQuery) SetLimit ¶ added in v0.8.0
func (p *PagerQuery) SetLimit(limit int)
func (*PagerQuery) SetOrderBy ¶ added in v0.8.0
func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
func (*PagerQuery) SetPageDirection ¶ added in v0.8.0
func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerQuery) SetPeekForward ¶ added in v0.8.0
func (p *PagerQuery) SetPeekForward(peekForward bool)
type ParentName ¶
type ParentName struct { NamePattern ProjectId string `firestore:"projectId"` OrganizationId string `firestore:"organizationId"` }
func MustParseParentName ¶
func MustParseParentName(name string) *ParentName
func ParseParentName ¶
func ParseParentName(name string) (*ParentName, error)
func (*ParentName) AsRawReference ¶
func (name *ParentName) AsRawReference() gotenresource.Reference
func (*ParentName) AsReference ¶
func (name *ParentName) AsReference() *ParentReference
func (*ParentName) DescendsFrom ¶
func (name *ParentName) DescendsFrom(ancestor string) bool
func (*ParentName) FullyQualifiedName ¶
func (name *ParentName) FullyQualifiedName() (string, error)
func (*ParentName) GetIParentName ¶ added in v0.8.0
func (name *ParentName) GetIParentName() gotenresource.Name
func (*ParentName) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
func (*ParentName) GetIdParts ¶
func (name *ParentName) GetIdParts() map[string]string
func (*ParentName) GetOrganizationName ¶
func (name *ParentName) GetOrganizationName() *organization.Name
func (*ParentName) GetPattern ¶
func (name *ParentName) GetPattern() gotenresource.NamePattern
func (*ParentName) GetProjectName ¶
func (name *ParentName) GetProjectName() *project.Name
func (*ParentName) GetResourceDescriptor ¶
func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentName) GetSegments ¶
func (name *ParentName) GetSegments() gotenresource.NameSegments
func (*ParentName) GotenEqual ¶
func (name *ParentName) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentName) IsFullyQualified ¶
func (name *ParentName) IsFullyQualified() bool
func (*ParentName) IsSpecified ¶
func (name *ParentName) IsSpecified() bool
func (*ParentName) Matches ¶
func (name *ParentName) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentName) ParseProtoString ¶
func (name *ParentName) ParseProtoString(data string) error
func (*ParentName) ProtoString ¶
func (name *ParentName) ProtoString() (string, error)
func (*ParentName) SetFromCliFlag ¶
func (name *ParentName) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentName) SetFromSegments ¶
func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
func (*ParentName) String ¶
func (name *ParentName) String() string
type ParentReference ¶
type ParentReference struct { ParentName // contains filtered or unexported fields }
func MakeParentReference ¶
func MakeParentReference(name *ParentName) (*ParentReference, error)
func MustParseParentReference ¶
func MustParseParentReference(name string) *ParentReference
func ParseParentReference ¶
func ParseParentReference(name string) (*ParentReference, error)
func (*ParentReference) ClearCached ¶
func (ref *ParentReference) ClearCached()
func (*ParentReference) ConvertToNative ¶ added in v0.6.9
func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
func (*ParentReference) ConvertToType ¶ added in v0.6.9
func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
func (*ParentReference) Equal ¶ added in v0.6.9
func (name *ParentReference) Equal(other ref.Val) ref.Val
func (*ParentReference) GetIParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIParentName() gotenresource.Name
func (*ParentReference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
func (*ParentReference) GetIdParts ¶
func (ref *ParentReference) GetIdParts() map[string]string
func (*ParentReference) GetOrganization ¶
func (ref *ParentReference) GetOrganization() *organization.Organization
func (*ParentReference) GetOrganizationReference ¶
func (ref *ParentReference) GetOrganizationReference() *organization.Reference
func (*ParentReference) GetPattern ¶
func (ref *ParentReference) GetPattern() gotenresource.NamePattern
func (*ParentReference) GetProject ¶
func (ref *ParentReference) GetProject() *project.Project
func (*ParentReference) GetProjectReference ¶
func (ref *ParentReference) GetProjectReference() *project.Reference
func (*ParentReference) GetRawResource ¶
func (ref *ParentReference) GetRawResource() gotenresource.Resource
func (*ParentReference) GetResourceDescriptor ¶
func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentReference) GetSegments ¶
func (ref *ParentReference) GetSegments() gotenresource.NameSegments
func (*ParentReference) GetUnderlyingReference ¶
func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
func (*ParentReference) GotenEqual ¶
func (ref *ParentReference) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentReference) HasTrait ¶ added in v0.6.9
func (name *ParentReference) HasTrait(trait int) bool
func (*ParentReference) IsFullyQualified ¶
func (ref *ParentReference) IsFullyQualified() bool
func (*ParentReference) IsSpecified ¶
func (ref *ParentReference) IsSpecified() bool
func (*ParentReference) Match ¶ added in v0.6.9
func (name *ParentReference) Match(pattern ref.Val) ref.Val
func (*ParentReference) Matches ¶
func (name *ParentReference) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentReference) ParseProtoString ¶
func (ref *ParentReference) ParseProtoString(data string) error
func (*ParentReference) ProtoString ¶
func (ref *ParentReference) ProtoString() (string, error)
func (*ParentReference) ResolveRaw ¶
func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
func (*ParentReference) Resolved ¶
func (ref *ParentReference) Resolved() bool
func (*ParentReference) SetFromCliFlag ¶
func (ref *ParentReference) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentReference) String ¶
func (ref *ParentReference) String() string
func (*ParentReference) Type ¶ added in v0.6.9
func (name *ParentReference) Type() ref.Type
func (*ParentReference) TypeName ¶ added in v0.6.9
func (name *ParentReference) TypeName() string
func (*ParentReference) Value ¶ added in v0.6.9
func (name *ParentReference) Value() interface{}
type QueryResultChange ¶
type QueryResultChange struct { Changes []*ConditionChange PrevPageCursor *PagerCursor NextPageCursor *PagerCursor ResumeToken string IsCurrent bool IsHardReset bool IsSoftReset bool SnapshotSize int64 }
func (*QueryResultChange) GetIsCurrent ¶
func (qr *QueryResultChange) GetIsCurrent() bool
func (*QueryResultChange) GetIsHardReset ¶
func (qr *QueryResultChange) GetIsHardReset() bool
func (*QueryResultChange) GetIsSoftReset ¶
func (qr *QueryResultChange) GetIsSoftReset() bool
func (*QueryResultChange) GetNextPageCursor ¶
func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetPrevPageCursor ¶
func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetResults ¶
func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
func (*QueryResultChange) GetResumeToken ¶
func (qr *QueryResultChange) GetResumeToken() string
func (*QueryResultChange) GetSnapshotSize ¶
func (qr *QueryResultChange) GetSnapshotSize() int64
func (*QueryResultChange) SetCursors ¶
func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultChange) SetIsCurrent ¶
func (qr *QueryResultChange) SetIsCurrent()
func (*QueryResultChange) SetIsHardReset ¶
func (qr *QueryResultChange) SetIsHardReset()
func (*QueryResultChange) SetIsSoftReset ¶
func (qr *QueryResultChange) SetIsSoftReset()
func (*QueryResultChange) SetResults ¶
func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
func (*QueryResultChange) SetResumeToken ¶
func (qr *QueryResultChange) SetResumeToken(token string)
func (*QueryResultChange) SetSnapshotSize ¶
func (qr *QueryResultChange) SetSnapshotSize(size int64)
type QueryResultSnapshot ¶
type QueryResultSnapshot struct { Conditions []*Condition PrevPageCursor *PagerCursor NextPageCursor *PagerCursor TotalResultsCount int32 CurrentOffset int32 }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetPagingInfo ¶ added in v0.10.1
func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)
func (*QueryResultSnapshot) GetPrevPageCursor ¶
func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetResults ¶
func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
func (*QueryResultSnapshot) SetCursors ¶
func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultSnapshot) SetPagingInfo ¶ added in v0.10.1
func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)
func (*QueryResultSnapshot) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetCondition ¶
func (*Reference) GetIParentName ¶ added in v0.8.0
func (ref *Reference) GetIParentName() gotenresource.Name
func (*Reference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
func (*Reference) GetIdParts ¶
func (*Reference) GetPattern ¶
func (ref *Reference) GetPattern() gotenresource.NamePattern
func (*Reference) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResourceDescriptor ¶
func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
func (*Reference) GetSegments ¶
func (ref *Reference) GetSegments() gotenresource.NameSegments
func (*Reference) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string StartingTime *timestamppb.Timestamp }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
func (*WatchQuery) GetStartingTime ¶ added in v0.9.0
func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
func (*WatchQuery) GetWatchType ¶
func (q *WatchQuery) GetWatchType() watch_type.WatchType
func (*WatchQuery) SetMaximumChunkSize ¶
func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
func (*WatchQuery) SetResumeToken ¶
func (q *WatchQuery) SetResumeToken(token string)
func (*WatchQuery) SetStartingTime ¶ added in v0.9.0
func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶ added in v0.4.29
func (q *WatchQuery) String() string
Source Files ¶
- condition.pb.access.go
- condition.pb.collections.go
- condition.pb.descriptor.go
- condition.pb.fieldmask.go
- condition.pb.fieldpath.go
- condition.pb.fieldpathbuilder.go
- condition.pb.filter.go
- condition.pb.filterbuilder.go
- condition.pb.go
- condition.pb.name.go
- condition.pb.namebuilder.go
- condition.pb.object_ext.go
- condition.pb.pagination.go
- condition.pb.parentname.go
- condition.pb.query.go
- condition.pb.validate.go
- condition.pb.view.go
- condition_change.pb.change.go
- condition_change.pb.go
- condition_change.pb.validate.go