hardware

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/hardwares/{hardware}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access HardwareAccess) 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) SupportsDbConstraints added in v1.8.3

func (d *Descriptor) SupportsDbConstraints() bool

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

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) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *Hardware) 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 []*Hardware) (out []*Hardware)

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) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

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 Hardware_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *Hardware) bool

	// Whether this condition is at least as specific as other.
	// When true, any Hardware 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 Hardware_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Hardware_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Hardware) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

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 Hardware_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 (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *Hardware) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

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 Hardware_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *Hardware) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() Hardware_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 Hardware_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 {
	Hardware_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Hardware) 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 Hardware_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 Hardware_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Hardware) 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 Hardware_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 Hardware_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Hardware) 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 Hardware_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 (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *Hardware) 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 Hardware_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 {
	Hardware_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Hardware) 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 Hardware_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      *Hardware_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)

func (*GetQuery) String

func (q *GetQuery) String() string

type Hardware

type Hardware struct {

	// Name of Hardware
	// 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"`
	SerialNumber string     `protobuf:"bytes,3,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty" firestore:"serialNumber"`
	Manufacturer string     `protobuf:"bytes,4,opt,name=manufacturer,proto3" json:"manufacturer,omitempty" firestore:"manufacturer"`
	// Should be in the format "productname (sku)"
	ProductName                      string                     `protobuf:"bytes,5,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty" firestore:"productName"`
	AssociatedEdgelqInstance         *edgelq_instance.Reference `` /* 193-byte string literal not displayed */
	AssociatedProject                string                     `` /* 142-byte string literal not displayed */
	AssociatedProvisioningPolicyName string                     `` /* 206-byte string literal not displayed */
	AssociatedDeviceName             string                     `` /* 156-byte string literal not displayed */
	SimIccid                         string                     `protobuf:"bytes,10,opt,name=sim_iccid,json=simIccid,proto3" json:"sim_iccid,omitempty" firestore:"simIccid"`
	Imei                             string                     `protobuf:"bytes,11,opt,name=imei,proto3" json:"imei,omitempty" firestore:"imei"`
	// contains filtered or unexported fields
}

Hardware Resource

func (*Hardware) Clone

func (o *Hardware) Clone() *Hardware

func (*Hardware) CloneRaw

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

func (*Hardware) Descriptor

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

Deprecated, Use Hardware.ProtoReflect.Descriptor instead.

func (*Hardware) EnsureMetadata

func (r *Hardware) EnsureMetadata() *meta.Meta

func (*Hardware) GetAssociatedDeviceName

func (m *Hardware) GetAssociatedDeviceName() string

func (*Hardware) GetAssociatedEdgelqInstance

func (m *Hardware) GetAssociatedEdgelqInstance() *edgelq_instance.Reference

func (*Hardware) GetAssociatedProject

func (m *Hardware) GetAssociatedProject() string

func (*Hardware) GetAssociatedProvisioningPolicyName

func (m *Hardware) GetAssociatedProvisioningPolicyName() string

func (*Hardware) GetImei

func (m *Hardware) GetImei() string

func (*Hardware) GetManufacturer

func (m *Hardware) GetManufacturer() string

func (*Hardware) GetMetadata

func (m *Hardware) GetMetadata() *meta.Meta

func (*Hardware) GetName

func (m *Hardware) GetName() *Name

func (*Hardware) GetProductName

func (m *Hardware) GetProductName() string

func (*Hardware) GetRawName

func (r *Hardware) GetRawName() gotenresource.Name

func (*Hardware) GetResourceDescriptor

func (r *Hardware) GetResourceDescriptor() gotenresource.Descriptor

func (*Hardware) GetSerialNumber

func (m *Hardware) GetSerialNumber() string

func (*Hardware) GetSimIccid

func (m *Hardware) GetSimIccid() string

func (*Hardware) GotenMessage

func (*Hardware) GotenMessage()

func (*Hardware) GotenObjectExt

func (o *Hardware) GotenObjectExt()

func (*Hardware) GotenValidate

func (obj *Hardware) GotenValidate() error

func (*Hardware) MakeDiffFieldMask

func (o *Hardware) MakeDiffFieldMask(other *Hardware) *Hardware_FieldMask

func (*Hardware) MakeFullFieldMask

func (o *Hardware) MakeFullFieldMask() *Hardware_FieldMask

func (*Hardware) MakeRawDiffFieldMask

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

func (*Hardware) MakeRawFullFieldMask

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

func (*Hardware) Marshal

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

func (*Hardware) MarshalJSON

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

func (*Hardware) MaybePopulateDefaults

func (r *Hardware) MaybePopulateDefaults() error

func (*Hardware) Merge

func (o *Hardware) Merge(source *Hardware)

func (*Hardware) MergeRaw

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

func (*Hardware) ProtoMessage

func (*Hardware) ProtoMessage()

func (*Hardware) ProtoReflect

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

func (*Hardware) Reset

func (m *Hardware) Reset()

func (*Hardware) SetAssociatedDeviceName

func (m *Hardware) SetAssociatedDeviceName(fv string)

func (*Hardware) SetAssociatedEdgelqInstance

func (m *Hardware) SetAssociatedEdgelqInstance(fv *edgelq_instance.Reference)

func (*Hardware) SetAssociatedProject

func (m *Hardware) SetAssociatedProject(fv string)

func (*Hardware) SetAssociatedProvisioningPolicyName

func (m *Hardware) SetAssociatedProvisioningPolicyName(fv string)

func (*Hardware) SetImei

func (m *Hardware) SetImei(fv string)

func (*Hardware) SetManufacturer

func (m *Hardware) SetManufacturer(fv string)

func (*Hardware) SetMetadata

func (m *Hardware) SetMetadata(fv *meta.Meta)

func (*Hardware) SetName

func (m *Hardware) SetName(fv *Name)

func (*Hardware) SetProductName

func (m *Hardware) SetProductName(fv string)

func (*Hardware) SetSerialNumber

func (m *Hardware) SetSerialNumber(fv string)

func (*Hardware) SetSimIccid

func (m *Hardware) SetSimIccid(fv string)

func (*Hardware) String

func (m *Hardware) String() string

func (*Hardware) Unmarshal

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

func (*Hardware) UnmarshalJSON

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

type HardwareChange

type HardwareChange struct {

	// Hardware change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*HardwareChange_Added_
	//	*HardwareChange_Modified_
	//	*HardwareChange_Current_
	//	*HardwareChange_Removed_
	ChangeType isHardwareChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

HardwareChange is used by Watch notifications Responses to describe change of single Hardware One of Added, Modified, Removed

func (*HardwareChange) Descriptor

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

Deprecated, Use HardwareChange.ProtoReflect.Descriptor instead.

func (*HardwareChange) GetAdded

func (m *HardwareChange) GetAdded() *HardwareChange_Added

func (*HardwareChange) GetChangeType

func (m *HardwareChange) GetChangeType() isHardwareChange_ChangeType

func (*HardwareChange) GetCurrent

func (m *HardwareChange) GetCurrent() *HardwareChange_Current

func (*HardwareChange) GetCurrentViewIndex

func (c *HardwareChange) GetCurrentViewIndex() int32

func (*HardwareChange) GetHardware

func (c *HardwareChange) GetHardware() *Hardware

func (*HardwareChange) GetHardwareName

func (c *HardwareChange) GetHardwareName() *Name

func (*HardwareChange) GetModified

func (m *HardwareChange) GetModified() *HardwareChange_Modified

func (*HardwareChange) GetPreviousViewIndex

func (c *HardwareChange) GetPreviousViewIndex() int32

func (*HardwareChange) GetRawName

func (c *HardwareChange) GetRawName() gotenresource.Name

func (*HardwareChange) GetRawResource

func (c *HardwareChange) GetRawResource() gotenresource.Resource

func (*HardwareChange) GetRemoved

func (m *HardwareChange) GetRemoved() *HardwareChange_Removed

func (*HardwareChange) GotenMessage

func (*HardwareChange) GotenMessage()

func (*HardwareChange) GotenValidate

func (obj *HardwareChange) GotenValidate() error

func (*HardwareChange) IsAdd

func (c *HardwareChange) IsAdd() bool

func (*HardwareChange) IsCurrent

func (c *HardwareChange) IsCurrent() bool

func (*HardwareChange) IsDelete

func (c *HardwareChange) IsDelete() bool

func (*HardwareChange) IsModify

func (c *HardwareChange) IsModify() bool

func (*HardwareChange) Marshal

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

func (*HardwareChange) MarshalJSON

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

func (*HardwareChange) ProtoMessage

func (*HardwareChange) ProtoMessage()

func (*HardwareChange) ProtoReflect

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

func (*HardwareChange) Reset

func (m *HardwareChange) Reset()

func (*HardwareChange) SetAdded

func (m *HardwareChange) SetAdded(fv *HardwareChange_Added)

func (*HardwareChange) SetAddedRaw

func (c *HardwareChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*HardwareChange) SetChangeType

func (m *HardwareChange) SetChangeType(ofv isHardwareChange_ChangeType)

func (*HardwareChange) SetCurrent

func (m *HardwareChange) SetCurrent(fv *HardwareChange_Current)

func (*HardwareChange) SetCurrentRaw

func (c *HardwareChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*HardwareChange) SetDeletedRaw

func (c *HardwareChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*HardwareChange) SetModified

func (m *HardwareChange) SetModified(fv *HardwareChange_Modified)

func (*HardwareChange) SetModifiedRaw

func (c *HardwareChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*HardwareChange) SetRemoved

func (m *HardwareChange) SetRemoved(fv *HardwareChange_Removed)

func (*HardwareChange) String

func (m *HardwareChange) String() string

func (*HardwareChange) Unmarshal

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

func (*HardwareChange) UnmarshalJSON

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

type HardwareChangeList

type HardwareChangeList []*HardwareChange

func (HardwareChangeList) Append

func (HardwareChangeList) At

func (HardwareChangeList) Length

func (l HardwareChangeList) Length() int

func (HardwareChangeList) Set

func (HardwareChangeList) Slice

func (l HardwareChangeList) Slice(first, second int) gotenresource.ResourceChangeList

type HardwareChangeMap

type HardwareChangeMap map[Name]*HardwareChange

func (HardwareChangeMap) Delete

func (m HardwareChangeMap) Delete(name gotenresource.Name)

func (HardwareChangeMap) ForEach

func (HardwareChangeMap) Get

func (HardwareChangeMap) Length

func (m HardwareChangeMap) Length() int

func (HardwareChangeMap) Set

type HardwareChange_Added

type HardwareChange_Added struct {
	Hardware *Hardware `protobuf:"bytes,1,opt,name=hardware,proto3" json:"hardware,omitempty" firestore:"hardware"`
	// Integer describing index of added Hardware 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
}

Hardware has been added to query view

func (*HardwareChange_Added) Descriptor

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

Deprecated, Use HardwareChange_Added.ProtoReflect.Descriptor instead.

func (*HardwareChange_Added) GetHardware

func (m *HardwareChange_Added) GetHardware() *Hardware

func (*HardwareChange_Added) GetViewIndex

func (m *HardwareChange_Added) GetViewIndex() int32

func (*HardwareChange_Added) GotenMessage

func (*HardwareChange_Added) GotenMessage()

func (*HardwareChange_Added) GotenValidate

func (obj *HardwareChange_Added) GotenValidate() error

func (*HardwareChange_Added) Marshal

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

func (*HardwareChange_Added) MarshalJSON

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

func (*HardwareChange_Added) ProtoMessage

func (*HardwareChange_Added) ProtoMessage()

func (*HardwareChange_Added) ProtoReflect

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

func (*HardwareChange_Added) Reset

func (m *HardwareChange_Added) Reset()

func (*HardwareChange_Added) SetHardware

func (m *HardwareChange_Added) SetHardware(fv *Hardware)

func (*HardwareChange_Added) SetViewIndex

func (m *HardwareChange_Added) SetViewIndex(fv int32)

func (*HardwareChange_Added) String

func (m *HardwareChange_Added) String() string

func (*HardwareChange_Added) Unmarshal

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

func (*HardwareChange_Added) UnmarshalJSON

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

type HardwareChange_Added_

type HardwareChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *HardwareChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type HardwareChange_Current

type HardwareChange_Current struct {
	Hardware *Hardware `protobuf:"bytes,1,opt,name=hardware,proto3" json:"hardware,omitempty" firestore:"hardware"`
	// contains filtered or unexported fields
}

Hardware has been added or modified in a query view. Version used for stateless watching

func (*HardwareChange_Current) Descriptor

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

Deprecated, Use HardwareChange_Current.ProtoReflect.Descriptor instead.

func (*HardwareChange_Current) GetHardware

func (m *HardwareChange_Current) GetHardware() *Hardware

func (*HardwareChange_Current) GotenMessage

func (*HardwareChange_Current) GotenMessage()

func (*HardwareChange_Current) GotenValidate

func (obj *HardwareChange_Current) GotenValidate() error

func (*HardwareChange_Current) Marshal

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

func (*HardwareChange_Current) MarshalJSON

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

func (*HardwareChange_Current) ProtoMessage

func (*HardwareChange_Current) ProtoMessage()

func (*HardwareChange_Current) ProtoReflect

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

func (*HardwareChange_Current) Reset

func (m *HardwareChange_Current) Reset()

func (*HardwareChange_Current) SetHardware

func (m *HardwareChange_Current) SetHardware(fv *Hardware)

func (*HardwareChange_Current) String

func (m *HardwareChange_Current) String() string

func (*HardwareChange_Current) Unmarshal

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

func (*HardwareChange_Current) UnmarshalJSON

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

type HardwareChange_Current_

type HardwareChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *HardwareChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type HardwareChange_Modified

type HardwareChange_Modified struct {

	// Name of modified Hardware
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of Hardware or masked difference, depending on mask_changes
	// instrumentation of issued [WatchHardwareRequest] or
	// [WatchHardwaresRequest]
	Hardware *Hardware `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty" firestore:"hardware"`
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *Hardware_FieldMask `` /* 140-byte string literal not displayed */
	// Previous view index specifies previous position of modified Hardware.
	// When modification doesn't affect sorted order, value will remain
	// identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying Hardware 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
}

Hardware changed some of it's fields - contains either full document or masked change

func (*HardwareChange_Modified) Descriptor

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

Deprecated, Use HardwareChange_Modified.ProtoReflect.Descriptor instead.

func (*HardwareChange_Modified) GetFieldMask

func (m *HardwareChange_Modified) GetFieldMask() *Hardware_FieldMask

func (*HardwareChange_Modified) GetHardware

func (m *HardwareChange_Modified) GetHardware() *Hardware

func (*HardwareChange_Modified) GetName

func (m *HardwareChange_Modified) GetName() *Name

func (*HardwareChange_Modified) GetPreviousViewIndex

func (m *HardwareChange_Modified) GetPreviousViewIndex() int32

func (*HardwareChange_Modified) GetViewIndex

func (m *HardwareChange_Modified) GetViewIndex() int32

func (*HardwareChange_Modified) GotenMessage

func (*HardwareChange_Modified) GotenMessage()

func (*HardwareChange_Modified) GotenValidate

func (obj *HardwareChange_Modified) GotenValidate() error

func (*HardwareChange_Modified) Marshal

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

func (*HardwareChange_Modified) MarshalJSON

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

func (*HardwareChange_Modified) ProtoMessage

func (*HardwareChange_Modified) ProtoMessage()

func (*HardwareChange_Modified) ProtoReflect

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

func (*HardwareChange_Modified) Reset

func (m *HardwareChange_Modified) Reset()

func (*HardwareChange_Modified) SetFieldMask

func (m *HardwareChange_Modified) SetFieldMask(fv *Hardware_FieldMask)

func (*HardwareChange_Modified) SetHardware

func (m *HardwareChange_Modified) SetHardware(fv *Hardware)

func (*HardwareChange_Modified) SetName

func (m *HardwareChange_Modified) SetName(fv *Name)

func (*HardwareChange_Modified) SetPreviousViewIndex

func (m *HardwareChange_Modified) SetPreviousViewIndex(fv int32)

func (*HardwareChange_Modified) SetViewIndex

func (m *HardwareChange_Modified) SetViewIndex(fv int32)

func (*HardwareChange_Modified) String

func (m *HardwareChange_Modified) String() string

func (*HardwareChange_Modified) Unmarshal

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

func (*HardwareChange_Modified) UnmarshalJSON

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

type HardwareChange_Modified_

type HardwareChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *HardwareChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type HardwareChange_Removed

type HardwareChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed Hardware 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 Hardware is deleted or leaves Query view

func (*HardwareChange_Removed) Descriptor

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

Deprecated, Use HardwareChange_Removed.ProtoReflect.Descriptor instead.

func (*HardwareChange_Removed) GetName

func (m *HardwareChange_Removed) GetName() *Name

func (*HardwareChange_Removed) GetViewIndex

func (m *HardwareChange_Removed) GetViewIndex() int32

func (*HardwareChange_Removed) GotenMessage

func (*HardwareChange_Removed) GotenMessage()

func (*HardwareChange_Removed) GotenValidate

func (obj *HardwareChange_Removed) GotenValidate() error

func (*HardwareChange_Removed) Marshal

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

func (*HardwareChange_Removed) MarshalJSON

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

func (*HardwareChange_Removed) ProtoMessage

func (*HardwareChange_Removed) ProtoMessage()

func (*HardwareChange_Removed) ProtoReflect

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

func (*HardwareChange_Removed) Reset

func (m *HardwareChange_Removed) Reset()

func (*HardwareChange_Removed) SetName

func (m *HardwareChange_Removed) SetName(fv *Name)

func (*HardwareChange_Removed) SetViewIndex

func (m *HardwareChange_Removed) SetViewIndex(fv int32)

func (*HardwareChange_Removed) String

func (m *HardwareChange_Removed) String() string

func (*HardwareChange_Removed) Unmarshal

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

func (*HardwareChange_Removed) UnmarshalJSON

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

type HardwareChange_Removed_

type HardwareChange_Removed_ struct {
	// Removed is returned when Hardware is deleted or leaves Query view
	Removed *HardwareChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type HardwareFieldPathBuilder

type HardwareFieldPathBuilder struct{}

func NewHardwareFieldPathBuilder

func NewHardwareFieldPathBuilder() HardwareFieldPathBuilder

func (HardwareFieldPathBuilder) AssociatedDeviceName

func (HardwareFieldPathBuilder) AssociatedEdgelqInstance

func (HardwareFieldPathBuilder) AssociatedProject

func (HardwareFieldPathBuilder) AssociatedProvisioningPolicyName

func (HardwareFieldPathBuilder) Imei

func (HardwareFieldPathBuilder) Manufacturer

func (HardwareFieldPathBuilder) Metadata

func (HardwareFieldPathBuilder) Name

func (HardwareFieldPathBuilder) ProductName

func (HardwareFieldPathBuilder) SerialNumber

func (HardwareFieldPathBuilder) SimIccid

type HardwareList

type HardwareList []*Hardware

func (HardwareList) Append

func (HardwareList) AppendList

func (HardwareList) At

func (HardwareList) Length

func (l HardwareList) Length() int

func (HardwareList) Set

func (l HardwareList) Set(idx int, res gotenresource.Resource)

func (HardwareList) Slice

func (l HardwareList) Slice(first, second int) gotenresource.ResourceList

type HardwareMap

type HardwareMap map[Name]*Hardware

func (HardwareMap) Delete

func (m HardwareMap) Delete(name gotenresource.Name)

func (HardwareMap) ForEach

func (HardwareMap) Get

func (HardwareMap) Length

func (m HardwareMap) Length() int

func (HardwareMap) Set

func (m HardwareMap) Set(res gotenresource.Resource)

type HardwareMapPathSelectorMetadataAnnotations

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

func (HardwareMapPathSelectorMetadataAnnotations) FieldPath

func (HardwareMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (HardwareMapPathSelectorMetadataAnnotations) WithValue

type HardwareMapPathSelectorMetadataLabels

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

func (HardwareMapPathSelectorMetadataLabels) FieldPath

func (HardwareMapPathSelectorMetadataLabels) WithArrayOfValues

func (HardwareMapPathSelectorMetadataLabels) WithValue

type HardwareMapPathSelectorMetadataShards

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

func (HardwareMapPathSelectorMetadataShards) FieldPath

func (HardwareMapPathSelectorMetadataShards) WithArrayOfValues

func (HardwareMapPathSelectorMetadataShards) WithValue

type HardwareNameList

type HardwareNameList []*Name

func (HardwareNameList) Append

func (HardwareNameList) AppendList

func (HardwareNameList) At

func (HardwareNameList) Length

func (l HardwareNameList) Length() int

func (HardwareNameList) Set

func (l HardwareNameList) Set(idx int, name gotenresource.Name)

func (HardwareNameList) Slice

func (l HardwareNameList) Slice(first, second int) gotenresource.NameList

type HardwareParentNameList

type HardwareParentNameList []*ParentName

func (HardwareParentNameList) Append

func (HardwareParentNameList) AppendList

func (HardwareParentNameList) At

func (HardwareParentNameList) Length

func (l HardwareParentNameList) Length() int

func (HardwareParentNameList) Set

func (l HardwareParentNameList) Set(idx int, name gotenresource.Name)

func (HardwareParentNameList) Slice

func (l HardwareParentNameList) Slice(first, second int) gotenresource.ParentNameList

type HardwareParentReferenceList

type HardwareParentReferenceList []*ParentReference

func (HardwareParentReferenceList) Append

func (HardwareParentReferenceList) AppendList

func (HardwareParentReferenceList) At

func (HardwareParentReferenceList) Length

func (l HardwareParentReferenceList) Length() int

func (HardwareParentReferenceList) Set

func (HardwareParentReferenceList) Slice

type HardwarePathSelectorAssociatedDeviceName

type HardwarePathSelectorAssociatedDeviceName struct{}

func (HardwarePathSelectorAssociatedDeviceName) FieldPath

func (HardwarePathSelectorAssociatedDeviceName) WithArrayOfValues

func (HardwarePathSelectorAssociatedDeviceName) WithValue

type HardwarePathSelectorAssociatedEdgelqInstance

type HardwarePathSelectorAssociatedEdgelqInstance struct{}

func (HardwarePathSelectorAssociatedEdgelqInstance) FieldPath

func (HardwarePathSelectorAssociatedEdgelqInstance) WithArrayOfValues

func (HardwarePathSelectorAssociatedEdgelqInstance) WithValue

type HardwarePathSelectorAssociatedProject

type HardwarePathSelectorAssociatedProject struct{}

func (HardwarePathSelectorAssociatedProject) FieldPath

func (HardwarePathSelectorAssociatedProject) WithArrayOfValues

func (HardwarePathSelectorAssociatedProject) WithValue

type HardwarePathSelectorAssociatedProvisioningPolicyName

type HardwarePathSelectorAssociatedProvisioningPolicyName struct{}

func (HardwarePathSelectorAssociatedProvisioningPolicyName) FieldPath

func (HardwarePathSelectorAssociatedProvisioningPolicyName) WithArrayOfValues

func (HardwarePathSelectorAssociatedProvisioningPolicyName) WithValue

type HardwarePathSelectorImei

type HardwarePathSelectorImei struct{}

func (HardwarePathSelectorImei) FieldPath

func (HardwarePathSelectorImei) WithArrayOfValues

func (HardwarePathSelectorImei) WithValue

type HardwarePathSelectorManufacturer

type HardwarePathSelectorManufacturer struct{}

func (HardwarePathSelectorManufacturer) FieldPath

func (HardwarePathSelectorManufacturer) WithArrayOfValues

func (HardwarePathSelectorManufacturer) WithValue

type HardwarePathSelectorMetadata

type HardwarePathSelectorMetadata struct{}

func (HardwarePathSelectorMetadata) Annotations

func (HardwarePathSelectorMetadata) CreateTime

func (HardwarePathSelectorMetadata) DeleteTime

func (HardwarePathSelectorMetadata) FieldPath

func (HardwarePathSelectorMetadata) Generation

func (HardwarePathSelectorMetadata) Labels

func (HardwarePathSelectorMetadata) Lifecycle

func (HardwarePathSelectorMetadata) OwnerReferences

func (HardwarePathSelectorMetadata) ResourceVersion

func (HardwarePathSelectorMetadata) Services

func (HardwarePathSelectorMetadata) Shards

func (HardwarePathSelectorMetadata) Syncing

func (HardwarePathSelectorMetadata) Tags

func (HardwarePathSelectorMetadata) UpdateTime

func (HardwarePathSelectorMetadata) Uuid

func (HardwarePathSelectorMetadata) WithArrayOfValues

func (HardwarePathSelectorMetadata) WithSubArrayItemValue

func (HardwarePathSelectorMetadata) WithSubArrayOfValues

func (HardwarePathSelectorMetadata) WithSubPath

func (HardwarePathSelectorMetadata) WithSubValue

func (HardwarePathSelectorMetadata) WithValue

type HardwarePathSelectorMetadataAnnotations

type HardwarePathSelectorMetadataAnnotations struct{}

func (HardwarePathSelectorMetadataAnnotations) FieldPath

func (HardwarePathSelectorMetadataAnnotations) WithArrayOfValues

func (HardwarePathSelectorMetadataAnnotations) WithKey

func (HardwarePathSelectorMetadataAnnotations) WithValue

type HardwarePathSelectorMetadataCreateTime

type HardwarePathSelectorMetadataCreateTime struct{}

func (HardwarePathSelectorMetadataCreateTime) FieldPath

func (HardwarePathSelectorMetadataCreateTime) WithArrayOfValues

func (HardwarePathSelectorMetadataCreateTime) WithValue

type HardwarePathSelectorMetadataDeleteTime

type HardwarePathSelectorMetadataDeleteTime struct{}

func (HardwarePathSelectorMetadataDeleteTime) FieldPath

func (HardwarePathSelectorMetadataDeleteTime) WithArrayOfValues

func (HardwarePathSelectorMetadataDeleteTime) WithValue

type HardwarePathSelectorMetadataGeneration

type HardwarePathSelectorMetadataGeneration struct{}

func (HardwarePathSelectorMetadataGeneration) FieldPath

func (HardwarePathSelectorMetadataGeneration) WithArrayOfValues

func (HardwarePathSelectorMetadataGeneration) WithValue

type HardwarePathSelectorMetadataLabels

type HardwarePathSelectorMetadataLabels struct{}

func (HardwarePathSelectorMetadataLabels) FieldPath

func (HardwarePathSelectorMetadataLabels) WithArrayOfValues

func (HardwarePathSelectorMetadataLabels) WithKey

func (HardwarePathSelectorMetadataLabels) WithValue

type HardwarePathSelectorMetadataLifecycle

type HardwarePathSelectorMetadataLifecycle struct{}

func (HardwarePathSelectorMetadataLifecycle) BlockDeletion

func (HardwarePathSelectorMetadataLifecycle) FieldPath

func (HardwarePathSelectorMetadataLifecycle) State

func (HardwarePathSelectorMetadataLifecycle) WithArrayOfValues

func (HardwarePathSelectorMetadataLifecycle) WithValue

type HardwarePathSelectorMetadataLifecycleBlockDeletion

type HardwarePathSelectorMetadataLifecycleBlockDeletion struct{}

func (HardwarePathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (HardwarePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (HardwarePathSelectorMetadataLifecycleBlockDeletion) WithValue

type HardwarePathSelectorMetadataLifecycleState

type HardwarePathSelectorMetadataLifecycleState struct{}

func (HardwarePathSelectorMetadataLifecycleState) FieldPath

func (HardwarePathSelectorMetadataLifecycleState) WithArrayOfValues

func (HardwarePathSelectorMetadataLifecycleState) WithValue

type HardwarePathSelectorMetadataOwnerReferences

type HardwarePathSelectorMetadataOwnerReferences struct{}

func (HardwarePathSelectorMetadataOwnerReferences) Controller

func (HardwarePathSelectorMetadataOwnerReferences) FieldPath

func (HardwarePathSelectorMetadataOwnerReferences) Kind

func (HardwarePathSelectorMetadataOwnerReferences) Name

func (HardwarePathSelectorMetadataOwnerReferences) Region

func (HardwarePathSelectorMetadataOwnerReferences) RequiresOwnerReference

func (HardwarePathSelectorMetadataOwnerReferences) Version

func (HardwarePathSelectorMetadataOwnerReferences) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferences) WithItemValue

func (HardwarePathSelectorMetadataOwnerReferences) WithValue

type HardwarePathSelectorMetadataOwnerReferencesController

type HardwarePathSelectorMetadataOwnerReferencesController struct{}

func (HardwarePathSelectorMetadataOwnerReferencesController) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesController) WithValue

type HardwarePathSelectorMetadataOwnerReferencesKind

type HardwarePathSelectorMetadataOwnerReferencesKind struct{}

func (HardwarePathSelectorMetadataOwnerReferencesKind) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesKind) WithValue

type HardwarePathSelectorMetadataOwnerReferencesName

type HardwarePathSelectorMetadataOwnerReferencesName struct{}

func (HardwarePathSelectorMetadataOwnerReferencesName) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesName) WithValue

type HardwarePathSelectorMetadataOwnerReferencesRegion

type HardwarePathSelectorMetadataOwnerReferencesRegion struct{}

func (HardwarePathSelectorMetadataOwnerReferencesRegion) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesRegion) WithValue

type HardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference

type HardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (HardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type HardwarePathSelectorMetadataOwnerReferencesVersion

type HardwarePathSelectorMetadataOwnerReferencesVersion struct{}

func (HardwarePathSelectorMetadataOwnerReferencesVersion) FieldPath

func (HardwarePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (HardwarePathSelectorMetadataOwnerReferencesVersion) WithValue

type HardwarePathSelectorMetadataResourceVersion

type HardwarePathSelectorMetadataResourceVersion struct{}

func (HardwarePathSelectorMetadataResourceVersion) FieldPath

func (HardwarePathSelectorMetadataResourceVersion) WithArrayOfValues

func (HardwarePathSelectorMetadataResourceVersion) WithValue

type HardwarePathSelectorMetadataServices

type HardwarePathSelectorMetadataServices struct{}

func (HardwarePathSelectorMetadataServices) AllowedServices

func (HardwarePathSelectorMetadataServices) FieldPath

func (HardwarePathSelectorMetadataServices) OwningService

func (HardwarePathSelectorMetadataServices) WithArrayOfValues

func (HardwarePathSelectorMetadataServices) WithValue

type HardwarePathSelectorMetadataServicesAllowedServices

type HardwarePathSelectorMetadataServicesAllowedServices struct{}

func (HardwarePathSelectorMetadataServicesAllowedServices) FieldPath

func (HardwarePathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (HardwarePathSelectorMetadataServicesAllowedServices) WithItemValue

func (HardwarePathSelectorMetadataServicesAllowedServices) WithValue

type HardwarePathSelectorMetadataServicesOwningService

type HardwarePathSelectorMetadataServicesOwningService struct{}

func (HardwarePathSelectorMetadataServicesOwningService) FieldPath

func (HardwarePathSelectorMetadataServicesOwningService) WithArrayOfValues

func (HardwarePathSelectorMetadataServicesOwningService) WithValue

type HardwarePathSelectorMetadataShards

type HardwarePathSelectorMetadataShards struct{}

func (HardwarePathSelectorMetadataShards) FieldPath

func (HardwarePathSelectorMetadataShards) WithArrayOfValues

func (HardwarePathSelectorMetadataShards) WithKey

func (HardwarePathSelectorMetadataShards) WithValue

type HardwarePathSelectorMetadataSyncing

type HardwarePathSelectorMetadataSyncing struct{}

func (HardwarePathSelectorMetadataSyncing) FieldPath

func (HardwarePathSelectorMetadataSyncing) OwningRegion

func (HardwarePathSelectorMetadataSyncing) Regions

func (HardwarePathSelectorMetadataSyncing) WithArrayOfValues

func (HardwarePathSelectorMetadataSyncing) WithValue

type HardwarePathSelectorMetadataSyncingOwningRegion

type HardwarePathSelectorMetadataSyncingOwningRegion struct{}

func (HardwarePathSelectorMetadataSyncingOwningRegion) FieldPath

func (HardwarePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (HardwarePathSelectorMetadataSyncingOwningRegion) WithValue

type HardwarePathSelectorMetadataSyncingRegions

type HardwarePathSelectorMetadataSyncingRegions struct{}

func (HardwarePathSelectorMetadataSyncingRegions) FieldPath

func (HardwarePathSelectorMetadataSyncingRegions) WithArrayOfValues

func (HardwarePathSelectorMetadataSyncingRegions) WithItemValue

func (HardwarePathSelectorMetadataSyncingRegions) WithValue

type HardwarePathSelectorMetadataTags

type HardwarePathSelectorMetadataTags struct{}

func (HardwarePathSelectorMetadataTags) FieldPath

func (HardwarePathSelectorMetadataTags) WithArrayOfValues

func (HardwarePathSelectorMetadataTags) WithItemValue

func (HardwarePathSelectorMetadataTags) WithValue

type HardwarePathSelectorMetadataUpdateTime

type HardwarePathSelectorMetadataUpdateTime struct{}

func (HardwarePathSelectorMetadataUpdateTime) FieldPath

func (HardwarePathSelectorMetadataUpdateTime) WithArrayOfValues

func (HardwarePathSelectorMetadataUpdateTime) WithValue

type HardwarePathSelectorMetadataUuid

type HardwarePathSelectorMetadataUuid struct{}

func (HardwarePathSelectorMetadataUuid) FieldPath

func (HardwarePathSelectorMetadataUuid) WithArrayOfValues

func (HardwarePathSelectorMetadataUuid) WithValue

type HardwarePathSelectorName

type HardwarePathSelectorName struct{}

func (HardwarePathSelectorName) FieldPath

func (HardwarePathSelectorName) WithArrayOfValues

func (HardwarePathSelectorName) WithValue

type HardwarePathSelectorProductName

type HardwarePathSelectorProductName struct{}

func (HardwarePathSelectorProductName) FieldPath

func (HardwarePathSelectorProductName) WithArrayOfValues

func (HardwarePathSelectorProductName) WithValue

type HardwarePathSelectorSerialNumber

type HardwarePathSelectorSerialNumber struct{}

func (HardwarePathSelectorSerialNumber) FieldPath

func (HardwarePathSelectorSerialNumber) WithArrayOfValues

func (HardwarePathSelectorSerialNumber) WithValue

type HardwarePathSelectorSimIccid

type HardwarePathSelectorSimIccid struct{}

func (HardwarePathSelectorSimIccid) FieldPath

func (HardwarePathSelectorSimIccid) WithArrayOfValues

func (HardwarePathSelectorSimIccid) WithValue

type HardwareReferenceList

type HardwareReferenceList []*Reference

func (HardwareReferenceList) Append

func (HardwareReferenceList) AppendList

func (HardwareReferenceList) At

func (HardwareReferenceList) Length

func (l HardwareReferenceList) Length() int

func (HardwareReferenceList) Set

func (HardwareReferenceList) Slice

func (l HardwareReferenceList) Slice(first, second int) gotenresource.ReferenceList

type Hardware_FieldMask

type Hardware_FieldMask struct {
	Paths []Hardware_FieldPath
}

func FullHardware_FieldMask

func FullHardware_FieldMask() *Hardware_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *Hardware_FieldMask) *Hardware_FieldMask

func (*Hardware_FieldMask) AppendPath

func (fieldMask *Hardware_FieldMask) AppendPath(path Hardware_FieldPath)

func (*Hardware_FieldMask) AppendRawPath

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

func (*Hardware_FieldMask) DecodeFirestore

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

func (*Hardware_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Hardware_FieldMask) FilterInputFields

func (fieldMask *Hardware_FieldMask) FilterInputFields() *Hardware_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Hardware_FieldMask) FromProtoFieldMask

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

func (*Hardware_FieldMask) GetPaths

func (fieldMask *Hardware_FieldMask) GetPaths() []Hardware_FieldPath

func (*Hardware_FieldMask) GetRawPaths

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

func (*Hardware_FieldMask) IsFull

func (fieldMask *Hardware_FieldMask) IsFull() bool

func (Hardware_FieldMask) Marshal

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

implement methods required by customType

func (Hardware_FieldMask) MarshalJSON

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

func (*Hardware_FieldMask) PathsCount

func (fieldMask *Hardware_FieldMask) PathsCount() int

func (*Hardware_FieldMask) Project

func (fieldMask *Hardware_FieldMask) Project(source *Hardware) *Hardware

func (*Hardware_FieldMask) ProjectRaw

func (*Hardware_FieldMask) ProtoMessage

func (fieldMask *Hardware_FieldMask) ProtoMessage()

func (*Hardware_FieldMask) ProtoReflect

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

func (*Hardware_FieldMask) Reset

func (fieldMask *Hardware_FieldMask) Reset()

func (*Hardware_FieldMask) Set

func (fieldMask *Hardware_FieldMask) Set(target, source *Hardware)

func (*Hardware_FieldMask) SetFromCliFlag

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

func (*Hardware_FieldMask) SetRaw

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

func (*Hardware_FieldMask) Size

func (fieldMask *Hardware_FieldMask) Size() int

func (*Hardware_FieldMask) String

func (fieldMask *Hardware_FieldMask) String() string

func (*Hardware_FieldMask) Subtract

func (fieldMask *Hardware_FieldMask) Subtract(other *Hardware_FieldMask) *Hardware_FieldMask

func (*Hardware_FieldMask) SubtractRaw

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

func (*Hardware_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Hardware_FieldMask) Unmarshal

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

func (*Hardware_FieldMask) UnmarshalJSON

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

type Hardware_FieldPath

type Hardware_FieldPath interface {
	gotenobject.FieldPath
	Selector() Hardware_FieldPathSelector
	Get(source *Hardware) []interface{}
	GetSingle(source *Hardware) (interface{}, bool)
	ClearValue(item *Hardware)

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

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

func BuildHardware_FieldPath

func BuildHardware_FieldPath(fp gotenobject.RawFieldPath) (Hardware_FieldPath, error)

func MustParseHardware_FieldPath

func MustParseHardware_FieldPath(rawField string) Hardware_FieldPath

func ParseHardware_FieldPath

func ParseHardware_FieldPath(rawField string) (Hardware_FieldPath, error)

type Hardware_FieldPathArrayItemValue

type Hardware_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Hardware_FieldPath
	ContainsValue(*Hardware) bool
}

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

func MustParseHardware_FieldPathArrayItemValue

func MustParseHardware_FieldPathArrayItemValue(pathStr, valueStr string) Hardware_FieldPathArrayItemValue

func ParseHardware_FieldPathArrayItemValue

func ParseHardware_FieldPathArrayItemValue(pathStr, valueStr string) (Hardware_FieldPathArrayItemValue, error)

ParseHardware_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Hardware_FieldPathArrayOfValues

type Hardware_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Hardware_FieldPath
}

Hardware_FieldPathArrayOfValues allows storing slice of values for Hardware fields according to their type

func MustParseHardware_FieldPathArrayOfValues

func MustParseHardware_FieldPathArrayOfValues(pathStr, valuesStr string) Hardware_FieldPathArrayOfValues

func ParseHardware_FieldPathArrayOfValues

func ParseHardware_FieldPathArrayOfValues(pathStr, valuesStr string) (Hardware_FieldPathArrayOfValues, error)

type Hardware_FieldPathSelector

type Hardware_FieldPathSelector int32
const (
	Hardware_FieldPathSelectorName                             Hardware_FieldPathSelector = 0
	Hardware_FieldPathSelectorMetadata                         Hardware_FieldPathSelector = 1
	Hardware_FieldPathSelectorSerialNumber                     Hardware_FieldPathSelector = 2
	Hardware_FieldPathSelectorManufacturer                     Hardware_FieldPathSelector = 3
	Hardware_FieldPathSelectorProductName                      Hardware_FieldPathSelector = 4
	Hardware_FieldPathSelectorAssociatedEdgelqInstance         Hardware_FieldPathSelector = 5
	Hardware_FieldPathSelectorAssociatedProject                Hardware_FieldPathSelector = 6
	Hardware_FieldPathSelectorAssociatedProvisioningPolicyName Hardware_FieldPathSelector = 7
	Hardware_FieldPathSelectorAssociatedDeviceName             Hardware_FieldPathSelector = 8
	Hardware_FieldPathSelectorSimIccid                         Hardware_FieldPathSelector = 9
	Hardware_FieldPathSelectorImei                             Hardware_FieldPathSelector = 10
)

func (Hardware_FieldPathSelector) String

type Hardware_FieldPathValue

type Hardware_FieldPathValue interface {
	Hardware_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Hardware)
	CompareWith(*Hardware) (cmp int, comparable bool)
}

Hardware_FieldPathValue allows storing values for Hardware fields according to their type

func MustParseHardware_FieldPathValue

func MustParseHardware_FieldPathValue(pathStr, valueStr string) Hardware_FieldPathValue

func ParseHardware_FieldPathValue

func ParseHardware_FieldPathValue(pathStr, valueStr string) (Hardware_FieldPathValue, error)

type Hardware_FieldSubPath

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

func (*Hardware_FieldSubPath) AsMetadataSubPath

func (fps *Hardware_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*Hardware_FieldSubPath) ClearValue

func (fps *Hardware_FieldSubPath) ClearValue(item *Hardware)

func (*Hardware_FieldSubPath) ClearValueRaw

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

func (*Hardware_FieldSubPath) Get

func (fps *Hardware_FieldSubPath) Get(source *Hardware) (values []interface{})

Get returns all values pointed by selected field from source Hardware

func (*Hardware_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Hardware_FieldSubPath) GetRaw

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

func (*Hardware_FieldSubPath) GetSingle

func (fps *Hardware_FieldSubPath) GetSingle(source *Hardware) (interface{}, bool)

GetSingle returns value of selected field from source Hardware

func (*Hardware_FieldSubPath) GetSingleRaw

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

func (*Hardware_FieldSubPath) IsLeaf

func (fps *Hardware_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Hardware_FieldSubPath) JSONString

func (fps *Hardware_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Hardware_FieldSubPath) Selector

func (*Hardware_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Hardware_FieldSubPath) String

func (fps *Hardware_FieldSubPath) String() string

String returns path representation in proto convention

func (*Hardware_FieldSubPath) WithIArrayItemValue

func (fps *Hardware_FieldSubPath) WithIArrayItemValue(value interface{}) Hardware_FieldPathArrayItemValue

func (*Hardware_FieldSubPath) WithIArrayOfValues

func (fps *Hardware_FieldSubPath) WithIArrayOfValues(values interface{}) Hardware_FieldPathArrayOfValues

func (*Hardware_FieldSubPath) WithIValue

func (fps *Hardware_FieldSubPath) WithIValue(value interface{}) Hardware_FieldPathValue

func (*Hardware_FieldSubPath) WithRawIArrayItemValue

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

func (*Hardware_FieldSubPath) WithRawIArrayOfValues

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

func (*Hardware_FieldSubPath) WithRawIValue

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

type Hardware_FieldSubPathArrayItemValue

type Hardware_FieldSubPathArrayItemValue struct {
	Hardware_FieldPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (fpaivs *Hardware_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)

func (*Hardware_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Hardware_FieldSubPathArrayItemValue) ContainsValue(source *Hardware) bool

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

func (*Hardware_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Hardware_FieldSubPathArrayOfValues

type Hardware_FieldSubPathArrayOfValues struct {
	Hardware_FieldPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *Hardware_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*Hardware_FieldSubPathArrayOfValues) GetRawValues

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

type Hardware_FieldSubPathValue

type Hardware_FieldSubPathValue struct {
	Hardware_FieldPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldSubPathValue) AsMetadataPathValue

func (fpvs *Hardware_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*Hardware_FieldSubPathValue) CompareWith

func (fpvs *Hardware_FieldSubPathValue) CompareWith(source *Hardware) (int, bool)

func (*Hardware_FieldSubPathValue) CompareWithRaw

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

func (*Hardware_FieldSubPathValue) GetRawValue

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

func (*Hardware_FieldSubPathValue) SetTo

func (fpvs *Hardware_FieldSubPathValue) SetTo(target **Hardware)

func (*Hardware_FieldSubPathValue) SetToRaw

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

type Hardware_FieldTerminalPath

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

func (*Hardware_FieldTerminalPath) ClearValue

func (fp *Hardware_FieldTerminalPath) ClearValue(item *Hardware)

func (*Hardware_FieldTerminalPath) ClearValueRaw

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

func (*Hardware_FieldTerminalPath) Get

func (fp *Hardware_FieldTerminalPath) Get(source *Hardware) (values []interface{})

Get returns all values pointed by specific field from source Hardware

func (*Hardware_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Hardware_FieldTerminalPath) GetRaw

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

func (*Hardware_FieldTerminalPath) GetSingle

func (fp *Hardware_FieldTerminalPath) GetSingle(source *Hardware) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Hardware

func (*Hardware_FieldTerminalPath) GetSingleRaw

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

func (*Hardware_FieldTerminalPath) IsLeaf

func (fp *Hardware_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Hardware_FieldTerminalPath) JSONString

func (fp *Hardware_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Hardware_FieldTerminalPath) Selector

func (*Hardware_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Hardware_FieldTerminalPath) String

func (fp *Hardware_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Hardware_FieldTerminalPath) WithIArrayItemValue

func (fp *Hardware_FieldTerminalPath) WithIArrayItemValue(value interface{}) Hardware_FieldPathArrayItemValue

func (*Hardware_FieldTerminalPath) WithIArrayOfValues

func (fp *Hardware_FieldTerminalPath) WithIArrayOfValues(values interface{}) Hardware_FieldPathArrayOfValues

func (*Hardware_FieldTerminalPath) WithIValue

func (fp *Hardware_FieldTerminalPath) WithIValue(value interface{}) Hardware_FieldPathValue

func (*Hardware_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Hardware_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Hardware_FieldTerminalPath) WithRawIValue

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

type Hardware_FieldTerminalPathArrayItemValue

type Hardware_FieldTerminalPathArrayItemValue struct {
	Hardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Hardware_FieldTerminalPathArrayItemValue) ContainsValue(source *Hardware) bool

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

func (*Hardware_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Hardware_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Hardware_FieldTerminalPathArrayItemValue) GetSingle(source *Hardware) (interface{}, bool)

func (*Hardware_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Hardware_FieldTerminalPathArrayOfValues

type Hardware_FieldTerminalPathArrayOfValues struct {
	Hardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldTerminalPathArrayOfValues) AsAssociatedDeviceNameArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsAssociatedDeviceNameArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsAssociatedEdgelqInstanceArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsAssociatedEdgelqInstanceArrayOfValues() ([]*edgelq_instance.Reference, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsAssociatedProjectArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsAssociatedProjectArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsAssociatedProvisioningPolicyNameArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsAssociatedProvisioningPolicyNameArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsImeiArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsImeiArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsManufacturerArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsManufacturerArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsProductNameArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsProductNameArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsSerialNumberArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsSerialNumberArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) AsSimIccidArrayOfValues

func (fpaov *Hardware_FieldTerminalPathArrayOfValues) AsSimIccidArrayOfValues() ([]string, bool)

func (*Hardware_FieldTerminalPathArrayOfValues) GetRawValues

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

type Hardware_FieldTerminalPathValue

type Hardware_FieldTerminalPathValue struct {
	Hardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Hardware_FieldTerminalPathValue) AsAssociatedDeviceNameValue

func (fpv *Hardware_FieldTerminalPathValue) AsAssociatedDeviceNameValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsAssociatedEdgelqInstanceValue

func (fpv *Hardware_FieldTerminalPathValue) AsAssociatedEdgelqInstanceValue() (*edgelq_instance.Reference, bool)

func (*Hardware_FieldTerminalPathValue) AsAssociatedProjectValue

func (fpv *Hardware_FieldTerminalPathValue) AsAssociatedProjectValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsAssociatedProvisioningPolicyNameValue

func (fpv *Hardware_FieldTerminalPathValue) AsAssociatedProvisioningPolicyNameValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsImeiValue

func (fpv *Hardware_FieldTerminalPathValue) AsImeiValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsManufacturerValue

func (fpv *Hardware_FieldTerminalPathValue) AsManufacturerValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsMetadataValue

func (fpv *Hardware_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*Hardware_FieldTerminalPathValue) AsNameValue

func (fpv *Hardware_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*Hardware_FieldTerminalPathValue) AsProductNameValue

func (fpv *Hardware_FieldTerminalPathValue) AsProductNameValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsSerialNumberValue

func (fpv *Hardware_FieldTerminalPathValue) AsSerialNumberValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) AsSimIccidValue

func (fpv *Hardware_FieldTerminalPathValue) AsSimIccidValue() (string, bool)

func (*Hardware_FieldTerminalPathValue) CompareWith

func (fpv *Hardware_FieldTerminalPathValue) CompareWith(source *Hardware) (int, bool)

CompareWith compares value in the 'Hardware_FieldTerminalPathValue' with the value under path in 'Hardware'.

func (*Hardware_FieldTerminalPathValue) CompareWithRaw

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

func (*Hardware_FieldTerminalPathValue) GetRawValue

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

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

func (*Hardware_FieldTerminalPathValue) SetTo

func (fpv *Hardware_FieldTerminalPathValue) SetTo(target **Hardware)

SetTo stores value for selected field for object Hardware

func (*Hardware_FieldTerminalPathValue) SetToRaw

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

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *Hardware_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 (q *ListQuery) GetWithPagingInfo() bool

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

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	HardwareId string `firestore:"hardwareId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetProjectName

func (name *Name) GetProjectName() *project.Name

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(id string) *NameBuilder

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

func (orderBy *OrderBy) Compare(left, right *Hardware) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Hardware_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 HardwareList, elem *Hardware) (HardwareList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results HardwareList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Hardware_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 *Hardware) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId string `firestore:"projectId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative

func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentName) ConvertToType

func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) Equal

func (name *ParentName) Equal(other ref.Val) ref.Val

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *project.Name

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) HasTrait

func (name *ParentName) HasTrait(trait int) bool

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match

func (name *ParentName) Match(pattern ref.Val) ref.Val

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) Receive

func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type

func (name *ParentName) Type() ref.Type

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

func (name *ParentName) Value() interface{}

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetProject

func (ref *ParentReference) GetProject() *project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *project.Reference

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*HardwareChange
	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 (*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 {
	Hardwares         []*Hardware
	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 (*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, hardware *Hardware) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetHardware

func (ref *Reference) GetHardware() *Hardware

func (*Reference) GetIParentName

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

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

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *Hardware)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

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

Jump to

Keyboard shortcuts

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