Documentation ¶
Index ¶
- Constants
- Variables
- func AsAnyCastAccess(access DeviceTypeAccess) gotenresource.Access
- 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 DeviceType
- func (o *DeviceType) Clone() *DeviceType
- func (o *DeviceType) CloneRaw() gotenobject.GotenObjectExt
- func (*DeviceType) Descriptor() ([]byte, []int)
- func (r *DeviceType) EnsureMetadata() *meta.Meta
- func (m *DeviceType) GetArchitecture() DeviceType_Architecture
- func (m *DeviceType) GetDescription() string
- func (m *DeviceType) GetDisplayName() string
- func (m *DeviceType) GetHardware() DeviceType_Hardware
- func (m *DeviceType) GetMetadata() *meta.Meta
- func (m *DeviceType) GetName() *Name
- func (r *DeviceType) GetRawName() gotenresource.Name
- func (r *DeviceType) GetResourceDescriptor() gotenresource.Descriptor
- func (*DeviceType) GotenMessage()
- func (o *DeviceType) GotenObjectExt()
- func (obj *DeviceType) GotenValidate() error
- func (o *DeviceType) MakeDiffFieldMask(other *DeviceType) *DeviceType_FieldMask
- func (o *DeviceType) MakeFullFieldMask() *DeviceType_FieldMask
- func (o *DeviceType) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *DeviceType) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *DeviceType) Marshal() ([]byte, error)
- func (m *DeviceType) MarshalJSON() ([]byte, error)
- func (r *DeviceType) MaybePopulateDefaults() error
- func (o *DeviceType) Merge(source *DeviceType)
- func (o *DeviceType) MergeRaw(source gotenobject.GotenObjectExt)
- func (*DeviceType) ProtoMessage()
- func (m *DeviceType) ProtoReflect() preflect.Message
- func (m *DeviceType) Reset()
- func (m *DeviceType) SetArchitecture(fv DeviceType_Architecture)
- func (m *DeviceType) SetDescription(fv string)
- func (m *DeviceType) SetDisplayName(fv string)
- func (m *DeviceType) SetHardware(fv DeviceType_Hardware)
- func (m *DeviceType) SetMetadata(fv *meta.Meta)
- func (m *DeviceType) SetName(fv *Name)
- func (m *DeviceType) String() string
- func (m *DeviceType) Unmarshal(b []byte) error
- func (m *DeviceType) UnmarshalJSON(data []byte) error
- type DeviceTypeAccess
- type DeviceTypeChange
- func (*DeviceTypeChange) Descriptor() ([]byte, []int)
- func (m *DeviceTypeChange) GetAdded() *DeviceTypeChange_Added
- func (m *DeviceTypeChange) GetChangeType() isDeviceTypeChange_ChangeType
- func (m *DeviceTypeChange) GetCurrent() *DeviceTypeChange_Current
- func (c *DeviceTypeChange) GetCurrentViewIndex() int32
- func (c *DeviceTypeChange) GetDeviceType() *DeviceType
- func (c *DeviceTypeChange) GetDeviceTypeName() *Name
- func (m *DeviceTypeChange) GetModified() *DeviceTypeChange_Modified
- func (c *DeviceTypeChange) GetPreviousViewIndex() int32
- func (c *DeviceTypeChange) GetRawName() gotenresource.Name
- func (c *DeviceTypeChange) GetRawResource() gotenresource.Resource
- func (m *DeviceTypeChange) GetRemoved() *DeviceTypeChange_Removed
- func (*DeviceTypeChange) GotenMessage()
- func (obj *DeviceTypeChange) GotenValidate() error
- func (c *DeviceTypeChange) IsAdd() bool
- func (c *DeviceTypeChange) IsCurrent() bool
- func (c *DeviceTypeChange) IsDelete() bool
- func (c *DeviceTypeChange) IsModify() bool
- func (m *DeviceTypeChange) Marshal() ([]byte, error)
- func (m *DeviceTypeChange) MarshalJSON() ([]byte, error)
- func (*DeviceTypeChange) ProtoMessage()
- func (m *DeviceTypeChange) ProtoReflect() preflect.Message
- func (m *DeviceTypeChange) Reset()
- func (m *DeviceTypeChange) SetAdded(fv *DeviceTypeChange_Added)
- func (c *DeviceTypeChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *DeviceTypeChange) SetChangeType(ofv isDeviceTypeChange_ChangeType)
- func (m *DeviceTypeChange) SetCurrent(fv *DeviceTypeChange_Current)
- func (c *DeviceTypeChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *DeviceTypeChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *DeviceTypeChange) SetModified(fv *DeviceTypeChange_Modified)
- func (c *DeviceTypeChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *DeviceTypeChange) SetRemoved(fv *DeviceTypeChange_Removed)
- func (m *DeviceTypeChange) String() string
- func (m *DeviceTypeChange) Unmarshal(b []byte) error
- func (m *DeviceTypeChange) UnmarshalJSON(data []byte) error
- type DeviceTypeChangeList
- func (l DeviceTypeChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l DeviceTypeChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l DeviceTypeChangeList) At(idx int) gotenresource.ResourceChange
- func (l DeviceTypeChangeList) Length() int
- func (l DeviceTypeChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l DeviceTypeChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type DeviceTypeChangeMap
- func (m DeviceTypeChangeMap) Delete(name gotenresource.Name)
- func (m DeviceTypeChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m DeviceTypeChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m DeviceTypeChangeMap) Length() int
- func (m DeviceTypeChangeMap) Set(change gotenresource.ResourceChange)
- type DeviceTypeChange_Added
- func (*DeviceTypeChange_Added) Descriptor() ([]byte, []int)
- func (m *DeviceTypeChange_Added) GetDeviceType() *DeviceType
- func (m *DeviceTypeChange_Added) GetViewIndex() int32
- func (*DeviceTypeChange_Added) GotenMessage()
- func (obj *DeviceTypeChange_Added) GotenValidate() error
- func (m *DeviceTypeChange_Added) Marshal() ([]byte, error)
- func (m *DeviceTypeChange_Added) MarshalJSON() ([]byte, error)
- func (*DeviceTypeChange_Added) ProtoMessage()
- func (m *DeviceTypeChange_Added) ProtoReflect() preflect.Message
- func (m *DeviceTypeChange_Added) Reset()
- func (m *DeviceTypeChange_Added) SetDeviceType(fv *DeviceType)
- func (m *DeviceTypeChange_Added) SetViewIndex(fv int32)
- func (m *DeviceTypeChange_Added) String() string
- func (m *DeviceTypeChange_Added) Unmarshal(b []byte) error
- func (m *DeviceTypeChange_Added) UnmarshalJSON(data []byte) error
- type DeviceTypeChange_Added_
- type DeviceTypeChange_Current
- func (*DeviceTypeChange_Current) Descriptor() ([]byte, []int)
- func (m *DeviceTypeChange_Current) GetDeviceType() *DeviceType
- func (*DeviceTypeChange_Current) GotenMessage()
- func (obj *DeviceTypeChange_Current) GotenValidate() error
- func (m *DeviceTypeChange_Current) Marshal() ([]byte, error)
- func (m *DeviceTypeChange_Current) MarshalJSON() ([]byte, error)
- func (*DeviceTypeChange_Current) ProtoMessage()
- func (m *DeviceTypeChange_Current) ProtoReflect() preflect.Message
- func (m *DeviceTypeChange_Current) Reset()
- func (m *DeviceTypeChange_Current) SetDeviceType(fv *DeviceType)
- func (m *DeviceTypeChange_Current) String() string
- func (m *DeviceTypeChange_Current) Unmarshal(b []byte) error
- func (m *DeviceTypeChange_Current) UnmarshalJSON(data []byte) error
- type DeviceTypeChange_Current_
- type DeviceTypeChange_Modified
- func (*DeviceTypeChange_Modified) Descriptor() ([]byte, []int)
- func (m *DeviceTypeChange_Modified) GetDeviceType() *DeviceType
- func (m *DeviceTypeChange_Modified) GetFieldMask() *DeviceType_FieldMask
- func (m *DeviceTypeChange_Modified) GetName() *Name
- func (m *DeviceTypeChange_Modified) GetPreviousViewIndex() int32
- func (m *DeviceTypeChange_Modified) GetViewIndex() int32
- func (*DeviceTypeChange_Modified) GotenMessage()
- func (obj *DeviceTypeChange_Modified) GotenValidate() error
- func (m *DeviceTypeChange_Modified) Marshal() ([]byte, error)
- func (m *DeviceTypeChange_Modified) MarshalJSON() ([]byte, error)
- func (*DeviceTypeChange_Modified) ProtoMessage()
- func (m *DeviceTypeChange_Modified) ProtoReflect() preflect.Message
- func (m *DeviceTypeChange_Modified) Reset()
- func (m *DeviceTypeChange_Modified) SetDeviceType(fv *DeviceType)
- func (m *DeviceTypeChange_Modified) SetFieldMask(fv *DeviceType_FieldMask)
- func (m *DeviceTypeChange_Modified) SetName(fv *Name)
- func (m *DeviceTypeChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *DeviceTypeChange_Modified) SetViewIndex(fv int32)
- func (m *DeviceTypeChange_Modified) String() string
- func (m *DeviceTypeChange_Modified) Unmarshal(b []byte) error
- func (m *DeviceTypeChange_Modified) UnmarshalJSON(data []byte) error
- type DeviceTypeChange_Modified_
- type DeviceTypeChange_Removed
- func (*DeviceTypeChange_Removed) Descriptor() ([]byte, []int)
- func (m *DeviceTypeChange_Removed) GetName() *Name
- func (m *DeviceTypeChange_Removed) GetViewIndex() int32
- func (*DeviceTypeChange_Removed) GotenMessage()
- func (obj *DeviceTypeChange_Removed) GotenValidate() error
- func (m *DeviceTypeChange_Removed) Marshal() ([]byte, error)
- func (m *DeviceTypeChange_Removed) MarshalJSON() ([]byte, error)
- func (*DeviceTypeChange_Removed) ProtoMessage()
- func (m *DeviceTypeChange_Removed) ProtoReflect() preflect.Message
- func (m *DeviceTypeChange_Removed) Reset()
- func (m *DeviceTypeChange_Removed) SetName(fv *Name)
- func (m *DeviceTypeChange_Removed) SetViewIndex(fv int32)
- func (m *DeviceTypeChange_Removed) String() string
- func (m *DeviceTypeChange_Removed) Unmarshal(b []byte) error
- func (m *DeviceTypeChange_Removed) UnmarshalJSON(data []byte) error
- type DeviceTypeChange_Removed_
- type DeviceTypeFieldPathBuilder
- func (DeviceTypeFieldPathBuilder) Architecture() DeviceTypePathSelectorArchitecture
- func (DeviceTypeFieldPathBuilder) Description() DeviceTypePathSelectorDescription
- func (DeviceTypeFieldPathBuilder) DisplayName() DeviceTypePathSelectorDisplayName
- func (DeviceTypeFieldPathBuilder) Hardware() DeviceTypePathSelectorHardware
- func (DeviceTypeFieldPathBuilder) Metadata() DeviceTypePathSelectorMetadata
- func (DeviceTypeFieldPathBuilder) Name() DeviceTypePathSelectorName
- type DeviceTypeList
- func (l DeviceTypeList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l DeviceTypeList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l DeviceTypeList) At(idx int) gotenresource.Resource
- func (l DeviceTypeList) Length() int
- func (l DeviceTypeList) Set(idx int, res gotenresource.Resource)
- func (l DeviceTypeList) Slice(first, second int) gotenresource.ResourceList
- type DeviceTypeMap
- func (m DeviceTypeMap) Delete(name gotenresource.Name)
- func (m DeviceTypeMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
- func (m DeviceTypeMap) Get(name gotenresource.Name) gotenresource.Resource
- func (m DeviceTypeMap) Length() int
- func (m DeviceTypeMap) Set(res gotenresource.Resource)
- type DeviceTypeMapPathSelectorMetadataAnnotations
- func (s DeviceTypeMapPathSelectorMetadataAnnotations) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypeMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypeMapPathSelectorMetadataAnnotations) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypeMapPathSelectorMetadataLabels
- func (s DeviceTypeMapPathSelectorMetadataLabels) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypeMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypeMapPathSelectorMetadataLabels) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypeMapPathSelectorMetadataShards
- func (s DeviceTypeMapPathSelectorMetadataShards) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypeMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypeMapPathSelectorMetadataShards) WithValue(value int64) *DeviceType_FieldSubPathValue
- type DeviceTypeNameList
- func (l DeviceTypeNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l DeviceTypeNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l DeviceTypeNameList) At(idx int) gotenresource.Name
- func (l DeviceTypeNameList) Length() int
- func (l DeviceTypeNameList) Set(idx int, name gotenresource.Name)
- func (l DeviceTypeNameList) Slice(first, second int) gotenresource.NameList
- type DeviceTypePathSelectorArchitecture
- func (DeviceTypePathSelectorArchitecture) FieldPath() *DeviceType_FieldTerminalPath
- func (s DeviceTypePathSelectorArchitecture) WithArrayOfValues(values []DeviceType_Architecture) *DeviceType_FieldTerminalPathArrayOfValues
- func (s DeviceTypePathSelectorArchitecture) WithValue(value DeviceType_Architecture) *DeviceType_FieldTerminalPathValue
- type DeviceTypePathSelectorDescription
- func (DeviceTypePathSelectorDescription) FieldPath() *DeviceType_FieldTerminalPath
- func (s DeviceTypePathSelectorDescription) WithArrayOfValues(values []string) *DeviceType_FieldTerminalPathArrayOfValues
- func (s DeviceTypePathSelectorDescription) WithValue(value string) *DeviceType_FieldTerminalPathValue
- type DeviceTypePathSelectorDisplayName
- func (DeviceTypePathSelectorDisplayName) FieldPath() *DeviceType_FieldTerminalPath
- func (s DeviceTypePathSelectorDisplayName) WithArrayOfValues(values []string) *DeviceType_FieldTerminalPathArrayOfValues
- func (s DeviceTypePathSelectorDisplayName) WithValue(value string) *DeviceType_FieldTerminalPathValue
- type DeviceTypePathSelectorHardware
- func (DeviceTypePathSelectorHardware) FieldPath() *DeviceType_FieldTerminalPath
- func (s DeviceTypePathSelectorHardware) WithArrayOfValues(values []DeviceType_Hardware) *DeviceType_FieldTerminalPathArrayOfValues
- func (s DeviceTypePathSelectorHardware) WithValue(value DeviceType_Hardware) *DeviceType_FieldTerminalPathValue
- type DeviceTypePathSelectorMetadata
- func (DeviceTypePathSelectorMetadata) Annotations() DeviceTypePathSelectorMetadataAnnotations
- func (DeviceTypePathSelectorMetadata) CreateTime() DeviceTypePathSelectorMetadataCreateTime
- func (DeviceTypePathSelectorMetadata) DeleteTime() DeviceTypePathSelectorMetadataDeleteTime
- func (DeviceTypePathSelectorMetadata) FieldPath() *DeviceType_FieldTerminalPath
- func (DeviceTypePathSelectorMetadata) Generation() DeviceTypePathSelectorMetadataGeneration
- func (DeviceTypePathSelectorMetadata) Labels() DeviceTypePathSelectorMetadataLabels
- func (DeviceTypePathSelectorMetadata) Lifecycle() DeviceTypePathSelectorMetadataLifecycle
- func (DeviceTypePathSelectorMetadata) OwnerReferences() DeviceTypePathSelectorMetadataOwnerReferences
- func (DeviceTypePathSelectorMetadata) ResourceVersion() DeviceTypePathSelectorMetadataResourceVersion
- func (DeviceTypePathSelectorMetadata) Services() DeviceTypePathSelectorMetadataServices
- func (DeviceTypePathSelectorMetadata) Shards() DeviceTypePathSelectorMetadataShards
- func (DeviceTypePathSelectorMetadata) Syncing() DeviceTypePathSelectorMetadataSyncing
- func (DeviceTypePathSelectorMetadata) Tags() DeviceTypePathSelectorMetadataTags
- func (DeviceTypePathSelectorMetadata) UpdateTime() DeviceTypePathSelectorMetadataUpdateTime
- func (DeviceTypePathSelectorMetadata) Uuid() DeviceTypePathSelectorMetadataUuid
- func (s DeviceTypePathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *DeviceType_FieldTerminalPathArrayOfValues
- func (s DeviceTypePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *DeviceType_FieldSubPathArrayItemValue
- func (s DeviceTypePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *DeviceType_FieldSubPathArrayOfValues
- func (DeviceTypePathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *DeviceType_FieldSubPathValue
- func (s DeviceTypePathSelectorMetadata) WithValue(value *meta.Meta) *DeviceType_FieldTerminalPathValue
- type DeviceTypePathSelectorMetadataAnnotations
- func (DeviceTypePathSelectorMetadataAnnotations) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *DeviceType_FieldSubPathArrayOfValues
- func (DeviceTypePathSelectorMetadataAnnotations) WithKey(key string) DeviceTypeMapPathSelectorMetadataAnnotations
- func (s DeviceTypePathSelectorMetadataAnnotations) WithValue(value map[string]string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataCreateTime
- func (DeviceTypePathSelectorMetadataCreateTime) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataDeleteTime
- func (DeviceTypePathSelectorMetadataDeleteTime) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataGeneration
- func (DeviceTypePathSelectorMetadataGeneration) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataGeneration) WithValue(value int64) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataLabels
- func (DeviceTypePathSelectorMetadataLabels) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *DeviceType_FieldSubPathArrayOfValues
- func (DeviceTypePathSelectorMetadataLabels) WithKey(key string) DeviceTypeMapPathSelectorMetadataLabels
- func (s DeviceTypePathSelectorMetadataLabels) WithValue(value map[string]string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataLifecycle
- func (DeviceTypePathSelectorMetadataLifecycle) BlockDeletion() DeviceTypePathSelectorMetadataLifecycleBlockDeletion
- func (DeviceTypePathSelectorMetadataLifecycle) FieldPath() *DeviceType_FieldSubPath
- func (DeviceTypePathSelectorMetadataLifecycle) State() DeviceTypePathSelectorMetadataLifecycleState
- func (s DeviceTypePathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataLifecycleBlockDeletion
- func (DeviceTypePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataLifecycleState
- func (DeviceTypePathSelectorMetadataLifecycleState) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferences
- func (DeviceTypePathSelectorMetadataOwnerReferences) Controller() DeviceTypePathSelectorMetadataOwnerReferencesController
- func (DeviceTypePathSelectorMetadataOwnerReferences) FieldPath() *DeviceType_FieldSubPath
- func (DeviceTypePathSelectorMetadataOwnerReferences) Kind() DeviceTypePathSelectorMetadataOwnerReferencesKind
- func (DeviceTypePathSelectorMetadataOwnerReferences) Name() DeviceTypePathSelectorMetadataOwnerReferencesName
- func (DeviceTypePathSelectorMetadataOwnerReferences) Region() DeviceTypePathSelectorMetadataOwnerReferencesRegion
- func (DeviceTypePathSelectorMetadataOwnerReferences) RequiresOwnerReference() DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (DeviceTypePathSelectorMetadataOwnerReferences) Version() DeviceTypePathSelectorMetadataOwnerReferencesVersion
- func (s DeviceTypePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *DeviceType_FieldSubPathArrayItemValue
- func (s DeviceTypePathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesController
- func (DeviceTypePathSelectorMetadataOwnerReferencesController) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesKind
- func (DeviceTypePathSelectorMetadataOwnerReferencesKind) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesName
- func (DeviceTypePathSelectorMetadataOwnerReferencesName) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesName) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesRegion
- func (DeviceTypePathSelectorMetadataOwnerReferencesRegion) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataOwnerReferencesVersion
- func (DeviceTypePathSelectorMetadataOwnerReferencesVersion) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataResourceVersion
- func (DeviceTypePathSelectorMetadataResourceVersion) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataResourceVersion) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataServices
- func (DeviceTypePathSelectorMetadataServices) AllowedServices() DeviceTypePathSelectorMetadataServicesAllowedServices
- func (DeviceTypePathSelectorMetadataServices) FieldPath() *DeviceType_FieldSubPath
- func (DeviceTypePathSelectorMetadataServices) OwningService() DeviceTypePathSelectorMetadataServicesOwningService
- func (s DeviceTypePathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataServicesAllowedServices
- func (DeviceTypePathSelectorMetadataServicesAllowedServices) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
- func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithValue(value []string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataServicesOwningService
- func (DeviceTypePathSelectorMetadataServicesOwningService) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataServicesOwningService) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataShards
- func (DeviceTypePathSelectorMetadataShards) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *DeviceType_FieldSubPathArrayOfValues
- func (DeviceTypePathSelectorMetadataShards) WithKey(key string) DeviceTypeMapPathSelectorMetadataShards
- func (s DeviceTypePathSelectorMetadataShards) WithValue(value map[string]int64) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataSyncing
- func (DeviceTypePathSelectorMetadataSyncing) FieldPath() *DeviceType_FieldSubPath
- func (DeviceTypePathSelectorMetadataSyncing) OwningRegion() DeviceTypePathSelectorMetadataSyncingOwningRegion
- func (DeviceTypePathSelectorMetadataSyncing) Regions() DeviceTypePathSelectorMetadataSyncingRegions
- func (s DeviceTypePathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataSyncingOwningRegion
- func (DeviceTypePathSelectorMetadataSyncingOwningRegion) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataSyncingRegions
- func (DeviceTypePathSelectorMetadataSyncingRegions) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataSyncingRegions) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
- func (s DeviceTypePathSelectorMetadataSyncingRegions) WithValue(value []string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataTags
- func (DeviceTypePathSelectorMetadataTags) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataTags) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
- func (s DeviceTypePathSelectorMetadataTags) WithValue(value []string) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataUpdateTime
- func (DeviceTypePathSelectorMetadataUpdateTime) FieldPath() *DeviceType_FieldSubPath
- func (s DeviceTypePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
- func (s DeviceTypePathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
- type DeviceTypePathSelectorMetadataUuid
- type DeviceTypePathSelectorName
- type DeviceTypeReferenceList
- func (l DeviceTypeReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l DeviceTypeReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l DeviceTypeReferenceList) At(idx int) gotenresource.Reference
- func (l DeviceTypeReferenceList) Length() int
- func (l DeviceTypeReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l DeviceTypeReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type DeviceType_Architecture
- func (DeviceType_Architecture) Descriptor() preflect.EnumDescriptor
- func (x DeviceType_Architecture) Enum() *DeviceType_Architecture
- func (DeviceType_Architecture) EnumDescriptor() ([]byte, []int)
- func (x DeviceType_Architecture) Number() preflect.EnumNumber
- func (x DeviceType_Architecture) String() string
- func (DeviceType_Architecture) Type() preflect.EnumType
- type DeviceType_FieldMask
- func (fieldMask *DeviceType_FieldMask) AppendPath(path DeviceType_FieldPath)
- func (fieldMask *DeviceType_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *DeviceType_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *DeviceType_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *DeviceType_FieldMask) FilterInputFields() *DeviceType_FieldMask
- func (fieldMask *DeviceType_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
- func (fieldMask *DeviceType_FieldMask) GetPaths() []DeviceType_FieldPath
- func (fieldMask *DeviceType_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *DeviceType_FieldMask) IsFull() bool
- func (fieldMask DeviceType_FieldMask) Marshal() ([]byte, error)
- func (fieldMask DeviceType_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *DeviceType_FieldMask) PathsCount() int
- func (fieldMask *DeviceType_FieldMask) Project(source *DeviceType) *DeviceType
- func (fieldMask *DeviceType_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *DeviceType_FieldMask) ProtoMessage()
- func (fieldMask *DeviceType_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *DeviceType_FieldMask) Reset()
- func (fieldMask *DeviceType_FieldMask) Set(target, source *DeviceType)
- func (fieldMask *DeviceType_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *DeviceType_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *DeviceType_FieldMask) Size() int
- func (fieldMask *DeviceType_FieldMask) String() string
- func (fieldMask *DeviceType_FieldMask) Subtract(other *DeviceType_FieldMask) *DeviceType_FieldMask
- func (fieldMask *DeviceType_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *DeviceType_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
- func (fieldMask *DeviceType_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *DeviceType_FieldMask) UnmarshalJSON(data []byte) error
- type DeviceType_FieldPath
- type DeviceType_FieldPathArrayItemValue
- type DeviceType_FieldPathArrayOfValues
- type DeviceType_FieldPathSelector
- type DeviceType_FieldPathValue
- type DeviceType_FieldSubPath
- func (fps *DeviceType_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
- func (fps *DeviceType_FieldSubPath) ClearValue(item *DeviceType)
- func (fps *DeviceType_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *DeviceType_FieldSubPath) Get(source *DeviceType) (values []interface{})
- func (fps *DeviceType_FieldSubPath) GetDefault() interface{}
- func (fps *DeviceType_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *DeviceType_FieldSubPath) GetSingle(source *DeviceType) (interface{}, bool)
- func (fps *DeviceType_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *DeviceType_FieldSubPath) IsLeaf() bool
- func (fps *DeviceType_FieldSubPath) JSONString() string
- func (fps *DeviceType_FieldSubPath) Selector() DeviceType_FieldPathSelector
- func (fps *DeviceType_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *DeviceType_FieldSubPath) String() string
- func (fps *DeviceType_FieldSubPath) WithIArrayItemValue(value interface{}) DeviceType_FieldPathArrayItemValue
- func (fps *DeviceType_FieldSubPath) WithIArrayOfValues(values interface{}) DeviceType_FieldPathArrayOfValues
- func (fps *DeviceType_FieldSubPath) WithIValue(value interface{}) DeviceType_FieldPathValue
- func (fps *DeviceType_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *DeviceType_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *DeviceType_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type DeviceType_FieldSubPathArrayItemValue
- type DeviceType_FieldSubPathArrayOfValues
- type DeviceType_FieldSubPathValue
- func (fpvs *DeviceType_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
- func (fpvs *DeviceType_FieldSubPathValue) CompareWith(source *DeviceType) (int, bool)
- func (fpvs *DeviceType_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *DeviceType_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *DeviceType_FieldSubPathValue) SetTo(target **DeviceType)
- func (fpvs *DeviceType_FieldSubPathValue) SetToRaw(target proto.Message)
- type DeviceType_FieldTerminalPath
- func (fp *DeviceType_FieldTerminalPath) ClearValue(item *DeviceType)
- func (fp *DeviceType_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *DeviceType_FieldTerminalPath) Get(source *DeviceType) (values []interface{})
- func (fp *DeviceType_FieldTerminalPath) GetDefault() interface{}
- func (fp *DeviceType_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *DeviceType_FieldTerminalPath) GetSingle(source *DeviceType) (interface{}, bool)
- func (fp *DeviceType_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *DeviceType_FieldTerminalPath) IsLeaf() bool
- func (fp *DeviceType_FieldTerminalPath) JSONString() string
- func (fp *DeviceType_FieldTerminalPath) Selector() DeviceType_FieldPathSelector
- func (fp *DeviceType_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *DeviceType_FieldTerminalPath) String() string
- func (fp *DeviceType_FieldTerminalPath) WithIArrayItemValue(value interface{}) DeviceType_FieldPathArrayItemValue
- func (fp *DeviceType_FieldTerminalPath) WithIArrayOfValues(values interface{}) DeviceType_FieldPathArrayOfValues
- func (fp *DeviceType_FieldTerminalPath) WithIValue(value interface{}) DeviceType_FieldPathValue
- func (fp *DeviceType_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *DeviceType_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *DeviceType_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type DeviceType_FieldTerminalPathArrayItemValue
- func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) ContainsValue(source *DeviceType) bool
- func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetSingle(source *DeviceType) (interface{}, bool)
- func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type DeviceType_FieldTerminalPathArrayOfValues
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsArchitectureArrayOfValues() ([]DeviceType_Architecture, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsHardwareArrayOfValues() ([]DeviceType_Hardware, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type DeviceType_FieldTerminalPathValue
- func (fpv *DeviceType_FieldTerminalPathValue) AsArchitectureValue() (DeviceType_Architecture, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) AsHardwareValue() (DeviceType_Hardware, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) CompareWith(source *DeviceType) (int, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *DeviceType_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *DeviceType_FieldTerminalPathValue) SetTo(target **DeviceType)
- func (fpv *DeviceType_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type DeviceType_Hardware
- func (DeviceType_Hardware) Descriptor() preflect.EnumDescriptor
- func (x DeviceType_Hardware) Enum() *DeviceType_Hardware
- func (DeviceType_Hardware) EnumDescriptor() ([]byte, []int)
- func (x DeviceType_Hardware) Number() preflect.EnumNumber
- func (x DeviceType_Hardware) String() string
- func (DeviceType_Hardware) Type() preflect.EnumType
- 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 *DeviceType) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*DeviceType) (out []*DeviceType)
- 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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() DeviceType_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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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) GetPattern() gotenresource.NamePattern
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *DeviceType) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *DeviceType_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted DeviceTypeList, elem *DeviceType) (DeviceTypeList, 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 DeviceTypeList)
- 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 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) GetDeviceType() *DeviceType
- 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 *DeviceType)
- 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 = "deviceTypes/{device_type}"
)
Variables ¶
var ( DeviceType_Hardware_name = map[int32]string{ 0: "HARDWARE_UNSPECIFIED", 1: "GENERIC", 2: "RASPBERRYPI", } DeviceType_Hardware_value = map[string]int32{ "HARDWARE_UNSPECIFIED": 0, "GENERIC": 1, "RASPBERRYPI": 2, } )
var ( DeviceType_Architecture_name = map[int32]string{ 0: "ARCHITECTURE_UNSPECIFIED", 1: "AMD64", 2: "ARM64", } DeviceType_Architecture_value = map[string]int32{ "ARCHITECTURE_UNSPECIFIED": 0, "AMD64": 1, "ARM64": 2, } )
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access DeviceTypeAccess) gotenresource.Access
Types ¶
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 DeviceType ¶
type DeviceType struct { // Name of DeviceType // 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,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // Display name of Device Type DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"` Hardware DeviceType_Hardware `` /* 131-byte string literal not displayed */ Architecture DeviceType_Architecture `` /* 147-byte string literal not displayed */ // Description of the Device Type Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty" firestore:"description"` // contains filtered or unexported fields }
DeviceType Resource
func (*DeviceType) Clone ¶
func (o *DeviceType) Clone() *DeviceType
func (*DeviceType) CloneRaw ¶
func (o *DeviceType) CloneRaw() gotenobject.GotenObjectExt
func (*DeviceType) Descriptor ¶
func (*DeviceType) Descriptor() ([]byte, []int)
Deprecated, Use DeviceType.ProtoReflect.Descriptor instead.
func (*DeviceType) EnsureMetadata ¶
func (r *DeviceType) EnsureMetadata() *meta.Meta
func (*DeviceType) GetArchitecture ¶
func (m *DeviceType) GetArchitecture() DeviceType_Architecture
func (*DeviceType) GetDescription ¶
func (m *DeviceType) GetDescription() string
func (*DeviceType) GetDisplayName ¶
func (m *DeviceType) GetDisplayName() string
func (*DeviceType) GetHardware ¶
func (m *DeviceType) GetHardware() DeviceType_Hardware
func (*DeviceType) GetMetadata ¶
func (m *DeviceType) GetMetadata() *meta.Meta
func (*DeviceType) GetName ¶
func (m *DeviceType) GetName() *Name
func (*DeviceType) GetRawName ¶
func (r *DeviceType) GetRawName() gotenresource.Name
func (*DeviceType) GetResourceDescriptor ¶
func (r *DeviceType) GetResourceDescriptor() gotenresource.Descriptor
func (*DeviceType) GotenMessage ¶
func (*DeviceType) GotenMessage()
func (*DeviceType) GotenObjectExt ¶
func (o *DeviceType) GotenObjectExt()
func (*DeviceType) GotenValidate ¶
func (obj *DeviceType) GotenValidate() error
func (*DeviceType) MakeDiffFieldMask ¶
func (o *DeviceType) MakeDiffFieldMask(other *DeviceType) *DeviceType_FieldMask
func (*DeviceType) MakeFullFieldMask ¶
func (o *DeviceType) MakeFullFieldMask() *DeviceType_FieldMask
func (*DeviceType) MakeRawDiffFieldMask ¶
func (o *DeviceType) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*DeviceType) MakeRawFullFieldMask ¶
func (o *DeviceType) MakeRawFullFieldMask() gotenobject.FieldMask
func (*DeviceType) Marshal ¶
func (m *DeviceType) Marshal() ([]byte, error)
func (*DeviceType) MarshalJSON ¶
func (m *DeviceType) MarshalJSON() ([]byte, error)
func (*DeviceType) MaybePopulateDefaults ¶
func (r *DeviceType) MaybePopulateDefaults() error
func (*DeviceType) Merge ¶
func (o *DeviceType) Merge(source *DeviceType)
func (*DeviceType) MergeRaw ¶
func (o *DeviceType) MergeRaw(source gotenobject.GotenObjectExt)
func (*DeviceType) ProtoMessage ¶
func (*DeviceType) ProtoMessage()
func (*DeviceType) ProtoReflect ¶
func (m *DeviceType) ProtoReflect() preflect.Message
func (*DeviceType) Reset ¶
func (m *DeviceType) Reset()
func (*DeviceType) SetArchitecture ¶
func (m *DeviceType) SetArchitecture(fv DeviceType_Architecture)
func (*DeviceType) SetDescription ¶
func (m *DeviceType) SetDescription(fv string)
func (*DeviceType) SetDisplayName ¶
func (m *DeviceType) SetDisplayName(fv string)
func (*DeviceType) SetHardware ¶
func (m *DeviceType) SetHardware(fv DeviceType_Hardware)
func (*DeviceType) SetMetadata ¶
func (m *DeviceType) SetMetadata(fv *meta.Meta)
func (*DeviceType) SetName ¶
func (m *DeviceType) SetName(fv *Name)
func (*DeviceType) String ¶
func (m *DeviceType) String() string
func (*DeviceType) Unmarshal ¶
func (m *DeviceType) Unmarshal(b []byte) error
func (*DeviceType) UnmarshalJSON ¶
func (m *DeviceType) UnmarshalJSON(data []byte) error
type DeviceTypeAccess ¶
type DeviceTypeAccess interface { GetDeviceType(context.Context, *GetQuery) (*DeviceType, error) BatchGetDeviceTypes(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryDeviceTypes(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchDeviceType(context.Context, *GetQuery, func(*DeviceTypeChange) error) error WatchDeviceTypes(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveDeviceType(context.Context, *DeviceType, ...gotenresource.SaveOption) error DeleteDeviceType(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type DeviceTypeChange ¶
type DeviceTypeChange struct { // DeviceType change // // Types that are valid to be assigned to ChangeType: // *DeviceTypeChange_Added_ // *DeviceTypeChange_Modified_ // *DeviceTypeChange_Current_ // *DeviceTypeChange_Removed_ ChangeType isDeviceTypeChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
DeviceTypeChange is used by Watch notifications Responses to describe change of single DeviceType One of Added, Modified, Removed
func (*DeviceTypeChange) Descriptor ¶
func (*DeviceTypeChange) Descriptor() ([]byte, []int)
Deprecated, Use DeviceTypeChange.ProtoReflect.Descriptor instead.
func (*DeviceTypeChange) GetAdded ¶
func (m *DeviceTypeChange) GetAdded() *DeviceTypeChange_Added
func (*DeviceTypeChange) GetChangeType ¶
func (m *DeviceTypeChange) GetChangeType() isDeviceTypeChange_ChangeType
func (*DeviceTypeChange) GetCurrent ¶
func (m *DeviceTypeChange) GetCurrent() *DeviceTypeChange_Current
func (*DeviceTypeChange) GetCurrentViewIndex ¶
func (c *DeviceTypeChange) GetCurrentViewIndex() int32
func (*DeviceTypeChange) GetDeviceType ¶
func (c *DeviceTypeChange) GetDeviceType() *DeviceType
func (*DeviceTypeChange) GetDeviceTypeName ¶
func (c *DeviceTypeChange) GetDeviceTypeName() *Name
func (*DeviceTypeChange) GetModified ¶
func (m *DeviceTypeChange) GetModified() *DeviceTypeChange_Modified
func (*DeviceTypeChange) GetPreviousViewIndex ¶
func (c *DeviceTypeChange) GetPreviousViewIndex() int32
func (*DeviceTypeChange) GetRawName ¶
func (c *DeviceTypeChange) GetRawName() gotenresource.Name
func (*DeviceTypeChange) GetRawResource ¶
func (c *DeviceTypeChange) GetRawResource() gotenresource.Resource
func (*DeviceTypeChange) GetRemoved ¶
func (m *DeviceTypeChange) GetRemoved() *DeviceTypeChange_Removed
func (*DeviceTypeChange) GotenMessage ¶
func (*DeviceTypeChange) GotenMessage()
func (*DeviceTypeChange) GotenValidate ¶
func (obj *DeviceTypeChange) GotenValidate() error
func (*DeviceTypeChange) IsAdd ¶
func (c *DeviceTypeChange) IsAdd() bool
func (*DeviceTypeChange) IsCurrent ¶
func (c *DeviceTypeChange) IsCurrent() bool
func (*DeviceTypeChange) IsDelete ¶
func (c *DeviceTypeChange) IsDelete() bool
func (*DeviceTypeChange) IsModify ¶
func (c *DeviceTypeChange) IsModify() bool
func (*DeviceTypeChange) Marshal ¶
func (m *DeviceTypeChange) Marshal() ([]byte, error)
func (*DeviceTypeChange) MarshalJSON ¶
func (m *DeviceTypeChange) MarshalJSON() ([]byte, error)
func (*DeviceTypeChange) ProtoMessage ¶
func (*DeviceTypeChange) ProtoMessage()
func (*DeviceTypeChange) ProtoReflect ¶
func (m *DeviceTypeChange) ProtoReflect() preflect.Message
func (*DeviceTypeChange) Reset ¶
func (m *DeviceTypeChange) Reset()
func (*DeviceTypeChange) SetAdded ¶
func (m *DeviceTypeChange) SetAdded(fv *DeviceTypeChange_Added)
func (*DeviceTypeChange) SetAddedRaw ¶
func (c *DeviceTypeChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*DeviceTypeChange) SetChangeType ¶
func (m *DeviceTypeChange) SetChangeType(ofv isDeviceTypeChange_ChangeType)
func (*DeviceTypeChange) SetCurrent ¶
func (m *DeviceTypeChange) SetCurrent(fv *DeviceTypeChange_Current)
func (*DeviceTypeChange) SetCurrentRaw ¶
func (c *DeviceTypeChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*DeviceTypeChange) SetDeletedRaw ¶
func (c *DeviceTypeChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*DeviceTypeChange) SetModified ¶
func (m *DeviceTypeChange) SetModified(fv *DeviceTypeChange_Modified)
func (*DeviceTypeChange) SetModifiedRaw ¶
func (c *DeviceTypeChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*DeviceTypeChange) SetRemoved ¶
func (m *DeviceTypeChange) SetRemoved(fv *DeviceTypeChange_Removed)
func (*DeviceTypeChange) String ¶
func (m *DeviceTypeChange) String() string
func (*DeviceTypeChange) Unmarshal ¶
func (m *DeviceTypeChange) Unmarshal(b []byte) error
func (*DeviceTypeChange) UnmarshalJSON ¶
func (m *DeviceTypeChange) UnmarshalJSON(data []byte) error
type DeviceTypeChangeList ¶
type DeviceTypeChangeList []*DeviceTypeChange
func (DeviceTypeChangeList) Append ¶
func (l DeviceTypeChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (DeviceTypeChangeList) AppendList ¶
func (l DeviceTypeChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (DeviceTypeChangeList) At ¶
func (l DeviceTypeChangeList) At(idx int) gotenresource.ResourceChange
func (DeviceTypeChangeList) Length ¶
func (l DeviceTypeChangeList) Length() int
func (DeviceTypeChangeList) Set ¶
func (l DeviceTypeChangeList) Set(idx int, change gotenresource.ResourceChange)
func (DeviceTypeChangeList) Slice ¶
func (l DeviceTypeChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type DeviceTypeChangeMap ¶
type DeviceTypeChangeMap map[Name]*DeviceTypeChange
func (DeviceTypeChangeMap) Delete ¶
func (m DeviceTypeChangeMap) Delete(name gotenresource.Name)
func (DeviceTypeChangeMap) ForEach ¶
func (m DeviceTypeChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (DeviceTypeChangeMap) Get ¶
func (m DeviceTypeChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (DeviceTypeChangeMap) Length ¶
func (m DeviceTypeChangeMap) Length() int
func (DeviceTypeChangeMap) Set ¶
func (m DeviceTypeChangeMap) Set(change gotenresource.ResourceChange)
type DeviceTypeChange_Added ¶
type DeviceTypeChange_Added struct { DeviceType *DeviceType `protobuf:"bytes,1,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty" firestore:"deviceType"` // Integer describing index of added DeviceType 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 }
DeviceType has been added to query view
func (*DeviceTypeChange_Added) Descriptor ¶
func (*DeviceTypeChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use DeviceTypeChange_Added.ProtoReflect.Descriptor instead.
func (*DeviceTypeChange_Added) GetDeviceType ¶
func (m *DeviceTypeChange_Added) GetDeviceType() *DeviceType
func (*DeviceTypeChange_Added) GetViewIndex ¶
func (m *DeviceTypeChange_Added) GetViewIndex() int32
func (*DeviceTypeChange_Added) GotenMessage ¶
func (*DeviceTypeChange_Added) GotenMessage()
func (*DeviceTypeChange_Added) GotenValidate ¶
func (obj *DeviceTypeChange_Added) GotenValidate() error
func (*DeviceTypeChange_Added) Marshal ¶
func (m *DeviceTypeChange_Added) Marshal() ([]byte, error)
func (*DeviceTypeChange_Added) MarshalJSON ¶
func (m *DeviceTypeChange_Added) MarshalJSON() ([]byte, error)
func (*DeviceTypeChange_Added) ProtoMessage ¶
func (*DeviceTypeChange_Added) ProtoMessage()
func (*DeviceTypeChange_Added) ProtoReflect ¶
func (m *DeviceTypeChange_Added) ProtoReflect() preflect.Message
func (*DeviceTypeChange_Added) Reset ¶
func (m *DeviceTypeChange_Added) Reset()
func (*DeviceTypeChange_Added) SetDeviceType ¶
func (m *DeviceTypeChange_Added) SetDeviceType(fv *DeviceType)
func (*DeviceTypeChange_Added) SetViewIndex ¶
func (m *DeviceTypeChange_Added) SetViewIndex(fv int32)
func (*DeviceTypeChange_Added) String ¶
func (m *DeviceTypeChange_Added) String() string
func (*DeviceTypeChange_Added) Unmarshal ¶
func (m *DeviceTypeChange_Added) Unmarshal(b []byte) error
func (*DeviceTypeChange_Added) UnmarshalJSON ¶
func (m *DeviceTypeChange_Added) UnmarshalJSON(data []byte) error
type DeviceTypeChange_Added_ ¶
type DeviceTypeChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *DeviceTypeChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type DeviceTypeChange_Current ¶
type DeviceTypeChange_Current struct { DeviceType *DeviceType `protobuf:"bytes,1,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty" firestore:"deviceType"` // contains filtered or unexported fields }
DeviceType has been added or modified in a query view. Version used for stateless watching
func (*DeviceTypeChange_Current) Descriptor ¶
func (*DeviceTypeChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use DeviceTypeChange_Current.ProtoReflect.Descriptor instead.
func (*DeviceTypeChange_Current) GetDeviceType ¶
func (m *DeviceTypeChange_Current) GetDeviceType() *DeviceType
func (*DeviceTypeChange_Current) GotenMessage ¶
func (*DeviceTypeChange_Current) GotenMessage()
func (*DeviceTypeChange_Current) GotenValidate ¶
func (obj *DeviceTypeChange_Current) GotenValidate() error
func (*DeviceTypeChange_Current) Marshal ¶
func (m *DeviceTypeChange_Current) Marshal() ([]byte, error)
func (*DeviceTypeChange_Current) MarshalJSON ¶
func (m *DeviceTypeChange_Current) MarshalJSON() ([]byte, error)
func (*DeviceTypeChange_Current) ProtoMessage ¶
func (*DeviceTypeChange_Current) ProtoMessage()
func (*DeviceTypeChange_Current) ProtoReflect ¶
func (m *DeviceTypeChange_Current) ProtoReflect() preflect.Message
func (*DeviceTypeChange_Current) Reset ¶
func (m *DeviceTypeChange_Current) Reset()
func (*DeviceTypeChange_Current) SetDeviceType ¶
func (m *DeviceTypeChange_Current) SetDeviceType(fv *DeviceType)
func (*DeviceTypeChange_Current) String ¶
func (m *DeviceTypeChange_Current) String() string
func (*DeviceTypeChange_Current) Unmarshal ¶
func (m *DeviceTypeChange_Current) Unmarshal(b []byte) error
func (*DeviceTypeChange_Current) UnmarshalJSON ¶
func (m *DeviceTypeChange_Current) UnmarshalJSON(data []byte) error
type DeviceTypeChange_Current_ ¶
type DeviceTypeChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *DeviceTypeChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type DeviceTypeChange_Modified ¶
type DeviceTypeChange_Modified struct { // Name of modified DeviceType Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of DeviceType or masked difference, depending on mask_changes // instrumentation of issued [WatchDeviceTypeRequest] or // [WatchDeviceTypesRequest] DeviceType *DeviceType `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty" firestore:"deviceType"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *DeviceType_FieldMask `` /* 142-byte string literal not displayed */ // Previous view index specifies previous position of modified DeviceType. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying DeviceType 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 }
DeviceType changed some of it's fields - contains either full document or masked change
func (*DeviceTypeChange_Modified) Descriptor ¶
func (*DeviceTypeChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use DeviceTypeChange_Modified.ProtoReflect.Descriptor instead.
func (*DeviceTypeChange_Modified) GetDeviceType ¶
func (m *DeviceTypeChange_Modified) GetDeviceType() *DeviceType
func (*DeviceTypeChange_Modified) GetFieldMask ¶
func (m *DeviceTypeChange_Modified) GetFieldMask() *DeviceType_FieldMask
func (*DeviceTypeChange_Modified) GetName ¶
func (m *DeviceTypeChange_Modified) GetName() *Name
func (*DeviceTypeChange_Modified) GetPreviousViewIndex ¶
func (m *DeviceTypeChange_Modified) GetPreviousViewIndex() int32
func (*DeviceTypeChange_Modified) GetViewIndex ¶
func (m *DeviceTypeChange_Modified) GetViewIndex() int32
func (*DeviceTypeChange_Modified) GotenMessage ¶
func (*DeviceTypeChange_Modified) GotenMessage()
func (*DeviceTypeChange_Modified) GotenValidate ¶
func (obj *DeviceTypeChange_Modified) GotenValidate() error
func (*DeviceTypeChange_Modified) Marshal ¶
func (m *DeviceTypeChange_Modified) Marshal() ([]byte, error)
func (*DeviceTypeChange_Modified) MarshalJSON ¶
func (m *DeviceTypeChange_Modified) MarshalJSON() ([]byte, error)
func (*DeviceTypeChange_Modified) ProtoMessage ¶
func (*DeviceTypeChange_Modified) ProtoMessage()
func (*DeviceTypeChange_Modified) ProtoReflect ¶
func (m *DeviceTypeChange_Modified) ProtoReflect() preflect.Message
func (*DeviceTypeChange_Modified) Reset ¶
func (m *DeviceTypeChange_Modified) Reset()
func (*DeviceTypeChange_Modified) SetDeviceType ¶
func (m *DeviceTypeChange_Modified) SetDeviceType(fv *DeviceType)
func (*DeviceTypeChange_Modified) SetFieldMask ¶
func (m *DeviceTypeChange_Modified) SetFieldMask(fv *DeviceType_FieldMask)
func (*DeviceTypeChange_Modified) SetName ¶
func (m *DeviceTypeChange_Modified) SetName(fv *Name)
func (*DeviceTypeChange_Modified) SetPreviousViewIndex ¶
func (m *DeviceTypeChange_Modified) SetPreviousViewIndex(fv int32)
func (*DeviceTypeChange_Modified) SetViewIndex ¶
func (m *DeviceTypeChange_Modified) SetViewIndex(fv int32)
func (*DeviceTypeChange_Modified) String ¶
func (m *DeviceTypeChange_Modified) String() string
func (*DeviceTypeChange_Modified) Unmarshal ¶
func (m *DeviceTypeChange_Modified) Unmarshal(b []byte) error
func (*DeviceTypeChange_Modified) UnmarshalJSON ¶
func (m *DeviceTypeChange_Modified) UnmarshalJSON(data []byte) error
type DeviceTypeChange_Modified_ ¶
type DeviceTypeChange_Modified_ struct { // Modified is returned when watched document is modified Modified *DeviceTypeChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type DeviceTypeChange_Removed ¶
type DeviceTypeChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed DeviceType 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 DeviceType is deleted or leaves Query view
func (*DeviceTypeChange_Removed) Descriptor ¶
func (*DeviceTypeChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use DeviceTypeChange_Removed.ProtoReflect.Descriptor instead.
func (*DeviceTypeChange_Removed) GetName ¶
func (m *DeviceTypeChange_Removed) GetName() *Name
func (*DeviceTypeChange_Removed) GetViewIndex ¶
func (m *DeviceTypeChange_Removed) GetViewIndex() int32
func (*DeviceTypeChange_Removed) GotenMessage ¶
func (*DeviceTypeChange_Removed) GotenMessage()
func (*DeviceTypeChange_Removed) GotenValidate ¶
func (obj *DeviceTypeChange_Removed) GotenValidate() error
func (*DeviceTypeChange_Removed) Marshal ¶
func (m *DeviceTypeChange_Removed) Marshal() ([]byte, error)
func (*DeviceTypeChange_Removed) MarshalJSON ¶
func (m *DeviceTypeChange_Removed) MarshalJSON() ([]byte, error)
func (*DeviceTypeChange_Removed) ProtoMessage ¶
func (*DeviceTypeChange_Removed) ProtoMessage()
func (*DeviceTypeChange_Removed) ProtoReflect ¶
func (m *DeviceTypeChange_Removed) ProtoReflect() preflect.Message
func (*DeviceTypeChange_Removed) Reset ¶
func (m *DeviceTypeChange_Removed) Reset()
func (*DeviceTypeChange_Removed) SetName ¶
func (m *DeviceTypeChange_Removed) SetName(fv *Name)
func (*DeviceTypeChange_Removed) SetViewIndex ¶
func (m *DeviceTypeChange_Removed) SetViewIndex(fv int32)
func (*DeviceTypeChange_Removed) String ¶
func (m *DeviceTypeChange_Removed) String() string
func (*DeviceTypeChange_Removed) Unmarshal ¶
func (m *DeviceTypeChange_Removed) Unmarshal(b []byte) error
func (*DeviceTypeChange_Removed) UnmarshalJSON ¶
func (m *DeviceTypeChange_Removed) UnmarshalJSON(data []byte) error
type DeviceTypeChange_Removed_ ¶
type DeviceTypeChange_Removed_ struct { // Removed is returned when DeviceType is deleted or leaves Query view Removed *DeviceTypeChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type DeviceTypeFieldPathBuilder ¶
type DeviceTypeFieldPathBuilder struct{}
func NewDeviceTypeFieldPathBuilder ¶
func NewDeviceTypeFieldPathBuilder() DeviceTypeFieldPathBuilder
func (DeviceTypeFieldPathBuilder) Architecture ¶
func (DeviceTypeFieldPathBuilder) Architecture() DeviceTypePathSelectorArchitecture
func (DeviceTypeFieldPathBuilder) Description ¶
func (DeviceTypeFieldPathBuilder) Description() DeviceTypePathSelectorDescription
func (DeviceTypeFieldPathBuilder) DisplayName ¶
func (DeviceTypeFieldPathBuilder) DisplayName() DeviceTypePathSelectorDisplayName
func (DeviceTypeFieldPathBuilder) Hardware ¶
func (DeviceTypeFieldPathBuilder) Hardware() DeviceTypePathSelectorHardware
func (DeviceTypeFieldPathBuilder) Metadata ¶
func (DeviceTypeFieldPathBuilder) Metadata() DeviceTypePathSelectorMetadata
func (DeviceTypeFieldPathBuilder) Name ¶
func (DeviceTypeFieldPathBuilder) Name() DeviceTypePathSelectorName
type DeviceTypeList ¶
type DeviceTypeList []*DeviceType
func (DeviceTypeList) Append ¶
func (l DeviceTypeList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (DeviceTypeList) AppendList ¶
func (l DeviceTypeList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (DeviceTypeList) At ¶
func (l DeviceTypeList) At(idx int) gotenresource.Resource
func (DeviceTypeList) Length ¶
func (l DeviceTypeList) Length() int
func (DeviceTypeList) Set ¶
func (l DeviceTypeList) Set(idx int, res gotenresource.Resource)
func (DeviceTypeList) Slice ¶
func (l DeviceTypeList) Slice(first, second int) gotenresource.ResourceList
type DeviceTypeMap ¶
type DeviceTypeMap map[Name]*DeviceType
func (DeviceTypeMap) Delete ¶
func (m DeviceTypeMap) Delete(name gotenresource.Name)
func (DeviceTypeMap) ForEach ¶
func (m DeviceTypeMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (DeviceTypeMap) Get ¶
func (m DeviceTypeMap) Get(name gotenresource.Name) gotenresource.Resource
func (DeviceTypeMap) Length ¶
func (m DeviceTypeMap) Length() int
func (DeviceTypeMap) Set ¶
func (m DeviceTypeMap) Set(res gotenresource.Resource)
type DeviceTypeMapPathSelectorMetadataAnnotations ¶
type DeviceTypeMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (DeviceTypeMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s DeviceTypeMapPathSelectorMetadataAnnotations) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypeMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s DeviceTypeMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypeMapPathSelectorMetadataAnnotations) WithValue ¶
func (s DeviceTypeMapPathSelectorMetadataAnnotations) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypeMapPathSelectorMetadataLabels ¶
type DeviceTypeMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (DeviceTypeMapPathSelectorMetadataLabels) FieldPath ¶
func (s DeviceTypeMapPathSelectorMetadataLabels) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypeMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s DeviceTypeMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypeMapPathSelectorMetadataLabels) WithValue ¶
func (s DeviceTypeMapPathSelectorMetadataLabels) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypeMapPathSelectorMetadataShards ¶
type DeviceTypeMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (DeviceTypeMapPathSelectorMetadataShards) FieldPath ¶
func (s DeviceTypeMapPathSelectorMetadataShards) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypeMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s DeviceTypeMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypeMapPathSelectorMetadataShards) WithValue ¶
func (s DeviceTypeMapPathSelectorMetadataShards) WithValue(value int64) *DeviceType_FieldSubPathValue
type DeviceTypeNameList ¶
type DeviceTypeNameList []*Name
func (DeviceTypeNameList) Append ¶
func (l DeviceTypeNameList) Append(name gotenresource.Name) gotenresource.NameList
func (DeviceTypeNameList) AppendList ¶
func (l DeviceTypeNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (DeviceTypeNameList) At ¶
func (l DeviceTypeNameList) At(idx int) gotenresource.Name
func (DeviceTypeNameList) Length ¶
func (l DeviceTypeNameList) Length() int
func (DeviceTypeNameList) Set ¶
func (l DeviceTypeNameList) Set(idx int, name gotenresource.Name)
func (DeviceTypeNameList) Slice ¶
func (l DeviceTypeNameList) Slice(first, second int) gotenresource.NameList
type DeviceTypePathSelectorArchitecture ¶
type DeviceTypePathSelectorArchitecture struct{}
func (DeviceTypePathSelectorArchitecture) FieldPath ¶
func (DeviceTypePathSelectorArchitecture) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorArchitecture) WithArrayOfValues ¶
func (s DeviceTypePathSelectorArchitecture) WithArrayOfValues(values []DeviceType_Architecture) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorArchitecture) WithValue ¶
func (s DeviceTypePathSelectorArchitecture) WithValue(value DeviceType_Architecture) *DeviceType_FieldTerminalPathValue
type DeviceTypePathSelectorDescription ¶
type DeviceTypePathSelectorDescription struct{}
func (DeviceTypePathSelectorDescription) FieldPath ¶
func (DeviceTypePathSelectorDescription) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorDescription) WithArrayOfValues ¶
func (s DeviceTypePathSelectorDescription) WithArrayOfValues(values []string) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorDescription) WithValue ¶
func (s DeviceTypePathSelectorDescription) WithValue(value string) *DeviceType_FieldTerminalPathValue
type DeviceTypePathSelectorDisplayName ¶
type DeviceTypePathSelectorDisplayName struct{}
func (DeviceTypePathSelectorDisplayName) FieldPath ¶
func (DeviceTypePathSelectorDisplayName) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorDisplayName) WithArrayOfValues ¶
func (s DeviceTypePathSelectorDisplayName) WithArrayOfValues(values []string) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorDisplayName) WithValue ¶
func (s DeviceTypePathSelectorDisplayName) WithValue(value string) *DeviceType_FieldTerminalPathValue
type DeviceTypePathSelectorHardware ¶
type DeviceTypePathSelectorHardware struct{}
func (DeviceTypePathSelectorHardware) FieldPath ¶
func (DeviceTypePathSelectorHardware) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorHardware) WithArrayOfValues ¶
func (s DeviceTypePathSelectorHardware) WithArrayOfValues(values []DeviceType_Hardware) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorHardware) WithValue ¶
func (s DeviceTypePathSelectorHardware) WithValue(value DeviceType_Hardware) *DeviceType_FieldTerminalPathValue
type DeviceTypePathSelectorMetadata ¶
type DeviceTypePathSelectorMetadata struct{}
func (DeviceTypePathSelectorMetadata) Annotations ¶
func (DeviceTypePathSelectorMetadata) Annotations() DeviceTypePathSelectorMetadataAnnotations
func (DeviceTypePathSelectorMetadata) CreateTime ¶
func (DeviceTypePathSelectorMetadata) CreateTime() DeviceTypePathSelectorMetadataCreateTime
func (DeviceTypePathSelectorMetadata) DeleteTime ¶
func (DeviceTypePathSelectorMetadata) DeleteTime() DeviceTypePathSelectorMetadataDeleteTime
func (DeviceTypePathSelectorMetadata) FieldPath ¶
func (DeviceTypePathSelectorMetadata) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorMetadata) Generation ¶
func (DeviceTypePathSelectorMetadata) Generation() DeviceTypePathSelectorMetadataGeneration
func (DeviceTypePathSelectorMetadata) Labels ¶
func (DeviceTypePathSelectorMetadata) Labels() DeviceTypePathSelectorMetadataLabels
func (DeviceTypePathSelectorMetadata) Lifecycle ¶
func (DeviceTypePathSelectorMetadata) Lifecycle() DeviceTypePathSelectorMetadataLifecycle
func (DeviceTypePathSelectorMetadata) OwnerReferences ¶
func (DeviceTypePathSelectorMetadata) OwnerReferences() DeviceTypePathSelectorMetadataOwnerReferences
func (DeviceTypePathSelectorMetadata) ResourceVersion ¶
func (DeviceTypePathSelectorMetadata) ResourceVersion() DeviceTypePathSelectorMetadataResourceVersion
func (DeviceTypePathSelectorMetadata) Services ¶
func (DeviceTypePathSelectorMetadata) Services() DeviceTypePathSelectorMetadataServices
func (DeviceTypePathSelectorMetadata) Shards ¶
func (DeviceTypePathSelectorMetadata) Shards() DeviceTypePathSelectorMetadataShards
func (DeviceTypePathSelectorMetadata) Syncing ¶
func (DeviceTypePathSelectorMetadata) Syncing() DeviceTypePathSelectorMetadataSyncing
func (DeviceTypePathSelectorMetadata) UpdateTime ¶
func (DeviceTypePathSelectorMetadata) UpdateTime() DeviceTypePathSelectorMetadataUpdateTime
func (DeviceTypePathSelectorMetadata) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadata) WithArrayOfValues(values []*meta.Meta) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorMetadata) WithSubArrayItemValue ¶
func (s DeviceTypePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *DeviceType_FieldSubPathArrayItemValue
func (DeviceTypePathSelectorMetadata) WithSubArrayOfValues ¶
func (s DeviceTypePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadata) WithSubPath ¶
func (DeviceTypePathSelectorMetadata) WithSubPath(subPath meta.Meta_FieldPath) *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadata) WithSubValue ¶
func (s DeviceTypePathSelectorMetadata) WithSubValue(subPathValue meta.Meta_FieldPathValue) *DeviceType_FieldSubPathValue
func (DeviceTypePathSelectorMetadata) WithValue ¶
func (s DeviceTypePathSelectorMetadata) WithValue(value *meta.Meta) *DeviceType_FieldTerminalPathValue
type DeviceTypePathSelectorMetadataAnnotations ¶
type DeviceTypePathSelectorMetadataAnnotations struct{}
func (DeviceTypePathSelectorMetadataAnnotations) FieldPath ¶
func (DeviceTypePathSelectorMetadataAnnotations) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataAnnotations) WithValue ¶
func (s DeviceTypePathSelectorMetadataAnnotations) WithValue(value map[string]string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataCreateTime ¶
type DeviceTypePathSelectorMetadataCreateTime struct{}
func (DeviceTypePathSelectorMetadataCreateTime) FieldPath ¶
func (DeviceTypePathSelectorMetadataCreateTime) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataCreateTime) WithValue ¶
func (s DeviceTypePathSelectorMetadataCreateTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataDeleteTime ¶
type DeviceTypePathSelectorMetadataDeleteTime struct{}
func (DeviceTypePathSelectorMetadataDeleteTime) FieldPath ¶
func (DeviceTypePathSelectorMetadataDeleteTime) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataDeleteTime) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataDeleteTime) WithValue ¶
func (s DeviceTypePathSelectorMetadataDeleteTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataGeneration ¶
type DeviceTypePathSelectorMetadataGeneration struct{}
func (DeviceTypePathSelectorMetadataGeneration) FieldPath ¶
func (DeviceTypePathSelectorMetadataGeneration) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataGeneration) WithValue ¶
func (s DeviceTypePathSelectorMetadataGeneration) WithValue(value int64) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataLabels ¶
type DeviceTypePathSelectorMetadataLabels struct{}
func (DeviceTypePathSelectorMetadataLabels) FieldPath ¶
func (DeviceTypePathSelectorMetadataLabels) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataLabels) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataLabels) WithKey ¶
func (DeviceTypePathSelectorMetadataLabels) WithKey(key string) DeviceTypeMapPathSelectorMetadataLabels
func (DeviceTypePathSelectorMetadataLabels) WithValue ¶
func (s DeviceTypePathSelectorMetadataLabels) WithValue(value map[string]string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataLifecycle ¶
type DeviceTypePathSelectorMetadataLifecycle struct{}
func (DeviceTypePathSelectorMetadataLifecycle) BlockDeletion ¶
func (DeviceTypePathSelectorMetadataLifecycle) BlockDeletion() DeviceTypePathSelectorMetadataLifecycleBlockDeletion
func (DeviceTypePathSelectorMetadataLifecycle) FieldPath ¶
func (DeviceTypePathSelectorMetadataLifecycle) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataLifecycle) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataLifecycle) WithArrayOfValues(values []*meta.Lifecycle) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataLifecycle) WithValue ¶
func (s DeviceTypePathSelectorMetadataLifecycle) WithValue(value *meta.Lifecycle) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataLifecycleBlockDeletion ¶
type DeviceTypePathSelectorMetadataLifecycleBlockDeletion struct{}
func (DeviceTypePathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶
func (DeviceTypePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithValue ¶
func (s DeviceTypePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataLifecycleState ¶
type DeviceTypePathSelectorMetadataLifecycleState struct{}
func (DeviceTypePathSelectorMetadataLifecycleState) FieldPath ¶
func (DeviceTypePathSelectorMetadataLifecycleState) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataLifecycleState) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataLifecycleState) WithArrayOfValues(values []meta.Lifecycle_State) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataLifecycleState) WithValue ¶
func (s DeviceTypePathSelectorMetadataLifecycleState) WithValue(value meta.Lifecycle_State) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferences ¶
type DeviceTypePathSelectorMetadataOwnerReferences struct{}
func (DeviceTypePathSelectorMetadataOwnerReferences) Controller ¶
func (DeviceTypePathSelectorMetadataOwnerReferences) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferences) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶
func (DeviceTypePathSelectorMetadataOwnerReferences) RequiresOwnerReference() DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (DeviceTypePathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*meta.OwnerReference) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferences) WithItemValue(value *meta.OwnerReference) *DeviceType_FieldSubPathArrayItemValue
func (DeviceTypePathSelectorMetadataOwnerReferences) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferences) WithValue(value []*meta.OwnerReference) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesController ¶
type DeviceTypePathSelectorMetadataOwnerReferencesController struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferencesController) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesKind ¶
type DeviceTypePathSelectorMetadataOwnerReferencesKind struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferencesKind) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesName ¶
type DeviceTypePathSelectorMetadataOwnerReferencesName struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferencesName) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesName) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesRegion ¶
type DeviceTypePathSelectorMetadataOwnerReferencesRegion struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesRegion) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferencesRegion) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶
type DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataOwnerReferencesVersion ¶
type DeviceTypePathSelectorMetadataOwnerReferencesVersion struct{}
func (DeviceTypePathSelectorMetadataOwnerReferencesVersion) FieldPath ¶
func (DeviceTypePathSelectorMetadataOwnerReferencesVersion) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithValue ¶
func (s DeviceTypePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataResourceVersion ¶
type DeviceTypePathSelectorMetadataResourceVersion struct{}
func (DeviceTypePathSelectorMetadataResourceVersion) FieldPath ¶
func (DeviceTypePathSelectorMetadataResourceVersion) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataResourceVersion) WithValue ¶
func (s DeviceTypePathSelectorMetadataResourceVersion) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataServices ¶
type DeviceTypePathSelectorMetadataServices struct{}
func (DeviceTypePathSelectorMetadataServices) AllowedServices ¶
func (DeviceTypePathSelectorMetadataServices) AllowedServices() DeviceTypePathSelectorMetadataServicesAllowedServices
func (DeviceTypePathSelectorMetadataServices) FieldPath ¶
func (DeviceTypePathSelectorMetadataServices) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataServices) OwningService ¶
func (DeviceTypePathSelectorMetadataServices) OwningService() DeviceTypePathSelectorMetadataServicesOwningService
func (DeviceTypePathSelectorMetadataServices) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataServices) WithArrayOfValues(values []*meta.ServicesInfo) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataServices) WithValue ¶
func (s DeviceTypePathSelectorMetadataServices) WithValue(value *meta.ServicesInfo) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataServicesAllowedServices ¶
type DeviceTypePathSelectorMetadataServicesAllowedServices struct{}
func (DeviceTypePathSelectorMetadataServicesAllowedServices) FieldPath ¶
func (DeviceTypePathSelectorMetadataServicesAllowedServices) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataServicesAllowedServices) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataServicesAllowedServices) WithItemValue ¶
func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
func (DeviceTypePathSelectorMetadataServicesAllowedServices) WithValue ¶
func (s DeviceTypePathSelectorMetadataServicesAllowedServices) WithValue(value []string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataServicesOwningService ¶
type DeviceTypePathSelectorMetadataServicesOwningService struct{}
func (DeviceTypePathSelectorMetadataServicesOwningService) FieldPath ¶
func (DeviceTypePathSelectorMetadataServicesOwningService) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataServicesOwningService) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataServicesOwningService) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataServicesOwningService) WithValue ¶
func (s DeviceTypePathSelectorMetadataServicesOwningService) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataShards ¶
type DeviceTypePathSelectorMetadataShards struct{}
func (DeviceTypePathSelectorMetadataShards) FieldPath ¶
func (DeviceTypePathSelectorMetadataShards) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataShards) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataShards) WithKey ¶
func (DeviceTypePathSelectorMetadataShards) WithKey(key string) DeviceTypeMapPathSelectorMetadataShards
func (DeviceTypePathSelectorMetadataShards) WithValue ¶
func (s DeviceTypePathSelectorMetadataShards) WithValue(value map[string]int64) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataSyncing ¶
type DeviceTypePathSelectorMetadataSyncing struct{}
func (DeviceTypePathSelectorMetadataSyncing) FieldPath ¶
func (DeviceTypePathSelectorMetadataSyncing) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataSyncing) OwningRegion ¶
func (DeviceTypePathSelectorMetadataSyncing) OwningRegion() DeviceTypePathSelectorMetadataSyncingOwningRegion
func (DeviceTypePathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataSyncing) WithArrayOfValues(values []*meta.SyncingMeta) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataSyncing) WithValue ¶
func (s DeviceTypePathSelectorMetadataSyncing) WithValue(value *meta.SyncingMeta) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataSyncingOwningRegion ¶
type DeviceTypePathSelectorMetadataSyncingOwningRegion struct{}
func (DeviceTypePathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (DeviceTypePathSelectorMetadataSyncingOwningRegion) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s DeviceTypePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataSyncingRegions ¶
type DeviceTypePathSelectorMetadataSyncingRegions struct{}
func (DeviceTypePathSelectorMetadataSyncingRegions) FieldPath ¶
func (DeviceTypePathSelectorMetadataSyncingRegions) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s DeviceTypePathSelectorMetadataSyncingRegions) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
func (DeviceTypePathSelectorMetadataSyncingRegions) WithValue ¶
func (s DeviceTypePathSelectorMetadataSyncingRegions) WithValue(value []string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataTags ¶
type DeviceTypePathSelectorMetadataTags struct{}
func (DeviceTypePathSelectorMetadataTags) FieldPath ¶
func (DeviceTypePathSelectorMetadataTags) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataTags) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataTags) WithItemValue ¶
func (s DeviceTypePathSelectorMetadataTags) WithItemValue(value string) *DeviceType_FieldSubPathArrayItemValue
func (DeviceTypePathSelectorMetadataTags) WithValue ¶
func (s DeviceTypePathSelectorMetadataTags) WithValue(value []string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataUpdateTime ¶
type DeviceTypePathSelectorMetadataUpdateTime struct{}
func (DeviceTypePathSelectorMetadataUpdateTime) FieldPath ¶
func (DeviceTypePathSelectorMetadataUpdateTime) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamppb.Timestamp) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataUpdateTime) WithValue ¶
func (s DeviceTypePathSelectorMetadataUpdateTime) WithValue(value *timestamppb.Timestamp) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorMetadataUuid ¶
type DeviceTypePathSelectorMetadataUuid struct{}
func (DeviceTypePathSelectorMetadataUuid) FieldPath ¶
func (DeviceTypePathSelectorMetadataUuid) FieldPath() *DeviceType_FieldSubPath
func (DeviceTypePathSelectorMetadataUuid) WithArrayOfValues ¶
func (s DeviceTypePathSelectorMetadataUuid) WithArrayOfValues(values []string) *DeviceType_FieldSubPathArrayOfValues
func (DeviceTypePathSelectorMetadataUuid) WithValue ¶
func (s DeviceTypePathSelectorMetadataUuid) WithValue(value string) *DeviceType_FieldSubPathValue
type DeviceTypePathSelectorName ¶
type DeviceTypePathSelectorName struct{}
func (DeviceTypePathSelectorName) FieldPath ¶
func (DeviceTypePathSelectorName) FieldPath() *DeviceType_FieldTerminalPath
func (DeviceTypePathSelectorName) WithArrayOfValues ¶
func (s DeviceTypePathSelectorName) WithArrayOfValues(values []*Name) *DeviceType_FieldTerminalPathArrayOfValues
func (DeviceTypePathSelectorName) WithValue ¶
func (s DeviceTypePathSelectorName) WithValue(value *Name) *DeviceType_FieldTerminalPathValue
type DeviceTypeReferenceList ¶
type DeviceTypeReferenceList []*Reference
func (DeviceTypeReferenceList) Append ¶
func (l DeviceTypeReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (DeviceTypeReferenceList) AppendList ¶
func (l DeviceTypeReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (DeviceTypeReferenceList) At ¶
func (l DeviceTypeReferenceList) At(idx int) gotenresource.Reference
func (DeviceTypeReferenceList) Length ¶
func (l DeviceTypeReferenceList) Length() int
func (DeviceTypeReferenceList) Set ¶
func (l DeviceTypeReferenceList) Set(idx int, ref gotenresource.Reference)
func (DeviceTypeReferenceList) Slice ¶
func (l DeviceTypeReferenceList) Slice(first, second int) gotenresource.ReferenceList
type DeviceType_Architecture ¶
type DeviceType_Architecture int32
Architecture name (e.g. amd64)
const ( DeviceType_ARCHITECTURE_UNSPECIFIED DeviceType_Architecture = 0 DeviceType_AMD64 DeviceType_Architecture = 1 DeviceType_ARM64 DeviceType_Architecture = 2 )
func (DeviceType_Architecture) Descriptor ¶
func (DeviceType_Architecture) Descriptor() preflect.EnumDescriptor
func (DeviceType_Architecture) Enum ¶
func (x DeviceType_Architecture) Enum() *DeviceType_Architecture
func (DeviceType_Architecture) EnumDescriptor ¶
func (DeviceType_Architecture) EnumDescriptor() ([]byte, []int)
Deprecated, Use DeviceType_Architecture.ProtoReflect.Descriptor instead.
func (DeviceType_Architecture) Number ¶
func (x DeviceType_Architecture) Number() preflect.EnumNumber
func (DeviceType_Architecture) String ¶
func (x DeviceType_Architecture) String() string
func (DeviceType_Architecture) Type ¶
func (DeviceType_Architecture) Type() preflect.EnumType
type DeviceType_FieldMask ¶
type DeviceType_FieldMask struct {
Paths []DeviceType_FieldPath
}
func FullDeviceType_FieldMask ¶
func FullDeviceType_FieldMask() *DeviceType_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *DeviceType_FieldMask) *DeviceType_FieldMask
func (*DeviceType_FieldMask) AppendPath ¶
func (fieldMask *DeviceType_FieldMask) AppendPath(path DeviceType_FieldPath)
func (*DeviceType_FieldMask) AppendRawPath ¶
func (fieldMask *DeviceType_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*DeviceType_FieldMask) DecodeFirestore ¶
func (fieldMask *DeviceType_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*DeviceType_FieldMask) EncodeFirestore ¶
func (fieldMask *DeviceType_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*DeviceType_FieldMask) FilterInputFields ¶
func (fieldMask *DeviceType_FieldMask) FilterInputFields() *DeviceType_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*DeviceType_FieldMask) FromProtoFieldMask ¶
func (fieldMask *DeviceType_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
func (*DeviceType_FieldMask) GetPaths ¶
func (fieldMask *DeviceType_FieldMask) GetPaths() []DeviceType_FieldPath
func (*DeviceType_FieldMask) GetRawPaths ¶
func (fieldMask *DeviceType_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*DeviceType_FieldMask) IsFull ¶
func (fieldMask *DeviceType_FieldMask) IsFull() bool
func (DeviceType_FieldMask) Marshal ¶
func (fieldMask DeviceType_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (DeviceType_FieldMask) MarshalJSON ¶
func (fieldMask DeviceType_FieldMask) MarshalJSON() ([]byte, error)
func (*DeviceType_FieldMask) PathsCount ¶
func (fieldMask *DeviceType_FieldMask) PathsCount() int
func (*DeviceType_FieldMask) Project ¶
func (fieldMask *DeviceType_FieldMask) Project(source *DeviceType) *DeviceType
func (*DeviceType_FieldMask) ProjectRaw ¶
func (fieldMask *DeviceType_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*DeviceType_FieldMask) ProtoMessage ¶
func (fieldMask *DeviceType_FieldMask) ProtoMessage()
func (*DeviceType_FieldMask) ProtoReflect ¶
func (fieldMask *DeviceType_FieldMask) ProtoReflect() preflect.Message
func (*DeviceType_FieldMask) Reset ¶
func (fieldMask *DeviceType_FieldMask) Reset()
func (*DeviceType_FieldMask) Set ¶
func (fieldMask *DeviceType_FieldMask) Set(target, source *DeviceType)
func (*DeviceType_FieldMask) SetFromCliFlag ¶
func (fieldMask *DeviceType_FieldMask) SetFromCliFlag(raw string) error
func (*DeviceType_FieldMask) SetRaw ¶
func (fieldMask *DeviceType_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*DeviceType_FieldMask) Size ¶
func (fieldMask *DeviceType_FieldMask) Size() int
func (*DeviceType_FieldMask) String ¶
func (fieldMask *DeviceType_FieldMask) String() string
func (*DeviceType_FieldMask) Subtract ¶
func (fieldMask *DeviceType_FieldMask) Subtract(other *DeviceType_FieldMask) *DeviceType_FieldMask
func (*DeviceType_FieldMask) SubtractRaw ¶
func (fieldMask *DeviceType_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*DeviceType_FieldMask) ToProtoFieldMask ¶
func (fieldMask *DeviceType_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*DeviceType_FieldMask) Unmarshal ¶
func (fieldMask *DeviceType_FieldMask) Unmarshal(data []byte) error
func (*DeviceType_FieldMask) UnmarshalJSON ¶
func (fieldMask *DeviceType_FieldMask) UnmarshalJSON(data []byte) error
type DeviceType_FieldPath ¶
type DeviceType_FieldPath interface { gotenobject.FieldPath Selector() DeviceType_FieldPathSelector Get(source *DeviceType) []interface{} GetSingle(source *DeviceType) (interface{}, bool) ClearValue(item *DeviceType) // Those methods build corresponding DeviceType_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) DeviceType_FieldPathValue WithIArrayOfValues(values interface{}) DeviceType_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) DeviceType_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildDeviceType_FieldPath ¶
func BuildDeviceType_FieldPath(fp gotenobject.RawFieldPath) (DeviceType_FieldPath, error)
func MustParseDeviceType_FieldPath ¶
func MustParseDeviceType_FieldPath(rawField string) DeviceType_FieldPath
func ParseDeviceType_FieldPath ¶
func ParseDeviceType_FieldPath(rawField string) (DeviceType_FieldPath, error)
type DeviceType_FieldPathArrayItemValue ¶
type DeviceType_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue DeviceType_FieldPath ContainsValue(*DeviceType) bool }
DeviceType_FieldPathArrayItemValue allows storing single item in Path-specific values for DeviceType according to their type Present only for array (repeated) types.
func MustParseDeviceType_FieldPathArrayItemValue ¶
func MustParseDeviceType_FieldPathArrayItemValue(pathStr, valueStr string) DeviceType_FieldPathArrayItemValue
func ParseDeviceType_FieldPathArrayItemValue ¶
func ParseDeviceType_FieldPathArrayItemValue(pathStr, valueStr string) (DeviceType_FieldPathArrayItemValue, error)
ParseDeviceType_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type DeviceType_FieldPathArrayOfValues ¶
type DeviceType_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues DeviceType_FieldPath }
DeviceType_FieldPathArrayOfValues allows storing slice of values for DeviceType fields according to their type
func MustParseDeviceType_FieldPathArrayOfValues ¶
func MustParseDeviceType_FieldPathArrayOfValues(pathStr, valuesStr string) DeviceType_FieldPathArrayOfValues
func ParseDeviceType_FieldPathArrayOfValues ¶
func ParseDeviceType_FieldPathArrayOfValues(pathStr, valuesStr string) (DeviceType_FieldPathArrayOfValues, error)
type DeviceType_FieldPathSelector ¶
type DeviceType_FieldPathSelector int32
const ( DeviceType_FieldPathSelectorName DeviceType_FieldPathSelector = 0 DeviceType_FieldPathSelectorMetadata DeviceType_FieldPathSelector = 1 DeviceType_FieldPathSelectorDisplayName DeviceType_FieldPathSelector = 2 DeviceType_FieldPathSelectorHardware DeviceType_FieldPathSelector = 3 DeviceType_FieldPathSelectorArchitecture DeviceType_FieldPathSelector = 4 DeviceType_FieldPathSelectorDescription DeviceType_FieldPathSelector = 5 )
func (DeviceType_FieldPathSelector) String ¶
func (s DeviceType_FieldPathSelector) String() string
type DeviceType_FieldPathValue ¶
type DeviceType_FieldPathValue interface { DeviceType_FieldPath gotenobject.FieldPathValue SetTo(target **DeviceType) CompareWith(*DeviceType) (cmp int, comparable bool) }
DeviceType_FieldPathValue allows storing values for DeviceType fields according to their type
func MustParseDeviceType_FieldPathValue ¶
func MustParseDeviceType_FieldPathValue(pathStr, valueStr string) DeviceType_FieldPathValue
func ParseDeviceType_FieldPathValue ¶
func ParseDeviceType_FieldPathValue(pathStr, valueStr string) (DeviceType_FieldPathValue, error)
type DeviceType_FieldSubPath ¶
type DeviceType_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*DeviceType_FieldSubPath) AsMetadataSubPath ¶
func (fps *DeviceType_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)
func (*DeviceType_FieldSubPath) ClearValue ¶
func (fps *DeviceType_FieldSubPath) ClearValue(item *DeviceType)
func (*DeviceType_FieldSubPath) ClearValueRaw ¶
func (fps *DeviceType_FieldSubPath) ClearValueRaw(item proto.Message)
func (*DeviceType_FieldSubPath) Get ¶
func (fps *DeviceType_FieldSubPath) Get(source *DeviceType) (values []interface{})
Get returns all values pointed by selected field from source DeviceType
func (*DeviceType_FieldSubPath) GetDefault ¶
func (fps *DeviceType_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*DeviceType_FieldSubPath) GetRaw ¶
func (fps *DeviceType_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*DeviceType_FieldSubPath) GetSingle ¶
func (fps *DeviceType_FieldSubPath) GetSingle(source *DeviceType) (interface{}, bool)
GetSingle returns value of selected field from source DeviceType
func (*DeviceType_FieldSubPath) GetSingleRaw ¶
func (fps *DeviceType_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*DeviceType_FieldSubPath) IsLeaf ¶
func (fps *DeviceType_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*DeviceType_FieldSubPath) JSONString ¶
func (fps *DeviceType_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*DeviceType_FieldSubPath) Selector ¶
func (fps *DeviceType_FieldSubPath) Selector() DeviceType_FieldPathSelector
func (*DeviceType_FieldSubPath) SplitIntoTerminalIPaths ¶
func (fps *DeviceType_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*DeviceType_FieldSubPath) String ¶
func (fps *DeviceType_FieldSubPath) String() string
String returns path representation in proto convention
func (*DeviceType_FieldSubPath) WithIArrayItemValue ¶
func (fps *DeviceType_FieldSubPath) WithIArrayItemValue(value interface{}) DeviceType_FieldPathArrayItemValue
func (*DeviceType_FieldSubPath) WithIArrayOfValues ¶
func (fps *DeviceType_FieldSubPath) WithIArrayOfValues(values interface{}) DeviceType_FieldPathArrayOfValues
func (*DeviceType_FieldSubPath) WithIValue ¶
func (fps *DeviceType_FieldSubPath) WithIValue(value interface{}) DeviceType_FieldPathValue
func (*DeviceType_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *DeviceType_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*DeviceType_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *DeviceType_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*DeviceType_FieldSubPath) WithRawIValue ¶
func (fps *DeviceType_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type DeviceType_FieldSubPathArrayItemValue ¶
type DeviceType_FieldSubPathArrayItemValue struct { DeviceType_FieldPath // contains filtered or unexported fields }
func (*DeviceType_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *DeviceType_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)
func (*DeviceType_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *DeviceType_FieldSubPathArrayItemValue) ContainsValue(source *DeviceType) bool
Contains returns a boolean indicating if value that is being held is present in given 'DeviceType'
func (*DeviceType_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *DeviceType_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type DeviceType_FieldSubPathArrayOfValues ¶
type DeviceType_FieldSubPathArrayOfValues struct { DeviceType_FieldPath // contains filtered or unexported fields }
func (*DeviceType_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *DeviceType_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)
func (*DeviceType_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *DeviceType_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type DeviceType_FieldSubPathValue ¶
type DeviceType_FieldSubPathValue struct { DeviceType_FieldPath // contains filtered or unexported fields }
func (*DeviceType_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *DeviceType_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)
func (*DeviceType_FieldSubPathValue) CompareWith ¶
func (fpvs *DeviceType_FieldSubPathValue) CompareWith(source *DeviceType) (int, bool)
func (*DeviceType_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *DeviceType_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*DeviceType_FieldSubPathValue) GetRawValue ¶
func (fpvs *DeviceType_FieldSubPathValue) GetRawValue() interface{}
func (*DeviceType_FieldSubPathValue) SetTo ¶
func (fpvs *DeviceType_FieldSubPathValue) SetTo(target **DeviceType)
func (*DeviceType_FieldSubPathValue) SetToRaw ¶
func (fpvs *DeviceType_FieldSubPathValue) SetToRaw(target proto.Message)
type DeviceType_FieldTerminalPath ¶
type DeviceType_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*DeviceType_FieldTerminalPath) ClearValue ¶
func (fp *DeviceType_FieldTerminalPath) ClearValue(item *DeviceType)
func (*DeviceType_FieldTerminalPath) ClearValueRaw ¶
func (fp *DeviceType_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*DeviceType_FieldTerminalPath) Get ¶
func (fp *DeviceType_FieldTerminalPath) Get(source *DeviceType) (values []interface{})
Get returns all values pointed by specific field from source DeviceType
func (*DeviceType_FieldTerminalPath) GetDefault ¶
func (fp *DeviceType_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*DeviceType_FieldTerminalPath) GetRaw ¶
func (fp *DeviceType_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*DeviceType_FieldTerminalPath) GetSingle ¶
func (fp *DeviceType_FieldTerminalPath) GetSingle(source *DeviceType) (interface{}, bool)
GetSingle returns value pointed by specific field of from source DeviceType
func (*DeviceType_FieldTerminalPath) GetSingleRaw ¶
func (fp *DeviceType_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*DeviceType_FieldTerminalPath) IsLeaf ¶
func (fp *DeviceType_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*DeviceType_FieldTerminalPath) JSONString ¶
func (fp *DeviceType_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*DeviceType_FieldTerminalPath) Selector ¶
func (fp *DeviceType_FieldTerminalPath) Selector() DeviceType_FieldPathSelector
func (*DeviceType_FieldTerminalPath) SplitIntoTerminalIPaths ¶
func (fp *DeviceType_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*DeviceType_FieldTerminalPath) String ¶
func (fp *DeviceType_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*DeviceType_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *DeviceType_FieldTerminalPath) WithIArrayItemValue(value interface{}) DeviceType_FieldPathArrayItemValue
func (*DeviceType_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *DeviceType_FieldTerminalPath) WithIArrayOfValues(values interface{}) DeviceType_FieldPathArrayOfValues
func (*DeviceType_FieldTerminalPath) WithIValue ¶
func (fp *DeviceType_FieldTerminalPath) WithIValue(value interface{}) DeviceType_FieldPathValue
func (*DeviceType_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *DeviceType_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*DeviceType_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *DeviceType_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*DeviceType_FieldTerminalPath) WithRawIValue ¶
func (fp *DeviceType_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type DeviceType_FieldTerminalPathArrayItemValue ¶
type DeviceType_FieldTerminalPathArrayItemValue struct { DeviceType_FieldTerminalPath // contains filtered or unexported fields }
func (*DeviceType_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) ContainsValue(source *DeviceType) bool
Contains returns a boolean indicating if value that is being held is present in given 'DeviceType'
func (*DeviceType_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object DeviceType as interface{}
func (*DeviceType_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetSingle(source *DeviceType) (interface{}, bool)
func (*DeviceType_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *DeviceType_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type DeviceType_FieldTerminalPathArrayOfValues ¶
type DeviceType_FieldTerminalPathArrayOfValues struct { DeviceType_FieldTerminalPath // contains filtered or unexported fields }
func (*DeviceType_FieldTerminalPathArrayOfValues) AsArchitectureArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsArchitectureArrayOfValues() ([]DeviceType_Architecture, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) AsHardwareArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsHardwareArrayOfValues() ([]DeviceType_Hardware, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*DeviceType_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *DeviceType_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type DeviceType_FieldTerminalPathValue ¶
type DeviceType_FieldTerminalPathValue struct { DeviceType_FieldTerminalPath // contains filtered or unexported fields }
func (*DeviceType_FieldTerminalPathValue) AsArchitectureValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsArchitectureValue() (DeviceType_Architecture, bool)
func (*DeviceType_FieldTerminalPathValue) AsDescriptionValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsDescriptionValue() (string, bool)
func (*DeviceType_FieldTerminalPathValue) AsDisplayNameValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
func (*DeviceType_FieldTerminalPathValue) AsHardwareValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsHardwareValue() (DeviceType_Hardware, bool)
func (*DeviceType_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)
func (*DeviceType_FieldTerminalPathValue) AsNameValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*DeviceType_FieldTerminalPathValue) CompareWith ¶
func (fpv *DeviceType_FieldTerminalPathValue) CompareWith(source *DeviceType) (int, bool)
CompareWith compares value in the 'DeviceType_FieldTerminalPathValue' with the value under path in 'DeviceType'.
func (*DeviceType_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *DeviceType_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*DeviceType_FieldTerminalPathValue) GetRawValue ¶
func (fpv *DeviceType_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'DeviceType' as interface{}
func (*DeviceType_FieldTerminalPathValue) SetTo ¶
func (fpv *DeviceType_FieldTerminalPathValue) SetTo(target **DeviceType)
SetTo stores value for selected field for object DeviceType
func (*DeviceType_FieldTerminalPathValue) SetToRaw ¶
func (fpv *DeviceType_FieldTerminalPathValue) SetToRaw(target proto.Message)
type DeviceType_Hardware ¶ added in v1.0.43
type DeviceType_Hardware int32
Hardware (e.g. Generic, Raspberry Pi)
const ( DeviceType_HARDWARE_UNSPECIFIED DeviceType_Hardware = 0 DeviceType_GENERIC DeviceType_Hardware = 1 DeviceType_RASPBERRYPI DeviceType_Hardware = 2 )
func (DeviceType_Hardware) Descriptor ¶ added in v1.0.43
func (DeviceType_Hardware) Descriptor() preflect.EnumDescriptor
func (DeviceType_Hardware) Enum ¶ added in v1.0.43
func (x DeviceType_Hardware) Enum() *DeviceType_Hardware
func (DeviceType_Hardware) EnumDescriptor ¶ added in v1.0.43
func (DeviceType_Hardware) EnumDescriptor() ([]byte, []int)
Deprecated, Use DeviceType_Hardware.ProtoReflect.Descriptor instead.
func (DeviceType_Hardware) Number ¶ added in v1.0.43
func (x DeviceType_Hardware) Number() preflect.EnumNumber
func (DeviceType_Hardware) String ¶ added in v1.0.43
func (x DeviceType_Hardware) String() string
func (DeviceType_Hardware) Type ¶ added in v1.0.43
func (DeviceType_Hardware) Type() preflect.EnumType
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) Evaluate ¶
func (filter *Filter) Evaluate(res *DeviceType) bool
Evaluate is a wrapper on FilterCondition, which also handles nil pointer
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
func (filter *Filter) FilterSlice(in []*DeviceType) (out []*DeviceType)
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 DeviceType_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 *DeviceType) bool // Whether this condition is at least as specific as other. // When true, any DeviceType 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 DeviceType_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 DeviceType_FieldPath Value DeviceType_FieldPathArrayItemValue Values []DeviceType_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 *DeviceType) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() DeviceType_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 DeviceType_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 {
DeviceType_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 *DeviceType) 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 DeviceType_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 DeviceType_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 *DeviceType) 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 DeviceType_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 DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType) 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 DeviceType_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 {
DeviceType_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 *DeviceType) 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 DeviceType_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 *DeviceType_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 *DeviceType_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 { NamePattern DeviceTypeId string `firestore:"deviceTypeId"` }
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) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(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) Compare ¶
func (orderBy *OrderBy) Compare(left, right *DeviceType) int
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *DeviceType_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 DeviceTypeList, elem *DeviceType) (DeviceTypeList, 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 DeviceTypeList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath DeviceType_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 *DeviceType) 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 QueryResultChange ¶
type QueryResultChange struct { Changes []*DeviceTypeChange 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 { DeviceTypes []*DeviceType 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 MakeReference ¶
func MakeReference(name *Name, deviceType *DeviceType) (*Reference, error)
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetDeviceType ¶
func (ref *Reference) GetDeviceType() *DeviceType
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) Resolve ¶
func (ref *Reference) Resolve(resolved *DeviceType)
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 ¶
- device_type.pb.access.go
- device_type.pb.collections.go
- device_type.pb.descriptor.go
- device_type.pb.fieldmask.go
- device_type.pb.fieldpath.go
- device_type.pb.fieldpathbuilder.go
- device_type.pb.filter.go
- device_type.pb.filterbuilder.go
- device_type.pb.go
- device_type.pb.name.go
- device_type.pb.namebuilder.go
- device_type.pb.object_ext.go
- device_type.pb.pagination.go
- device_type.pb.query.go
- device_type.pb.validate.go
- device_type.pb.view.go
- device_type_change.pb.change.go
- device_type_change.pb.go
- device_type_change.pb.validate.go