device_hardware

package
v1.0.28 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/deviceHardwares/{device_hardware}"
)

Variables

View Source
var (
	DeviceHardware_Status_PROVISIONING_STATE_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_PROVISIONED",
		2: "PROVISIONED",
		3: "REVOKED",
	}

	DeviceHardware_Status_PROVISIONING_STATE_value = map[string]int32{
		"UNKNOWN":         0,
		"NOT_PROVISIONED": 1,
		"PROVISIONED":     2,
		"REVOKED":         3,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access DeviceHardwareAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type DeviceHardware

type DeviceHardware struct {

	// Name of DeviceHardware
	// 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"`
	DisplayName  string     `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	SerialNumber string     `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty" firestore:"serialNumber"`
	Manufacturer string     `protobuf:"bytes,5,opt,name=manufacturer,proto3" json:"manufacturer,omitempty" firestore:"manufacturer"`
	// Should be in the format "productname (sku)"
	ProductName                      string                         `protobuf:"bytes,6,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty" firestore:"productName"`
	MacAddress                       []string                       `protobuf:"bytes,7,rep,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty" firestore:"macAddress"`
	SimIccid                         string                         `protobuf:"bytes,8,opt,name=sim_iccid,json=simIccid,proto3" json:"sim_iccid,omitempty" firestore:"simIccid"`
	Imei                             string                         `protobuf:"bytes,9,opt,name=imei,proto3" json:"imei,omitempty" firestore:"imei"`
	AssociatedProvisioningPolicyName *provisioning_policy.Reference `` /* 228-byte string literal not displayed */
	AssociatedDevice                 *device.Reference              `` /* 160-byte string literal not displayed */
	Status                           *DeviceHardware_Status         `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty" firestore:"status"`
	// contains filtered or unexported fields
}

DeviceHardware Resource

func (*DeviceHardware) Clone

func (o *DeviceHardware) Clone() *DeviceHardware

func (*DeviceHardware) CloneRaw

func (*DeviceHardware) Descriptor

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

Deprecated, Use DeviceHardware.ProtoReflect.Descriptor instead.

func (*DeviceHardware) EnsureMetadata

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

func (*DeviceHardware) GetAssociatedDevice

func (m *DeviceHardware) GetAssociatedDevice() *device.Reference

func (*DeviceHardware) GetAssociatedProvisioningPolicyName

func (m *DeviceHardware) GetAssociatedProvisioningPolicyName() *provisioning_policy.Reference

func (*DeviceHardware) GetDisplayName

func (m *DeviceHardware) GetDisplayName() string

func (*DeviceHardware) GetImei

func (m *DeviceHardware) GetImei() string

func (*DeviceHardware) GetMacAddress

func (m *DeviceHardware) GetMacAddress() []string

func (*DeviceHardware) GetManufacturer

func (m *DeviceHardware) GetManufacturer() string

func (*DeviceHardware) GetMetadata

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

func (*DeviceHardware) GetName

func (m *DeviceHardware) GetName() *Name

func (*DeviceHardware) GetProductName

func (m *DeviceHardware) GetProductName() string

func (*DeviceHardware) GetRawName

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

func (*DeviceHardware) GetResourceDescriptor

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

func (*DeviceHardware) GetSerialNumber

func (m *DeviceHardware) GetSerialNumber() string

func (*DeviceHardware) GetSimIccid

func (m *DeviceHardware) GetSimIccid() string

func (*DeviceHardware) GetStatus

func (m *DeviceHardware) GetStatus() *DeviceHardware_Status

func (*DeviceHardware) GotenMessage

func (*DeviceHardware) GotenMessage()

func (*DeviceHardware) GotenObjectExt

func (o *DeviceHardware) GotenObjectExt()

func (*DeviceHardware) GotenValidate

func (obj *DeviceHardware) GotenValidate() error

func (*DeviceHardware) MakeDiffFieldMask

func (o *DeviceHardware) MakeDiffFieldMask(other *DeviceHardware) *DeviceHardware_FieldMask

func (*DeviceHardware) MakeFullFieldMask

func (o *DeviceHardware) MakeFullFieldMask() *DeviceHardware_FieldMask

func (*DeviceHardware) MakeRawDiffFieldMask

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

func (*DeviceHardware) MakeRawFullFieldMask

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

func (*DeviceHardware) Marshal

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

func (*DeviceHardware) MarshalJSON

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

func (*DeviceHardware) MaybePopulateDefaults

func (r *DeviceHardware) MaybePopulateDefaults() error

func (*DeviceHardware) Merge

func (o *DeviceHardware) Merge(source *DeviceHardware)

func (*DeviceHardware) MergeRaw

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

func (*DeviceHardware) ProtoMessage

func (*DeviceHardware) ProtoMessage()

func (*DeviceHardware) ProtoReflect

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

func (*DeviceHardware) Reset

func (m *DeviceHardware) Reset()

func (*DeviceHardware) SetAssociatedDevice

func (m *DeviceHardware) SetAssociatedDevice(fv *device.Reference)

func (*DeviceHardware) SetAssociatedProvisioningPolicyName

func (m *DeviceHardware) SetAssociatedProvisioningPolicyName(fv *provisioning_policy.Reference)

func (*DeviceHardware) SetDisplayName

func (m *DeviceHardware) SetDisplayName(fv string)

func (*DeviceHardware) SetImei

func (m *DeviceHardware) SetImei(fv string)

func (*DeviceHardware) SetMacAddress

func (m *DeviceHardware) SetMacAddress(fv []string)

func (*DeviceHardware) SetManufacturer

func (m *DeviceHardware) SetManufacturer(fv string)

func (*DeviceHardware) SetMetadata

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

func (*DeviceHardware) SetName

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

func (*DeviceHardware) SetProductName

func (m *DeviceHardware) SetProductName(fv string)

func (*DeviceHardware) SetSerialNumber

func (m *DeviceHardware) SetSerialNumber(fv string)

func (*DeviceHardware) SetSimIccid

func (m *DeviceHardware) SetSimIccid(fv string)

func (*DeviceHardware) SetStatus

func (m *DeviceHardware) SetStatus(fv *DeviceHardware_Status)

func (*DeviceHardware) String

func (m *DeviceHardware) String() string

func (*DeviceHardware) Unmarshal

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

func (*DeviceHardware) UnmarshalJSON

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

type DeviceHardwareAccess

type DeviceHardwareAccess interface {
	GetDeviceHardware(context.Context, *GetQuery) (*DeviceHardware, error)
	BatchGetDeviceHardwares(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryDeviceHardwares(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchDeviceHardware(context.Context, *GetQuery, func(*DeviceHardwareChange) error) error
	WatchDeviceHardwares(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveDeviceHardware(context.Context, *DeviceHardware, ...gotenresource.SaveOption) error
	DeleteDeviceHardware(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type DeviceHardwareChange

type DeviceHardwareChange struct {

	// DeviceHardware change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*DeviceHardwareChange_Added_
	//	*DeviceHardwareChange_Modified_
	//	*DeviceHardwareChange_Current_
	//	*DeviceHardwareChange_Removed_
	ChangeType isDeviceHardwareChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*DeviceHardwareChange) Descriptor

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

Deprecated, Use DeviceHardwareChange.ProtoReflect.Descriptor instead.

func (*DeviceHardwareChange) GetAdded

func (*DeviceHardwareChange) GetChangeType

func (m *DeviceHardwareChange) GetChangeType() isDeviceHardwareChange_ChangeType

func (*DeviceHardwareChange) GetCurrent

func (*DeviceHardwareChange) GetCurrentViewIndex

func (c *DeviceHardwareChange) GetCurrentViewIndex() int32

func (*DeviceHardwareChange) GetDeviceHardware

func (c *DeviceHardwareChange) GetDeviceHardware() *DeviceHardware

func (*DeviceHardwareChange) GetDeviceHardwareName

func (c *DeviceHardwareChange) GetDeviceHardwareName() *Name

func (*DeviceHardwareChange) GetModified

func (*DeviceHardwareChange) GetPreviousViewIndex

func (c *DeviceHardwareChange) GetPreviousViewIndex() int32

func (*DeviceHardwareChange) GetRawName

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

func (*DeviceHardwareChange) GetRawResource

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

func (*DeviceHardwareChange) GetRemoved

func (*DeviceHardwareChange) GotenMessage

func (*DeviceHardwareChange) GotenMessage()

func (*DeviceHardwareChange) GotenValidate

func (obj *DeviceHardwareChange) GotenValidate() error

func (*DeviceHardwareChange) IsAdd

func (c *DeviceHardwareChange) IsAdd() bool

func (*DeviceHardwareChange) IsCurrent

func (c *DeviceHardwareChange) IsCurrent() bool

func (*DeviceHardwareChange) IsDelete

func (c *DeviceHardwareChange) IsDelete() bool

func (*DeviceHardwareChange) IsModify

func (c *DeviceHardwareChange) IsModify() bool

func (*DeviceHardwareChange) Marshal

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

func (*DeviceHardwareChange) MarshalJSON

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

func (*DeviceHardwareChange) ProtoMessage

func (*DeviceHardwareChange) ProtoMessage()

func (*DeviceHardwareChange) ProtoReflect

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

func (*DeviceHardwareChange) Reset

func (m *DeviceHardwareChange) Reset()

func (*DeviceHardwareChange) SetAdded

func (*DeviceHardwareChange) SetAddedRaw

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

func (*DeviceHardwareChange) SetChangeType

func (m *DeviceHardwareChange) SetChangeType(ofv isDeviceHardwareChange_ChangeType)

func (*DeviceHardwareChange) SetCurrent

func (*DeviceHardwareChange) SetCurrentRaw

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

func (*DeviceHardwareChange) SetDeletedRaw

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

func (*DeviceHardwareChange) SetModified

func (*DeviceHardwareChange) SetModifiedRaw

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

func (*DeviceHardwareChange) SetRemoved

func (*DeviceHardwareChange) String

func (m *DeviceHardwareChange) String() string

func (*DeviceHardwareChange) Unmarshal

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

func (*DeviceHardwareChange) UnmarshalJSON

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

type DeviceHardwareChangeList

type DeviceHardwareChangeList []*DeviceHardwareChange

func (DeviceHardwareChangeList) Append

func (DeviceHardwareChangeList) AppendList

func (DeviceHardwareChangeList) At

func (DeviceHardwareChangeList) Length

func (l DeviceHardwareChangeList) Length() int

func (DeviceHardwareChangeList) Set

func (DeviceHardwareChangeList) Slice

type DeviceHardwareChangeMap

type DeviceHardwareChangeMap map[Name]*DeviceHardwareChange

func (DeviceHardwareChangeMap) Delete

func (DeviceHardwareChangeMap) ForEach

func (DeviceHardwareChangeMap) Get

func (DeviceHardwareChangeMap) Length

func (m DeviceHardwareChangeMap) Length() int

func (DeviceHardwareChangeMap) Set

type DeviceHardwareChange_Added

type DeviceHardwareChange_Added struct {
	DeviceHardware *DeviceHardware `` /* 130-byte string literal not displayed */
	// Integer describing index of added DeviceHardware 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
}

DeviceHardware has been added to query view

func (*DeviceHardwareChange_Added) Descriptor

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

Deprecated, Use DeviceHardwareChange_Added.ProtoReflect.Descriptor instead.

func (*DeviceHardwareChange_Added) GetDeviceHardware

func (m *DeviceHardwareChange_Added) GetDeviceHardware() *DeviceHardware

func (*DeviceHardwareChange_Added) GetViewIndex

func (m *DeviceHardwareChange_Added) GetViewIndex() int32

func (*DeviceHardwareChange_Added) GotenMessage

func (*DeviceHardwareChange_Added) GotenMessage()

func (*DeviceHardwareChange_Added) GotenValidate

func (obj *DeviceHardwareChange_Added) GotenValidate() error

func (*DeviceHardwareChange_Added) Marshal

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

func (*DeviceHardwareChange_Added) MarshalJSON

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

func (*DeviceHardwareChange_Added) ProtoMessage

func (*DeviceHardwareChange_Added) ProtoMessage()

func (*DeviceHardwareChange_Added) ProtoReflect

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

func (*DeviceHardwareChange_Added) Reset

func (m *DeviceHardwareChange_Added) Reset()

func (*DeviceHardwareChange_Added) SetDeviceHardware

func (m *DeviceHardwareChange_Added) SetDeviceHardware(fv *DeviceHardware)

func (*DeviceHardwareChange_Added) SetViewIndex

func (m *DeviceHardwareChange_Added) SetViewIndex(fv int32)

func (*DeviceHardwareChange_Added) String

func (m *DeviceHardwareChange_Added) String() string

func (*DeviceHardwareChange_Added) Unmarshal

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

func (*DeviceHardwareChange_Added) UnmarshalJSON

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

type DeviceHardwareChange_Added_

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

type DeviceHardwareChange_Current

type DeviceHardwareChange_Current struct {
	DeviceHardware *DeviceHardware `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*DeviceHardwareChange_Current) Descriptor

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

Deprecated, Use DeviceHardwareChange_Current.ProtoReflect.Descriptor instead.

func (*DeviceHardwareChange_Current) GetDeviceHardware

func (m *DeviceHardwareChange_Current) GetDeviceHardware() *DeviceHardware

func (*DeviceHardwareChange_Current) GotenMessage

func (*DeviceHardwareChange_Current) GotenMessage()

func (*DeviceHardwareChange_Current) GotenValidate

func (obj *DeviceHardwareChange_Current) GotenValidate() error

func (*DeviceHardwareChange_Current) Marshal

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

func (*DeviceHardwareChange_Current) MarshalJSON

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

func (*DeviceHardwareChange_Current) ProtoMessage

func (*DeviceHardwareChange_Current) ProtoMessage()

func (*DeviceHardwareChange_Current) ProtoReflect

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

func (*DeviceHardwareChange_Current) Reset

func (m *DeviceHardwareChange_Current) Reset()

func (*DeviceHardwareChange_Current) SetDeviceHardware

func (m *DeviceHardwareChange_Current) SetDeviceHardware(fv *DeviceHardware)

func (*DeviceHardwareChange_Current) String

func (*DeviceHardwareChange_Current) Unmarshal

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

func (*DeviceHardwareChange_Current) UnmarshalJSON

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

type DeviceHardwareChange_Current_

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

type DeviceHardwareChange_Modified

type DeviceHardwareChange_Modified struct {

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

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

func (*DeviceHardwareChange_Modified) Descriptor

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

Deprecated, Use DeviceHardwareChange_Modified.ProtoReflect.Descriptor instead.

func (*DeviceHardwareChange_Modified) GetDeviceHardware

func (m *DeviceHardwareChange_Modified) GetDeviceHardware() *DeviceHardware

func (*DeviceHardwareChange_Modified) GetFieldMask

func (*DeviceHardwareChange_Modified) GetName

func (m *DeviceHardwareChange_Modified) GetName() *Name

func (*DeviceHardwareChange_Modified) GetPreviousViewIndex

func (m *DeviceHardwareChange_Modified) GetPreviousViewIndex() int32

func (*DeviceHardwareChange_Modified) GetViewIndex

func (m *DeviceHardwareChange_Modified) GetViewIndex() int32

func (*DeviceHardwareChange_Modified) GotenMessage

func (*DeviceHardwareChange_Modified) GotenMessage()

func (*DeviceHardwareChange_Modified) GotenValidate

func (obj *DeviceHardwareChange_Modified) GotenValidate() error

func (*DeviceHardwareChange_Modified) Marshal

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

func (*DeviceHardwareChange_Modified) MarshalJSON

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

func (*DeviceHardwareChange_Modified) ProtoMessage

func (*DeviceHardwareChange_Modified) ProtoMessage()

func (*DeviceHardwareChange_Modified) ProtoReflect

func (*DeviceHardwareChange_Modified) Reset

func (m *DeviceHardwareChange_Modified) Reset()

func (*DeviceHardwareChange_Modified) SetDeviceHardware

func (m *DeviceHardwareChange_Modified) SetDeviceHardware(fv *DeviceHardware)

func (*DeviceHardwareChange_Modified) SetFieldMask

func (*DeviceHardwareChange_Modified) SetName

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

func (*DeviceHardwareChange_Modified) SetPreviousViewIndex

func (m *DeviceHardwareChange_Modified) SetPreviousViewIndex(fv int32)

func (*DeviceHardwareChange_Modified) SetViewIndex

func (m *DeviceHardwareChange_Modified) SetViewIndex(fv int32)

func (*DeviceHardwareChange_Modified) String

func (*DeviceHardwareChange_Modified) Unmarshal

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

func (*DeviceHardwareChange_Modified) UnmarshalJSON

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

type DeviceHardwareChange_Modified_

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

type DeviceHardwareChange_Removed

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

func (*DeviceHardwareChange_Removed) Descriptor

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

Deprecated, Use DeviceHardwareChange_Removed.ProtoReflect.Descriptor instead.

func (*DeviceHardwareChange_Removed) GetName

func (m *DeviceHardwareChange_Removed) GetName() *Name

func (*DeviceHardwareChange_Removed) GetViewIndex

func (m *DeviceHardwareChange_Removed) GetViewIndex() int32

func (*DeviceHardwareChange_Removed) GotenMessage

func (*DeviceHardwareChange_Removed) GotenMessage()

func (*DeviceHardwareChange_Removed) GotenValidate

func (obj *DeviceHardwareChange_Removed) GotenValidate() error

func (*DeviceHardwareChange_Removed) Marshal

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

func (*DeviceHardwareChange_Removed) MarshalJSON

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

func (*DeviceHardwareChange_Removed) ProtoMessage

func (*DeviceHardwareChange_Removed) ProtoMessage()

func (*DeviceHardwareChange_Removed) ProtoReflect

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

func (*DeviceHardwareChange_Removed) Reset

func (m *DeviceHardwareChange_Removed) Reset()

func (*DeviceHardwareChange_Removed) SetName

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

func (*DeviceHardwareChange_Removed) SetViewIndex

func (m *DeviceHardwareChange_Removed) SetViewIndex(fv int32)

func (*DeviceHardwareChange_Removed) String

func (*DeviceHardwareChange_Removed) Unmarshal

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

func (*DeviceHardwareChange_Removed) UnmarshalJSON

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

type DeviceHardwareChange_Removed_

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

type DeviceHardwareFieldPathBuilder

type DeviceHardwareFieldPathBuilder struct{}

func NewDeviceHardwareFieldPathBuilder

func NewDeviceHardwareFieldPathBuilder() DeviceHardwareFieldPathBuilder

func (DeviceHardwareFieldPathBuilder) AssociatedDevice

func (DeviceHardwareFieldPathBuilder) AssociatedProvisioningPolicyName

func (DeviceHardwareFieldPathBuilder) DisplayName

func (DeviceHardwareFieldPathBuilder) Imei

func (DeviceHardwareFieldPathBuilder) MacAddress

func (DeviceHardwareFieldPathBuilder) Manufacturer

func (DeviceHardwareFieldPathBuilder) Metadata

func (DeviceHardwareFieldPathBuilder) Name

func (DeviceHardwareFieldPathBuilder) ProductName

func (DeviceHardwareFieldPathBuilder) SerialNumber

func (DeviceHardwareFieldPathBuilder) SimIccid

func (DeviceHardwareFieldPathBuilder) Status

type DeviceHardwareList

type DeviceHardwareList []*DeviceHardware

func (DeviceHardwareList) Append

func (DeviceHardwareList) AppendList

func (DeviceHardwareList) At

func (DeviceHardwareList) Length

func (l DeviceHardwareList) Length() int

func (DeviceHardwareList) Set

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

func (DeviceHardwareList) Slice

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

type DeviceHardwareMap

type DeviceHardwareMap map[Name]*DeviceHardware

func (DeviceHardwareMap) Delete

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

func (DeviceHardwareMap) ForEach

func (DeviceHardwareMap) Get

func (DeviceHardwareMap) Length

func (m DeviceHardwareMap) Length() int

func (DeviceHardwareMap) Set

type DeviceHardwareMapPathSelectorMetadataAnnotations

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

func (DeviceHardwareMapPathSelectorMetadataAnnotations) FieldPath

func (DeviceHardwareMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (DeviceHardwareMapPathSelectorMetadataAnnotations) WithValue

type DeviceHardwareMapPathSelectorMetadataLabels

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

func (DeviceHardwareMapPathSelectorMetadataLabels) FieldPath

func (DeviceHardwareMapPathSelectorMetadataLabels) WithArrayOfValues

func (DeviceHardwareMapPathSelectorMetadataLabels) WithValue

type DeviceHardwareMapPathSelectorMetadataShards

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

func (DeviceHardwareMapPathSelectorMetadataShards) FieldPath

func (DeviceHardwareMapPathSelectorMetadataShards) WithArrayOfValues

func (DeviceHardwareMapPathSelectorMetadataShards) WithValue

type DeviceHardwareNameList

type DeviceHardwareNameList []*Name

func (DeviceHardwareNameList) Append

func (DeviceHardwareNameList) AppendList

func (DeviceHardwareNameList) At

func (DeviceHardwareNameList) Length

func (l DeviceHardwareNameList) Length() int

func (DeviceHardwareNameList) Set

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

func (DeviceHardwareNameList) Slice

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

type DeviceHardwareParentNameList

type DeviceHardwareParentNameList []*ParentName

func (DeviceHardwareParentNameList) Append

func (DeviceHardwareParentNameList) AppendList

func (DeviceHardwareParentNameList) At

func (DeviceHardwareParentNameList) Length

func (l DeviceHardwareParentNameList) Length() int

func (DeviceHardwareParentNameList) Set

func (DeviceHardwareParentNameList) Slice

type DeviceHardwareParentReferenceList

type DeviceHardwareParentReferenceList []*ParentReference

func (DeviceHardwareParentReferenceList) Append

func (DeviceHardwareParentReferenceList) AppendList

func (DeviceHardwareParentReferenceList) At

func (DeviceHardwareParentReferenceList) Length

func (DeviceHardwareParentReferenceList) Set

func (DeviceHardwareParentReferenceList) Slice

type DeviceHardwarePathSelectorAssociatedDevice

type DeviceHardwarePathSelectorAssociatedDevice struct{}

func (DeviceHardwarePathSelectorAssociatedDevice) FieldPath

func (DeviceHardwarePathSelectorAssociatedDevice) WithArrayOfValues

func (DeviceHardwarePathSelectorAssociatedDevice) WithValue

type DeviceHardwarePathSelectorAssociatedProvisioningPolicyName

type DeviceHardwarePathSelectorAssociatedProvisioningPolicyName struct{}

func (DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) FieldPath

func (DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) WithArrayOfValues

func (DeviceHardwarePathSelectorAssociatedProvisioningPolicyName) WithValue

type DeviceHardwarePathSelectorDisplayName

type DeviceHardwarePathSelectorDisplayName struct{}

func (DeviceHardwarePathSelectorDisplayName) FieldPath

func (DeviceHardwarePathSelectorDisplayName) WithArrayOfValues

func (DeviceHardwarePathSelectorDisplayName) WithValue

type DeviceHardwarePathSelectorImei

type DeviceHardwarePathSelectorImei struct{}

func (DeviceHardwarePathSelectorImei) FieldPath

func (DeviceHardwarePathSelectorImei) WithArrayOfValues

func (DeviceHardwarePathSelectorImei) WithValue

type DeviceHardwarePathSelectorMacAddress

type DeviceHardwarePathSelectorMacAddress struct{}

func (DeviceHardwarePathSelectorMacAddress) FieldPath

func (DeviceHardwarePathSelectorMacAddress) WithArrayOfValues

func (DeviceHardwarePathSelectorMacAddress) WithItemValue

func (DeviceHardwarePathSelectorMacAddress) WithValue

type DeviceHardwarePathSelectorManufacturer

type DeviceHardwarePathSelectorManufacturer struct{}

func (DeviceHardwarePathSelectorManufacturer) FieldPath

func (DeviceHardwarePathSelectorManufacturer) WithArrayOfValues

func (DeviceHardwarePathSelectorManufacturer) WithValue

type DeviceHardwarePathSelectorMetadata

type DeviceHardwarePathSelectorMetadata struct{}

func (DeviceHardwarePathSelectorMetadata) Annotations

func (DeviceHardwarePathSelectorMetadata) CreateTime

func (DeviceHardwarePathSelectorMetadata) DeleteTime

func (DeviceHardwarePathSelectorMetadata) FieldPath

func (DeviceHardwarePathSelectorMetadata) Generation

func (DeviceHardwarePathSelectorMetadata) Labels

func (DeviceHardwarePathSelectorMetadata) Lifecycle

func (DeviceHardwarePathSelectorMetadata) OwnerReferences

func (DeviceHardwarePathSelectorMetadata) ResourceVersion

func (DeviceHardwarePathSelectorMetadata) Services

func (DeviceHardwarePathSelectorMetadata) Shards

func (DeviceHardwarePathSelectorMetadata) Syncing

func (DeviceHardwarePathSelectorMetadata) Tags

func (DeviceHardwarePathSelectorMetadata) UpdateTime

func (DeviceHardwarePathSelectorMetadata) Uuid

func (DeviceHardwarePathSelectorMetadata) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadata) WithSubArrayItemValue

func (DeviceHardwarePathSelectorMetadata) WithSubArrayOfValues

func (DeviceHardwarePathSelectorMetadata) WithSubPath

func (DeviceHardwarePathSelectorMetadata) WithSubValue

func (DeviceHardwarePathSelectorMetadata) WithValue

type DeviceHardwarePathSelectorMetadataAnnotations

type DeviceHardwarePathSelectorMetadataAnnotations struct{}

func (DeviceHardwarePathSelectorMetadataAnnotations) FieldPath

func (DeviceHardwarePathSelectorMetadataAnnotations) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataAnnotations) WithKey

func (DeviceHardwarePathSelectorMetadataAnnotations) WithValue

type DeviceHardwarePathSelectorMetadataCreateTime

type DeviceHardwarePathSelectorMetadataCreateTime struct{}

func (DeviceHardwarePathSelectorMetadataCreateTime) FieldPath

func (DeviceHardwarePathSelectorMetadataCreateTime) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataCreateTime) WithValue

type DeviceHardwarePathSelectorMetadataDeleteTime

type DeviceHardwarePathSelectorMetadataDeleteTime struct{}

func (DeviceHardwarePathSelectorMetadataDeleteTime) FieldPath

func (DeviceHardwarePathSelectorMetadataDeleteTime) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataDeleteTime) WithValue

type DeviceHardwarePathSelectorMetadataGeneration

type DeviceHardwarePathSelectorMetadataGeneration struct{}

func (DeviceHardwarePathSelectorMetadataGeneration) FieldPath

func (DeviceHardwarePathSelectorMetadataGeneration) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataGeneration) WithValue

type DeviceHardwarePathSelectorMetadataLabels

type DeviceHardwarePathSelectorMetadataLabels struct{}

func (DeviceHardwarePathSelectorMetadataLabels) FieldPath

func (DeviceHardwarePathSelectorMetadataLabels) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataLabels) WithKey

func (DeviceHardwarePathSelectorMetadataLabels) WithValue

type DeviceHardwarePathSelectorMetadataLifecycle

type DeviceHardwarePathSelectorMetadataLifecycle struct{}

func (DeviceHardwarePathSelectorMetadataLifecycle) BlockDeletion

func (DeviceHardwarePathSelectorMetadataLifecycle) FieldPath

func (DeviceHardwarePathSelectorMetadataLifecycle) State

func (DeviceHardwarePathSelectorMetadataLifecycle) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataLifecycle) WithValue

type DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion

type DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion struct{}

func (DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataLifecycleBlockDeletion) WithValue

type DeviceHardwarePathSelectorMetadataLifecycleState

type DeviceHardwarePathSelectorMetadataLifecycleState struct{}

func (DeviceHardwarePathSelectorMetadataLifecycleState) FieldPath

func (DeviceHardwarePathSelectorMetadataLifecycleState) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataLifecycleState) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferences

type DeviceHardwarePathSelectorMetadataOwnerReferences struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferences) Controller

func (DeviceHardwarePathSelectorMetadataOwnerReferences) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferences) Kind

func (DeviceHardwarePathSelectorMetadataOwnerReferences) Name

func (DeviceHardwarePathSelectorMetadataOwnerReferences) Region

func (DeviceHardwarePathSelectorMetadataOwnerReferences) Version

func (DeviceHardwarePathSelectorMetadataOwnerReferences) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferences) WithItemValue

func (DeviceHardwarePathSelectorMetadataOwnerReferences) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesController

type DeviceHardwarePathSelectorMetadataOwnerReferencesController struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesController) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesController) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesKind

type DeviceHardwarePathSelectorMetadataOwnerReferencesKind struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesKind) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesKind) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesName

type DeviceHardwarePathSelectorMetadataOwnerReferencesName struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesName) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesName) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesRegion

type DeviceHardwarePathSelectorMetadataOwnerReferencesRegion struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRegion) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference

type DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type DeviceHardwarePathSelectorMetadataOwnerReferencesVersion

type DeviceHardwarePathSelectorMetadataOwnerReferencesVersion struct{}

func (DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) FieldPath

func (DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataOwnerReferencesVersion) WithValue

type DeviceHardwarePathSelectorMetadataResourceVersion

type DeviceHardwarePathSelectorMetadataResourceVersion struct{}

func (DeviceHardwarePathSelectorMetadataResourceVersion) FieldPath

func (DeviceHardwarePathSelectorMetadataResourceVersion) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataResourceVersion) WithValue

type DeviceHardwarePathSelectorMetadataServices

type DeviceHardwarePathSelectorMetadataServices struct{}

func (DeviceHardwarePathSelectorMetadataServices) AllowedServices

func (DeviceHardwarePathSelectorMetadataServices) FieldPath

func (DeviceHardwarePathSelectorMetadataServices) OwningService

func (DeviceHardwarePathSelectorMetadataServices) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataServices) WithValue

type DeviceHardwarePathSelectorMetadataServicesAllowedServices

type DeviceHardwarePathSelectorMetadataServicesAllowedServices struct{}

func (DeviceHardwarePathSelectorMetadataServicesAllowedServices) FieldPath

func (DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithItemValue

func (DeviceHardwarePathSelectorMetadataServicesAllowedServices) WithValue

type DeviceHardwarePathSelectorMetadataServicesOwningService

type DeviceHardwarePathSelectorMetadataServicesOwningService struct{}

func (DeviceHardwarePathSelectorMetadataServicesOwningService) FieldPath

func (DeviceHardwarePathSelectorMetadataServicesOwningService) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataServicesOwningService) WithValue

type DeviceHardwarePathSelectorMetadataShards

type DeviceHardwarePathSelectorMetadataShards struct{}

func (DeviceHardwarePathSelectorMetadataShards) FieldPath

func (DeviceHardwarePathSelectorMetadataShards) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataShards) WithKey

func (DeviceHardwarePathSelectorMetadataShards) WithValue

type DeviceHardwarePathSelectorMetadataSyncing

type DeviceHardwarePathSelectorMetadataSyncing struct{}

func (DeviceHardwarePathSelectorMetadataSyncing) FieldPath

func (DeviceHardwarePathSelectorMetadataSyncing) OwningRegion

func (DeviceHardwarePathSelectorMetadataSyncing) Regions

func (DeviceHardwarePathSelectorMetadataSyncing) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataSyncing) WithValue

type DeviceHardwarePathSelectorMetadataSyncingOwningRegion

type DeviceHardwarePathSelectorMetadataSyncingOwningRegion struct{}

func (DeviceHardwarePathSelectorMetadataSyncingOwningRegion) FieldPath

func (DeviceHardwarePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataSyncingOwningRegion) WithValue

type DeviceHardwarePathSelectorMetadataSyncingRegions

type DeviceHardwarePathSelectorMetadataSyncingRegions struct{}

func (DeviceHardwarePathSelectorMetadataSyncingRegions) FieldPath

func (DeviceHardwarePathSelectorMetadataSyncingRegions) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataSyncingRegions) WithItemValue

func (DeviceHardwarePathSelectorMetadataSyncingRegions) WithValue

type DeviceHardwarePathSelectorMetadataTags

type DeviceHardwarePathSelectorMetadataTags struct{}

func (DeviceHardwarePathSelectorMetadataTags) FieldPath

func (DeviceHardwarePathSelectorMetadataTags) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataTags) WithItemValue

func (DeviceHardwarePathSelectorMetadataTags) WithValue

type DeviceHardwarePathSelectorMetadataUpdateTime

type DeviceHardwarePathSelectorMetadataUpdateTime struct{}

func (DeviceHardwarePathSelectorMetadataUpdateTime) FieldPath

func (DeviceHardwarePathSelectorMetadataUpdateTime) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataUpdateTime) WithValue

type DeviceHardwarePathSelectorMetadataUuid

type DeviceHardwarePathSelectorMetadataUuid struct{}

func (DeviceHardwarePathSelectorMetadataUuid) FieldPath

func (DeviceHardwarePathSelectorMetadataUuid) WithArrayOfValues

func (DeviceHardwarePathSelectorMetadataUuid) WithValue

type DeviceHardwarePathSelectorName

type DeviceHardwarePathSelectorName struct{}

func (DeviceHardwarePathSelectorName) FieldPath

func (DeviceHardwarePathSelectorName) WithArrayOfValues

func (DeviceHardwarePathSelectorName) WithValue

type DeviceHardwarePathSelectorProductName

type DeviceHardwarePathSelectorProductName struct{}

func (DeviceHardwarePathSelectorProductName) FieldPath

func (DeviceHardwarePathSelectorProductName) WithArrayOfValues

func (DeviceHardwarePathSelectorProductName) WithValue

type DeviceHardwarePathSelectorSerialNumber

type DeviceHardwarePathSelectorSerialNumber struct{}

func (DeviceHardwarePathSelectorSerialNumber) FieldPath

func (DeviceHardwarePathSelectorSerialNumber) WithArrayOfValues

func (DeviceHardwarePathSelectorSerialNumber) WithValue

type DeviceHardwarePathSelectorSimIccid

type DeviceHardwarePathSelectorSimIccid struct{}

func (DeviceHardwarePathSelectorSimIccid) FieldPath

func (DeviceHardwarePathSelectorSimIccid) WithArrayOfValues

func (DeviceHardwarePathSelectorSimIccid) WithValue

type DeviceHardwarePathSelectorStatus

type DeviceHardwarePathSelectorStatus struct{}

func (DeviceHardwarePathSelectorStatus) FieldPath

func (DeviceHardwarePathSelectorStatus) ProvisioningState

func (DeviceHardwarePathSelectorStatus) WithArrayOfValues

func (DeviceHardwarePathSelectorStatus) WithSubArrayItemValue

func (DeviceHardwarePathSelectorStatus) WithSubArrayOfValues

func (DeviceHardwarePathSelectorStatus) WithSubPath

func (DeviceHardwarePathSelectorStatus) WithSubValue

func (DeviceHardwarePathSelectorStatus) WithValue

type DeviceHardwarePathSelectorStatusProvisioningState

type DeviceHardwarePathSelectorStatusProvisioningState struct{}

func (DeviceHardwarePathSelectorStatusProvisioningState) FieldPath

func (DeviceHardwarePathSelectorStatusProvisioningState) WithArrayOfValues

func (DeviceHardwarePathSelectorStatusProvisioningState) WithValue

type DeviceHardwareReferenceList

type DeviceHardwareReferenceList []*Reference

func (DeviceHardwareReferenceList) Append

func (DeviceHardwareReferenceList) AppendList

func (DeviceHardwareReferenceList) At

func (DeviceHardwareReferenceList) Length

func (l DeviceHardwareReferenceList) Length() int

func (DeviceHardwareReferenceList) Set

func (DeviceHardwareReferenceList) Slice

type DeviceHardwareStatusFieldPathBuilder

type DeviceHardwareStatusFieldPathBuilder struct{}

func NewDeviceHardwareStatusFieldPathBuilder

func NewDeviceHardwareStatusFieldPathBuilder() DeviceHardwareStatusFieldPathBuilder

func (DeviceHardwareStatusFieldPathBuilder) ProvisioningState

type DeviceHardwareStatus_FieldPath

type DeviceHardwareStatus_FieldPath interface {
	gotenobject.FieldPath
	Selector() DeviceHardwareStatus_FieldPathSelector
	Get(source *DeviceHardware_Status) []interface{}
	GetSingle(source *DeviceHardware_Status) (interface{}, bool)
	ClearValue(item *DeviceHardware_Status)

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

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

func MustParseDeviceHardwareStatus_FieldPath

func MustParseDeviceHardwareStatus_FieldPath(rawField string) DeviceHardwareStatus_FieldPath

func ParseDeviceHardwareStatus_FieldPath

func ParseDeviceHardwareStatus_FieldPath(rawField string) (DeviceHardwareStatus_FieldPath, error)

type DeviceHardwareStatus_FieldPathArrayItemValue

type DeviceHardwareStatus_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	DeviceHardwareStatus_FieldPath
	ContainsValue(*DeviceHardware_Status) bool
}

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

func MustParseDeviceHardwareStatus_FieldPathArrayItemValue

func MustParseDeviceHardwareStatus_FieldPathArrayItemValue(pathStr, valueStr string) DeviceHardwareStatus_FieldPathArrayItemValue

func ParseDeviceHardwareStatus_FieldPathArrayItemValue

func ParseDeviceHardwareStatus_FieldPathArrayItemValue(pathStr, valueStr string) (DeviceHardwareStatus_FieldPathArrayItemValue, error)

ParseDeviceHardwareStatus_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type DeviceHardwareStatus_FieldPathArrayOfValues

type DeviceHardwareStatus_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	DeviceHardwareStatus_FieldPath
}

DeviceHardwareStatus_FieldPathArrayOfValues allows storing slice of values for Status fields according to their type

func MustParseDeviceHardwareStatus_FieldPathArrayOfValues

func MustParseDeviceHardwareStatus_FieldPathArrayOfValues(pathStr, valuesStr string) DeviceHardwareStatus_FieldPathArrayOfValues

func ParseDeviceHardwareStatus_FieldPathArrayOfValues

func ParseDeviceHardwareStatus_FieldPathArrayOfValues(pathStr, valuesStr string) (DeviceHardwareStatus_FieldPathArrayOfValues, error)

type DeviceHardwareStatus_FieldPathSelector

type DeviceHardwareStatus_FieldPathSelector int32
const (
	DeviceHardwareStatus_FieldPathSelectorProvisioningState DeviceHardwareStatus_FieldPathSelector = 0
)

func (DeviceHardwareStatus_FieldPathSelector) String

type DeviceHardwareStatus_FieldPathValue

type DeviceHardwareStatus_FieldPathValue interface {
	DeviceHardwareStatus_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **DeviceHardware_Status)
	CompareWith(*DeviceHardware_Status) (cmp int, comparable bool)
}

DeviceHardwareStatus_FieldPathValue allows storing values for Status fields according to their type

func MustParseDeviceHardwareStatus_FieldPathValue

func MustParseDeviceHardwareStatus_FieldPathValue(pathStr, valueStr string) DeviceHardwareStatus_FieldPathValue

func ParseDeviceHardwareStatus_FieldPathValue

func ParseDeviceHardwareStatus_FieldPathValue(pathStr, valueStr string) (DeviceHardwareStatus_FieldPathValue, error)

type DeviceHardwareStatus_FieldTerminalPath

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

func (*DeviceHardwareStatus_FieldTerminalPath) ClearValue

func (*DeviceHardwareStatus_FieldTerminalPath) ClearValueRaw

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

func (*DeviceHardwareStatus_FieldTerminalPath) Get

func (fp *DeviceHardwareStatus_FieldTerminalPath) Get(source *DeviceHardware_Status) (values []interface{})

Get returns all values pointed by specific field from source DeviceHardware_Status

func (*DeviceHardwareStatus_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*DeviceHardwareStatus_FieldTerminalPath) GetRaw

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

func (*DeviceHardwareStatus_FieldTerminalPath) GetSingle

func (fp *DeviceHardwareStatus_FieldTerminalPath) GetSingle(source *DeviceHardware_Status) (interface{}, bool)

GetSingle returns value pointed by specific field of from source DeviceHardware_Status

func (*DeviceHardwareStatus_FieldTerminalPath) GetSingleRaw

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

func (*DeviceHardwareStatus_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*DeviceHardwareStatus_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*DeviceHardwareStatus_FieldTerminalPath) Selector

func (*DeviceHardwareStatus_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*DeviceHardwareStatus_FieldTerminalPath) String

String returns path representation in proto convention

func (*DeviceHardwareStatus_FieldTerminalPath) WithIArrayItemValue

func (*DeviceHardwareStatus_FieldTerminalPath) WithIArrayOfValues

func (*DeviceHardwareStatus_FieldTerminalPath) WithIValue

func (*DeviceHardwareStatus_FieldTerminalPath) WithRawIArrayItemValue

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

func (*DeviceHardwareStatus_FieldTerminalPath) WithRawIArrayOfValues

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

func (*DeviceHardwareStatus_FieldTerminalPath) WithRawIValue

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

type DeviceHardwareStatus_FieldTerminalPathArrayItemValue

type DeviceHardwareStatus_FieldTerminalPathArrayItemValue struct {
	DeviceHardwareStatus_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardwareStatus_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*DeviceHardwareStatus_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*DeviceHardwareStatus_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *DeviceHardwareStatus_FieldTerminalPathArrayItemValue) GetSingle(source *DeviceHardware_Status) (interface{}, bool)

func (*DeviceHardwareStatus_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type DeviceHardwareStatus_FieldTerminalPathArrayOfValues

type DeviceHardwareStatus_FieldTerminalPathArrayOfValues struct {
	DeviceHardwareStatus_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardwareStatus_FieldTerminalPathArrayOfValues) AsProvisioningStateArrayOfValues

func (*DeviceHardwareStatus_FieldTerminalPathArrayOfValues) GetRawValues

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

type DeviceHardwareStatus_FieldTerminalPathValue

type DeviceHardwareStatus_FieldTerminalPathValue struct {
	DeviceHardwareStatus_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardwareStatus_FieldTerminalPathValue) AsProvisioningStateValue

func (*DeviceHardwareStatus_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'DeviceHardwareStatus_FieldTerminalPathValue' with the value under path in 'DeviceHardware_Status'.

func (*DeviceHardwareStatus_FieldTerminalPathValue) CompareWithRaw

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

func (*DeviceHardwareStatus_FieldTerminalPathValue) GetRawValue

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

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

func (*DeviceHardwareStatus_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Status

func (*DeviceHardwareStatus_FieldTerminalPathValue) SetToRaw

type DeviceHardware_FieldMask

type DeviceHardware_FieldMask struct {
	Paths []DeviceHardware_FieldPath
}

func FullDeviceHardware_FieldMask

func FullDeviceHardware_FieldMask() *DeviceHardware_FieldMask

func ResourceViewFieldMask

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

func (*DeviceHardware_FieldMask) AppendPath

func (fieldMask *DeviceHardware_FieldMask) AppendPath(path DeviceHardware_FieldPath)

func (*DeviceHardware_FieldMask) AppendRawPath

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

func (*DeviceHardware_FieldMask) DecodeFirestore

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

func (*DeviceHardware_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*DeviceHardware_FieldMask) FilterInputFields

func (fieldMask *DeviceHardware_FieldMask) FilterInputFields() *DeviceHardware_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*DeviceHardware_FieldMask) FromProtoFieldMask

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

func (*DeviceHardware_FieldMask) GetPaths

func (fieldMask *DeviceHardware_FieldMask) GetPaths() []DeviceHardware_FieldPath

func (*DeviceHardware_FieldMask) GetRawPaths

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

func (*DeviceHardware_FieldMask) IsFull

func (fieldMask *DeviceHardware_FieldMask) IsFull() bool

func (DeviceHardware_FieldMask) Marshal

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

implement methods required by customType

func (DeviceHardware_FieldMask) MarshalJSON

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

func (*DeviceHardware_FieldMask) PathsCount

func (fieldMask *DeviceHardware_FieldMask) PathsCount() int

func (*DeviceHardware_FieldMask) Project

func (fieldMask *DeviceHardware_FieldMask) Project(source *DeviceHardware) *DeviceHardware

func (*DeviceHardware_FieldMask) ProjectRaw

func (*DeviceHardware_FieldMask) ProtoMessage

func (fieldMask *DeviceHardware_FieldMask) ProtoMessage()

func (*DeviceHardware_FieldMask) ProtoReflect

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

func (*DeviceHardware_FieldMask) Reset

func (fieldMask *DeviceHardware_FieldMask) Reset()

func (*DeviceHardware_FieldMask) Set

func (fieldMask *DeviceHardware_FieldMask) Set(target, source *DeviceHardware)

func (*DeviceHardware_FieldMask) SetFromCliFlag

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

func (*DeviceHardware_FieldMask) SetRaw

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

func (*DeviceHardware_FieldMask) Size

func (fieldMask *DeviceHardware_FieldMask) Size() int

func (*DeviceHardware_FieldMask) String

func (fieldMask *DeviceHardware_FieldMask) String() string

func (*DeviceHardware_FieldMask) Subtract

func (*DeviceHardware_FieldMask) SubtractRaw

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

func (*DeviceHardware_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*DeviceHardware_FieldMask) Unmarshal

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

func (*DeviceHardware_FieldMask) UnmarshalJSON

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

type DeviceHardware_FieldPath

type DeviceHardware_FieldPath interface {
	gotenobject.FieldPath
	Selector() DeviceHardware_FieldPathSelector
	Get(source *DeviceHardware) []interface{}
	GetSingle(source *DeviceHardware) (interface{}, bool)
	ClearValue(item *DeviceHardware)

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

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

func MustParseDeviceHardware_FieldPath

func MustParseDeviceHardware_FieldPath(rawField string) DeviceHardware_FieldPath

func ParseDeviceHardware_FieldPath

func ParseDeviceHardware_FieldPath(rawField string) (DeviceHardware_FieldPath, error)

type DeviceHardware_FieldPathArrayItemValue

type DeviceHardware_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	DeviceHardware_FieldPath
	ContainsValue(*DeviceHardware) bool
}

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

func MustParseDeviceHardware_FieldPathArrayItemValue

func MustParseDeviceHardware_FieldPathArrayItemValue(pathStr, valueStr string) DeviceHardware_FieldPathArrayItemValue

func ParseDeviceHardware_FieldPathArrayItemValue

func ParseDeviceHardware_FieldPathArrayItemValue(pathStr, valueStr string) (DeviceHardware_FieldPathArrayItemValue, error)

ParseDeviceHardware_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type DeviceHardware_FieldPathArrayOfValues

type DeviceHardware_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	DeviceHardware_FieldPath
}

DeviceHardware_FieldPathArrayOfValues allows storing slice of values for DeviceHardware fields according to their type

func MustParseDeviceHardware_FieldPathArrayOfValues

func MustParseDeviceHardware_FieldPathArrayOfValues(pathStr, valuesStr string) DeviceHardware_FieldPathArrayOfValues

func ParseDeviceHardware_FieldPathArrayOfValues

func ParseDeviceHardware_FieldPathArrayOfValues(pathStr, valuesStr string) (DeviceHardware_FieldPathArrayOfValues, error)

type DeviceHardware_FieldPathSelector

type DeviceHardware_FieldPathSelector int32
const (
	DeviceHardware_FieldPathSelectorName                             DeviceHardware_FieldPathSelector = 0
	DeviceHardware_FieldPathSelectorMetadata                         DeviceHardware_FieldPathSelector = 1
	DeviceHardware_FieldPathSelectorDisplayName                      DeviceHardware_FieldPathSelector = 2
	DeviceHardware_FieldPathSelectorSerialNumber                     DeviceHardware_FieldPathSelector = 3
	DeviceHardware_FieldPathSelectorManufacturer                     DeviceHardware_FieldPathSelector = 4
	DeviceHardware_FieldPathSelectorProductName                      DeviceHardware_FieldPathSelector = 5
	DeviceHardware_FieldPathSelectorMacAddress                       DeviceHardware_FieldPathSelector = 6
	DeviceHardware_FieldPathSelectorSimIccid                         DeviceHardware_FieldPathSelector = 7
	DeviceHardware_FieldPathSelectorImei                             DeviceHardware_FieldPathSelector = 8
	DeviceHardware_FieldPathSelectorAssociatedProvisioningPolicyName DeviceHardware_FieldPathSelector = 9
	DeviceHardware_FieldPathSelectorAssociatedDevice                 DeviceHardware_FieldPathSelector = 10
	DeviceHardware_FieldPathSelectorStatus                           DeviceHardware_FieldPathSelector = 11
)

func (DeviceHardware_FieldPathSelector) String

type DeviceHardware_FieldPathValue

type DeviceHardware_FieldPathValue interface {
	DeviceHardware_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **DeviceHardware)
	CompareWith(*DeviceHardware) (cmp int, comparable bool)
}

DeviceHardware_FieldPathValue allows storing values for DeviceHardware fields according to their type

func MustParseDeviceHardware_FieldPathValue

func MustParseDeviceHardware_FieldPathValue(pathStr, valueStr string) DeviceHardware_FieldPathValue

func ParseDeviceHardware_FieldPathValue

func ParseDeviceHardware_FieldPathValue(pathStr, valueStr string) (DeviceHardware_FieldPathValue, error)

type DeviceHardware_FieldSubPath

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

func (*DeviceHardware_FieldSubPath) AsMetadataSubPath

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

func (*DeviceHardware_FieldSubPath) AsStatusSubPath

func (*DeviceHardware_FieldSubPath) ClearValue

func (fps *DeviceHardware_FieldSubPath) ClearValue(item *DeviceHardware)

func (*DeviceHardware_FieldSubPath) ClearValueRaw

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

func (*DeviceHardware_FieldSubPath) Get

func (fps *DeviceHardware_FieldSubPath) Get(source *DeviceHardware) (values []interface{})

Get returns all values pointed by selected field from source DeviceHardware

func (*DeviceHardware_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*DeviceHardware_FieldSubPath) GetRaw

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

func (*DeviceHardware_FieldSubPath) GetSingle

func (fps *DeviceHardware_FieldSubPath) GetSingle(source *DeviceHardware) (interface{}, bool)

GetSingle returns value of selected field from source DeviceHardware

func (*DeviceHardware_FieldSubPath) GetSingleRaw

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

func (*DeviceHardware_FieldSubPath) IsLeaf

func (fps *DeviceHardware_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*DeviceHardware_FieldSubPath) JSONString

func (fps *DeviceHardware_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*DeviceHardware_FieldSubPath) Selector

func (*DeviceHardware_FieldSubPath) SplitIntoTerminalIPaths

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

func (*DeviceHardware_FieldSubPath) String

func (fps *DeviceHardware_FieldSubPath) String() string

String returns path representation in proto convention

func (*DeviceHardware_FieldSubPath) WithIArrayItemValue

func (fps *DeviceHardware_FieldSubPath) WithIArrayItemValue(value interface{}) DeviceHardware_FieldPathArrayItemValue

func (*DeviceHardware_FieldSubPath) WithIArrayOfValues

func (fps *DeviceHardware_FieldSubPath) WithIArrayOfValues(values interface{}) DeviceHardware_FieldPathArrayOfValues

func (*DeviceHardware_FieldSubPath) WithIValue

func (fps *DeviceHardware_FieldSubPath) WithIValue(value interface{}) DeviceHardware_FieldPathValue

func (*DeviceHardware_FieldSubPath) WithRawIArrayItemValue

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

func (*DeviceHardware_FieldSubPath) WithRawIArrayOfValues

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

func (*DeviceHardware_FieldSubPath) WithRawIValue

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

type DeviceHardware_FieldSubPathArrayItemValue

type DeviceHardware_FieldSubPathArrayItemValue struct {
	DeviceHardware_FieldPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*DeviceHardware_FieldSubPathArrayItemValue) AsStatusPathItemValue

func (*DeviceHardware_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *DeviceHardware_FieldSubPathArrayItemValue) ContainsValue(source *DeviceHardware) bool

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

func (*DeviceHardware_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type DeviceHardware_FieldSubPathArrayOfValues

type DeviceHardware_FieldSubPathArrayOfValues struct {
	DeviceHardware_FieldPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*DeviceHardware_FieldSubPathArrayOfValues) AsStatusPathArrayOfValues

func (*DeviceHardware_FieldSubPathArrayOfValues) GetRawValues

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

type DeviceHardware_FieldSubPathValue

type DeviceHardware_FieldSubPathValue struct {
	DeviceHardware_FieldPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldSubPathValue) AsMetadataPathValue

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

func (*DeviceHardware_FieldSubPathValue) AsStatusPathValue

func (*DeviceHardware_FieldSubPathValue) CompareWith

func (fpvs *DeviceHardware_FieldSubPathValue) CompareWith(source *DeviceHardware) (int, bool)

func (*DeviceHardware_FieldSubPathValue) CompareWithRaw

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

func (*DeviceHardware_FieldSubPathValue) GetRawValue

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

func (*DeviceHardware_FieldSubPathValue) SetTo

func (fpvs *DeviceHardware_FieldSubPathValue) SetTo(target **DeviceHardware)

func (*DeviceHardware_FieldSubPathValue) SetToRaw

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

type DeviceHardware_FieldTerminalPath

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

func (*DeviceHardware_FieldTerminalPath) ClearValue

func (fp *DeviceHardware_FieldTerminalPath) ClearValue(item *DeviceHardware)

func (*DeviceHardware_FieldTerminalPath) ClearValueRaw

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

func (*DeviceHardware_FieldTerminalPath) Get

func (fp *DeviceHardware_FieldTerminalPath) Get(source *DeviceHardware) (values []interface{})

Get returns all values pointed by specific field from source DeviceHardware

func (*DeviceHardware_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*DeviceHardware_FieldTerminalPath) GetRaw

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

func (*DeviceHardware_FieldTerminalPath) GetSingle

func (fp *DeviceHardware_FieldTerminalPath) GetSingle(source *DeviceHardware) (interface{}, bool)

GetSingle returns value pointed by specific field of from source DeviceHardware

func (*DeviceHardware_FieldTerminalPath) GetSingleRaw

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

func (*DeviceHardware_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*DeviceHardware_FieldTerminalPath) JSONString

func (fp *DeviceHardware_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*DeviceHardware_FieldTerminalPath) Selector

func (*DeviceHardware_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*DeviceHardware_FieldTerminalPath) String

String returns path representation in proto convention

func (*DeviceHardware_FieldTerminalPath) WithIArrayItemValue

func (fp *DeviceHardware_FieldTerminalPath) WithIArrayItemValue(value interface{}) DeviceHardware_FieldPathArrayItemValue

func (*DeviceHardware_FieldTerminalPath) WithIArrayOfValues

func (fp *DeviceHardware_FieldTerminalPath) WithIArrayOfValues(values interface{}) DeviceHardware_FieldPathArrayOfValues

func (*DeviceHardware_FieldTerminalPath) WithIValue

func (fp *DeviceHardware_FieldTerminalPath) WithIValue(value interface{}) DeviceHardware_FieldPathValue

func (*DeviceHardware_FieldTerminalPath) WithRawIArrayItemValue

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

func (*DeviceHardware_FieldTerminalPath) WithRawIArrayOfValues

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

func (*DeviceHardware_FieldTerminalPath) WithRawIValue

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

type DeviceHardware_FieldTerminalPathArrayItemValue

type DeviceHardware_FieldTerminalPathArrayItemValue struct {
	DeviceHardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldTerminalPathArrayItemValue) AsMacAddressItemValue

func (fpaiv *DeviceHardware_FieldTerminalPathArrayItemValue) AsMacAddressItemValue() (string, bool)

func (*DeviceHardware_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*DeviceHardware_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*DeviceHardware_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *DeviceHardware_FieldTerminalPathArrayItemValue) GetSingle(source *DeviceHardware) (interface{}, bool)

func (*DeviceHardware_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type DeviceHardware_FieldTerminalPathArrayOfValues

type DeviceHardware_FieldTerminalPathArrayOfValues struct {
	DeviceHardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsAssociatedDeviceArrayOfValues

func (fpaov *DeviceHardware_FieldTerminalPathArrayOfValues) AsAssociatedDeviceArrayOfValues() ([]*device.Reference, bool)

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsAssociatedProvisioningPolicyNameArrayOfValues

func (fpaov *DeviceHardware_FieldTerminalPathArrayOfValues) AsAssociatedProvisioningPolicyNameArrayOfValues() ([]*provisioning_policy.Reference, bool)

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *DeviceHardware_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsImeiArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsMacAddressArrayOfValues

func (fpaov *DeviceHardware_FieldTerminalPathArrayOfValues) AsMacAddressArrayOfValues() ([][]string, bool)

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsManufacturerArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsProductNameArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsSerialNumberArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsSimIccidArrayOfValues

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

func (*DeviceHardware_FieldTerminalPathArrayOfValues) AsStatusArrayOfValues

func (fpaov *DeviceHardware_FieldTerminalPathArrayOfValues) AsStatusArrayOfValues() ([]*DeviceHardware_Status, bool)

func (*DeviceHardware_FieldTerminalPathArrayOfValues) GetRawValues

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

type DeviceHardware_FieldTerminalPathValue

type DeviceHardware_FieldTerminalPathValue struct {
	DeviceHardware_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*DeviceHardware_FieldTerminalPathValue) AsAssociatedDeviceValue

func (fpv *DeviceHardware_FieldTerminalPathValue) AsAssociatedDeviceValue() (*device.Reference, bool)

func (*DeviceHardware_FieldTerminalPathValue) AsAssociatedProvisioningPolicyNameValue

func (fpv *DeviceHardware_FieldTerminalPathValue) AsAssociatedProvisioningPolicyNameValue() (*provisioning_policy.Reference, bool)

func (*DeviceHardware_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *DeviceHardware_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*DeviceHardware_FieldTerminalPathValue) AsImeiValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsMacAddressValue

func (fpv *DeviceHardware_FieldTerminalPathValue) AsMacAddressValue() ([]string, bool)

func (*DeviceHardware_FieldTerminalPathValue) AsManufacturerValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsMetadataValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsNameValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsProductNameValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsSerialNumberValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsSimIccidValue

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

func (*DeviceHardware_FieldTerminalPathValue) AsStatusValue

func (*DeviceHardware_FieldTerminalPathValue) CompareWith

func (fpv *DeviceHardware_FieldTerminalPathValue) CompareWith(source *DeviceHardware) (int, bool)

CompareWith compares value in the 'DeviceHardware_FieldTerminalPathValue' with the value under path in 'DeviceHardware'.

func (*DeviceHardware_FieldTerminalPathValue) CompareWithRaw

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

func (*DeviceHardware_FieldTerminalPathValue) GetRawValue

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

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

func (*DeviceHardware_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object DeviceHardware

func (*DeviceHardware_FieldTerminalPathValue) SetToRaw

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

type DeviceHardware_Status

type DeviceHardware_Status struct {
	ProvisioningState DeviceHardware_Status_PROVISIONING_STATE `` /* 204-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceHardware_Status) Clone

func (*DeviceHardware_Status) CloneRaw

func (*DeviceHardware_Status) Descriptor

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

Deprecated, Use DeviceHardware_Status.ProtoReflect.Descriptor instead.

func (*DeviceHardware_Status) GetProvisioningState

func (*DeviceHardware_Status) GotenMessage

func (*DeviceHardware_Status) GotenMessage()

func (*DeviceHardware_Status) GotenObjectExt

func (o *DeviceHardware_Status) GotenObjectExt()

func (*DeviceHardware_Status) GotenValidate

func (obj *DeviceHardware_Status) GotenValidate() error

func (*DeviceHardware_Status) MakeDiffFieldMask

func (*DeviceHardware_Status) MakeFullFieldMask

func (*DeviceHardware_Status) MakeRawDiffFieldMask

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

func (*DeviceHardware_Status) MakeRawFullFieldMask

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

func (*DeviceHardware_Status) Marshal

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

func (*DeviceHardware_Status) MarshalJSON

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

func (*DeviceHardware_Status) Merge

func (o *DeviceHardware_Status) Merge(source *DeviceHardware_Status)

func (*DeviceHardware_Status) MergeRaw

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

func (*DeviceHardware_Status) ProtoMessage

func (*DeviceHardware_Status) ProtoMessage()

func (*DeviceHardware_Status) ProtoReflect

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

func (*DeviceHardware_Status) Reset

func (m *DeviceHardware_Status) Reset()

func (*DeviceHardware_Status) SetProvisioningState

func (*DeviceHardware_Status) String

func (m *DeviceHardware_Status) String() string

func (*DeviceHardware_Status) Unmarshal

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

func (*DeviceHardware_Status) UnmarshalJSON

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

type DeviceHardware_StatusPathSelectorProvisioningState

type DeviceHardware_StatusPathSelectorProvisioningState struct{}

func (DeviceHardware_StatusPathSelectorProvisioningState) FieldPath

type DeviceHardware_Status_FieldMask

type DeviceHardware_Status_FieldMask struct {
	Paths []DeviceHardwareStatus_FieldPath
}

func FullDeviceHardware_Status_FieldMask

func FullDeviceHardware_Status_FieldMask() *DeviceHardware_Status_FieldMask

func (*DeviceHardware_Status_FieldMask) AppendPath

func (*DeviceHardware_Status_FieldMask) AppendRawPath

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

func (*DeviceHardware_Status_FieldMask) DecodeFirestore

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

func (*DeviceHardware_Status_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*DeviceHardware_Status_FieldMask) FilterInputFields

func (fieldMask *DeviceHardware_Status_FieldMask) FilterInputFields() *DeviceHardware_Status_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*DeviceHardware_Status_FieldMask) FromProtoFieldMask

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

func (*DeviceHardware_Status_FieldMask) GetPaths

func (*DeviceHardware_Status_FieldMask) GetRawPaths

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

func (*DeviceHardware_Status_FieldMask) IsFull

func (fieldMask *DeviceHardware_Status_FieldMask) IsFull() bool

func (DeviceHardware_Status_FieldMask) Marshal

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

implement methods required by customType

func (DeviceHardware_Status_FieldMask) MarshalJSON

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

func (*DeviceHardware_Status_FieldMask) PathsCount

func (fieldMask *DeviceHardware_Status_FieldMask) PathsCount() int

func (*DeviceHardware_Status_FieldMask) Project

func (*DeviceHardware_Status_FieldMask) ProjectRaw

func (*DeviceHardware_Status_FieldMask) ProtoMessage

func (fieldMask *DeviceHardware_Status_FieldMask) ProtoMessage()

func (*DeviceHardware_Status_FieldMask) ProtoReflect

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

func (*DeviceHardware_Status_FieldMask) Reset

func (fieldMask *DeviceHardware_Status_FieldMask) Reset()

func (*DeviceHardware_Status_FieldMask) Set

func (fieldMask *DeviceHardware_Status_FieldMask) Set(target, source *DeviceHardware_Status)

func (*DeviceHardware_Status_FieldMask) SetFromCliFlag

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

func (*DeviceHardware_Status_FieldMask) SetRaw

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

func (*DeviceHardware_Status_FieldMask) Size

func (fieldMask *DeviceHardware_Status_FieldMask) Size() int

func (*DeviceHardware_Status_FieldMask) String

func (fieldMask *DeviceHardware_Status_FieldMask) String() string

func (*DeviceHardware_Status_FieldMask) Subtract

func (*DeviceHardware_Status_FieldMask) SubtractRaw

func (*DeviceHardware_Status_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*DeviceHardware_Status_FieldMask) Unmarshal

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

func (*DeviceHardware_Status_FieldMask) UnmarshalJSON

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

type DeviceHardware_Status_PROVISIONING_STATE

type DeviceHardware_Status_PROVISIONING_STATE int32
const (
	// Hardware was deregistered, so device state cannot be tracked
	DeviceHardware_Status_UNKNOWN DeviceHardware_Status_PROVISIONING_STATE = 0
	// Device has not tried to provision or provisioning could have failed
	DeviceHardware_Status_NOT_PROVISIONED DeviceHardware_Status_PROVISIONING_STATE = 1
	// Device passed attestation and service account is created
	// Could be either provisioning policy scope for device scope account
	DeviceHardware_Status_PROVISIONED DeviceHardware_Status_PROVISIONING_STATE = 2
	// For device scope onboarding, the device was removed
	// For provisioning policy based onboarding, the provisioning policy was
	// removed
	DeviceHardware_Status_REVOKED DeviceHardware_Status_PROVISIONING_STATE = 3
)

func (DeviceHardware_Status_PROVISIONING_STATE) Descriptor

func (DeviceHardware_Status_PROVISIONING_STATE) Enum

func (DeviceHardware_Status_PROVISIONING_STATE) EnumDescriptor

func (DeviceHardware_Status_PROVISIONING_STATE) EnumDescriptor() ([]byte, []int)

Deprecated, Use DeviceHardware_Status_PROVISIONING_STATE.ProtoReflect.Descriptor instead.

func (DeviceHardware_Status_PROVISIONING_STATE) Number

func (DeviceHardware_Status_PROVISIONING_STATE) String

func (DeviceHardware_Status_PROVISIONING_STATE) Type

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 *DeviceHardware) 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 []*DeviceHardware) (out []*DeviceHardware)

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 DeviceHardware_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 *DeviceHardware) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	DeviceHardware_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *DeviceHardware) 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 DeviceHardware_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 *DeviceHardware) 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 DeviceHardware_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 *DeviceHardware) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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 DeviceHardware_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 {
	DeviceHardware_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *DeviceHardware) 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 DeviceHardware_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 DeviceHardware_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *DeviceHardware) 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 DeviceHardware_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 DeviceHardware_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *DeviceHardware) 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 DeviceHardware_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 *DeviceHardware) 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 DeviceHardware_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 {
	DeviceHardware_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *DeviceHardware) 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 DeviceHardware_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      *DeviceHardware_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 ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *DeviceHardware_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
	DeviceHardwareId string `firestore:"deviceHardwareId"`
}

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

func (*NameBuilder) SetRegionId

func (b *NameBuilder) SetRegionId(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 *DeviceHardware) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *DeviceHardware_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 DeviceHardwareList, elem *DeviceHardware) (DeviceHardwareList, 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 DeviceHardwareList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath DeviceHardware_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 *DeviceHardware) 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"`
	RegionId  string `firestore:"regionId"`
}

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        []*DeviceHardwareChange
	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 {
	DeviceHardwares   []*DeviceHardware
	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, deviceHardware *DeviceHardware) (*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) GetDeviceHardware

func (ref *Reference) GetDeviceHardware() *DeviceHardware

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 *DeviceHardware)

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