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 (r *Condition) EnsureMetadata() *meta.Meta
- func (m *Condition) GetDescription() string
- func (m *Condition) GetDisplayName() string
- func (m *Condition) GetExpression() string
- func (m *Condition) GetMetadata() *meta.Meta
- 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) SetMetadata(fv *meta.Meta)
- 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 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) Metadata() ConditionPathSelectorMetadata
- 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 ConditionMapPathSelectorMetadataAnnotations
- func (s ConditionMapPathSelectorMetadataAnnotations) FieldPath() *Condition_FieldSubPath
- func (s ConditionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionMapPathSelectorMetadataAnnotations) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionMapPathSelectorMetadataLabels
- func (s ConditionMapPathSelectorMetadataLabels) FieldPath() *Condition_FieldSubPath
- func (s ConditionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionMapPathSelectorMetadataLabels) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionMapPathSelectorMetadataShards
- func (s ConditionMapPathSelectorMetadataShards) FieldPath() *Condition_FieldSubPath
- func (s ConditionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Condition_FieldSubPathArrayOfValues
- func (s ConditionMapPathSelectorMetadataShards) WithValue(value int64) *Condition_FieldSubPathValue
- 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 ConditionPathSelectorMetadata
- func (ConditionPathSelectorMetadata) Annotations() ConditionPathSelectorMetadataAnnotations
- func (ConditionPathSelectorMetadata) CreateTime() ConditionPathSelectorMetadataCreateTime
- func (ConditionPathSelectorMetadata) DeleteTime() ConditionPathSelectorMetadataDeleteTime
- func (ConditionPathSelectorMetadata) FieldPath() *Condition_FieldTerminalPath
- func (ConditionPathSelectorMetadata) Generation() ConditionPathSelectorMetadataGeneration
- func (ConditionPathSelectorMetadata) Labels() ConditionPathSelectorMetadataLabels
- func (ConditionPathSelectorMetadata) Lifecycle() ConditionPathSelectorMetadataLifecycle
- func (ConditionPathSelectorMetadata) OwnerReferences() ConditionPathSelectorMetadataOwnerReferences
- func (ConditionPathSelectorMetadata) ResourceVersion() ConditionPathSelectorMetadataResourceVersion
- func (ConditionPathSelectorMetadata) Services() ConditionPathSelectorMetadataServices
- func (ConditionPathSelectorMetadata) Shards() ConditionPathSelectorMetadataShards
- func (ConditionPathSelectorMetadata) Syncing() ConditionPathSelectorMetadataSyncing
- func (ConditionPathSelectorMetadata) Tags() ConditionPathSelectorMetadataTags
- func (ConditionPathSelectorMetadata) UpdateTime() ConditionPathSelectorMetadataUpdateTime
- func (ConditionPathSelectorMetadata) Uuid() ConditionPathSelectorMetadataUuid
- func (s ConditionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *Condition_FieldTerminalPathArrayOfValues
- func (s ConditionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Condition_FieldSubPathArrayOfValues
- func (ConditionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *Condition_FieldSubPathValue
- func (s ConditionPathSelectorMetadata) WithValue(value *meta.Meta) *Condition_FieldTerminalPathValue
- type ConditionPathSelectorMetadataAnnotations
- func (ConditionPathSelectorMetadataAnnotations) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Condition_FieldSubPathArrayOfValues
- func (ConditionPathSelectorMetadataAnnotations) WithKey(key string) ConditionMapPathSelectorMetadataAnnotations
- func (s ConditionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataCreateTime
- func (ConditionPathSelectorMetadataCreateTime) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataDeleteTime
- func (ConditionPathSelectorMetadataDeleteTime) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataGeneration
- func (ConditionPathSelectorMetadataGeneration) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataGeneration) WithValue(value int64) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataLabels
- func (ConditionPathSelectorMetadataLabels) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Condition_FieldSubPathArrayOfValues
- func (ConditionPathSelectorMetadataLabels) WithKey(key string) ConditionMapPathSelectorMetadataLabels
- func (s ConditionPathSelectorMetadataLabels) WithValue(value map[string]string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataLifecycle
- func (ConditionPathSelectorMetadataLifecycle) BlockDeletion() ConditionPathSelectorMetadataLifecycleBlockDeletion
- func (ConditionPathSelectorMetadataLifecycle) FieldPath() *Condition_FieldSubPath
- func (ConditionPathSelectorMetadataLifecycle) State() ConditionPathSelectorMetadataLifecycleState
- func (s ConditionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataLifecycleBlockDeletion
- func (ConditionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataLifecycleState
- func (ConditionPathSelectorMetadataLifecycleState) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferences
- func (ConditionPathSelectorMetadataOwnerReferences) Controller() ConditionPathSelectorMetadataOwnerReferencesController
- func (ConditionPathSelectorMetadataOwnerReferences) FieldPath() *Condition_FieldSubPath
- func (ConditionPathSelectorMetadataOwnerReferences) Kind() ConditionPathSelectorMetadataOwnerReferencesKind
- func (ConditionPathSelectorMetadataOwnerReferences) Name() ConditionPathSelectorMetadataOwnerReferencesName
- func (ConditionPathSelectorMetadataOwnerReferences) Region() ConditionPathSelectorMetadataOwnerReferencesRegion
- func (ConditionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (ConditionPathSelectorMetadataOwnerReferences) Version() ConditionPathSelectorMetadataOwnerReferencesVersion
- func (s ConditionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesController
- func (ConditionPathSelectorMetadataOwnerReferencesController) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesKind
- func (ConditionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesName
- func (ConditionPathSelectorMetadataOwnerReferencesName) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesRegion
- func (ConditionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataOwnerReferencesVersion
- func (ConditionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataResourceVersion
- func (ConditionPathSelectorMetadataResourceVersion) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataResourceVersion) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataServices
- func (ConditionPathSelectorMetadataServices) AllowedServices() ConditionPathSelectorMetadataServicesAllowedServices
- func (ConditionPathSelectorMetadataServices) FieldPath() *Condition_FieldSubPath
- func (ConditionPathSelectorMetadataServices) OwningService() ConditionPathSelectorMetadataServicesOwningService
- func (s ConditionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataServicesAllowedServices
- func (ConditionPathSelectorMetadataServicesAllowedServices) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataServicesOwningService
- func (ConditionPathSelectorMetadataServicesOwningService) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataServicesOwningService) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataShards
- func (ConditionPathSelectorMetadataShards) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Condition_FieldSubPathArrayOfValues
- func (ConditionPathSelectorMetadataShards) WithKey(key string) ConditionMapPathSelectorMetadataShards
- func (s ConditionPathSelectorMetadataShards) WithValue(value map[string]int64) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataSyncing
- func (ConditionPathSelectorMetadataSyncing) FieldPath() *Condition_FieldSubPath
- func (ConditionPathSelectorMetadataSyncing) OwningRegion() ConditionPathSelectorMetadataSyncingOwningRegion
- func (ConditionPathSelectorMetadataSyncing) Regions() ConditionPathSelectorMetadataSyncingRegions
- func (s ConditionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataSyncingOwningRegion
- func (ConditionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataSyncingRegions
- func (ConditionPathSelectorMetadataSyncingRegions) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataTags
- func (ConditionPathSelectorMetadataTags) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataTags) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
- func (s ConditionPathSelectorMetadataTags) WithValue(value []string) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataUpdateTime
- func (ConditionPathSelectorMetadataUpdateTime) FieldPath() *Condition_FieldSubPath
- func (s ConditionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
- func (s ConditionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
- type ConditionPathSelectorMetadataUuid
- 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 *googlefieldmaskpb.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() *googlefieldmaskpb.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) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
- 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) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)
- 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
- func (fpsaov *Condition_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)
- func (fpsaov *Condition_FieldSubPathArrayOfValues) AsParameterDeclarationsPathArrayOfValues() (ConditionParameterDeclaration_FieldPathArrayOfValues, bool)
- func (fpsaov *Condition_FieldSubPathArrayOfValues) GetRawValues() []interface{}
- type Condition_FieldSubPathValue
- func (fpvs *Condition_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
- 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) AsMetadataArrayOfValues() ([]*meta.Meta, 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) AsMetadataValue() (*meta.Meta, 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 *googlefieldmaskpb.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() *googlefieldmaskpb.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) CanBeParentless() bool
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
- 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)
- func (d *Descriptor) SupportsMetadata() bool
- type ExecutableCondition
- func (o *ExecutableCondition) Clone() *ExecutableCondition
- func (o *ExecutableCondition) CloneRaw() gotenobject.GotenObjectExt
- func (*ExecutableCondition) Descriptor() ([]byte, []int)
- func (m *ExecutableCondition) GetCondition() *Reference
- func (m *ExecutableCondition) GetParams() *structpb.Struct
- func (*ExecutableCondition) GotenMessage()
- func (o *ExecutableCondition) GotenObjectExt()
- func (obj *ExecutableCondition) GotenValidate() error
- func (o *ExecutableCondition) MakeDiffFieldMask(other *ExecutableCondition) *ExecutableCondition_FieldMask
- func (o *ExecutableCondition) MakeFullFieldMask() *ExecutableCondition_FieldMask
- func (o *ExecutableCondition) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *ExecutableCondition) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *ExecutableCondition) Marshal() ([]byte, error)
- func (m *ExecutableCondition) MarshalJSON() ([]byte, error)
- func (o *ExecutableCondition) Merge(source *ExecutableCondition)
- func (o *ExecutableCondition) MergeRaw(source gotenobject.GotenObjectExt)
- func (*ExecutableCondition) ProtoMessage()
- func (m *ExecutableCondition) ProtoReflect() preflect.Message
- func (m *ExecutableCondition) Reset()
- func (m *ExecutableCondition) SetCondition(fv *Reference)
- func (m *ExecutableCondition) SetParams(fv *structpb.Struct)
- func (m *ExecutableCondition) String() string
- func (m *ExecutableCondition) Unmarshal(b []byte) error
- func (m *ExecutableCondition) UnmarshalJSON(data []byte) error
- type ExecutableConditionFieldPathBuilder
- type ExecutableConditionPathSelectorCondition
- func (ExecutableConditionPathSelectorCondition) FieldPath() *ExecutableCondition_FieldTerminalPath
- func (s ExecutableConditionPathSelectorCondition) WithArrayOfValues(values []*Reference) *ExecutableCondition_FieldTerminalPathArrayOfValues
- func (s ExecutableConditionPathSelectorCondition) WithValue(value *Reference) *ExecutableCondition_FieldTerminalPathValue
- type ExecutableConditionPathSelectorParams
- func (ExecutableConditionPathSelectorParams) FieldPath() *ExecutableCondition_FieldTerminalPath
- func (s ExecutableConditionPathSelectorParams) WithArrayOfValues(values []*structpb.Struct) *ExecutableCondition_FieldTerminalPathArrayOfValues
- func (s ExecutableConditionPathSelectorParams) WithValue(value *structpb.Struct) *ExecutableCondition_FieldTerminalPathValue
- type ExecutableCondition_FieldMask
- func (fieldMask *ExecutableCondition_FieldMask) AppendPath(path ExecutableCondition_FieldPath)
- func (fieldMask *ExecutableCondition_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *ExecutableCondition_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *ExecutableCondition_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *ExecutableCondition_FieldMask) FilterInputFields() *ExecutableCondition_FieldMask
- func (fieldMask *ExecutableCondition_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
- func (fieldMask *ExecutableCondition_FieldMask) GetPaths() []ExecutableCondition_FieldPath
- func (fieldMask *ExecutableCondition_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *ExecutableCondition_FieldMask) IsFull() bool
- func (fieldMask ExecutableCondition_FieldMask) Marshal() ([]byte, error)
- func (fieldMask ExecutableCondition_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *ExecutableCondition_FieldMask) PathsCount() int
- func (fieldMask *ExecutableCondition_FieldMask) Project(source *ExecutableCondition) *ExecutableCondition
- func (fieldMask *ExecutableCondition_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *ExecutableCondition_FieldMask) ProtoMessage()
- func (fieldMask *ExecutableCondition_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *ExecutableCondition_FieldMask) Reset()
- func (fieldMask *ExecutableCondition_FieldMask) Set(target, source *ExecutableCondition)
- func (fieldMask *ExecutableCondition_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *ExecutableCondition_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *ExecutableCondition_FieldMask) Size() int
- func (fieldMask *ExecutableCondition_FieldMask) String() string
- func (fieldMask *ExecutableCondition_FieldMask) Subtract(other *ExecutableCondition_FieldMask) *ExecutableCondition_FieldMask
- func (fieldMask *ExecutableCondition_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *ExecutableCondition_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
- func (fieldMask *ExecutableCondition_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *ExecutableCondition_FieldMask) UnmarshalJSON(data []byte) error
- type ExecutableCondition_FieldPath
- type ExecutableCondition_FieldPathArrayItemValue
- type ExecutableCondition_FieldPathArrayOfValues
- type ExecutableCondition_FieldPathSelector
- type ExecutableCondition_FieldPathValue
- type ExecutableCondition_FieldTerminalPath
- func (fp *ExecutableCondition_FieldTerminalPath) ClearValue(item *ExecutableCondition)
- func (fp *ExecutableCondition_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *ExecutableCondition_FieldTerminalPath) Get(source *ExecutableCondition) (values []interface{})
- func (fp *ExecutableCondition_FieldTerminalPath) GetDefault() interface{}
- func (fp *ExecutableCondition_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *ExecutableCondition_FieldTerminalPath) GetSingle(source *ExecutableCondition) (interface{}, bool)
- func (fp *ExecutableCondition_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *ExecutableCondition_FieldTerminalPath) IsLeaf() bool
- func (fp *ExecutableCondition_FieldTerminalPath) JSONString() string
- func (fp *ExecutableCondition_FieldTerminalPath) Selector() ExecutableCondition_FieldPathSelector
- func (fp *ExecutableCondition_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *ExecutableCondition_FieldTerminalPath) String() string
- func (fp *ExecutableCondition_FieldTerminalPath) WithIArrayItemValue(value interface{}) ExecutableCondition_FieldPathArrayItemValue
- func (fp *ExecutableCondition_FieldTerminalPath) WithIArrayOfValues(values interface{}) ExecutableCondition_FieldPathArrayOfValues
- func (fp *ExecutableCondition_FieldTerminalPath) WithIValue(value interface{}) ExecutableCondition_FieldPathValue
- func (fp *ExecutableCondition_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *ExecutableCondition_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *ExecutableCondition_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type ExecutableCondition_FieldTerminalPathArrayItemValue
- func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) ContainsValue(source *ExecutableCondition) bool
- func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingle(source *ExecutableCondition) (interface{}, bool)
- func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type ExecutableCondition_FieldTerminalPathArrayOfValues
- func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues() ([]*Reference, bool)
- func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) AsParamsArrayOfValues() ([]*structpb.Struct, bool)
- func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type ExecutableCondition_FieldTerminalPathValue
- func (fpv *ExecutableCondition_FieldTerminalPathValue) AsConditionValue() (*Reference, bool)
- func (fpv *ExecutableCondition_FieldTerminalPathValue) AsParamsValue() (*structpb.Struct, bool)
- func (fpv *ExecutableCondition_FieldTerminalPathValue) CompareWith(source *ExecutableCondition) (int, bool)
- func (fpv *ExecutableCondition_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *ExecutableCondition_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *ExecutableCondition_FieldTerminalPathValue) SetTo(target **ExecutableCondition)
- func (fpv *ExecutableCondition_FieldTerminalPathValue) SetToRaw(target proto.Message)
- 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) GetServiceName() *meta_service.Name
- 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
- func (b *NameBuilder) SetService(parent *meta_service.Name) *NameBuilder
- func (b *NameBuilder) SetServiceId(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) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val
- func (name *ParentName) DescendsFrom(ancestor string) bool
- func (name *ParentName) Equal(other ref.Val) ref.Val
- 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) GetServiceName() *meta_service.Name
- func (name *ParentName) GotenEqual(other interface{}) bool
- func (name *ParentName) HasTrait(trait int) bool
- func (name *ParentName) IsFullyQualified() bool
- func (name *ParentName) IsSpecified() bool
- func (name *ParentName) Match(pattern ref.Val) ref.Val
- func (name *ParentName) Matches(other interface{}) bool
- func (name *ParentName) ParseProtoString(data string) error
- func (name *ParentName) ProtoString() (string, error)
- func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *ParentName) SetFromCliFlag(raw string) error
- func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *ParentName) String() string
- func (name *ParentName) Type() ref.Type
- func (name *ParentName) TypeName() string
- func (name *ParentName) Value() interface{}
- type ParentReference
- func (ref *ParentReference) ClearCached()
- 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) GetService() *meta_service.Service
- func (ref *ParentReference) GetServiceReference() *meta_service.Reference
- func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
- func (ref *ParentReference) GotenEqual(other interface{}) bool
- func (ref *ParentReference) IsFullyQualified() bool
- func (ref *ParentReference) IsSpecified() bool
- func (name *ParentReference) Matches(other interface{}) bool
- func (ref *ParentReference) ParseProtoString(data string) error
- func (ref *ParentReference) ProtoString() (string, error)
- 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
- 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}" NamePattern_Service = "services/{service}/conditions/{condition}" )
Variables ¶
var ( Condition_ParameterType_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "STRING", 2: "INT64", 3: "DOUBLE", 4: "BOOL", 5: "STRING_ARRAY", 6: "INT64_ARRAY", 7: "DOUBLE_ARRAY", 8: "BOOL_ARRAY", 9: "OBJECT", } Condition_ParameterType_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "STRING": 1, "INT64": 2, "DOUBLE": 3, "BOOL": 4, "STRING_ARRAY": 5, "INT64_ARRAY": 6, "DOUBLE_ARRAY": 7, "BOOL_ARRAY": 8, "OBJECT": 9, } )
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access ConditionAccess) gotenresource.Access
Types ¶
type Condition ¶
type Condition struct { // Name of Condition // When creating a new instance, this field is optional and if not provided, // it will be generated automatically. Last ID segment must conform to the // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Metadata is an object with information like create, update and delete time // (for async deleted resources), has user labels/annotations, sharding // information, multi-region syncing information and may have non-schema // owners (useful for taking ownership of resources belonging to lower level // services by higher ones). Metadata *meta.Meta `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // 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` | | `attest.policy` | `string` | // Name of attestation policy attested with by the atestee; empty string if // none. | `""`, `"projects/myProj/AttestationPolicies/myPol"` | // // 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 represents executable condition template in Google CEL language, as specified in https://github.com/google/cel-spec/blob/v0.4.0/doc/intro.md. It may be used for more advanced cases compared to the resource/request conditions available in Role grant definitions.
func (*Condition) CloneRaw ¶
func (o *Condition) CloneRaw() gotenobject.GotenObjectExt
func (*Condition) Descriptor ¶
Deprecated, Use Condition.ProtoReflect.Descriptor instead.
func (*Condition) EnsureMetadata ¶
func (*Condition) GetDescription ¶
func (*Condition) GetDisplayName ¶
func (*Condition) GetExpression ¶
func (*Condition) GetMetadata ¶
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) SetMetadata ¶
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 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 ¶
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) Metadata ¶
func (ConditionFieldPathBuilder) Metadata() ConditionPathSelectorMetadata
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 ConditionMapPathSelectorMetadataAnnotations ¶
type ConditionMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (ConditionMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s ConditionMapPathSelectorMetadataAnnotations) FieldPath() *Condition_FieldSubPath
func (ConditionMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ConditionMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionMapPathSelectorMetadataAnnotations) WithValue ¶
func (s ConditionMapPathSelectorMetadataAnnotations) WithValue(value string) *Condition_FieldSubPathValue
type ConditionMapPathSelectorMetadataLabels ¶
type ConditionMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (ConditionMapPathSelectorMetadataLabels) FieldPath ¶
func (s ConditionMapPathSelectorMetadataLabels) FieldPath() *Condition_FieldSubPath
func (ConditionMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ConditionMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionMapPathSelectorMetadataLabels) WithValue ¶
func (s ConditionMapPathSelectorMetadataLabels) WithValue(value string) *Condition_FieldSubPathValue
type ConditionMapPathSelectorMetadataShards ¶
type ConditionMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (ConditionMapPathSelectorMetadataShards) FieldPath ¶
func (s ConditionMapPathSelectorMetadataShards) FieldPath() *Condition_FieldSubPath
func (ConditionMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s ConditionMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Condition_FieldSubPathArrayOfValues
func (ConditionMapPathSelectorMetadataShards) WithValue ¶
func (s ConditionMapPathSelectorMetadataShards) WithValue(value int64) *Condition_FieldSubPathValue
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 ¶
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 ConditionPathSelectorMetadata ¶
type ConditionPathSelectorMetadata struct{}
func (ConditionPathSelectorMetadata) Annotations ¶
func (ConditionPathSelectorMetadata) Annotations() ConditionPathSelectorMetadataAnnotations
func (ConditionPathSelectorMetadata) CreateTime ¶
func (ConditionPathSelectorMetadata) CreateTime() ConditionPathSelectorMetadataCreateTime
func (ConditionPathSelectorMetadata) DeleteTime ¶
func (ConditionPathSelectorMetadata) DeleteTime() ConditionPathSelectorMetadataDeleteTime
func (ConditionPathSelectorMetadata) FieldPath ¶
func (ConditionPathSelectorMetadata) FieldPath() *Condition_FieldTerminalPath
func (ConditionPathSelectorMetadata) Generation ¶
func (ConditionPathSelectorMetadata) Generation() ConditionPathSelectorMetadataGeneration
func (ConditionPathSelectorMetadata) Labels ¶
func (ConditionPathSelectorMetadata) Labels() ConditionPathSelectorMetadataLabels
func (ConditionPathSelectorMetadata) Lifecycle ¶
func (ConditionPathSelectorMetadata) Lifecycle() ConditionPathSelectorMetadataLifecycle
func (ConditionPathSelectorMetadata) OwnerReferences ¶
func (ConditionPathSelectorMetadata) OwnerReferences() ConditionPathSelectorMetadataOwnerReferences
func (ConditionPathSelectorMetadata) ResourceVersion ¶
func (ConditionPathSelectorMetadata) ResourceVersion() ConditionPathSelectorMetadataResourceVersion
func (ConditionPathSelectorMetadata) Services ¶
func (ConditionPathSelectorMetadata) Services() ConditionPathSelectorMetadataServices
func (ConditionPathSelectorMetadata) Shards ¶
func (ConditionPathSelectorMetadata) Shards() ConditionPathSelectorMetadataShards
func (ConditionPathSelectorMetadata) Syncing ¶
func (ConditionPathSelectorMetadata) Syncing() ConditionPathSelectorMetadataSyncing
func (ConditionPathSelectorMetadata) UpdateTime ¶
func (ConditionPathSelectorMetadata) UpdateTime() ConditionPathSelectorMetadataUpdateTime
func (ConditionPathSelectorMetadata) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *Condition_FieldTerminalPathArrayOfValues
func (ConditionPathSelectorMetadata) WithSubArrayItemValue ¶
func (s ConditionPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorMetadata) WithSubArrayOfValues ¶
func (s ConditionPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadata) WithSubPath ¶
func (ConditionPathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *Condition_FieldSubPath
func (ConditionPathSelectorMetadata) WithSubValue ¶
func (s ConditionPathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *Condition_FieldSubPathValue
func (ConditionPathSelectorMetadata) WithValue ¶
func (s ConditionPathSelectorMetadata) WithValue(value *meta.Meta) *Condition_FieldTerminalPathValue
type ConditionPathSelectorMetadataAnnotations ¶
type ConditionPathSelectorMetadataAnnotations struct{}
func (ConditionPathSelectorMetadataAnnotations) FieldPath ¶
func (ConditionPathSelectorMetadataAnnotations) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataAnnotations) WithValue ¶
func (s ConditionPathSelectorMetadataAnnotations) WithValue(value map[string]string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataCreateTime ¶
type ConditionPathSelectorMetadataCreateTime struct{}
func (ConditionPathSelectorMetadataCreateTime) FieldPath ¶
func (ConditionPathSelectorMetadataCreateTime) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataCreateTime) WithValue ¶
func (s ConditionPathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataDeleteTime ¶
type ConditionPathSelectorMetadataDeleteTime struct{}
func (ConditionPathSelectorMetadataDeleteTime) FieldPath ¶
func (ConditionPathSelectorMetadataDeleteTime) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataDeleteTime) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataDeleteTime) WithValue ¶
func (s ConditionPathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataGeneration ¶
type ConditionPathSelectorMetadataGeneration struct{}
func (ConditionPathSelectorMetadataGeneration) FieldPath ¶
func (ConditionPathSelectorMetadataGeneration) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataGeneration) WithValue ¶
func (s ConditionPathSelectorMetadataGeneration) WithValue(value int64) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataLabels ¶
type ConditionPathSelectorMetadataLabels struct{}
func (ConditionPathSelectorMetadataLabels) FieldPath ¶
func (ConditionPathSelectorMetadataLabels) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataLabels) WithKey ¶
func (ConditionPathSelectorMetadataLabels) WithKey(key string) ConditionMapPathSelectorMetadataLabels
func (ConditionPathSelectorMetadataLabels) WithValue ¶
func (s ConditionPathSelectorMetadataLabels) WithValue(value map[string]string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataLifecycle ¶
type ConditionPathSelectorMetadataLifecycle struct{}
func (ConditionPathSelectorMetadataLifecycle) BlockDeletion ¶
func (ConditionPathSelectorMetadataLifecycle) BlockDeletion() ConditionPathSelectorMetadataLifecycleBlockDeletion
func (ConditionPathSelectorMetadataLifecycle) FieldPath ¶
func (ConditionPathSelectorMetadataLifecycle) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataLifecycle) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataLifecycle) WithValue ¶
func (s ConditionPathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataLifecycleBlockDeletion ¶
type ConditionPathSelectorMetadataLifecycleBlockDeletion struct{}
func (ConditionPathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶
func (ConditionPathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataLifecycleBlockDeletion) WithValue ¶
func (s ConditionPathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataLifecycleState ¶
type ConditionPathSelectorMetadataLifecycleState struct{}
func (ConditionPathSelectorMetadataLifecycleState) FieldPath ¶
func (ConditionPathSelectorMetadataLifecycleState) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataLifecycleState) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataLifecycleState) WithValue ¶
func (s ConditionPathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferences ¶
type ConditionPathSelectorMetadataOwnerReferences struct{}
func (ConditionPathSelectorMetadataOwnerReferences) Controller ¶
func (ConditionPathSelectorMetadataOwnerReferences) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferences) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶
func (ConditionPathSelectorMetadataOwnerReferences) RequiresOwnerReference() ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (ConditionPathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s ConditionPathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorMetadataOwnerReferences) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesController ¶
type ConditionPathSelectorMetadataOwnerReferencesController struct{}
func (ConditionPathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferencesController) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesKind ¶
type ConditionPathSelectorMetadataOwnerReferencesKind struct{}
func (ConditionPathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferencesKind) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesName ¶
type ConditionPathSelectorMetadataOwnerReferencesName struct{}
func (ConditionPathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferencesName) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesName) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesRegion ¶
type ConditionPathSelectorMetadataOwnerReferencesRegion struct{}
func (ConditionPathSelectorMetadataOwnerReferencesRegion) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferencesRegion) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesRegion) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶
type ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataOwnerReferencesVersion ¶
type ConditionPathSelectorMetadataOwnerReferencesVersion struct{}
func (ConditionPathSelectorMetadataOwnerReferencesVersion) FieldPath ¶
func (ConditionPathSelectorMetadataOwnerReferencesVersion) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataOwnerReferencesVersion) WithValue ¶
func (s ConditionPathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataResourceVersion ¶
type ConditionPathSelectorMetadataResourceVersion struct{}
func (ConditionPathSelectorMetadataResourceVersion) FieldPath ¶
func (ConditionPathSelectorMetadataResourceVersion) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataResourceVersion) WithValue ¶
func (s ConditionPathSelectorMetadataResourceVersion) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataServices ¶
type ConditionPathSelectorMetadataServices struct{}
func (ConditionPathSelectorMetadataServices) AllowedServices ¶
func (ConditionPathSelectorMetadataServices) AllowedServices() ConditionPathSelectorMetadataServicesAllowedServices
func (ConditionPathSelectorMetadataServices) FieldPath ¶
func (ConditionPathSelectorMetadataServices) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataServices) OwningService ¶
func (ConditionPathSelectorMetadataServices) OwningService() ConditionPathSelectorMetadataServicesOwningService
func (ConditionPathSelectorMetadataServices) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataServices) WithValue ¶
func (s ConditionPathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataServicesAllowedServices ¶
type ConditionPathSelectorMetadataServicesAllowedServices struct{}
func (ConditionPathSelectorMetadataServicesAllowedServices) FieldPath ¶
func (ConditionPathSelectorMetadataServicesAllowedServices) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataServicesAllowedServices) WithItemValue ¶
func (s ConditionPathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorMetadataServicesAllowedServices) WithValue ¶
func (s ConditionPathSelectorMetadataServicesAllowedServices) WithValue(value []string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataServicesOwningService ¶
type ConditionPathSelectorMetadataServicesOwningService struct{}
func (ConditionPathSelectorMetadataServicesOwningService) FieldPath ¶
func (ConditionPathSelectorMetadataServicesOwningService) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataServicesOwningService) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataServicesOwningService) WithValue ¶
func (s ConditionPathSelectorMetadataServicesOwningService) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataShards ¶
type ConditionPathSelectorMetadataShards struct{}
func (ConditionPathSelectorMetadataShards) FieldPath ¶
func (ConditionPathSelectorMetadataShards) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataShards) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataShards) WithKey ¶
func (ConditionPathSelectorMetadataShards) WithKey(key string) ConditionMapPathSelectorMetadataShards
func (ConditionPathSelectorMetadataShards) WithValue ¶
func (s ConditionPathSelectorMetadataShards) WithValue(value map[string]int64) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataSyncing ¶
type ConditionPathSelectorMetadataSyncing struct{}
func (ConditionPathSelectorMetadataSyncing) FieldPath ¶
func (ConditionPathSelectorMetadataSyncing) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataSyncing) OwningRegion ¶
func (ConditionPathSelectorMetadataSyncing) OwningRegion() ConditionPathSelectorMetadataSyncingOwningRegion
func (ConditionPathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataSyncing) WithValue ¶
func (s ConditionPathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataSyncingOwningRegion ¶
type ConditionPathSelectorMetadataSyncingOwningRegion struct{}
func (ConditionPathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (ConditionPathSelectorMetadataSyncingOwningRegion) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s ConditionPathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataSyncingRegions ¶
type ConditionPathSelectorMetadataSyncingRegions struct{}
func (ConditionPathSelectorMetadataSyncingRegions) FieldPath ¶
func (ConditionPathSelectorMetadataSyncingRegions) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s ConditionPathSelectorMetadataSyncingRegions) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorMetadataSyncingRegions) WithValue ¶
func (s ConditionPathSelectorMetadataSyncingRegions) WithValue(value []string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataTags ¶
type ConditionPathSelectorMetadataTags struct{}
func (ConditionPathSelectorMetadataTags) FieldPath ¶
func (ConditionPathSelectorMetadataTags) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataTags) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataTags) WithItemValue ¶
func (s ConditionPathSelectorMetadataTags) WithItemValue(value string) *Condition_FieldSubPathArrayItemValue
func (ConditionPathSelectorMetadataTags) WithValue ¶
func (s ConditionPathSelectorMetadataTags) WithValue(value []string) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataUpdateTime ¶
type ConditionPathSelectorMetadataUpdateTime struct{}
func (ConditionPathSelectorMetadataUpdateTime) FieldPath ¶
func (ConditionPathSelectorMetadataUpdateTime) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataUpdateTime) WithValue ¶
func (s ConditionPathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *Condition_FieldSubPathValue
type ConditionPathSelectorMetadataUuid ¶
type ConditionPathSelectorMetadataUuid struct{}
func (ConditionPathSelectorMetadataUuid) FieldPath ¶
func (ConditionPathSelectorMetadataUuid) FieldPath() *Condition_FieldSubPath
func (ConditionPathSelectorMetadataUuid) WithArrayOfValues ¶
func (s ConditionPathSelectorMetadataUuid) WithArrayOfValues(values []string) *Condition_FieldSubPathArrayOfValues
func (ConditionPathSelectorMetadataUuid) WithValue ¶
func (s ConditionPathSelectorMetadataUuid) WithValue(value string) *Condition_FieldSubPathValue
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 *googlefieldmaskpb.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() *googlefieldmaskpb.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_FieldPathSelectorMetadata Condition_FieldPathSelector = 1 Condition_FieldPathSelectorDisplayName Condition_FieldPathSelector = 2 Condition_FieldPathSelectorDescription Condition_FieldPathSelector = 3 Condition_FieldPathSelectorExpression Condition_FieldPathSelector = 4 Condition_FieldPathSelectorParameterDeclarations Condition_FieldPathSelector = 5 )
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) AsMetadataSubPath ¶
func (fps *Condition_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
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 ¶
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) AsMetadataPathItemValue ¶
func (fpaivs *Condition_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)
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) AsMetadataPathArrayOfValues ¶
func (fpsaov *Condition_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)
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) AsMetadataPathValue ¶
func (fpvs *Condition_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
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 ¶
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) AsMetadataArrayOfValues ¶
func (fpaov *Condition_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, 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) AsMetadataValue ¶
func (fpv *Condition_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, 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.v1.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 *googlefieldmaskpb.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() *googlefieldmaskpb.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.
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 Condition_STRING_ARRAY Condition_ParameterType = 5 Condition_INT64_ARRAY Condition_ParameterType = 6 Condition_DOUBLE_ARRAY Condition_ParameterType = 7 Condition_BOOL_ARRAY Condition_ParameterType = 8 Condition_OBJECT Condition_ParameterType = 9 )
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) CanBeParentless ¶
func (d *Descriptor) CanBeParentless() bool
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetParentResDescriptors ¶
func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
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 ¶
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶
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 ¶
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶
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)
func (*Descriptor) SupportsMetadata ¶
func (d *Descriptor) SupportsMetadata() bool
type ExecutableCondition ¶
type ExecutableCondition 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.v1.Condition.parameter_declarations] Params *structpb.Struct `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty" firestore:"params"` // contains filtered or unexported fields }
ExecutableCondition represents instantiation of condition with params, in other words: Executable condition, that is used in Role bindings.
func (*ExecutableCondition) Clone ¶
func (o *ExecutableCondition) Clone() *ExecutableCondition
func (*ExecutableCondition) CloneRaw ¶
func (o *ExecutableCondition) CloneRaw() gotenobject.GotenObjectExt
func (*ExecutableCondition) Descriptor ¶
func (*ExecutableCondition) Descriptor() ([]byte, []int)
Deprecated, Use ExecutableCondition.ProtoReflect.Descriptor instead.
func (*ExecutableCondition) GetCondition ¶
func (m *ExecutableCondition) GetCondition() *Reference
func (*ExecutableCondition) GetParams ¶
func (m *ExecutableCondition) GetParams() *structpb.Struct
func (*ExecutableCondition) GotenMessage ¶
func (*ExecutableCondition) GotenMessage()
func (*ExecutableCondition) GotenObjectExt ¶
func (o *ExecutableCondition) GotenObjectExt()
func (*ExecutableCondition) GotenValidate ¶
func (obj *ExecutableCondition) GotenValidate() error
func (*ExecutableCondition) MakeDiffFieldMask ¶
func (o *ExecutableCondition) MakeDiffFieldMask(other *ExecutableCondition) *ExecutableCondition_FieldMask
func (*ExecutableCondition) MakeFullFieldMask ¶
func (o *ExecutableCondition) MakeFullFieldMask() *ExecutableCondition_FieldMask
func (*ExecutableCondition) MakeRawDiffFieldMask ¶
func (o *ExecutableCondition) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*ExecutableCondition) MakeRawFullFieldMask ¶
func (o *ExecutableCondition) MakeRawFullFieldMask() gotenobject.FieldMask
func (*ExecutableCondition) Marshal ¶
func (m *ExecutableCondition) Marshal() ([]byte, error)
func (*ExecutableCondition) MarshalJSON ¶
func (m *ExecutableCondition) MarshalJSON() ([]byte, error)
func (*ExecutableCondition) Merge ¶
func (o *ExecutableCondition) Merge(source *ExecutableCondition)
func (*ExecutableCondition) MergeRaw ¶
func (o *ExecutableCondition) MergeRaw(source gotenobject.GotenObjectExt)
func (*ExecutableCondition) ProtoMessage ¶
func (*ExecutableCondition) ProtoMessage()
func (*ExecutableCondition) ProtoReflect ¶
func (m *ExecutableCondition) ProtoReflect() preflect.Message
func (*ExecutableCondition) Reset ¶
func (m *ExecutableCondition) Reset()
func (*ExecutableCondition) SetCondition ¶
func (m *ExecutableCondition) SetCondition(fv *Reference)
func (*ExecutableCondition) SetParams ¶
func (m *ExecutableCondition) SetParams(fv *structpb.Struct)
func (*ExecutableCondition) String ¶
func (m *ExecutableCondition) String() string
func (*ExecutableCondition) Unmarshal ¶
func (m *ExecutableCondition) Unmarshal(b []byte) error
func (*ExecutableCondition) UnmarshalJSON ¶
func (m *ExecutableCondition) UnmarshalJSON(data []byte) error
type ExecutableConditionFieldPathBuilder ¶
type ExecutableConditionFieldPathBuilder struct{}
func NewExecutableConditionFieldPathBuilder ¶
func NewExecutableConditionFieldPathBuilder() ExecutableConditionFieldPathBuilder
func (ExecutableConditionFieldPathBuilder) Condition ¶
func (ExecutableConditionFieldPathBuilder) Condition() ExecutableConditionPathSelectorCondition
type ExecutableConditionPathSelectorCondition ¶
type ExecutableConditionPathSelectorCondition struct{}
func (ExecutableConditionPathSelectorCondition) FieldPath ¶
func (ExecutableConditionPathSelectorCondition) FieldPath() *ExecutableCondition_FieldTerminalPath
func (ExecutableConditionPathSelectorCondition) WithArrayOfValues ¶
func (s ExecutableConditionPathSelectorCondition) WithArrayOfValues(values []*Reference) *ExecutableCondition_FieldTerminalPathArrayOfValues
func (ExecutableConditionPathSelectorCondition) WithValue ¶
func (s ExecutableConditionPathSelectorCondition) WithValue(value *Reference) *ExecutableCondition_FieldTerminalPathValue
type ExecutableConditionPathSelectorParams ¶
type ExecutableConditionPathSelectorParams struct{}
func (ExecutableConditionPathSelectorParams) FieldPath ¶
func (ExecutableConditionPathSelectorParams) FieldPath() *ExecutableCondition_FieldTerminalPath
func (ExecutableConditionPathSelectorParams) WithArrayOfValues ¶
func (s ExecutableConditionPathSelectorParams) WithArrayOfValues(values []*structpb.Struct) *ExecutableCondition_FieldTerminalPathArrayOfValues
func (ExecutableConditionPathSelectorParams) WithValue ¶
func (s ExecutableConditionPathSelectorParams) WithValue(value *structpb.Struct) *ExecutableCondition_FieldTerminalPathValue
type ExecutableCondition_FieldMask ¶
type ExecutableCondition_FieldMask struct {
Paths []ExecutableCondition_FieldPath
}
func FullExecutableCondition_FieldMask ¶
func FullExecutableCondition_FieldMask() *ExecutableCondition_FieldMask
func (*ExecutableCondition_FieldMask) AppendPath ¶
func (fieldMask *ExecutableCondition_FieldMask) AppendPath(path ExecutableCondition_FieldPath)
func (*ExecutableCondition_FieldMask) AppendRawPath ¶
func (fieldMask *ExecutableCondition_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*ExecutableCondition_FieldMask) DecodeFirestore ¶
func (fieldMask *ExecutableCondition_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*ExecutableCondition_FieldMask) EncodeFirestore ¶
func (fieldMask *ExecutableCondition_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*ExecutableCondition_FieldMask) FilterInputFields ¶
func (fieldMask *ExecutableCondition_FieldMask) FilterInputFields() *ExecutableCondition_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*ExecutableCondition_FieldMask) FromProtoFieldMask ¶
func (fieldMask *ExecutableCondition_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
func (*ExecutableCondition_FieldMask) GetPaths ¶
func (fieldMask *ExecutableCondition_FieldMask) GetPaths() []ExecutableCondition_FieldPath
func (*ExecutableCondition_FieldMask) GetRawPaths ¶
func (fieldMask *ExecutableCondition_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*ExecutableCondition_FieldMask) IsFull ¶
func (fieldMask *ExecutableCondition_FieldMask) IsFull() bool
func (ExecutableCondition_FieldMask) Marshal ¶
func (fieldMask ExecutableCondition_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (ExecutableCondition_FieldMask) MarshalJSON ¶
func (fieldMask ExecutableCondition_FieldMask) MarshalJSON() ([]byte, error)
func (*ExecutableCondition_FieldMask) PathsCount ¶
func (fieldMask *ExecutableCondition_FieldMask) PathsCount() int
func (*ExecutableCondition_FieldMask) Project ¶
func (fieldMask *ExecutableCondition_FieldMask) Project(source *ExecutableCondition) *ExecutableCondition
func (*ExecutableCondition_FieldMask) ProjectRaw ¶
func (fieldMask *ExecutableCondition_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*ExecutableCondition_FieldMask) ProtoMessage ¶
func (fieldMask *ExecutableCondition_FieldMask) ProtoMessage()
func (*ExecutableCondition_FieldMask) ProtoReflect ¶
func (fieldMask *ExecutableCondition_FieldMask) ProtoReflect() preflect.Message
func (*ExecutableCondition_FieldMask) Reset ¶
func (fieldMask *ExecutableCondition_FieldMask) Reset()
func (*ExecutableCondition_FieldMask) Set ¶
func (fieldMask *ExecutableCondition_FieldMask) Set(target, source *ExecutableCondition)
func (*ExecutableCondition_FieldMask) SetFromCliFlag ¶
func (fieldMask *ExecutableCondition_FieldMask) SetFromCliFlag(raw string) error
func (*ExecutableCondition_FieldMask) SetRaw ¶
func (fieldMask *ExecutableCondition_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*ExecutableCondition_FieldMask) Size ¶
func (fieldMask *ExecutableCondition_FieldMask) Size() int
func (*ExecutableCondition_FieldMask) String ¶
func (fieldMask *ExecutableCondition_FieldMask) String() string
func (*ExecutableCondition_FieldMask) Subtract ¶
func (fieldMask *ExecutableCondition_FieldMask) Subtract(other *ExecutableCondition_FieldMask) *ExecutableCondition_FieldMask
func (*ExecutableCondition_FieldMask) SubtractRaw ¶
func (fieldMask *ExecutableCondition_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*ExecutableCondition_FieldMask) ToProtoFieldMask ¶
func (fieldMask *ExecutableCondition_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*ExecutableCondition_FieldMask) Unmarshal ¶
func (fieldMask *ExecutableCondition_FieldMask) Unmarshal(data []byte) error
func (*ExecutableCondition_FieldMask) UnmarshalJSON ¶
func (fieldMask *ExecutableCondition_FieldMask) UnmarshalJSON(data []byte) error
type ExecutableCondition_FieldPath ¶
type ExecutableCondition_FieldPath interface { gotenobject.FieldPath Selector() ExecutableCondition_FieldPathSelector Get(source *ExecutableCondition) []interface{} GetSingle(source *ExecutableCondition) (interface{}, bool) ClearValue(item *ExecutableCondition) // Those methods build corresponding ExecutableCondition_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) ExecutableCondition_FieldPathValue WithIArrayOfValues(values interface{}) ExecutableCondition_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) ExecutableCondition_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildExecutableCondition_FieldPath ¶
func BuildExecutableCondition_FieldPath(fp gotenobject.RawFieldPath) (ExecutableCondition_FieldPath, error)
func MustParseExecutableCondition_FieldPath ¶
func MustParseExecutableCondition_FieldPath(rawField string) ExecutableCondition_FieldPath
func ParseExecutableCondition_FieldPath ¶
func ParseExecutableCondition_FieldPath(rawField string) (ExecutableCondition_FieldPath, error)
type ExecutableCondition_FieldPathArrayItemValue ¶
type ExecutableCondition_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue ExecutableCondition_FieldPath ContainsValue(*ExecutableCondition) bool }
ExecutableCondition_FieldPathArrayItemValue allows storing single item in Path-specific values for ExecutableCondition according to their type Present only for array (repeated) types.
func MustParseExecutableCondition_FieldPathArrayItemValue ¶
func MustParseExecutableCondition_FieldPathArrayItemValue(pathStr, valueStr string) ExecutableCondition_FieldPathArrayItemValue
func ParseExecutableCondition_FieldPathArrayItemValue ¶
func ParseExecutableCondition_FieldPathArrayItemValue(pathStr, valueStr string) (ExecutableCondition_FieldPathArrayItemValue, error)
ParseExecutableCondition_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type ExecutableCondition_FieldPathArrayOfValues ¶
type ExecutableCondition_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues ExecutableCondition_FieldPath }
ExecutableCondition_FieldPathArrayOfValues allows storing slice of values for ExecutableCondition fields according to their type
func MustParseExecutableCondition_FieldPathArrayOfValues ¶
func MustParseExecutableCondition_FieldPathArrayOfValues(pathStr, valuesStr string) ExecutableCondition_FieldPathArrayOfValues
func ParseExecutableCondition_FieldPathArrayOfValues ¶
func ParseExecutableCondition_FieldPathArrayOfValues(pathStr, valuesStr string) (ExecutableCondition_FieldPathArrayOfValues, error)
type ExecutableCondition_FieldPathSelector ¶
type ExecutableCondition_FieldPathSelector int32
const ( ExecutableCondition_FieldPathSelectorCondition ExecutableCondition_FieldPathSelector = 0 ExecutableCondition_FieldPathSelectorParams ExecutableCondition_FieldPathSelector = 1 )
func (ExecutableCondition_FieldPathSelector) String ¶
func (s ExecutableCondition_FieldPathSelector) String() string
type ExecutableCondition_FieldPathValue ¶
type ExecutableCondition_FieldPathValue interface { ExecutableCondition_FieldPath gotenobject.FieldPathValue SetTo(target **ExecutableCondition) CompareWith(*ExecutableCondition) (cmp int, comparable bool) }
ExecutableCondition_FieldPathValue allows storing values for ExecutableCondition fields according to their type
func MustParseExecutableCondition_FieldPathValue ¶
func MustParseExecutableCondition_FieldPathValue(pathStr, valueStr string) ExecutableCondition_FieldPathValue
func ParseExecutableCondition_FieldPathValue ¶
func ParseExecutableCondition_FieldPathValue(pathStr, valueStr string) (ExecutableCondition_FieldPathValue, error)
type ExecutableCondition_FieldTerminalPath ¶
type ExecutableCondition_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*ExecutableCondition_FieldTerminalPath) ClearValue ¶
func (fp *ExecutableCondition_FieldTerminalPath) ClearValue(item *ExecutableCondition)
func (*ExecutableCondition_FieldTerminalPath) ClearValueRaw ¶
func (fp *ExecutableCondition_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*ExecutableCondition_FieldTerminalPath) Get ¶
func (fp *ExecutableCondition_FieldTerminalPath) Get(source *ExecutableCondition) (values []interface{})
Get returns all values pointed by specific field from source ExecutableCondition
func (*ExecutableCondition_FieldTerminalPath) GetDefault ¶
func (fp *ExecutableCondition_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*ExecutableCondition_FieldTerminalPath) GetRaw ¶
func (fp *ExecutableCondition_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*ExecutableCondition_FieldTerminalPath) GetSingle ¶
func (fp *ExecutableCondition_FieldTerminalPath) GetSingle(source *ExecutableCondition) (interface{}, bool)
GetSingle returns value pointed by specific field of from source ExecutableCondition
func (*ExecutableCondition_FieldTerminalPath) GetSingleRaw ¶
func (fp *ExecutableCondition_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*ExecutableCondition_FieldTerminalPath) IsLeaf ¶
func (fp *ExecutableCondition_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*ExecutableCondition_FieldTerminalPath) JSONString ¶
func (fp *ExecutableCondition_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*ExecutableCondition_FieldTerminalPath) Selector ¶
func (fp *ExecutableCondition_FieldTerminalPath) Selector() ExecutableCondition_FieldPathSelector
func (*ExecutableCondition_FieldTerminalPath) SplitIntoTerminalIPaths ¶
func (fp *ExecutableCondition_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*ExecutableCondition_FieldTerminalPath) String ¶
func (fp *ExecutableCondition_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*ExecutableCondition_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithIArrayItemValue(value interface{}) ExecutableCondition_FieldPathArrayItemValue
func (*ExecutableCondition_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithIArrayOfValues(values interface{}) ExecutableCondition_FieldPathArrayOfValues
func (*ExecutableCondition_FieldTerminalPath) WithIValue ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithIValue(value interface{}) ExecutableCondition_FieldPathValue
func (*ExecutableCondition_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*ExecutableCondition_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*ExecutableCondition_FieldTerminalPath) WithRawIValue ¶
func (fp *ExecutableCondition_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type ExecutableCondition_FieldTerminalPathArrayItemValue ¶
type ExecutableCondition_FieldTerminalPathArrayItemValue struct { ExecutableCondition_FieldTerminalPath // contains filtered or unexported fields }
func (*ExecutableCondition_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) ContainsValue(source *ExecutableCondition) bool
Contains returns a boolean indicating if value that is being held is present in given 'ExecutableCondition'
func (*ExecutableCondition_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object ExecutableCondition as interface{}
func (*ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingle(source *ExecutableCondition) (interface{}, bool)
func (*ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *ExecutableCondition_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type ExecutableCondition_FieldTerminalPathArrayOfValues ¶
type ExecutableCondition_FieldTerminalPathArrayOfValues struct { ExecutableCondition_FieldTerminalPath // contains filtered or unexported fields }
func (*ExecutableCondition_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues ¶
func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) AsConditionArrayOfValues() ([]*Reference, bool)
func (*ExecutableCondition_FieldTerminalPathArrayOfValues) AsParamsArrayOfValues ¶
func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) AsParamsArrayOfValues() ([]*structpb.Struct, bool)
func (*ExecutableCondition_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *ExecutableCondition_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type ExecutableCondition_FieldTerminalPathValue ¶
type ExecutableCondition_FieldTerminalPathValue struct { ExecutableCondition_FieldTerminalPath // contains filtered or unexported fields }
func (*ExecutableCondition_FieldTerminalPathValue) AsConditionValue ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) AsConditionValue() (*Reference, bool)
func (*ExecutableCondition_FieldTerminalPathValue) AsParamsValue ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) AsParamsValue() (*structpb.Struct, bool)
func (*ExecutableCondition_FieldTerminalPathValue) CompareWith ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) CompareWith(source *ExecutableCondition) (int, bool)
CompareWith compares value in the 'ExecutableCondition_FieldTerminalPathValue' with the value under path in 'ExecutableCondition'.
func (*ExecutableCondition_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*ExecutableCondition_FieldTerminalPathValue) GetRawValue ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'ExecutableCondition' as interface{}
func (*ExecutableCondition_FieldTerminalPathValue) SetTo ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) SetTo(target **ExecutableCondition)
SetTo stores value for selected field for object ExecutableCondition
func (*ExecutableCondition_FieldTerminalPathValue) SetToRaw ¶
func (fpv *ExecutableCondition_FieldTerminalPathValue) SetToRaw(target proto.Message)
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 ¶
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 ¶
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 ¶
func (name *Name) GetIParentName() gotenresource.Name
func (*Name) GetIUnderlyingParentName ¶
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) GetServiceName ¶
func (name *Name) GetServiceName() *meta_service.Name
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
func (*NameBuilder) SetService ¶
func (b *NameBuilder) SetService(parent *meta_service.Name) *NameBuilder
func (*NameBuilder) SetServiceId ¶
func (b *NameBuilder) SetServiceId(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 ¶
func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
func (*PagerQuery) SetLimit ¶
func (p *PagerQuery) SetLimit(limit int)
func (*PagerQuery) SetOrderBy ¶
func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
func (*PagerQuery) SetPageDirection ¶
func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerQuery) SetPeekForward ¶
func (p *PagerQuery) SetPeekForward(peekForward bool)
type ParentName ¶
type ParentName struct { NamePattern ProjectId string `firestore:"projectId"` OrganizationId string `firestore:"organizationId"` ServiceId string `firestore:"serviceId"` }
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) ConvertToNative ¶
func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
func (*ParentName) ConvertToType ¶
func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val
func (*ParentName) DescendsFrom ¶
func (name *ParentName) DescendsFrom(ancestor string) bool
func (*ParentName) FullyQualifiedName ¶
func (name *ParentName) FullyQualifiedName() (string, error)
func (*ParentName) GetIParentName ¶
func (name *ParentName) GetIParentName() gotenresource.Name
func (*ParentName) GetIUnderlyingParentName ¶
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) GetServiceName ¶
func (name *ParentName) GetServiceName() *meta_service.Name
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) HasTrait ¶
func (name *ParentName) HasTrait(trait int) bool
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
func (*ParentName) Type ¶
func (name *ParentName) Type() ref.Type
func (*ParentName) TypeName ¶
func (name *ParentName) TypeName() string
func (*ParentName) Value ¶
func (name *ParentName) Value() interface{}
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) GetIParentName ¶
func (ref *ParentReference) GetIParentName() gotenresource.Name
func (*ParentReference) GetIUnderlyingParentName ¶
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) GetService ¶
func (ref *ParentReference) GetService() *meta_service.Service
func (*ParentReference) GetServiceReference ¶
func (ref *ParentReference) GetServiceReference() *meta_service.Reference
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) IsFullyQualified ¶
func (ref *ParentReference) IsFullyQualified() bool
func (*ParentReference) IsSpecified ¶
func (ref *ParentReference) IsSpecified() bool
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
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 ¶
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 ¶
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 ¶
func (ref *Reference) GetIParentName() gotenresource.Name
func (*Reference) GetIUnderlyingParentName ¶
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 ¶
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 ¶
func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶
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