device_client

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MobileNetworkType_name = map[int32]string{
		0: "FiveGNR",
		1: "LTE",
		2: "UMTS",
	}

	MobileNetworkType_value = map[string]int32{
		"FiveGNR": 0,
		"LTE":     1,
		"UMTS":    2,
	}
)

Functions

This section is empty.

Types

type BatchGetDevicesDescriptor

type BatchGetDevicesDescriptor struct{}

func GetBatchGetDevicesDescriptor

func GetBatchGetDevicesDescriptor() *BatchGetDevicesDescriptor

func (*BatchGetDevicesDescriptor) GetApiDescriptor

func (d *BatchGetDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*BatchGetDevicesDescriptor) GetApiName

func (d *BatchGetDevicesDescriptor) GetApiName() string

func (*BatchGetDevicesDescriptor) GetClientMsgReflectHandle

func (d *BatchGetDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetDevicesDescriptor) GetFullMethodName

func (d *BatchGetDevicesDescriptor) GetFullMethodName() string

func (*BatchGetDevicesDescriptor) GetMethodName

func (d *BatchGetDevicesDescriptor) GetMethodName() string

func (*BatchGetDevicesDescriptor) GetProtoPkgName

func (d *BatchGetDevicesDescriptor) GetProtoPkgName() string

func (*BatchGetDevicesDescriptor) GetResourceDescriptor

func (d *BatchGetDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*BatchGetDevicesDescriptor) GetServerMsgReflectHandle

func (d *BatchGetDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetDevicesDescriptor) GetServiceDomain

func (d *BatchGetDevicesDescriptor) GetServiceDomain() string

func (*BatchGetDevicesDescriptor) GetServiceVersion

func (d *BatchGetDevicesDescriptor) GetServiceVersion() string

func (*BatchGetDevicesDescriptor) GetVerb

func (d *BatchGetDevicesDescriptor) GetVerb() string

func (*BatchGetDevicesDescriptor) HasResource

func (d *BatchGetDevicesDescriptor) HasResource() bool

func (*BatchGetDevicesDescriptor) IsClientStream

func (d *BatchGetDevicesDescriptor) IsClientStream() bool

func (*BatchGetDevicesDescriptor) IsCollection

func (d *BatchGetDevicesDescriptor) IsCollection() bool

func (*BatchGetDevicesDescriptor) IsPlural

func (d *BatchGetDevicesDescriptor) IsPlural() bool

func (*BatchGetDevicesDescriptor) IsServerStream

func (d *BatchGetDevicesDescriptor) IsServerStream() bool

func (*BatchGetDevicesDescriptor) IsUnary

func (d *BatchGetDevicesDescriptor) IsUnary() bool

func (*BatchGetDevicesDescriptor) NewEmptyClientMsg

func (d *BatchGetDevicesDescriptor) NewEmptyClientMsg() proto.Message

func (*BatchGetDevicesDescriptor) NewEmptyServerMsg

func (d *BatchGetDevicesDescriptor) NewEmptyServerMsg() proto.Message

func (*BatchGetDevicesDescriptor) RequestHasResourceBody

func (d *BatchGetDevicesDescriptor) RequestHasResourceBody() bool

type BatchGetDevicesDescriptorClientMsgHandle

type BatchGetDevicesDescriptorClientMsgHandle struct{}

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetDevicesDescriptorServerMsgHandle

type BatchGetDevicesDescriptorServerMsgHandle struct{}

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetDevicesRequest

type BatchGetDevicesRequest struct {

	// Names of Devices
	Names []*device.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the BatchGetDevices method.

func (*BatchGetDevicesRequest) Descriptor

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

Deprecated, Use BatchGetDevicesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetDevicesRequest) GetFieldMask

func (m *BatchGetDevicesRequest) GetFieldMask() *device.Device_FieldMask

func (*BatchGetDevicesRequest) GetNames

func (m *BatchGetDevicesRequest) GetNames() []*device.Name

func (*BatchGetDevicesRequest) GetView

func (m *BatchGetDevicesRequest) GetView() view.View

func (*BatchGetDevicesRequest) GotenMessage

func (*BatchGetDevicesRequest) GotenMessage()

func (*BatchGetDevicesRequest) GotenValidate

func (obj *BatchGetDevicesRequest) GotenValidate() error

func (*BatchGetDevicesRequest) Marshal

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

func (*BatchGetDevicesRequest) MarshalJSON

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

func (*BatchGetDevicesRequest) ProtoMessage

func (*BatchGetDevicesRequest) ProtoMessage()

func (*BatchGetDevicesRequest) ProtoReflect

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

func (*BatchGetDevicesRequest) Reset

func (m *BatchGetDevicesRequest) Reset()

func (*BatchGetDevicesRequest) SetFieldMask

func (m *BatchGetDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*BatchGetDevicesRequest) SetNames

func (m *BatchGetDevicesRequest) SetNames(fv []*device.Name)

func (*BatchGetDevicesRequest) SetView

func (m *BatchGetDevicesRequest) SetView(fv view.View)

func (*BatchGetDevicesRequest) String

func (m *BatchGetDevicesRequest) String() string

func (*BatchGetDevicesRequest) Unmarshal

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

func (*BatchGetDevicesRequest) UnmarshalJSON

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

type BatchGetDevicesResponse

type BatchGetDevicesResponse struct {

	// found Devices
	Devices []*device.Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" firestore:"devices"`
	// list of not found Devices
	Missing []*device.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

A response message of the BatchGetDevices method.

func (*BatchGetDevicesResponse) Descriptor

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

Deprecated, Use BatchGetDevicesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetDevicesResponse) GetDevices

func (m *BatchGetDevicesResponse) GetDevices() []*device.Device

func (*BatchGetDevicesResponse) GetMissing

func (m *BatchGetDevicesResponse) GetMissing() []*device.Name

func (*BatchGetDevicesResponse) GotenMessage

func (*BatchGetDevicesResponse) GotenMessage()

func (*BatchGetDevicesResponse) GotenValidate

func (obj *BatchGetDevicesResponse) GotenValidate() error

func (*BatchGetDevicesResponse) Marshal

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

func (*BatchGetDevicesResponse) MarshalJSON

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

func (*BatchGetDevicesResponse) ProtoMessage

func (*BatchGetDevicesResponse) ProtoMessage()

func (*BatchGetDevicesResponse) ProtoReflect

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

func (*BatchGetDevicesResponse) Reset

func (m *BatchGetDevicesResponse) Reset()

func (*BatchGetDevicesResponse) SetDevices

func (m *BatchGetDevicesResponse) SetDevices(fv []*device.Device)

func (*BatchGetDevicesResponse) SetMissing

func (m *BatchGetDevicesResponse) SetMissing(fv []*device.Name)

func (*BatchGetDevicesResponse) String

func (m *BatchGetDevicesResponse) String() string

func (*BatchGetDevicesResponse) Unmarshal

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

func (*BatchGetDevicesResponse) UnmarshalJSON

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

type CreateDeviceDescriptor

type CreateDeviceDescriptor struct{}

func GetCreateDeviceDescriptor

func GetCreateDeviceDescriptor() *CreateDeviceDescriptor

func (*CreateDeviceDescriptor) GetApiDescriptor

func (d *CreateDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*CreateDeviceDescriptor) GetApiName

func (d *CreateDeviceDescriptor) GetApiName() string

func (*CreateDeviceDescriptor) GetClientMsgReflectHandle

func (d *CreateDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateDeviceDescriptor) GetFullMethodName

func (d *CreateDeviceDescriptor) GetFullMethodName() string

func (*CreateDeviceDescriptor) GetMethodName

func (d *CreateDeviceDescriptor) GetMethodName() string

func (*CreateDeviceDescriptor) GetProtoPkgName

func (d *CreateDeviceDescriptor) GetProtoPkgName() string

func (*CreateDeviceDescriptor) GetResourceDescriptor

func (d *CreateDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*CreateDeviceDescriptor) GetServerMsgReflectHandle

func (d *CreateDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreateDeviceDescriptor) GetServiceDomain

func (d *CreateDeviceDescriptor) GetServiceDomain() string

func (*CreateDeviceDescriptor) GetServiceVersion

func (d *CreateDeviceDescriptor) GetServiceVersion() string

func (*CreateDeviceDescriptor) GetVerb

func (d *CreateDeviceDescriptor) GetVerb() string

func (*CreateDeviceDescriptor) HasResource

func (d *CreateDeviceDescriptor) HasResource() bool

func (*CreateDeviceDescriptor) IsClientStream

func (d *CreateDeviceDescriptor) IsClientStream() bool

func (*CreateDeviceDescriptor) IsCollection

func (d *CreateDeviceDescriptor) IsCollection() bool

func (*CreateDeviceDescriptor) IsPlural

func (d *CreateDeviceDescriptor) IsPlural() bool

func (*CreateDeviceDescriptor) IsServerStream

func (d *CreateDeviceDescriptor) IsServerStream() bool

func (*CreateDeviceDescriptor) IsUnary

func (d *CreateDeviceDescriptor) IsUnary() bool

func (*CreateDeviceDescriptor) NewEmptyClientMsg

func (d *CreateDeviceDescriptor) NewEmptyClientMsg() proto.Message

func (*CreateDeviceDescriptor) NewEmptyServerMsg

func (d *CreateDeviceDescriptor) NewEmptyServerMsg() proto.Message

func (*CreateDeviceDescriptor) RequestHasResourceBody

func (d *CreateDeviceDescriptor) RequestHasResourceBody() bool

type CreateDeviceDescriptorClientMsgHandle

type CreateDeviceDescriptorClientMsgHandle struct{}

func (*CreateDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceNames

type CreateDeviceDescriptorServerMsgHandle

type CreateDeviceDescriptorServerMsgHandle struct{}

func (*CreateDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceNames

type CreateDeviceRequest

type CreateDeviceRequest struct {

	// Parent name of ntt.devices.v1.Device
	Parent *device.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Device resource body
	Device *device.Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty" firestore:"device"`
	// Optional masking applied to response object to reduce message response
	// size.
	ResponseMask *CreateDeviceRequest_ResponseMask `protobuf:"bytes,3,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the CreateDevice method.

func (*CreateDeviceRequest) Descriptor

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

Deprecated, Use CreateDeviceRequest.ProtoReflect.Descriptor instead.

func (*CreateDeviceRequest) GetDevice

func (m *CreateDeviceRequest) GetDevice() *device.Device

func (*CreateDeviceRequest) GetParent

func (m *CreateDeviceRequest) GetParent() *device.ParentName

func (*CreateDeviceRequest) GetResponseMask added in v1.8.3

func (*CreateDeviceRequest) GotenMessage

func (*CreateDeviceRequest) GotenMessage()

func (*CreateDeviceRequest) GotenValidate

func (obj *CreateDeviceRequest) GotenValidate() error

func (*CreateDeviceRequest) Marshal

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

func (*CreateDeviceRequest) MarshalJSON

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

func (*CreateDeviceRequest) ProtoMessage

func (*CreateDeviceRequest) ProtoMessage()

func (*CreateDeviceRequest) ProtoReflect

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

func (*CreateDeviceRequest) Reset

func (m *CreateDeviceRequest) Reset()

func (*CreateDeviceRequest) SetDevice

func (m *CreateDeviceRequest) SetDevice(fv *device.Device)

func (*CreateDeviceRequest) SetParent

func (m *CreateDeviceRequest) SetParent(fv *device.ParentName)

func (*CreateDeviceRequest) SetResponseMask added in v1.8.3

func (m *CreateDeviceRequest) SetResponseMask(fv *CreateDeviceRequest_ResponseMask)

func (*CreateDeviceRequest) String

func (m *CreateDeviceRequest) String() string

func (*CreateDeviceRequest) Unmarshal

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

func (*CreateDeviceRequest) UnmarshalJSON

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

type CreateDeviceRequest_ResponseMask added in v1.8.3

type CreateDeviceRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*CreateDeviceRequest_ResponseMask_SkipEntireResponseBody
	//	*CreateDeviceRequest_ResponseMask_BodyMask
	Masking isCreateDeviceRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*CreateDeviceRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use CreateDeviceRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*CreateDeviceRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) GetMasking added in v1.8.3

func (m *CreateDeviceRequest_ResponseMask) GetMasking() isCreateDeviceRequest_ResponseMask_Masking

func (*CreateDeviceRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *CreateDeviceRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*CreateDeviceRequest_ResponseMask) GotenMessage added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) GotenMessage()

func (*CreateDeviceRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *CreateDeviceRequest_ResponseMask) GotenValidate() error

func (*CreateDeviceRequest_ResponseMask) Marshal added in v1.8.3

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

func (*CreateDeviceRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*CreateDeviceRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) ProtoMessage()

func (*CreateDeviceRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) Reset added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) SetMasking added in v1.8.3

func (m *CreateDeviceRequest_ResponseMask) SetMasking(ofv isCreateDeviceRequest_ResponseMask_Masking)

func (*CreateDeviceRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *CreateDeviceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*CreateDeviceRequest_ResponseMask) String added in v1.8.3

func (*CreateDeviceRequest_ResponseMask) Unmarshal added in v1.8.3

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

func (*CreateDeviceRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type CreateDeviceRequest_ResponseMask_BodyMask added in v1.8.3

type CreateDeviceRequest_ResponseMask_BodyMask struct {
	// If this field is populated, then resource in response will contain only
	// specific fields.
	BodyMask *device.Device_FieldMask `protobuf:"bytes,2,opt,customtype=Device_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"`
}

type CreateDeviceRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type CreateDeviceRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type DeleteDeviceDescriptor

type DeleteDeviceDescriptor struct{}

func GetDeleteDeviceDescriptor

func GetDeleteDeviceDescriptor() *DeleteDeviceDescriptor

func (*DeleteDeviceDescriptor) GetApiDescriptor

func (d *DeleteDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*DeleteDeviceDescriptor) GetApiName

func (d *DeleteDeviceDescriptor) GetApiName() string

func (*DeleteDeviceDescriptor) GetClientMsgReflectHandle

func (d *DeleteDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteDeviceDescriptor) GetFullMethodName

func (d *DeleteDeviceDescriptor) GetFullMethodName() string

func (*DeleteDeviceDescriptor) GetMethodName

func (d *DeleteDeviceDescriptor) GetMethodName() string

func (*DeleteDeviceDescriptor) GetProtoPkgName

func (d *DeleteDeviceDescriptor) GetProtoPkgName() string

func (*DeleteDeviceDescriptor) GetResourceDescriptor

func (d *DeleteDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*DeleteDeviceDescriptor) GetServerMsgReflectHandle

func (d *DeleteDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeleteDeviceDescriptor) GetServiceDomain

func (d *DeleteDeviceDescriptor) GetServiceDomain() string

func (*DeleteDeviceDescriptor) GetServiceVersion

func (d *DeleteDeviceDescriptor) GetServiceVersion() string

func (*DeleteDeviceDescriptor) GetVerb

func (d *DeleteDeviceDescriptor) GetVerb() string

func (*DeleteDeviceDescriptor) HasResource

func (d *DeleteDeviceDescriptor) HasResource() bool

func (*DeleteDeviceDescriptor) IsClientStream

func (d *DeleteDeviceDescriptor) IsClientStream() bool

func (*DeleteDeviceDescriptor) IsCollection

func (d *DeleteDeviceDescriptor) IsCollection() bool

func (*DeleteDeviceDescriptor) IsPlural

func (d *DeleteDeviceDescriptor) IsPlural() bool

func (*DeleteDeviceDescriptor) IsServerStream

func (d *DeleteDeviceDescriptor) IsServerStream() bool

func (*DeleteDeviceDescriptor) IsUnary

func (d *DeleteDeviceDescriptor) IsUnary() bool

func (*DeleteDeviceDescriptor) NewEmptyClientMsg

func (d *DeleteDeviceDescriptor) NewEmptyClientMsg() proto.Message

func (*DeleteDeviceDescriptor) NewEmptyServerMsg

func (d *DeleteDeviceDescriptor) NewEmptyServerMsg() proto.Message

func (*DeleteDeviceDescriptor) RequestHasResourceBody

func (d *DeleteDeviceDescriptor) RequestHasResourceBody() bool

type DeleteDeviceDescriptorClientMsgHandle

type DeleteDeviceDescriptorClientMsgHandle struct{}

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceNames

type DeleteDeviceDescriptorServerMsgHandle

type DeleteDeviceDescriptorServerMsgHandle struct{}

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceNames

type DeleteDeviceRequest

type DeleteDeviceRequest struct {

	// Name of ntt.devices.v1.Device
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

A request message of the DeleteDevice method.

func (*DeleteDeviceRequest) Descriptor

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

Deprecated, Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceRequest) GetName

func (m *DeleteDeviceRequest) GetName() *device.Name

func (*DeleteDeviceRequest) GotenMessage

func (*DeleteDeviceRequest) GotenMessage()

func (*DeleteDeviceRequest) GotenValidate

func (obj *DeleteDeviceRequest) GotenValidate() error

func (*DeleteDeviceRequest) Marshal

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

func (*DeleteDeviceRequest) MarshalJSON

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

func (*DeleteDeviceRequest) ProtoMessage

func (*DeleteDeviceRequest) ProtoMessage()

func (*DeleteDeviceRequest) ProtoReflect

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

func (*DeleteDeviceRequest) Reset

func (m *DeleteDeviceRequest) Reset()

func (*DeleteDeviceRequest) SetName

func (m *DeleteDeviceRequest) SetName(fv *device.Name)

func (*DeleteDeviceRequest) String

func (m *DeleteDeviceRequest) String() string

func (*DeleteDeviceRequest) Unmarshal

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

func (*DeleteDeviceRequest) UnmarshalJSON

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

type DeviceMetrics added in v1.8.3

type DeviceMetrics struct {
	Uptime                   uint64                        `protobuf:"varint,1,opt,name=uptime,proto3" json:"uptime,omitempty" firestore:"uptime"`
	MemoryUsageBytes         uint64                        `` /* 141-byte string literal not displayed */
	MemoryUtilizationPercent float32                       `` /* 174-byte string literal not displayed */
	LoadAverage_1M           float32                       `` /* 130-byte string literal not displayed */
	MemoryStats              *DeviceMetrics_MemoryStats    `protobuf:"bytes,5,opt,name=memory_stats,json=memoryStats,proto3" json:"memory_stats,omitempty" firestore:"memoryStats"`
	CpuStats                 []*DeviceMetrics_CpuCoreStats `protobuf:"bytes,6,rep,name=cpu_stats,json=cpuStats,proto3" json:"cpu_stats,omitempty" firestore:"cpuStats"`
	// should match order in repeated DiskMetricsLabel
	DiskMetrics []*DeviceMetrics_DiskMetric `protobuf:"bytes,8,rep,name=disk_metrics,json=diskMetrics,proto3" json:"disk_metrics,omitempty" firestore:"diskMetrics"`
	// should match order in repeated DiskMetricsLabel
	HardwareMetrics []*DeviceMetrics_HardwareMetric `` /* 135-byte string literal not displayed */
	// should match order in repeated ModemMetricLabel
	ModemMetrics     map[uint32]*DeviceMetrics_ModemMetric `` /* 212-byte string literal not displayed */
	PerAntennaSignal *DeviceMetrics_PerAntennaSignal       `` /* 141-byte string literal not displayed */
	// should match order in repeated ContainerMetricLabel
	ContainerMetrics map[uint32]*DeviceMetrics_ContainerMetric `` /* 228-byte string literal not displayed */
	// should match order in repeated PodMetricLabel
	PodMetrics  []*DeviceMetrics_PodMetric `protobuf:"bytes,17,rep,name=pod_metrics,json=podMetrics,proto3" json:"pod_metrics,omitempty" firestore:"podMetrics"`
	MetricsTime *timestamppb.Timestamp     `protobuf:"bytes,18,opt,name=metrics_time,json=metricsTime,proto3" json:"metrics_time,omitempty" firestore:"metricsTime"`
	// optional - only required when something changes or in first time the metric
	// is sent
	DiskLabels []*DeviceMetrics_DiskMetricsLabel `protobuf:"bytes,7,rep,name=disk_labels,json=diskLabels,proto3" json:"disk_labels,omitempty" firestore:"diskLabels"`
	// optional - only required when something changes or in first time the metric
	// is sent
	HardwareMetricsLabels []*DeviceMetrics_HardwareMetricsLabel `` /* 160-byte string literal not displayed */
	// optional - only required when something changes or in first time the metric
	// is sent
	ModemMetricsLabels []*DeviceMetrics_ModemMetricLabel `` /* 149-byte string literal not displayed */
	// optional - only required when something changes or in first time the metric
	// is sent
	ContainerMetricsLabels []*DeviceMetrics_ContainerMetricLabel `` /* 165-byte string literal not displayed */
	// optional - only required when something changes or in first time the metric
	// is sent
	PodMetricsLabels []*DeviceMetrics_PodMetricLabel `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceMetrics) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics.ProtoReflect.Descriptor instead.

func (*DeviceMetrics) GetContainerMetrics added in v1.8.3

func (m *DeviceMetrics) GetContainerMetrics() map[uint32]*DeviceMetrics_ContainerMetric

func (*DeviceMetrics) GetContainerMetricsLabels added in v1.8.3

func (m *DeviceMetrics) GetContainerMetricsLabels() []*DeviceMetrics_ContainerMetricLabel

func (*DeviceMetrics) GetCpuStats added in v1.8.3

func (m *DeviceMetrics) GetCpuStats() []*DeviceMetrics_CpuCoreStats

func (*DeviceMetrics) GetDiskLabels added in v1.8.3

func (m *DeviceMetrics) GetDiskLabels() []*DeviceMetrics_DiskMetricsLabel

func (*DeviceMetrics) GetDiskMetrics added in v1.8.3

func (m *DeviceMetrics) GetDiskMetrics() []*DeviceMetrics_DiskMetric

func (*DeviceMetrics) GetHardwareMetrics added in v1.8.3

func (m *DeviceMetrics) GetHardwareMetrics() []*DeviceMetrics_HardwareMetric

func (*DeviceMetrics) GetHardwareMetricsLabels added in v1.8.3

func (m *DeviceMetrics) GetHardwareMetricsLabels() []*DeviceMetrics_HardwareMetricsLabel

func (*DeviceMetrics) GetLoadAverage_1M added in v1.8.3

func (m *DeviceMetrics) GetLoadAverage_1M() float32

func (*DeviceMetrics) GetMemoryStats added in v1.8.3

func (m *DeviceMetrics) GetMemoryStats() *DeviceMetrics_MemoryStats

func (*DeviceMetrics) GetMemoryUsageBytes added in v1.8.3

func (m *DeviceMetrics) GetMemoryUsageBytes() uint64

func (*DeviceMetrics) GetMemoryUtilizationPercent added in v1.8.3

func (m *DeviceMetrics) GetMemoryUtilizationPercent() float32

func (*DeviceMetrics) GetMetricsTime added in v1.8.3

func (m *DeviceMetrics) GetMetricsTime() *timestamppb.Timestamp

func (*DeviceMetrics) GetModemMetrics added in v1.8.3

func (m *DeviceMetrics) GetModemMetrics() map[uint32]*DeviceMetrics_ModemMetric

func (*DeviceMetrics) GetModemMetricsLabels added in v1.8.3

func (m *DeviceMetrics) GetModemMetricsLabels() []*DeviceMetrics_ModemMetricLabel

func (*DeviceMetrics) GetPerAntennaSignal added in v1.8.3

func (m *DeviceMetrics) GetPerAntennaSignal() *DeviceMetrics_PerAntennaSignal

func (*DeviceMetrics) GetPodMetrics added in v1.8.3

func (m *DeviceMetrics) GetPodMetrics() []*DeviceMetrics_PodMetric

func (*DeviceMetrics) GetPodMetricsLabels added in v1.8.3

func (m *DeviceMetrics) GetPodMetricsLabels() []*DeviceMetrics_PodMetricLabel

func (*DeviceMetrics) GetUptime added in v1.8.3

func (m *DeviceMetrics) GetUptime() uint64

func (*DeviceMetrics) GotenMessage added in v1.8.3

func (*DeviceMetrics) GotenMessage()

func (*DeviceMetrics) GotenValidate added in v1.8.3

func (obj *DeviceMetrics) GotenValidate() error

func (*DeviceMetrics) Marshal added in v1.8.3

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

func (*DeviceMetrics) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics) ProtoMessage added in v1.8.3

func (*DeviceMetrics) ProtoMessage()

func (*DeviceMetrics) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics) Reset added in v1.8.3

func (m *DeviceMetrics) Reset()

func (*DeviceMetrics) SetContainerMetrics added in v1.8.3

func (m *DeviceMetrics) SetContainerMetrics(fv map[uint32]*DeviceMetrics_ContainerMetric)

func (*DeviceMetrics) SetContainerMetricsLabels added in v1.8.3

func (m *DeviceMetrics) SetContainerMetricsLabels(fv []*DeviceMetrics_ContainerMetricLabel)

func (*DeviceMetrics) SetCpuStats added in v1.8.3

func (m *DeviceMetrics) SetCpuStats(fv []*DeviceMetrics_CpuCoreStats)

func (*DeviceMetrics) SetDiskLabels added in v1.8.3

func (m *DeviceMetrics) SetDiskLabels(fv []*DeviceMetrics_DiskMetricsLabel)

func (*DeviceMetrics) SetDiskMetrics added in v1.8.3

func (m *DeviceMetrics) SetDiskMetrics(fv []*DeviceMetrics_DiskMetric)

func (*DeviceMetrics) SetHardwareMetrics added in v1.8.3

func (m *DeviceMetrics) SetHardwareMetrics(fv []*DeviceMetrics_HardwareMetric)

func (*DeviceMetrics) SetHardwareMetricsLabels added in v1.8.3

func (m *DeviceMetrics) SetHardwareMetricsLabels(fv []*DeviceMetrics_HardwareMetricsLabel)

func (*DeviceMetrics) SetLoadAverage_1M added in v1.8.3

func (m *DeviceMetrics) SetLoadAverage_1M(fv float32)

func (*DeviceMetrics) SetMemoryStats added in v1.8.3

func (m *DeviceMetrics) SetMemoryStats(fv *DeviceMetrics_MemoryStats)

func (*DeviceMetrics) SetMemoryUsageBytes added in v1.8.3

func (m *DeviceMetrics) SetMemoryUsageBytes(fv uint64)

func (*DeviceMetrics) SetMemoryUtilizationPercent added in v1.8.3

func (m *DeviceMetrics) SetMemoryUtilizationPercent(fv float32)

func (*DeviceMetrics) SetMetricsTime added in v1.8.3

func (m *DeviceMetrics) SetMetricsTime(fv *timestamppb.Timestamp)

func (*DeviceMetrics) SetModemMetrics added in v1.8.3

func (m *DeviceMetrics) SetModemMetrics(fv map[uint32]*DeviceMetrics_ModemMetric)

func (*DeviceMetrics) SetModemMetricsLabels added in v1.8.3

func (m *DeviceMetrics) SetModemMetricsLabels(fv []*DeviceMetrics_ModemMetricLabel)

func (*DeviceMetrics) SetPerAntennaSignal added in v1.8.3

func (m *DeviceMetrics) SetPerAntennaSignal(fv *DeviceMetrics_PerAntennaSignal)

func (*DeviceMetrics) SetPodMetrics added in v1.8.3

func (m *DeviceMetrics) SetPodMetrics(fv []*DeviceMetrics_PodMetric)

func (*DeviceMetrics) SetPodMetricsLabels added in v1.8.3

func (m *DeviceMetrics) SetPodMetricsLabels(fv []*DeviceMetrics_PodMetricLabel)

func (*DeviceMetrics) SetUptime added in v1.8.3

func (m *DeviceMetrics) SetUptime(fv uint64)

func (*DeviceMetrics) String added in v1.8.3

func (m *DeviceMetrics) String() string

func (*DeviceMetrics) Unmarshal added in v1.8.3

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

func (*DeviceMetrics) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_ContainerMetric added in v1.8.3

type DeviceMetrics_ContainerMetric struct {
	CpuUtilization    float32 `` /* 132-byte string literal not displayed */
	MemoryUtilization float32 `` /* 144-byte string literal not displayed */
	MemoryUsageBytes  uint64  `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceMetrics_ContainerMetric) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_ContainerMetric.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_ContainerMetric) GetCpuUtilization added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) GetCpuUtilization() float32

func (*DeviceMetrics_ContainerMetric) GetMemoryUsageBytes added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) GetMemoryUsageBytes() uint64

func (*DeviceMetrics_ContainerMetric) GetMemoryUtilization added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) GetMemoryUtilization() float32

func (*DeviceMetrics_ContainerMetric) GotenMessage added in v1.8.3

func (*DeviceMetrics_ContainerMetric) GotenMessage()

func (*DeviceMetrics_ContainerMetric) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_ContainerMetric) GotenValidate() error

func (*DeviceMetrics_ContainerMetric) Marshal added in v1.8.3

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

func (*DeviceMetrics_ContainerMetric) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_ContainerMetric) ProtoMessage added in v1.8.3

func (*DeviceMetrics_ContainerMetric) ProtoMessage()

func (*DeviceMetrics_ContainerMetric) ProtoReflect added in v1.8.3

func (*DeviceMetrics_ContainerMetric) Reset added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) Reset()

func (*DeviceMetrics_ContainerMetric) SetCpuUtilization added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) SetCpuUtilization(fv float32)

func (*DeviceMetrics_ContainerMetric) SetMemoryUsageBytes added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) SetMemoryUsageBytes(fv uint64)

func (*DeviceMetrics_ContainerMetric) SetMemoryUtilization added in v1.8.3

func (m *DeviceMetrics_ContainerMetric) SetMemoryUtilization(fv float32)

func (*DeviceMetrics_ContainerMetric) String added in v1.8.3

func (*DeviceMetrics_ContainerMetric) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_ContainerMetric) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_ContainerMetricLabel added in v1.8.3

type DeviceMetrics_ContainerMetricLabel struct {
	PodId       string `protobuf:"bytes,1,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty" firestore:"podId"`
	ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty" firestore:"containerId"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_ContainerMetricLabel) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_ContainerMetricLabel.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_ContainerMetricLabel) GetContainerId added in v1.8.3

func (m *DeviceMetrics_ContainerMetricLabel) GetContainerId() string

func (*DeviceMetrics_ContainerMetricLabel) GetPodId added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) GotenMessage added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) GotenMessage()

func (*DeviceMetrics_ContainerMetricLabel) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_ContainerMetricLabel) GotenValidate() error

func (*DeviceMetrics_ContainerMetricLabel) Marshal added in v1.8.3

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

func (*DeviceMetrics_ContainerMetricLabel) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_ContainerMetricLabel) ProtoMessage added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) ProtoMessage()

func (*DeviceMetrics_ContainerMetricLabel) ProtoReflect added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) Reset added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) SetContainerId added in v1.8.3

func (m *DeviceMetrics_ContainerMetricLabel) SetContainerId(fv string)

func (*DeviceMetrics_ContainerMetricLabel) SetPodId added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) String added in v1.8.3

func (*DeviceMetrics_ContainerMetricLabel) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_ContainerMetricLabel) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_CpuCoreStats added in v1.8.3

type DeviceMetrics_CpuCoreStats struct {
	User    float32 `protobuf:"fixed32,1,opt,name=user,proto3" json:"user,omitempty" firestore:"user"`
	System  float32 `protobuf:"fixed32,2,opt,name=system,proto3" json:"system,omitempty" firestore:"system"`
	Idle    float32 `protobuf:"fixed32,3,opt,name=idle,proto3" json:"idle,omitempty" firestore:"idle"`
	Nice    float32 `protobuf:"fixed32,4,opt,name=nice,proto3" json:"nice,omitempty" firestore:"nice"`
	Iowait  float32 `protobuf:"fixed32,5,opt,name=iowait,proto3" json:"iowait,omitempty" firestore:"iowait"`
	Irq     float32 `protobuf:"fixed32,6,opt,name=irq,proto3" json:"irq,omitempty" firestore:"irq"`
	Softirq float32 `protobuf:"fixed32,7,opt,name=softirq,proto3" json:"softirq,omitempty" firestore:"softirq"`
	Steal   float32 `protobuf:"fixed32,8,opt,name=steal,proto3" json:"steal,omitempty" firestore:"steal"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_CpuCoreStats) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_CpuCoreStats.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_CpuCoreStats) GetIdle added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetIdle() float32

func (*DeviceMetrics_CpuCoreStats) GetIowait added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetIowait() float32

func (*DeviceMetrics_CpuCoreStats) GetIrq added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetIrq() float32

func (*DeviceMetrics_CpuCoreStats) GetNice added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetNice() float32

func (*DeviceMetrics_CpuCoreStats) GetSoftirq added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetSoftirq() float32

func (*DeviceMetrics_CpuCoreStats) GetSteal added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetSteal() float32

func (*DeviceMetrics_CpuCoreStats) GetSystem added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetSystem() float32

func (*DeviceMetrics_CpuCoreStats) GetUser added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) GetUser() float32

func (*DeviceMetrics_CpuCoreStats) GotenMessage added in v1.8.3

func (*DeviceMetrics_CpuCoreStats) GotenMessage()

func (*DeviceMetrics_CpuCoreStats) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_CpuCoreStats) GotenValidate() error

func (*DeviceMetrics_CpuCoreStats) Marshal added in v1.8.3

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

func (*DeviceMetrics_CpuCoreStats) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_CpuCoreStats) ProtoMessage added in v1.8.3

func (*DeviceMetrics_CpuCoreStats) ProtoMessage()

func (*DeviceMetrics_CpuCoreStats) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_CpuCoreStats) Reset added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) Reset()

func (*DeviceMetrics_CpuCoreStats) SetIdle added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetIdle(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetIowait added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetIowait(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetIrq added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetIrq(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetNice added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetNice(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetSoftirq added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetSoftirq(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetSteal added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetSteal(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetSystem added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetSystem(fv float32)

func (*DeviceMetrics_CpuCoreStats) SetUser added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) SetUser(fv float32)

func (*DeviceMetrics_CpuCoreStats) String added in v1.8.3

func (m *DeviceMetrics_CpuCoreStats) String() string

func (*DeviceMetrics_CpuCoreStats) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_CpuCoreStats) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_DiskMetric added in v1.8.3

type DeviceMetrics_DiskMetric struct {
	DiskUsageBytes         uint64  `` /* 133-byte string literal not displayed */
	DiskUtilizationPercent float32 `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceMetrics_DiskMetric) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_DiskMetric.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_DiskMetric) GetDiskUsageBytes added in v1.8.3

func (m *DeviceMetrics_DiskMetric) GetDiskUsageBytes() uint64

func (*DeviceMetrics_DiskMetric) GetDiskUtilizationPercent added in v1.8.3

func (m *DeviceMetrics_DiskMetric) GetDiskUtilizationPercent() float32

func (*DeviceMetrics_DiskMetric) GotenMessage added in v1.8.3

func (*DeviceMetrics_DiskMetric) GotenMessage()

func (*DeviceMetrics_DiskMetric) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_DiskMetric) GotenValidate() error

func (*DeviceMetrics_DiskMetric) Marshal added in v1.8.3

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

func (*DeviceMetrics_DiskMetric) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_DiskMetric) ProtoMessage added in v1.8.3

func (*DeviceMetrics_DiskMetric) ProtoMessage()

func (*DeviceMetrics_DiskMetric) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_DiskMetric) Reset added in v1.8.3

func (m *DeviceMetrics_DiskMetric) Reset()

func (*DeviceMetrics_DiskMetric) SetDiskUsageBytes added in v1.8.3

func (m *DeviceMetrics_DiskMetric) SetDiskUsageBytes(fv uint64)

func (*DeviceMetrics_DiskMetric) SetDiskUtilizationPercent added in v1.8.3

func (m *DeviceMetrics_DiskMetric) SetDiskUtilizationPercent(fv float32)

func (*DeviceMetrics_DiskMetric) String added in v1.8.3

func (m *DeviceMetrics_DiskMetric) String() string

func (*DeviceMetrics_DiskMetric) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_DiskMetric) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_DiskMetricsLabel added in v1.8.3

type DeviceMetrics_DiskMetricsLabel struct {
	MountPoint     string `protobuf:"bytes,1,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty" firestore:"mountPoint"`
	PartitionLabel string `` /* 130-byte string literal not displayed */
	Partition      string `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty" firestore:"partition"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_DiskMetricsLabel) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_DiskMetricsLabel.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_DiskMetricsLabel) GetMountPoint added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) GetMountPoint() string

func (*DeviceMetrics_DiskMetricsLabel) GetPartition added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) GetPartition() string

func (*DeviceMetrics_DiskMetricsLabel) GetPartitionLabel added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) GetPartitionLabel() string

func (*DeviceMetrics_DiskMetricsLabel) GotenMessage added in v1.8.3

func (*DeviceMetrics_DiskMetricsLabel) GotenMessage()

func (*DeviceMetrics_DiskMetricsLabel) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_DiskMetricsLabel) GotenValidate() error

func (*DeviceMetrics_DiskMetricsLabel) Marshal added in v1.8.3

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

func (*DeviceMetrics_DiskMetricsLabel) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_DiskMetricsLabel) ProtoMessage added in v1.8.3

func (*DeviceMetrics_DiskMetricsLabel) ProtoMessage()

func (*DeviceMetrics_DiskMetricsLabel) ProtoReflect added in v1.8.3

func (*DeviceMetrics_DiskMetricsLabel) Reset added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) Reset()

func (*DeviceMetrics_DiskMetricsLabel) SetMountPoint added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) SetMountPoint(fv string)

func (*DeviceMetrics_DiskMetricsLabel) SetPartition added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) SetPartition(fv string)

func (*DeviceMetrics_DiskMetricsLabel) SetPartitionLabel added in v1.8.3

func (m *DeviceMetrics_DiskMetricsLabel) SetPartitionLabel(fv string)

func (*DeviceMetrics_DiskMetricsLabel) String added in v1.8.3

func (*DeviceMetrics_DiskMetricsLabel) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_DiskMetricsLabel) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_HardwareMetric added in v1.8.3

type DeviceMetrics_HardwareMetric struct {
	FanSpeed    uint64  `protobuf:"varint,1,opt,name=fan_speed,json=fanSpeed,proto3" json:"fan_speed,omitempty" firestore:"fanSpeed"`
	Temperature int64   `protobuf:"varint,2,opt,name=temperature,proto3" json:"temperature,omitempty" firestore:"temperature"`
	Voltage     float32 `protobuf:"fixed32,3,opt,name=voltage,proto3" json:"voltage,omitempty" firestore:"voltage"`
	Power       float32 `protobuf:"fixed32,4,opt,name=power,proto3" json:"power,omitempty" firestore:"power"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_HardwareMetric) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_HardwareMetric.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_HardwareMetric) GetFanSpeed added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) GetFanSpeed() uint64

func (*DeviceMetrics_HardwareMetric) GetPower added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) GetPower() float32

func (*DeviceMetrics_HardwareMetric) GetTemperature added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) GetTemperature() int64

func (*DeviceMetrics_HardwareMetric) GetVoltage added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) GetVoltage() float32

func (*DeviceMetrics_HardwareMetric) GotenMessage added in v1.8.3

func (*DeviceMetrics_HardwareMetric) GotenMessage()

func (*DeviceMetrics_HardwareMetric) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_HardwareMetric) GotenValidate() error

func (*DeviceMetrics_HardwareMetric) Marshal added in v1.8.3

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

func (*DeviceMetrics_HardwareMetric) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_HardwareMetric) ProtoMessage added in v1.8.3

func (*DeviceMetrics_HardwareMetric) ProtoMessage()

func (*DeviceMetrics_HardwareMetric) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_HardwareMetric) Reset added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) Reset()

func (*DeviceMetrics_HardwareMetric) SetFanSpeed added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) SetFanSpeed(fv uint64)

func (*DeviceMetrics_HardwareMetric) SetPower added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) SetPower(fv float32)

func (*DeviceMetrics_HardwareMetric) SetTemperature added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) SetTemperature(fv int64)

func (*DeviceMetrics_HardwareMetric) SetVoltage added in v1.8.3

func (m *DeviceMetrics_HardwareMetric) SetVoltage(fv float32)

func (*DeviceMetrics_HardwareMetric) String added in v1.8.3

func (*DeviceMetrics_HardwareMetric) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_HardwareMetric) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_HardwareMetricsLabel added in v1.8.3

type DeviceMetrics_HardwareMetricsLabel struct {
	SensorTag string `protobuf:"bytes,1,opt,name=sensor_tag,json=sensorTag,proto3" json:"sensor_tag,omitempty" firestore:"sensorTag"`
	ChipTag   string `protobuf:"bytes,2,opt,name=chip_tag,json=chipTag,proto3" json:"chip_tag,omitempty" firestore:"chipTag"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_HardwareMetricsLabel) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_HardwareMetricsLabel.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_HardwareMetricsLabel) GetChipTag added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) GetSensorTag added in v1.8.3

func (m *DeviceMetrics_HardwareMetricsLabel) GetSensorTag() string

func (*DeviceMetrics_HardwareMetricsLabel) GotenMessage added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) GotenMessage()

func (*DeviceMetrics_HardwareMetricsLabel) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_HardwareMetricsLabel) GotenValidate() error

func (*DeviceMetrics_HardwareMetricsLabel) Marshal added in v1.8.3

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

func (*DeviceMetrics_HardwareMetricsLabel) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_HardwareMetricsLabel) ProtoMessage added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) ProtoMessage()

func (*DeviceMetrics_HardwareMetricsLabel) ProtoReflect added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) Reset added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) SetChipTag added in v1.8.3

func (m *DeviceMetrics_HardwareMetricsLabel) SetChipTag(fv string)

func (*DeviceMetrics_HardwareMetricsLabel) SetSensorTag added in v1.8.3

func (m *DeviceMetrics_HardwareMetricsLabel) SetSensorTag(fv string)

func (*DeviceMetrics_HardwareMetricsLabel) String added in v1.8.3

func (*DeviceMetrics_HardwareMetricsLabel) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_HardwareMetricsLabel) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_MemoryStats added in v1.8.3

type DeviceMetrics_MemoryStats struct {
	BufferedMemory  uint64 `` /* 131-byte string literal not displayed */
	CachedMemory    uint64 `protobuf:"varint,2,opt,name=cached_memory,json=cachedMemory,proto3" json:"cached_memory,omitempty" firestore:"cachedMemory"`
	FreeMemory      uint64 `protobuf:"varint,3,opt,name=free_memory,json=freeMemory,proto3" json:"free_memory,omitempty" firestore:"freeMemory"`
	UsedMemory      uint64 `protobuf:"varint,4,opt,name=used_memory,json=usedMemory,proto3" json:"used_memory,omitempty" firestore:"usedMemory"`
	AvailableMemory uint64 `` /* 135-byte string literal not displayed */
	SharedMemory    uint64 `protobuf:"varint,6,opt,name=shared_memory,json=sharedMemory,proto3" json:"shared_memory,omitempty" firestore:"sharedMemory"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_MemoryStats) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_MemoryStats.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_MemoryStats) GetAvailableMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetAvailableMemory() uint64

func (*DeviceMetrics_MemoryStats) GetBufferedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetBufferedMemory() uint64

func (*DeviceMetrics_MemoryStats) GetCachedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetCachedMemory() uint64

func (*DeviceMetrics_MemoryStats) GetFreeMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetFreeMemory() uint64

func (*DeviceMetrics_MemoryStats) GetSharedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetSharedMemory() uint64

func (*DeviceMetrics_MemoryStats) GetUsedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) GetUsedMemory() uint64

func (*DeviceMetrics_MemoryStats) GotenMessage added in v1.8.3

func (*DeviceMetrics_MemoryStats) GotenMessage()

func (*DeviceMetrics_MemoryStats) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_MemoryStats) GotenValidate() error

func (*DeviceMetrics_MemoryStats) Marshal added in v1.8.3

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

func (*DeviceMetrics_MemoryStats) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_MemoryStats) ProtoMessage added in v1.8.3

func (*DeviceMetrics_MemoryStats) ProtoMessage()

func (*DeviceMetrics_MemoryStats) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_MemoryStats) Reset added in v1.8.3

func (m *DeviceMetrics_MemoryStats) Reset()

func (*DeviceMetrics_MemoryStats) SetAvailableMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetAvailableMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) SetBufferedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetBufferedMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) SetCachedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetCachedMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) SetFreeMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetFreeMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) SetSharedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetSharedMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) SetUsedMemory added in v1.8.3

func (m *DeviceMetrics_MemoryStats) SetUsedMemory(fv uint64)

func (*DeviceMetrics_MemoryStats) String added in v1.8.3

func (m *DeviceMetrics_MemoryStats) String() string

func (*DeviceMetrics_MemoryStats) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_MemoryStats) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_ModemMetric added in v1.8.3

type DeviceMetrics_ModemMetric struct {
	Rssi int32   `protobuf:"zigzag32,1,opt,name=rssi,proto3" json:"rssi,omitempty" firestore:"rssi"`
	Rsrp int32   `protobuf:"zigzag32,2,opt,name=rsrp,proto3" json:"rsrp,omitempty" firestore:"rsrp"`
	Rsrq float32 `protobuf:"fixed32,3,opt,name=rsrq,proto3" json:"rsrq,omitempty" firestore:"rsrq"`
	Snr  float32 `protobuf:"fixed32,4,opt,name=snr,proto3" json:"snr,omitempty" firestore:"snr"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_ModemMetric) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_ModemMetric.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_ModemMetric) GetRsrp added in v1.8.3

func (m *DeviceMetrics_ModemMetric) GetRsrp() int32

func (*DeviceMetrics_ModemMetric) GetRsrq added in v1.8.3

func (m *DeviceMetrics_ModemMetric) GetRsrq() float32

func (*DeviceMetrics_ModemMetric) GetRssi added in v1.8.3

func (m *DeviceMetrics_ModemMetric) GetRssi() int32

func (*DeviceMetrics_ModemMetric) GetSnr added in v1.8.3

func (m *DeviceMetrics_ModemMetric) GetSnr() float32

func (*DeviceMetrics_ModemMetric) GotenMessage added in v1.8.3

func (*DeviceMetrics_ModemMetric) GotenMessage()

func (*DeviceMetrics_ModemMetric) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_ModemMetric) GotenValidate() error

func (*DeviceMetrics_ModemMetric) Marshal added in v1.8.3

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

func (*DeviceMetrics_ModemMetric) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_ModemMetric) ProtoMessage added in v1.8.3

func (*DeviceMetrics_ModemMetric) ProtoMessage()

func (*DeviceMetrics_ModemMetric) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_ModemMetric) Reset added in v1.8.3

func (m *DeviceMetrics_ModemMetric) Reset()

func (*DeviceMetrics_ModemMetric) SetRsrp added in v1.8.3

func (m *DeviceMetrics_ModemMetric) SetRsrp(fv int32)

func (*DeviceMetrics_ModemMetric) SetRsrq added in v1.8.3

func (m *DeviceMetrics_ModemMetric) SetRsrq(fv float32)

func (*DeviceMetrics_ModemMetric) SetRssi added in v1.8.3

func (m *DeviceMetrics_ModemMetric) SetRssi(fv int32)

func (*DeviceMetrics_ModemMetric) SetSnr added in v1.8.3

func (m *DeviceMetrics_ModemMetric) SetSnr(fv float32)

func (*DeviceMetrics_ModemMetric) String added in v1.8.3

func (m *DeviceMetrics_ModemMetric) String() string

func (*DeviceMetrics_ModemMetric) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_ModemMetric) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_ModemMetricLabel added in v1.8.3

type DeviceMetrics_ModemMetricLabel struct {
	CellType       MobileNetworkType `` /* 145-byte string literal not displayed */
	CellId         uint64            `protobuf:"varint,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty" firestore:"cellId"`
	PhysicalCellId uint64            `` /* 133-byte string literal not displayed */
	Tac            uint64            `protobuf:"varint,4,opt,name=tac,proto3" json:"tac,omitempty" firestore:"tac"`
	Earfcn         uint64            `protobuf:"varint,5,opt,name=earfcn,proto3" json:"earfcn,omitempty" firestore:"earfcn"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_ModemMetricLabel) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_ModemMetricLabel.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_ModemMetricLabel) GetCellId added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) GetCellId() uint64

func (*DeviceMetrics_ModemMetricLabel) GetCellType added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) GetEarfcn added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) GetEarfcn() uint64

func (*DeviceMetrics_ModemMetricLabel) GetPhysicalCellId added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) GetPhysicalCellId() uint64

func (*DeviceMetrics_ModemMetricLabel) GetTac added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) GotenMessage added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) GotenMessage()

func (*DeviceMetrics_ModemMetricLabel) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_ModemMetricLabel) GotenValidate() error

func (*DeviceMetrics_ModemMetricLabel) Marshal added in v1.8.3

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

func (*DeviceMetrics_ModemMetricLabel) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_ModemMetricLabel) ProtoMessage added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) ProtoMessage()

func (*DeviceMetrics_ModemMetricLabel) ProtoReflect added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) Reset added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) Reset()

func (*DeviceMetrics_ModemMetricLabel) SetCellId added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) SetCellId(fv uint64)

func (*DeviceMetrics_ModemMetricLabel) SetCellType added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) SetEarfcn added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) SetEarfcn(fv uint64)

func (*DeviceMetrics_ModemMetricLabel) SetPhysicalCellId added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) SetPhysicalCellId(fv uint64)

func (*DeviceMetrics_ModemMetricLabel) SetTac added in v1.8.3

func (m *DeviceMetrics_ModemMetricLabel) SetTac(fv uint64)

func (*DeviceMetrics_ModemMetricLabel) String added in v1.8.3

func (*DeviceMetrics_ModemMetricLabel) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_ModemMetricLabel) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_PerAntennaSignal added in v1.8.3

type DeviceMetrics_PerAntennaSignal struct {
	FivegRsrps []int32   `protobuf:"zigzag32,1,rep,packed,name=fiveg_rsrps,json=fivegRsrps,proto3" json:"fiveg_rsrps,omitempty" firestore:"fivegRsrps"`
	FivegRsrqs []float32 `protobuf:"fixed32,2,rep,packed,name=fiveg_rsrqs,json=fivegRsrqs,proto3" json:"fiveg_rsrqs,omitempty" firestore:"fivegRsrqs"`
	LteRsrps   []int32   `protobuf:"zigzag32,3,rep,packed,name=lte_rsrps,json=lteRsrps,proto3" json:"lte_rsrps,omitempty" firestore:"lteRsrps"`
	LteRsrqs   []float32 `protobuf:"fixed32,4,rep,packed,name=lte_rsrqs,json=lteRsrqs,proto3" json:"lte_rsrqs,omitempty" firestore:"lteRsrqs"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_PerAntennaSignal) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_PerAntennaSignal.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_PerAntennaSignal) GetFivegRsrps added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) GetFivegRsrps() []int32

func (*DeviceMetrics_PerAntennaSignal) GetFivegRsrqs added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) GetFivegRsrqs() []float32

func (*DeviceMetrics_PerAntennaSignal) GetLteRsrps added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) GetLteRsrps() []int32

func (*DeviceMetrics_PerAntennaSignal) GetLteRsrqs added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) GetLteRsrqs() []float32

func (*DeviceMetrics_PerAntennaSignal) GotenMessage added in v1.8.3

func (*DeviceMetrics_PerAntennaSignal) GotenMessage()

func (*DeviceMetrics_PerAntennaSignal) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_PerAntennaSignal) GotenValidate() error

func (*DeviceMetrics_PerAntennaSignal) Marshal added in v1.8.3

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

func (*DeviceMetrics_PerAntennaSignal) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_PerAntennaSignal) ProtoMessage added in v1.8.3

func (*DeviceMetrics_PerAntennaSignal) ProtoMessage()

func (*DeviceMetrics_PerAntennaSignal) ProtoReflect added in v1.8.3

func (*DeviceMetrics_PerAntennaSignal) Reset added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) Reset()

func (*DeviceMetrics_PerAntennaSignal) SetFivegRsrps added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) SetFivegRsrps(fv []int32)

func (*DeviceMetrics_PerAntennaSignal) SetFivegRsrqs added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) SetFivegRsrqs(fv []float32)

func (*DeviceMetrics_PerAntennaSignal) SetLteRsrps added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) SetLteRsrps(fv []int32)

func (*DeviceMetrics_PerAntennaSignal) SetLteRsrqs added in v1.8.3

func (m *DeviceMetrics_PerAntennaSignal) SetLteRsrqs(fv []float32)

func (*DeviceMetrics_PerAntennaSignal) String added in v1.8.3

func (*DeviceMetrics_PerAntennaSignal) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_PerAntennaSignal) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_PodMetric added in v1.8.3

type DeviceMetrics_PodMetric struct {
	PodStatus uint64 `protobuf:"varint,1,opt,name=pod_status,json=podStatus,proto3" json:"pod_status,omitempty" firestore:"podStatus"`
	IsHealthy bool   `protobuf:"varint,2,opt,name=is_healthy,json=isHealthy,proto3" json:"is_healthy,omitempty" firestore:"isHealthy"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_PodMetric) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_PodMetric.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_PodMetric) GetIsHealthy added in v1.8.3

func (m *DeviceMetrics_PodMetric) GetIsHealthy() bool

func (*DeviceMetrics_PodMetric) GetPodStatus added in v1.8.3

func (m *DeviceMetrics_PodMetric) GetPodStatus() uint64

func (*DeviceMetrics_PodMetric) GotenMessage added in v1.8.3

func (*DeviceMetrics_PodMetric) GotenMessage()

func (*DeviceMetrics_PodMetric) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_PodMetric) GotenValidate() error

func (*DeviceMetrics_PodMetric) Marshal added in v1.8.3

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

func (*DeviceMetrics_PodMetric) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_PodMetric) ProtoMessage added in v1.8.3

func (*DeviceMetrics_PodMetric) ProtoMessage()

func (*DeviceMetrics_PodMetric) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_PodMetric) Reset added in v1.8.3

func (m *DeviceMetrics_PodMetric) Reset()

func (*DeviceMetrics_PodMetric) SetIsHealthy added in v1.8.3

func (m *DeviceMetrics_PodMetric) SetIsHealthy(fv bool)

func (*DeviceMetrics_PodMetric) SetPodStatus added in v1.8.3

func (m *DeviceMetrics_PodMetric) SetPodStatus(fv uint64)

func (*DeviceMetrics_PodMetric) String added in v1.8.3

func (m *DeviceMetrics_PodMetric) String() string

func (*DeviceMetrics_PodMetric) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_PodMetric) UnmarshalJSON added in v1.8.3

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

type DeviceMetrics_PodMetricLabel added in v1.8.3

type DeviceMetrics_PodMetricLabel struct {
	PodId string `protobuf:"bytes,1,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty" firestore:"podId"`
	// contains filtered or unexported fields
}

func (*DeviceMetrics_PodMetricLabel) Descriptor added in v1.8.3

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

Deprecated, Use DeviceMetrics_PodMetricLabel.ProtoReflect.Descriptor instead.

func (*DeviceMetrics_PodMetricLabel) GetPodId added in v1.8.3

func (m *DeviceMetrics_PodMetricLabel) GetPodId() string

func (*DeviceMetrics_PodMetricLabel) GotenMessage added in v1.8.3

func (*DeviceMetrics_PodMetricLabel) GotenMessage()

func (*DeviceMetrics_PodMetricLabel) GotenValidate added in v1.8.3

func (obj *DeviceMetrics_PodMetricLabel) GotenValidate() error

func (*DeviceMetrics_PodMetricLabel) Marshal added in v1.8.3

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

func (*DeviceMetrics_PodMetricLabel) MarshalJSON added in v1.8.3

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

func (*DeviceMetrics_PodMetricLabel) ProtoMessage added in v1.8.3

func (*DeviceMetrics_PodMetricLabel) ProtoMessage()

func (*DeviceMetrics_PodMetricLabel) ProtoReflect added in v1.8.3

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

func (*DeviceMetrics_PodMetricLabel) Reset added in v1.8.3

func (m *DeviceMetrics_PodMetricLabel) Reset()

func (*DeviceMetrics_PodMetricLabel) SetPodId added in v1.8.3

func (m *DeviceMetrics_PodMetricLabel) SetPodId(fv string)

func (*DeviceMetrics_PodMetricLabel) String added in v1.8.3

func (*DeviceMetrics_PodMetricLabel) Unmarshal added in v1.8.3

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

func (*DeviceMetrics_PodMetricLabel) UnmarshalJSON added in v1.8.3

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

type DeviceServiceClient

type DeviceServiceClient interface {
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*device.Device, error)
	BatchGetDevices(ctx context.Context, in *BatchGetDevicesRequest, opts ...grpc.CallOption) (*BatchGetDevicesResponse, error)
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	WatchDevice(ctx context.Context, in *WatchDeviceRequest, opts ...grpc.CallOption) (WatchDeviceClientStream, error)
	WatchDevices(ctx context.Context, in *WatchDevicesRequest, opts ...grpc.CallOption) (WatchDevicesClientStream, error)
	CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*device.Device, error)
	UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*device.Device, error)
	DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetDedicatedEndpoints(ctx context.Context, in *GetDedicatedEndpointsRequest, opts ...grpc.CallOption) (*GetDedicatedEndpointsResponse, error)
	ProvisionServiceAccountToDevice(ctx context.Context, in *ProvisionServiceAccountToDeviceRequest, opts ...grpc.CallOption) (*ProvisionServiceAccountToDeviceResponse, error)
	RemoveServiceAccountFromDevice(ctx context.Context, in *RemoveServiceAccountFromDeviceRequest, opts ...grpc.CallOption) (*RemoveServiceAccountFromDeviceResponse, error)
	Heartbeat(ctx context.Context, opts ...grpc.CallOption) (HeartbeatClientStream, error)
	ReportDeviceMetrics(ctx context.Context, opts ...grpc.CallOption) (ReportDeviceMetricsClientStream, error)
}

DeviceServiceClient is the client API for DeviceService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DeviceServiceDescriptor

type DeviceServiceDescriptor struct{}

func GetDeviceServiceDescriptor

func GetDeviceServiceDescriptor() *DeviceServiceDescriptor

func (*DeviceServiceDescriptor) AllMethodDescriptors

func (d *DeviceServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*DeviceServiceDescriptor) GetApiName

func (d *DeviceServiceDescriptor) GetApiName() string

func (*DeviceServiceDescriptor) GetFullAPIName

func (d *DeviceServiceDescriptor) GetFullAPIName() string

func (*DeviceServiceDescriptor) GetProtoPkgName

func (d *DeviceServiceDescriptor) GetProtoPkgName() string

func (*DeviceServiceDescriptor) GetServiceDomain

func (d *DeviceServiceDescriptor) GetServiceDomain() string

func (*DeviceServiceDescriptor) GetServiceVersion

func (d *DeviceServiceDescriptor) GetServiceVersion() string

type GetDedicatedEndpointsDescriptor added in v1.10.0

type GetDedicatedEndpointsDescriptor struct{}

func GetGetDedicatedEndpointsDescriptor added in v1.10.0

func GetGetDedicatedEndpointsDescriptor() *GetDedicatedEndpointsDescriptor

func (*GetDedicatedEndpointsDescriptor) GetApiDescriptor added in v1.10.0

func (*GetDedicatedEndpointsDescriptor) GetApiName added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetApiName() string

func (*GetDedicatedEndpointsDescriptor) GetClientMsgReflectHandle added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDedicatedEndpointsDescriptor) GetFullMethodName added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetFullMethodName() string

func (*GetDedicatedEndpointsDescriptor) GetMethodName added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetMethodName() string

func (*GetDedicatedEndpointsDescriptor) GetProtoPkgName added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetProtoPkgName() string

func (*GetDedicatedEndpointsDescriptor) GetResourceDescriptor added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetDedicatedEndpointsDescriptor) GetServerMsgReflectHandle added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDedicatedEndpointsDescriptor) GetServiceDomain added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetServiceDomain() string

func (*GetDedicatedEndpointsDescriptor) GetServiceVersion added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) GetServiceVersion() string

func (*GetDedicatedEndpointsDescriptor) GetVerb added in v1.10.0

func (*GetDedicatedEndpointsDescriptor) HasResource added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) HasResource() bool

func (*GetDedicatedEndpointsDescriptor) IsClientStream added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) IsClientStream() bool

func (*GetDedicatedEndpointsDescriptor) IsCollection added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) IsCollection() bool

func (*GetDedicatedEndpointsDescriptor) IsPlural added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) IsPlural() bool

func (*GetDedicatedEndpointsDescriptor) IsServerStream added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) IsServerStream() bool

func (*GetDedicatedEndpointsDescriptor) IsUnary added in v1.10.0

func (*GetDedicatedEndpointsDescriptor) NewEmptyClientMsg added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) NewEmptyClientMsg() proto.Message

func (*GetDedicatedEndpointsDescriptor) NewEmptyServerMsg added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) NewEmptyServerMsg() proto.Message

func (*GetDedicatedEndpointsDescriptor) RequestHasResourceBody added in v1.10.0

func (d *GetDedicatedEndpointsDescriptor) RequestHasResourceBody() bool

type GetDedicatedEndpointsDescriptorClientMsgHandle added in v1.10.0

type GetDedicatedEndpointsDescriptorClientMsgHandle struct{}

func (*GetDedicatedEndpointsDescriptorClientMsgHandle) ExtractCollectionName added in v1.10.0

func (*GetDedicatedEndpointsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.10.0

func (*GetDedicatedEndpointsDescriptorClientMsgHandle) ExtractResourceBody added in v1.10.0

func (*GetDedicatedEndpointsDescriptorClientMsgHandle) ExtractResourceName added in v1.10.0

func (*GetDedicatedEndpointsDescriptorClientMsgHandle) ExtractResourceNames added in v1.10.0

type GetDedicatedEndpointsDescriptorServerMsgHandle added in v1.10.0

type GetDedicatedEndpointsDescriptorServerMsgHandle struct{}

func (*GetDedicatedEndpointsDescriptorServerMsgHandle) ExtractCollectionName added in v1.10.0

func (*GetDedicatedEndpointsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.10.0

func (*GetDedicatedEndpointsDescriptorServerMsgHandle) ExtractResourceBody added in v1.10.0

func (*GetDedicatedEndpointsDescriptorServerMsgHandle) ExtractResourceName added in v1.10.0

func (*GetDedicatedEndpointsDescriptorServerMsgHandle) ExtractResourceNames added in v1.10.0

type GetDedicatedEndpointsRequest added in v1.10.0

type GetDedicatedEndpointsRequest struct {
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

A request message of the [GetDedicatedEndpoints][ntt.devices.v1.GetDedicatedEndpoints]

func (*GetDedicatedEndpointsRequest) Descriptor added in v1.10.0

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

Deprecated, Use GetDedicatedEndpointsRequest.ProtoReflect.Descriptor instead.

func (*GetDedicatedEndpointsRequest) GetName added in v1.10.0

func (*GetDedicatedEndpointsRequest) GotenMessage added in v1.10.0

func (*GetDedicatedEndpointsRequest) GotenMessage()

func (*GetDedicatedEndpointsRequest) GotenValidate added in v1.10.0

func (obj *GetDedicatedEndpointsRequest) GotenValidate() error

func (*GetDedicatedEndpointsRequest) Marshal added in v1.10.0

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

func (*GetDedicatedEndpointsRequest) MarshalJSON added in v1.10.0

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

func (*GetDedicatedEndpointsRequest) ProtoMessage added in v1.10.0

func (*GetDedicatedEndpointsRequest) ProtoMessage()

func (*GetDedicatedEndpointsRequest) ProtoReflect added in v1.10.0

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

func (*GetDedicatedEndpointsRequest) Reset added in v1.10.0

func (m *GetDedicatedEndpointsRequest) Reset()

func (*GetDedicatedEndpointsRequest) SetName added in v1.10.0

func (m *GetDedicatedEndpointsRequest) SetName(fv *device.Name)

func (*GetDedicatedEndpointsRequest) String added in v1.10.0

func (*GetDedicatedEndpointsRequest) Unmarshal added in v1.10.0

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

func (*GetDedicatedEndpointsRequest) UnmarshalJSON added in v1.10.0

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

type GetDedicatedEndpointsResponse added in v1.10.0

type GetDedicatedEndpointsResponse struct {
	Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty" firestore:"endpoints"`
	// contains filtered or unexported fields
}

Response message for method [GetDedicatedEndpoints][ntt.devices.v1.GetDedicatedEndpoints]

func (*GetDedicatedEndpointsResponse) Descriptor added in v1.10.0

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

Deprecated, Use GetDedicatedEndpointsResponse.ProtoReflect.Descriptor instead.

func (*GetDedicatedEndpointsResponse) GetEndpoints added in v1.10.0

func (m *GetDedicatedEndpointsResponse) GetEndpoints() []string

func (*GetDedicatedEndpointsResponse) GotenMessage added in v1.10.0

func (*GetDedicatedEndpointsResponse) GotenMessage()

func (*GetDedicatedEndpointsResponse) GotenValidate added in v1.10.0

func (obj *GetDedicatedEndpointsResponse) GotenValidate() error

func (*GetDedicatedEndpointsResponse) Marshal added in v1.10.0

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

func (*GetDedicatedEndpointsResponse) MarshalJSON added in v1.10.0

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

func (*GetDedicatedEndpointsResponse) ProtoMessage added in v1.10.0

func (*GetDedicatedEndpointsResponse) ProtoMessage()

func (*GetDedicatedEndpointsResponse) ProtoReflect added in v1.10.0

func (*GetDedicatedEndpointsResponse) Reset added in v1.10.0

func (m *GetDedicatedEndpointsResponse) Reset()

func (*GetDedicatedEndpointsResponse) SetEndpoints added in v1.10.0

func (m *GetDedicatedEndpointsResponse) SetEndpoints(fv []string)

func (*GetDedicatedEndpointsResponse) String added in v1.10.0

func (*GetDedicatedEndpointsResponse) Unmarshal added in v1.10.0

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

func (*GetDedicatedEndpointsResponse) UnmarshalJSON added in v1.10.0

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

type GetDeviceDescriptor

type GetDeviceDescriptor struct{}

func GetGetDeviceDescriptor

func GetGetDeviceDescriptor() *GetDeviceDescriptor

func (*GetDeviceDescriptor) GetApiDescriptor

func (d *GetDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetDeviceDescriptor) GetApiName

func (d *GetDeviceDescriptor) GetApiName() string

func (*GetDeviceDescriptor) GetClientMsgReflectHandle

func (d *GetDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDeviceDescriptor) GetFullMethodName

func (d *GetDeviceDescriptor) GetFullMethodName() string

func (*GetDeviceDescriptor) GetMethodName

func (d *GetDeviceDescriptor) GetMethodName() string

func (*GetDeviceDescriptor) GetProtoPkgName

func (d *GetDeviceDescriptor) GetProtoPkgName() string

func (*GetDeviceDescriptor) GetResourceDescriptor

func (d *GetDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetDeviceDescriptor) GetServerMsgReflectHandle

func (d *GetDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetDeviceDescriptor) GetServiceDomain

func (d *GetDeviceDescriptor) GetServiceDomain() string

func (*GetDeviceDescriptor) GetServiceVersion

func (d *GetDeviceDescriptor) GetServiceVersion() string

func (*GetDeviceDescriptor) GetVerb

func (d *GetDeviceDescriptor) GetVerb() string

func (*GetDeviceDescriptor) HasResource

func (d *GetDeviceDescriptor) HasResource() bool

func (*GetDeviceDescriptor) IsClientStream

func (d *GetDeviceDescriptor) IsClientStream() bool

func (*GetDeviceDescriptor) IsCollection

func (d *GetDeviceDescriptor) IsCollection() bool

func (*GetDeviceDescriptor) IsPlural

func (d *GetDeviceDescriptor) IsPlural() bool

func (*GetDeviceDescriptor) IsServerStream

func (d *GetDeviceDescriptor) IsServerStream() bool

func (*GetDeviceDescriptor) IsUnary

func (d *GetDeviceDescriptor) IsUnary() bool

func (*GetDeviceDescriptor) NewEmptyClientMsg

func (d *GetDeviceDescriptor) NewEmptyClientMsg() proto.Message

func (*GetDeviceDescriptor) NewEmptyServerMsg

func (d *GetDeviceDescriptor) NewEmptyServerMsg() proto.Message

func (*GetDeviceDescriptor) RequestHasResourceBody

func (d *GetDeviceDescriptor) RequestHasResourceBody() bool

type GetDeviceDescriptorClientMsgHandle

type GetDeviceDescriptorClientMsgHandle struct{}

func (*GetDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (h *GetDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceNames

type GetDeviceDescriptorServerMsgHandle

type GetDeviceDescriptorServerMsgHandle struct{}

func (*GetDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (h *GetDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceNames

type GetDeviceRequest

type GetDeviceRequest struct {

	// Name of ntt.devices.v1.Device
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the GetDevice method.

func (*GetDeviceRequest) Descriptor

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

Deprecated, Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetFieldMask

func (m *GetDeviceRequest) GetFieldMask() *device.Device_FieldMask

func (*GetDeviceRequest) GetName

func (m *GetDeviceRequest) GetName() *device.Name

func (*GetDeviceRequest) GetView

func (m *GetDeviceRequest) GetView() view.View

func (*GetDeviceRequest) GotenMessage

func (*GetDeviceRequest) GotenMessage()

func (*GetDeviceRequest) GotenValidate

func (obj *GetDeviceRequest) GotenValidate() error

func (*GetDeviceRequest) Marshal

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

func (*GetDeviceRequest) MarshalJSON

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

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

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

func (*GetDeviceRequest) Reset

func (m *GetDeviceRequest) Reset()

func (*GetDeviceRequest) SetFieldMask

func (m *GetDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*GetDeviceRequest) SetName

func (m *GetDeviceRequest) SetName(fv *device.Name)

func (*GetDeviceRequest) SetView

func (m *GetDeviceRequest) SetView(fv view.View)

func (*GetDeviceRequest) String

func (m *GetDeviceRequest) String() string

func (*GetDeviceRequest) Unmarshal

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

func (*GetDeviceRequest) UnmarshalJSON

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

type HeartbeatClientStream added in v1.0.47

type HeartbeatClientStream interface {
	Send(*HeartbeatMsg) error
	Recv() (*HeartbeatResponse, error)
	grpc.ClientStream
}

type HeartbeatDescriptor added in v1.0.47

type HeartbeatDescriptor struct{}

func GetHeartbeatDescriptor added in v1.0.47

func GetHeartbeatDescriptor() *HeartbeatDescriptor

func (*HeartbeatDescriptor) GetApiDescriptor added in v1.0.47

func (d *HeartbeatDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*HeartbeatDescriptor) GetApiName added in v1.0.47

func (d *HeartbeatDescriptor) GetApiName() string

func (*HeartbeatDescriptor) GetClientMsgReflectHandle added in v1.0.47

func (d *HeartbeatDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*HeartbeatDescriptor) GetFullMethodName added in v1.0.47

func (d *HeartbeatDescriptor) GetFullMethodName() string

func (*HeartbeatDescriptor) GetMethodName added in v1.0.47

func (d *HeartbeatDescriptor) GetMethodName() string

func (*HeartbeatDescriptor) GetProtoPkgName added in v1.0.47

func (d *HeartbeatDescriptor) GetProtoPkgName() string

func (*HeartbeatDescriptor) GetResourceDescriptor added in v1.0.47

func (d *HeartbeatDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*HeartbeatDescriptor) GetServerMsgReflectHandle added in v1.0.47

func (d *HeartbeatDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*HeartbeatDescriptor) GetServiceDomain added in v1.0.47

func (d *HeartbeatDescriptor) GetServiceDomain() string

func (*HeartbeatDescriptor) GetServiceVersion added in v1.0.47

func (d *HeartbeatDescriptor) GetServiceVersion() string

func (*HeartbeatDescriptor) GetVerb added in v1.0.47

func (d *HeartbeatDescriptor) GetVerb() string

func (*HeartbeatDescriptor) HasResource added in v1.0.47

func (d *HeartbeatDescriptor) HasResource() bool

func (*HeartbeatDescriptor) IsClientStream added in v1.0.47

func (d *HeartbeatDescriptor) IsClientStream() bool

func (*HeartbeatDescriptor) IsCollection added in v1.0.47

func (d *HeartbeatDescriptor) IsCollection() bool

func (*HeartbeatDescriptor) IsPlural added in v1.0.47

func (d *HeartbeatDescriptor) IsPlural() bool

func (*HeartbeatDescriptor) IsServerStream added in v1.0.47

func (d *HeartbeatDescriptor) IsServerStream() bool

func (*HeartbeatDescriptor) IsUnary added in v1.0.47

func (d *HeartbeatDescriptor) IsUnary() bool

func (*HeartbeatDescriptor) NewEmptyClientMsg added in v1.0.47

func (d *HeartbeatDescriptor) NewEmptyClientMsg() proto.Message

func (*HeartbeatDescriptor) NewEmptyServerMsg added in v1.0.47

func (d *HeartbeatDescriptor) NewEmptyServerMsg() proto.Message

func (*HeartbeatDescriptor) RequestHasResourceBody added in v1.0.47

func (d *HeartbeatDescriptor) RequestHasResourceBody() bool

type HeartbeatDescriptorClientMsgHandle added in v1.0.47

type HeartbeatDescriptorClientMsgHandle struct{}

func (*HeartbeatDescriptorClientMsgHandle) ExtractCollectionName added in v1.0.47

func (h *HeartbeatDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*HeartbeatDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.47

func (*HeartbeatDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.47

func (*HeartbeatDescriptorClientMsgHandle) ExtractResourceName added in v1.0.47

func (*HeartbeatDescriptorClientMsgHandle) ExtractResourceNames added in v1.0.47

type HeartbeatDescriptorServerMsgHandle added in v1.0.47

type HeartbeatDescriptorServerMsgHandle struct{}

func (*HeartbeatDescriptorServerMsgHandle) ExtractCollectionName added in v1.0.47

func (h *HeartbeatDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name

func (*HeartbeatDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.47

func (*HeartbeatDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.47

func (*HeartbeatDescriptorServerMsgHandle) ExtractResourceName added in v1.0.47

func (*HeartbeatDescriptorServerMsgHandle) ExtractResourceNames added in v1.0.47

type HeartbeatMsg added in v1.0.47

type HeartbeatMsg struct {
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Types that are valid to be assigned to Msg:
	//	*HeartbeatMsg_Register_
	//	*HeartbeatMsg_Heartbeat_
	Msg isHeartbeatMsg_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*HeartbeatMsg) Descriptor added in v1.0.47

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

Deprecated, Use HeartbeatMsg.ProtoReflect.Descriptor instead.

func (*HeartbeatMsg) GetHeartbeat added in v1.0.47

func (m *HeartbeatMsg) GetHeartbeat() *HeartbeatMsg_Heartbeat

func (*HeartbeatMsg) GetMsg added in v1.0.47

func (m *HeartbeatMsg) GetMsg() isHeartbeatMsg_Msg

func (*HeartbeatMsg) GetName added in v1.0.47

func (m *HeartbeatMsg) GetName() *device.Name

func (*HeartbeatMsg) GetRegister added in v1.0.47

func (m *HeartbeatMsg) GetRegister() *HeartbeatMsg_Register

func (*HeartbeatMsg) GotenMessage added in v1.0.47

func (*HeartbeatMsg) GotenMessage()

func (*HeartbeatMsg) GotenValidate added in v1.0.47

func (obj *HeartbeatMsg) GotenValidate() error

func (*HeartbeatMsg) Marshal added in v1.0.47

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

func (*HeartbeatMsg) MarshalJSON added in v1.0.47

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

func (*HeartbeatMsg) ProtoMessage added in v1.0.47

func (*HeartbeatMsg) ProtoMessage()

func (*HeartbeatMsg) ProtoReflect added in v1.0.47

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

func (*HeartbeatMsg) Reset added in v1.0.47

func (m *HeartbeatMsg) Reset()

func (*HeartbeatMsg) SetHeartbeat added in v1.0.47

func (m *HeartbeatMsg) SetHeartbeat(fv *HeartbeatMsg_Heartbeat)

func (*HeartbeatMsg) SetMsg added in v1.0.47

func (m *HeartbeatMsg) SetMsg(ofv isHeartbeatMsg_Msg)

func (*HeartbeatMsg) SetName added in v1.0.47

func (m *HeartbeatMsg) SetName(fv *device.Name)

func (*HeartbeatMsg) SetRegister added in v1.0.47

func (m *HeartbeatMsg) SetRegister(fv *HeartbeatMsg_Register)

func (*HeartbeatMsg) String added in v1.0.47

func (m *HeartbeatMsg) String() string

func (*HeartbeatMsg) Unmarshal added in v1.0.47

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

func (*HeartbeatMsg) UnmarshalJSON added in v1.0.47

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

type HeartbeatMsg_Heartbeat added in v1.0.47

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

func (*HeartbeatMsg_Heartbeat) Descriptor added in v1.0.47

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

Deprecated, Use HeartbeatMsg_Heartbeat.ProtoReflect.Descriptor instead.

func (*HeartbeatMsg_Heartbeat) GotenMessage added in v1.0.47

func (*HeartbeatMsg_Heartbeat) GotenMessage()

func (*HeartbeatMsg_Heartbeat) GotenValidate added in v1.0.47

func (obj *HeartbeatMsg_Heartbeat) GotenValidate() error

func (*HeartbeatMsg_Heartbeat) Marshal added in v1.0.47

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

func (*HeartbeatMsg_Heartbeat) MarshalJSON added in v1.0.47

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

func (*HeartbeatMsg_Heartbeat) ProtoMessage added in v1.0.47

func (*HeartbeatMsg_Heartbeat) ProtoMessage()

func (*HeartbeatMsg_Heartbeat) ProtoReflect added in v1.0.47

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

func (*HeartbeatMsg_Heartbeat) Reset added in v1.0.47

func (m *HeartbeatMsg_Heartbeat) Reset()

func (*HeartbeatMsg_Heartbeat) String added in v1.0.47

func (m *HeartbeatMsg_Heartbeat) String() string

func (*HeartbeatMsg_Heartbeat) Unmarshal added in v1.0.47

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

func (*HeartbeatMsg_Heartbeat) UnmarshalJSON added in v1.0.47

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

type HeartbeatMsg_Heartbeat_ added in v1.0.47

type HeartbeatMsg_Heartbeat_ struct {
	Heartbeat *HeartbeatMsg_Heartbeat `protobuf:"bytes,3,opt,name=heartbeat,proto3,oneof" firestore:"heartbeat"`
}

type HeartbeatMsg_Register added in v1.0.47

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

func (*HeartbeatMsg_Register) Descriptor added in v1.0.47

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

Deprecated, Use HeartbeatMsg_Register.ProtoReflect.Descriptor instead.

func (*HeartbeatMsg_Register) GotenMessage added in v1.0.47

func (*HeartbeatMsg_Register) GotenMessage()

func (*HeartbeatMsg_Register) GotenValidate added in v1.0.47

func (obj *HeartbeatMsg_Register) GotenValidate() error

func (*HeartbeatMsg_Register) Marshal added in v1.0.47

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

func (*HeartbeatMsg_Register) MarshalJSON added in v1.0.47

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

func (*HeartbeatMsg_Register) ProtoMessage added in v1.0.47

func (*HeartbeatMsg_Register) ProtoMessage()

func (*HeartbeatMsg_Register) ProtoReflect added in v1.0.47

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

func (*HeartbeatMsg_Register) Reset added in v1.0.47

func (m *HeartbeatMsg_Register) Reset()

func (*HeartbeatMsg_Register) String added in v1.0.47

func (m *HeartbeatMsg_Register) String() string

func (*HeartbeatMsg_Register) Unmarshal added in v1.0.47

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

func (*HeartbeatMsg_Register) UnmarshalJSON added in v1.0.47

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

type HeartbeatMsg_Register_ added in v1.0.47

type HeartbeatMsg_Register_ struct {
	Register *HeartbeatMsg_Register `protobuf:"bytes,2,opt,name=register,proto3,oneof" firestore:"register"`
}

type HeartbeatResponse added in v1.0.47

type HeartbeatResponse struct {
	DesiredHeartbeatInterval *durationpb.Duration `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HeartbeatResponse) Descriptor added in v1.0.47

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

Deprecated, Use HeartbeatResponse.ProtoReflect.Descriptor instead.

func (*HeartbeatResponse) GetDesiredHeartbeatInterval added in v1.0.47

func (m *HeartbeatResponse) GetDesiredHeartbeatInterval() *durationpb.Duration

func (*HeartbeatResponse) GotenMessage added in v1.0.47

func (*HeartbeatResponse) GotenMessage()

func (*HeartbeatResponse) GotenValidate added in v1.0.47

func (obj *HeartbeatResponse) GotenValidate() error

func (*HeartbeatResponse) Marshal added in v1.0.47

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

func (*HeartbeatResponse) MarshalJSON added in v1.0.47

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

func (*HeartbeatResponse) ProtoMessage added in v1.0.47

func (*HeartbeatResponse) ProtoMessage()

func (*HeartbeatResponse) ProtoReflect added in v1.0.47

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

func (*HeartbeatResponse) Reset added in v1.0.47

func (m *HeartbeatResponse) Reset()

func (*HeartbeatResponse) SetDesiredHeartbeatInterval added in v1.0.47

func (m *HeartbeatResponse) SetDesiredHeartbeatInterval(fv *durationpb.Duration)

func (*HeartbeatResponse) String added in v1.0.47

func (m *HeartbeatResponse) String() string

func (*HeartbeatResponse) Unmarshal added in v1.0.47

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

func (*HeartbeatResponse) UnmarshalJSON added in v1.0.47

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

type ListDevicesDescriptor

type ListDevicesDescriptor struct{}

func GetListDevicesDescriptor

func GetListDevicesDescriptor() *ListDevicesDescriptor

func (*ListDevicesDescriptor) GetApiDescriptor

func (d *ListDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListDevicesDescriptor) GetApiName

func (d *ListDevicesDescriptor) GetApiName() string

func (*ListDevicesDescriptor) GetClientMsgReflectHandle

func (d *ListDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListDevicesDescriptor) GetFullMethodName

func (d *ListDevicesDescriptor) GetFullMethodName() string

func (*ListDevicesDescriptor) GetMethodName

func (d *ListDevicesDescriptor) GetMethodName() string

func (*ListDevicesDescriptor) GetProtoPkgName

func (d *ListDevicesDescriptor) GetProtoPkgName() string

func (*ListDevicesDescriptor) GetResourceDescriptor

func (d *ListDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListDevicesDescriptor) GetServerMsgReflectHandle

func (d *ListDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListDevicesDescriptor) GetServiceDomain

func (d *ListDevicesDescriptor) GetServiceDomain() string

func (*ListDevicesDescriptor) GetServiceVersion

func (d *ListDevicesDescriptor) GetServiceVersion() string

func (*ListDevicesDescriptor) GetVerb

func (d *ListDevicesDescriptor) GetVerb() string

func (*ListDevicesDescriptor) HasResource

func (d *ListDevicesDescriptor) HasResource() bool

func (*ListDevicesDescriptor) IsClientStream

func (d *ListDevicesDescriptor) IsClientStream() bool

func (*ListDevicesDescriptor) IsCollection

func (d *ListDevicesDescriptor) IsCollection() bool

func (*ListDevicesDescriptor) IsPlural

func (d *ListDevicesDescriptor) IsPlural() bool

func (*ListDevicesDescriptor) IsServerStream

func (d *ListDevicesDescriptor) IsServerStream() bool

func (*ListDevicesDescriptor) IsUnary

func (d *ListDevicesDescriptor) IsUnary() bool

func (*ListDevicesDescriptor) NewEmptyClientMsg

func (d *ListDevicesDescriptor) NewEmptyClientMsg() proto.Message

func (*ListDevicesDescriptor) NewEmptyServerMsg

func (d *ListDevicesDescriptor) NewEmptyServerMsg() proto.Message

func (*ListDevicesDescriptor) RequestHasResourceBody

func (d *ListDevicesDescriptor) RequestHasResourceBody() bool

type ListDevicesDescriptorClientMsgHandle

type ListDevicesDescriptorClientMsgHandle struct{}

func (*ListDevicesDescriptorClientMsgHandle) ExtractCollectionName

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceName

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceNames

type ListDevicesDescriptorServerMsgHandle

type ListDevicesDescriptorServerMsgHandle struct{}

func (*ListDevicesDescriptorServerMsgHandle) ExtractCollectionName

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceName

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceNames

type ListDevicesRequest

type ListDevicesRequest struct {

	// Parent name of ntt.devices.v1.Device
	Parent *device.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Devices than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// ListDevicesResponse.next_page_token.
	PageToken *device.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *device.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *device.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the ListDevices method.

func (*ListDevicesRequest) Descriptor

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

Deprecated, Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetFieldMask

func (m *ListDevicesRequest) GetFieldMask() *device.Device_FieldMask

func (*ListDevicesRequest) GetFilter

func (m *ListDevicesRequest) GetFilter() *device.Filter

func (*ListDevicesRequest) GetIncludePagingInfo

func (m *ListDevicesRequest) GetIncludePagingInfo() bool

func (*ListDevicesRequest) GetOrderBy

func (m *ListDevicesRequest) GetOrderBy() *device.OrderBy

func (*ListDevicesRequest) GetPageSize

func (m *ListDevicesRequest) GetPageSize() int32

func (*ListDevicesRequest) GetPageToken

func (m *ListDevicesRequest) GetPageToken() *device.PagerCursor

func (*ListDevicesRequest) GetParent

func (m *ListDevicesRequest) GetParent() *device.ParentName

func (*ListDevicesRequest) GetView

func (m *ListDevicesRequest) GetView() view.View

func (*ListDevicesRequest) GotenMessage

func (*ListDevicesRequest) GotenMessage()

func (*ListDevicesRequest) GotenValidate

func (obj *ListDevicesRequest) GotenValidate() error

func (*ListDevicesRequest) Marshal

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

func (*ListDevicesRequest) MarshalJSON

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

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect

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

func (*ListDevicesRequest) Reset

func (m *ListDevicesRequest) Reset()

func (*ListDevicesRequest) SetFieldMask

func (m *ListDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*ListDevicesRequest) SetFilter

func (m *ListDevicesRequest) SetFilter(fv *device.Filter)

func (*ListDevicesRequest) SetIncludePagingInfo

func (m *ListDevicesRequest) SetIncludePagingInfo(fv bool)

func (*ListDevicesRequest) SetOrderBy

func (m *ListDevicesRequest) SetOrderBy(fv *device.OrderBy)

func (*ListDevicesRequest) SetPageSize

func (m *ListDevicesRequest) SetPageSize(fv int32)

func (*ListDevicesRequest) SetPageToken

func (m *ListDevicesRequest) SetPageToken(fv *device.PagerCursor)

func (*ListDevicesRequest) SetParent

func (m *ListDevicesRequest) SetParent(fv *device.ParentName)

func (*ListDevicesRequest) SetView

func (m *ListDevicesRequest) SetView(fv view.View)

func (*ListDevicesRequest) String

func (m *ListDevicesRequest) String() string

func (*ListDevicesRequest) Unmarshal

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

func (*ListDevicesRequest) UnmarshalJSON

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

type ListDevicesResponse

type ListDevicesResponse struct {

	// The list of Devices
	Devices []*device.Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" firestore:"devices"`
	// A token to retrieve previous page of results.
	//
	// Pass this value in the ListDevicesRequest.page_token.
	PrevPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results.
	//
	// Pass this value in the ListDevicesRequest.page_token.
	NextPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Devices across all pages or 0, if there are no items,
	// paging info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

A response message of the ListDevices method.

func (*ListDevicesResponse) Descriptor

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

Deprecated, Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetCurrentOffset

func (m *ListDevicesResponse) GetCurrentOffset() int32

func (*ListDevicesResponse) GetDevices

func (m *ListDevicesResponse) GetDevices() []*device.Device

func (*ListDevicesResponse) GetNextPageToken

func (m *ListDevicesResponse) GetNextPageToken() *device.PagerCursor

func (*ListDevicesResponse) GetPrevPageToken

func (m *ListDevicesResponse) GetPrevPageToken() *device.PagerCursor

func (*ListDevicesResponse) GetTotalResultsCount

func (m *ListDevicesResponse) GetTotalResultsCount() int32

func (*ListDevicesResponse) GotenMessage

func (*ListDevicesResponse) GotenMessage()

func (*ListDevicesResponse) GotenValidate

func (obj *ListDevicesResponse) GotenValidate() error

func (*ListDevicesResponse) Marshal

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

func (*ListDevicesResponse) MarshalJSON

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

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) ProtoReflect

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

func (*ListDevicesResponse) Reset

func (m *ListDevicesResponse) Reset()

func (*ListDevicesResponse) SetCurrentOffset

func (m *ListDevicesResponse) SetCurrentOffset(fv int32)

func (*ListDevicesResponse) SetDevices

func (m *ListDevicesResponse) SetDevices(fv []*device.Device)

func (*ListDevicesResponse) SetNextPageToken

func (m *ListDevicesResponse) SetNextPageToken(fv *device.PagerCursor)

func (*ListDevicesResponse) SetPrevPageToken

func (m *ListDevicesResponse) SetPrevPageToken(fv *device.PagerCursor)

func (*ListDevicesResponse) SetTotalResultsCount

func (m *ListDevicesResponse) SetTotalResultsCount(fv int32)

func (*ListDevicesResponse) String

func (m *ListDevicesResponse) String() string

func (*ListDevicesResponse) Unmarshal

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

func (*ListDevicesResponse) UnmarshalJSON

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

type MobileNetworkType added in v1.8.3

type MobileNetworkType int32
const (
	MobileNetworkType_FiveGNR MobileNetworkType = 0
	MobileNetworkType_LTE     MobileNetworkType = 1
	MobileNetworkType_UMTS    MobileNetworkType = 2
)

func (MobileNetworkType) Descriptor added in v1.8.3

func (MobileNetworkType) Enum added in v1.8.3

func (MobileNetworkType) EnumDescriptor added in v1.8.3

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

Deprecated, Use MobileNetworkType.ProtoReflect.Descriptor instead.

func (MobileNetworkType) Number added in v1.8.3

func (MobileNetworkType) String added in v1.8.3

func (x MobileNetworkType) String() string

func (MobileNetworkType) Type added in v1.8.3

type ProvisionServiceAccountToDeviceDescriptor

type ProvisionServiceAccountToDeviceDescriptor struct{}

func GetProvisionServiceAccountToDeviceDescriptor

func GetProvisionServiceAccountToDeviceDescriptor() *ProvisionServiceAccountToDeviceDescriptor

func (*ProvisionServiceAccountToDeviceDescriptor) GetApiDescriptor

func (*ProvisionServiceAccountToDeviceDescriptor) GetApiName

func (*ProvisionServiceAccountToDeviceDescriptor) GetClientMsgReflectHandle

func (*ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName

func (d *ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetMethodName

func (*ProvisionServiceAccountToDeviceDescriptor) GetProtoPkgName

func (*ProvisionServiceAccountToDeviceDescriptor) GetResourceDescriptor

func (*ProvisionServiceAccountToDeviceDescriptor) GetServerMsgReflectHandle

func (*ProvisionServiceAccountToDeviceDescriptor) GetServiceDomain

func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceDomain() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetServiceVersion

func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceVersion() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetVerb

func (*ProvisionServiceAccountToDeviceDescriptor) HasResource

func (*ProvisionServiceAccountToDeviceDescriptor) IsClientStream

func (d *ProvisionServiceAccountToDeviceDescriptor) IsClientStream() bool

func (*ProvisionServiceAccountToDeviceDescriptor) IsCollection

func (*ProvisionServiceAccountToDeviceDescriptor) IsPlural

func (*ProvisionServiceAccountToDeviceDescriptor) IsServerStream

func (d *ProvisionServiceAccountToDeviceDescriptor) IsServerStream() bool

func (*ProvisionServiceAccountToDeviceDescriptor) IsUnary

func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyClientMsg

func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyServerMsg

func (*ProvisionServiceAccountToDeviceDescriptor) RequestHasResourceBody

func (d *ProvisionServiceAccountToDeviceDescriptor) RequestHasResourceBody() bool

type ProvisionServiceAccountToDeviceDescriptorClientMsgHandle

type ProvisionServiceAccountToDeviceDescriptorClientMsgHandle struct{}

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceNames

type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle

type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle struct{}

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceNames

type ProvisionServiceAccountToDeviceRequest

type ProvisionServiceAccountToDeviceRequest struct {

	// Name of Device to provision service account.
	// This method automatically generates a service account and a key for the
	// device and assign the key to .Spec.ServiceAccount
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// external public key to use for service account for this device.
	// If not present, a keypair will be generated by the server.
	ExternalPubkey string `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ProvisionServiceAccountToDevice][ntt.devices.v1.ProvisionServiceAccountToDevice]

func (*ProvisionServiceAccountToDeviceRequest) Descriptor

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

Deprecated, Use ProvisionServiceAccountToDeviceRequest.ProtoReflect.Descriptor instead.

func (*ProvisionServiceAccountToDeviceRequest) GetExternalPubkey

func (m *ProvisionServiceAccountToDeviceRequest) GetExternalPubkey() string

func (*ProvisionServiceAccountToDeviceRequest) GetName

func (*ProvisionServiceAccountToDeviceRequest) GotenMessage

func (*ProvisionServiceAccountToDeviceRequest) GotenValidate

func (obj *ProvisionServiceAccountToDeviceRequest) GotenValidate() error

func (*ProvisionServiceAccountToDeviceRequest) Marshal

func (*ProvisionServiceAccountToDeviceRequest) MarshalJSON

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

func (*ProvisionServiceAccountToDeviceRequest) ProtoMessage

func (*ProvisionServiceAccountToDeviceRequest) ProtoReflect

func (*ProvisionServiceAccountToDeviceRequest) Reset

func (*ProvisionServiceAccountToDeviceRequest) SetExternalPubkey

func (m *ProvisionServiceAccountToDeviceRequest) SetExternalPubkey(fv string)

func (*ProvisionServiceAccountToDeviceRequest) SetName

func (*ProvisionServiceAccountToDeviceRequest) String

func (*ProvisionServiceAccountToDeviceRequest) Unmarshal

func (*ProvisionServiceAccountToDeviceRequest) UnmarshalJSON

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

type ProvisionServiceAccountToDeviceResponse

type ProvisionServiceAccountToDeviceResponse struct {

	// The service account generated by the endpoint. Save the private key
	// included.
	ServiceAccount *api.ServiceAccount `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for method [ProvisionServiceAccountToDevice][ntt.devices.v1.ProvisionServiceAccountToDevice]

func (*ProvisionServiceAccountToDeviceResponse) Descriptor

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

Deprecated, Use ProvisionServiceAccountToDeviceResponse.ProtoReflect.Descriptor instead.

func (*ProvisionServiceAccountToDeviceResponse) GetServiceAccount

func (*ProvisionServiceAccountToDeviceResponse) GotenMessage

func (*ProvisionServiceAccountToDeviceResponse) GotenValidate

func (obj *ProvisionServiceAccountToDeviceResponse) GotenValidate() error

func (*ProvisionServiceAccountToDeviceResponse) Marshal

func (*ProvisionServiceAccountToDeviceResponse) MarshalJSON

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

func (*ProvisionServiceAccountToDeviceResponse) ProtoMessage

func (*ProvisionServiceAccountToDeviceResponse) ProtoReflect

func (*ProvisionServiceAccountToDeviceResponse) Reset

func (*ProvisionServiceAccountToDeviceResponse) SetServiceAccount

func (*ProvisionServiceAccountToDeviceResponse) String

func (*ProvisionServiceAccountToDeviceResponse) Unmarshal

func (*ProvisionServiceAccountToDeviceResponse) UnmarshalJSON

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

type RemoveServiceAccountFromDeviceDescriptor

type RemoveServiceAccountFromDeviceDescriptor struct{}

func GetRemoveServiceAccountFromDeviceDescriptor

func GetRemoveServiceAccountFromDeviceDescriptor() *RemoveServiceAccountFromDeviceDescriptor

func (*RemoveServiceAccountFromDeviceDescriptor) GetApiDescriptor

func (*RemoveServiceAccountFromDeviceDescriptor) GetApiName

func (*RemoveServiceAccountFromDeviceDescriptor) GetClientMsgReflectHandle

func (*RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName

func (d *RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetMethodName

func (*RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName

func (d *RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetResourceDescriptor

func (*RemoveServiceAccountFromDeviceDescriptor) GetServerMsgReflectHandle

func (*RemoveServiceAccountFromDeviceDescriptor) GetServiceDomain

func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceDomain() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetServiceVersion

func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceVersion() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetVerb

func (*RemoveServiceAccountFromDeviceDescriptor) HasResource

func (*RemoveServiceAccountFromDeviceDescriptor) IsClientStream

func (d *RemoveServiceAccountFromDeviceDescriptor) IsClientStream() bool

func (*RemoveServiceAccountFromDeviceDescriptor) IsCollection

func (*RemoveServiceAccountFromDeviceDescriptor) IsPlural

func (*RemoveServiceAccountFromDeviceDescriptor) IsServerStream

func (d *RemoveServiceAccountFromDeviceDescriptor) IsServerStream() bool

func (*RemoveServiceAccountFromDeviceDescriptor) IsUnary

func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyClientMsg

func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyServerMsg

func (*RemoveServiceAccountFromDeviceDescriptor) RequestHasResourceBody

func (d *RemoveServiceAccountFromDeviceDescriptor) RequestHasResourceBody() bool

type RemoveServiceAccountFromDeviceDescriptorClientMsgHandle

type RemoveServiceAccountFromDeviceDescriptorClientMsgHandle struct{}

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceNames

type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle

type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle struct{}

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceNames

type RemoveServiceAccountFromDeviceRequest

type RemoveServiceAccountFromDeviceRequest struct {

	// Name of the Device to remove its service account
	// The service account and the key will be automatically deleted as well when
	// they have been generated automatically by `ProvisionServiceAccountToDevice`
	// action. Otherwise, the service account will be kept intact. The device will
	// lost the access to the resources in the project.
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

Request message for method [RemoveServiceAccountFromDevice][ntt.devices.v1.RemoveServiceAccountFromDevice]

func (*RemoveServiceAccountFromDeviceRequest) Descriptor

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

Deprecated, Use RemoveServiceAccountFromDeviceRequest.ProtoReflect.Descriptor instead.

func (*RemoveServiceAccountFromDeviceRequest) GetName

func (*RemoveServiceAccountFromDeviceRequest) GotenMessage

func (*RemoveServiceAccountFromDeviceRequest) GotenMessage()

func (*RemoveServiceAccountFromDeviceRequest) GotenValidate

func (obj *RemoveServiceAccountFromDeviceRequest) GotenValidate() error

func (*RemoveServiceAccountFromDeviceRequest) Marshal

func (*RemoveServiceAccountFromDeviceRequest) MarshalJSON

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

func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage

func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage()

func (*RemoveServiceAccountFromDeviceRequest) ProtoReflect

func (*RemoveServiceAccountFromDeviceRequest) Reset

func (*RemoveServiceAccountFromDeviceRequest) SetName

func (*RemoveServiceAccountFromDeviceRequest) String

func (*RemoveServiceAccountFromDeviceRequest) Unmarshal

func (*RemoveServiceAccountFromDeviceRequest) UnmarshalJSON

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

type RemoveServiceAccountFromDeviceResponse

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

Response message for method [RemoveServiceAccountFromDevice][ntt.devices.v1.RemoveServiceAccountFromDevice]

func (*RemoveServiceAccountFromDeviceResponse) Descriptor

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

Deprecated, Use RemoveServiceAccountFromDeviceResponse.ProtoReflect.Descriptor instead.

func (*RemoveServiceAccountFromDeviceResponse) GotenMessage

func (*RemoveServiceAccountFromDeviceResponse) GotenValidate

func (obj *RemoveServiceAccountFromDeviceResponse) GotenValidate() error

func (*RemoveServiceAccountFromDeviceResponse) Marshal

func (*RemoveServiceAccountFromDeviceResponse) MarshalJSON

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

func (*RemoveServiceAccountFromDeviceResponse) ProtoMessage

func (*RemoveServiceAccountFromDeviceResponse) ProtoReflect

func (*RemoveServiceAccountFromDeviceResponse) Reset

func (*RemoveServiceAccountFromDeviceResponse) String

func (*RemoveServiceAccountFromDeviceResponse) Unmarshal

func (*RemoveServiceAccountFromDeviceResponse) UnmarshalJSON

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

type ReportDeviceMetricsClientStream added in v1.8.3

type ReportDeviceMetricsClientStream interface {
	Send(*ReportDeviceMetricsRequest) error
	Recv() (*ReportDeviceMetricsResponse, error)
	grpc.ClientStream
}

type ReportDeviceMetricsDescriptor added in v1.8.3

type ReportDeviceMetricsDescriptor struct{}

func GetReportDeviceMetricsDescriptor added in v1.8.3

func GetReportDeviceMetricsDescriptor() *ReportDeviceMetricsDescriptor

func (*ReportDeviceMetricsDescriptor) GetApiDescriptor added in v1.8.3

func (*ReportDeviceMetricsDescriptor) GetApiName added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetApiName() string

func (*ReportDeviceMetricsDescriptor) GetClientMsgReflectHandle added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ReportDeviceMetricsDescriptor) GetFullMethodName added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetFullMethodName() string

func (*ReportDeviceMetricsDescriptor) GetMethodName added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetMethodName() string

func (*ReportDeviceMetricsDescriptor) GetProtoPkgName added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetProtoPkgName() string

func (*ReportDeviceMetricsDescriptor) GetResourceDescriptor added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ReportDeviceMetricsDescriptor) GetServerMsgReflectHandle added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ReportDeviceMetricsDescriptor) GetServiceDomain added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetServiceDomain() string

func (*ReportDeviceMetricsDescriptor) GetServiceVersion added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) GetServiceVersion() string

func (*ReportDeviceMetricsDescriptor) GetVerb added in v1.8.3

func (*ReportDeviceMetricsDescriptor) HasResource added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) HasResource() bool

func (*ReportDeviceMetricsDescriptor) IsClientStream added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) IsClientStream() bool

func (*ReportDeviceMetricsDescriptor) IsCollection added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) IsCollection() bool

func (*ReportDeviceMetricsDescriptor) IsPlural added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) IsPlural() bool

func (*ReportDeviceMetricsDescriptor) IsServerStream added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) IsServerStream() bool

func (*ReportDeviceMetricsDescriptor) IsUnary added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) IsUnary() bool

func (*ReportDeviceMetricsDescriptor) NewEmptyClientMsg added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) NewEmptyClientMsg() proto.Message

func (*ReportDeviceMetricsDescriptor) NewEmptyServerMsg added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) NewEmptyServerMsg() proto.Message

func (*ReportDeviceMetricsDescriptor) RequestHasResourceBody added in v1.8.3

func (d *ReportDeviceMetricsDescriptor) RequestHasResourceBody() bool

type ReportDeviceMetricsDescriptorClientMsgHandle added in v1.8.3

type ReportDeviceMetricsDescriptorClientMsgHandle struct{}

func (*ReportDeviceMetricsDescriptorClientMsgHandle) ExtractCollectionName added in v1.8.3

func (*ReportDeviceMetricsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.8.3

func (*ReportDeviceMetricsDescriptorClientMsgHandle) ExtractResourceBody added in v1.8.3

func (*ReportDeviceMetricsDescriptorClientMsgHandle) ExtractResourceName added in v1.8.3

func (*ReportDeviceMetricsDescriptorClientMsgHandle) ExtractResourceNames added in v1.8.3

type ReportDeviceMetricsDescriptorServerMsgHandle added in v1.8.3

type ReportDeviceMetricsDescriptorServerMsgHandle struct{}

func (*ReportDeviceMetricsDescriptorServerMsgHandle) ExtractCollectionName added in v1.8.3

func (*ReportDeviceMetricsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.8.3

func (*ReportDeviceMetricsDescriptorServerMsgHandle) ExtractResourceBody added in v1.8.3

func (*ReportDeviceMetricsDescriptorServerMsgHandle) ExtractResourceName added in v1.8.3

func (*ReportDeviceMetricsDescriptorServerMsgHandle) ExtractResourceNames added in v1.8.3

type ReportDeviceMetricsRequest added in v1.8.3

type ReportDeviceMetricsRequest struct {

	// device_name abd region_id are required in first message for streaming
	Name          *device.Name   `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	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"`
	DeviceMetrics *DeviceMetrics `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the ReportDeviceMetrics method.

func (*ReportDeviceMetricsRequest) Descriptor added in v1.8.3

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

Deprecated, Use ReportDeviceMetricsRequest.ProtoReflect.Descriptor instead.

func (*ReportDeviceMetricsRequest) GetDeviceMetrics added in v1.8.3

func (m *ReportDeviceMetricsRequest) GetDeviceMetrics() *DeviceMetrics

func (*ReportDeviceMetricsRequest) GetDisplayName added in v1.9.6

func (m *ReportDeviceMetricsRequest) GetDisplayName() string

func (*ReportDeviceMetricsRequest) GetName added in v1.8.3

func (m *ReportDeviceMetricsRequest) GetName() *device.Name

func (*ReportDeviceMetricsRequest) GetSerialNumber added in v1.9.6

func (m *ReportDeviceMetricsRequest) GetSerialNumber() string

func (*ReportDeviceMetricsRequest) GotenMessage added in v1.8.3

func (*ReportDeviceMetricsRequest) GotenMessage()

func (*ReportDeviceMetricsRequest) GotenValidate added in v1.8.3

func (obj *ReportDeviceMetricsRequest) GotenValidate() error

func (*ReportDeviceMetricsRequest) Marshal added in v1.8.3

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

func (*ReportDeviceMetricsRequest) MarshalJSON added in v1.8.3

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

func (*ReportDeviceMetricsRequest) ProtoMessage added in v1.8.3

func (*ReportDeviceMetricsRequest) ProtoMessage()

func (*ReportDeviceMetricsRequest) ProtoReflect added in v1.8.3

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

func (*ReportDeviceMetricsRequest) Reset added in v1.8.3

func (m *ReportDeviceMetricsRequest) Reset()

func (*ReportDeviceMetricsRequest) SetDeviceMetrics added in v1.8.3

func (m *ReportDeviceMetricsRequest) SetDeviceMetrics(fv *DeviceMetrics)

func (*ReportDeviceMetricsRequest) SetDisplayName added in v1.9.6

func (m *ReportDeviceMetricsRequest) SetDisplayName(fv string)

func (*ReportDeviceMetricsRequest) SetName added in v1.8.3

func (m *ReportDeviceMetricsRequest) SetName(fv *device.Name)

func (*ReportDeviceMetricsRequest) SetSerialNumber added in v1.9.6

func (m *ReportDeviceMetricsRequest) SetSerialNumber(fv string)

func (*ReportDeviceMetricsRequest) String added in v1.8.3

func (m *ReportDeviceMetricsRequest) String() string

func (*ReportDeviceMetricsRequest) Unmarshal added in v1.8.3

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

func (*ReportDeviceMetricsRequest) UnmarshalJSON added in v1.8.3

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

type ReportDeviceMetricsResponse added in v1.8.3

type ReportDeviceMetricsResponse struct {

	// CreateTimeSeries call failed, likely a temporary issue.
	// droplet can retry without closing the stream
	TsCreateFailed bool `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ReportDeviceMetricsResponse) Descriptor added in v1.8.3

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

Deprecated, Use ReportDeviceMetricsResponse.ProtoReflect.Descriptor instead.

func (*ReportDeviceMetricsResponse) GetTsCreateFailed added in v1.8.3

func (m *ReportDeviceMetricsResponse) GetTsCreateFailed() bool

func (*ReportDeviceMetricsResponse) GotenMessage added in v1.8.3

func (*ReportDeviceMetricsResponse) GotenMessage()

func (*ReportDeviceMetricsResponse) GotenValidate added in v1.8.3

func (obj *ReportDeviceMetricsResponse) GotenValidate() error

func (*ReportDeviceMetricsResponse) Marshal added in v1.8.3

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

func (*ReportDeviceMetricsResponse) MarshalJSON added in v1.8.3

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

func (*ReportDeviceMetricsResponse) ProtoMessage added in v1.8.3

func (*ReportDeviceMetricsResponse) ProtoMessage()

func (*ReportDeviceMetricsResponse) ProtoReflect added in v1.8.3

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

func (*ReportDeviceMetricsResponse) Reset added in v1.8.3

func (m *ReportDeviceMetricsResponse) Reset()

func (*ReportDeviceMetricsResponse) SetTsCreateFailed added in v1.8.3

func (m *ReportDeviceMetricsResponse) SetTsCreateFailed(fv bool)

func (*ReportDeviceMetricsResponse) String added in v1.8.3

func (m *ReportDeviceMetricsResponse) String() string

func (*ReportDeviceMetricsResponse) Unmarshal added in v1.8.3

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

func (*ReportDeviceMetricsResponse) UnmarshalJSON added in v1.8.3

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

type UpdateDeviceDescriptor

type UpdateDeviceDescriptor struct{}

func GetUpdateDeviceDescriptor

func GetUpdateDeviceDescriptor() *UpdateDeviceDescriptor

func (*UpdateDeviceDescriptor) GetApiDescriptor

func (d *UpdateDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*UpdateDeviceDescriptor) GetApiName

func (d *UpdateDeviceDescriptor) GetApiName() string

func (*UpdateDeviceDescriptor) GetClientMsgReflectHandle

func (d *UpdateDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateDeviceDescriptor) GetFullMethodName

func (d *UpdateDeviceDescriptor) GetFullMethodName() string

func (*UpdateDeviceDescriptor) GetMethodName

func (d *UpdateDeviceDescriptor) GetMethodName() string

func (*UpdateDeviceDescriptor) GetProtoPkgName

func (d *UpdateDeviceDescriptor) GetProtoPkgName() string

func (*UpdateDeviceDescriptor) GetResourceDescriptor

func (d *UpdateDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*UpdateDeviceDescriptor) GetServerMsgReflectHandle

func (d *UpdateDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdateDeviceDescriptor) GetServiceDomain

func (d *UpdateDeviceDescriptor) GetServiceDomain() string

func (*UpdateDeviceDescriptor) GetServiceVersion

func (d *UpdateDeviceDescriptor) GetServiceVersion() string

func (*UpdateDeviceDescriptor) GetVerb

func (d *UpdateDeviceDescriptor) GetVerb() string

func (*UpdateDeviceDescriptor) HasResource

func (d *UpdateDeviceDescriptor) HasResource() bool

func (*UpdateDeviceDescriptor) IsClientStream

func (d *UpdateDeviceDescriptor) IsClientStream() bool

func (*UpdateDeviceDescriptor) IsCollection

func (d *UpdateDeviceDescriptor) IsCollection() bool

func (*UpdateDeviceDescriptor) IsPlural

func (d *UpdateDeviceDescriptor) IsPlural() bool

func (*UpdateDeviceDescriptor) IsServerStream

func (d *UpdateDeviceDescriptor) IsServerStream() bool

func (*UpdateDeviceDescriptor) IsUnary

func (d *UpdateDeviceDescriptor) IsUnary() bool

func (*UpdateDeviceDescriptor) NewEmptyClientMsg

func (d *UpdateDeviceDescriptor) NewEmptyClientMsg() proto.Message

func (*UpdateDeviceDescriptor) NewEmptyServerMsg

func (d *UpdateDeviceDescriptor) NewEmptyServerMsg() proto.Message

func (*UpdateDeviceDescriptor) RequestHasResourceBody

func (d *UpdateDeviceDescriptor) RequestHasResourceBody() bool

type UpdateDeviceDescriptorClientMsgHandle

type UpdateDeviceDescriptorClientMsgHandle struct{}

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceNames

type UpdateDeviceDescriptorServerMsgHandle

type UpdateDeviceDescriptorServerMsgHandle struct{}

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceNames

type UpdateDeviceRequest

type UpdateDeviceRequest struct {

	// Device resource body
	Device *device.Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty" firestore:"device"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *device.Device_FieldMask `` /* 142-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdateDeviceRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// reduce message response size.
	ResponseMask *UpdateDeviceRequest_ResponseMask `protobuf:"bytes,6,opt,name=response_mask,json=responseMask,proto3" json:"response_mask,omitempty" firestore:"responseMask"`
	// contains filtered or unexported fields
}

A request message of the UpdateDevice method.

func (*UpdateDeviceRequest) Descriptor

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

Deprecated, Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest) GetAllowMissing

func (m *UpdateDeviceRequest) GetAllowMissing() bool

func (*UpdateDeviceRequest) GetCas

func (*UpdateDeviceRequest) GetDevice

func (m *UpdateDeviceRequest) GetDevice() *device.Device

func (*UpdateDeviceRequest) GetResponseMask added in v1.8.3

func (*UpdateDeviceRequest) GetUpdateMask

func (m *UpdateDeviceRequest) GetUpdateMask() *device.Device_FieldMask

func (*UpdateDeviceRequest) GotenMessage

func (*UpdateDeviceRequest) GotenMessage()

func (*UpdateDeviceRequest) GotenValidate

func (obj *UpdateDeviceRequest) GotenValidate() error

func (*UpdateDeviceRequest) Marshal

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

func (*UpdateDeviceRequest) MarshalJSON

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

func (*UpdateDeviceRequest) ProtoMessage

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) ProtoReflect

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

func (*UpdateDeviceRequest) Reset

func (m *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) SetAllowMissing

func (m *UpdateDeviceRequest) SetAllowMissing(fv bool)

func (*UpdateDeviceRequest) SetCas

func (*UpdateDeviceRequest) SetDevice

func (m *UpdateDeviceRequest) SetDevice(fv *device.Device)

func (*UpdateDeviceRequest) SetResponseMask added in v1.8.3

func (m *UpdateDeviceRequest) SetResponseMask(fv *UpdateDeviceRequest_ResponseMask)

func (*UpdateDeviceRequest) SetUpdateMask

func (m *UpdateDeviceRequest) SetUpdateMask(fv *device.Device_FieldMask)

func (*UpdateDeviceRequest) String

func (m *UpdateDeviceRequest) String() string

func (*UpdateDeviceRequest) Unmarshal

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

func (*UpdateDeviceRequest) UnmarshalJSON

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

type UpdateDeviceRequest_CAS

type UpdateDeviceRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *device.Device `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdateDeviceRequest_CAS) Descriptor

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

Deprecated, Use UpdateDeviceRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest_CAS) GetConditionalState

func (m *UpdateDeviceRequest_CAS) GetConditionalState() *device.Device

func (*UpdateDeviceRequest_CAS) GetFieldMask

func (m *UpdateDeviceRequest_CAS) GetFieldMask() *device.Device_FieldMask

func (*UpdateDeviceRequest_CAS) GotenMessage

func (*UpdateDeviceRequest_CAS) GotenMessage()

func (*UpdateDeviceRequest_CAS) GotenValidate

func (obj *UpdateDeviceRequest_CAS) GotenValidate() error

func (*UpdateDeviceRequest_CAS) Marshal

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

func (*UpdateDeviceRequest_CAS) MarshalJSON

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

func (*UpdateDeviceRequest_CAS) ProtoMessage

func (*UpdateDeviceRequest_CAS) ProtoMessage()

func (*UpdateDeviceRequest_CAS) ProtoReflect

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

func (*UpdateDeviceRequest_CAS) Reset

func (m *UpdateDeviceRequest_CAS) Reset()

func (*UpdateDeviceRequest_CAS) SetConditionalState

func (m *UpdateDeviceRequest_CAS) SetConditionalState(fv *device.Device)

func (*UpdateDeviceRequest_CAS) SetFieldMask

func (m *UpdateDeviceRequest_CAS) SetFieldMask(fv *device.Device_FieldMask)

func (*UpdateDeviceRequest_CAS) String

func (m *UpdateDeviceRequest_CAS) String() string

func (*UpdateDeviceRequest_CAS) Unmarshal

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

func (*UpdateDeviceRequest_CAS) UnmarshalJSON

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

type UpdateDeviceRequest_ResponseMask added in v1.8.3

type UpdateDeviceRequest_ResponseMask struct {

	// Types that are valid to be assigned to Masking:
	//	*UpdateDeviceRequest_ResponseMask_SkipEntireResponseBody
	//	*UpdateDeviceRequest_ResponseMask_UpdatedFieldsOnly
	//	*UpdateDeviceRequest_ResponseMask_BodyMask
	Masking isUpdateDeviceRequest_ResponseMask_Masking `protobuf_oneof:"masking"`
	// contains filtered or unexported fields
}

ResponseMask allows client to reduce response message size.

func (*UpdateDeviceRequest_ResponseMask) Descriptor added in v1.8.3

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

Deprecated, Use UpdateDeviceRequest_ResponseMask.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest_ResponseMask) GetBodyMask added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) GetMasking added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) GetMasking() isUpdateDeviceRequest_ResponseMask_Masking

func (*UpdateDeviceRequest_ResponseMask) GetSkipEntireResponseBody added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) GetSkipEntireResponseBody() bool

func (*UpdateDeviceRequest_ResponseMask) GetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) GetUpdatedFieldsOnly() bool

func (*UpdateDeviceRequest_ResponseMask) GotenMessage added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) GotenMessage()

func (*UpdateDeviceRequest_ResponseMask) GotenValidate added in v1.8.3

func (obj *UpdateDeviceRequest_ResponseMask) GotenValidate() error

func (*UpdateDeviceRequest_ResponseMask) Marshal added in v1.8.3

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

func (*UpdateDeviceRequest_ResponseMask) MarshalJSON added in v1.8.3

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

func (*UpdateDeviceRequest_ResponseMask) ProtoMessage added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) ProtoMessage()

func (*UpdateDeviceRequest_ResponseMask) ProtoReflect added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) Reset added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) SetBodyMask added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) SetMasking added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) SetMasking(ofv isUpdateDeviceRequest_ResponseMask_Masking)

func (*UpdateDeviceRequest_ResponseMask) SetSkipEntireResponseBody added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) SetSkipEntireResponseBody(fv bool)

func (*UpdateDeviceRequest_ResponseMask) SetUpdatedFieldsOnly added in v1.8.3

func (m *UpdateDeviceRequest_ResponseMask) SetUpdatedFieldsOnly(fv bool)

func (*UpdateDeviceRequest_ResponseMask) String added in v1.8.3

func (*UpdateDeviceRequest_ResponseMask) Unmarshal added in v1.8.3

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

func (*UpdateDeviceRequest_ResponseMask) UnmarshalJSON added in v1.8.3

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

type UpdateDeviceRequest_ResponseMask_BodyMask added in v1.8.3

type UpdateDeviceRequest_ResponseMask_BodyMask struct {
	// If this field is populated, then resource in response will contain only
	// specific fields. If skip_entire_response_body is true, this field is
	// ignored.
	BodyMask *device.Device_FieldMask `protobuf:"bytes,3,opt,customtype=Device_FieldMask,name=body_mask,json=bodyMask,proto3,oneof" firestore:"bodyMask"`
}

type UpdateDeviceRequest_ResponseMask_SkipEntireResponseBody added in v1.8.3

type UpdateDeviceRequest_ResponseMask_SkipEntireResponseBody struct {
	// If this flag has value true, then response will contain just empty
	// resource without any fields populated. Field body_mask is ignored if
	// set.
	SkipEntireResponseBody bool `` /* 130-byte string literal not displayed */
}

type UpdateDeviceRequest_ResponseMask_UpdatedFieldsOnly added in v1.8.3

type UpdateDeviceRequest_ResponseMask_UpdatedFieldsOnly struct {
	// Include all fields that were actually updated during processing. Note
	// this may be larger than update mask if some fields were computed
	// additionally. Name is added as well.
	UpdatedFieldsOnly bool `protobuf:"varint,2,opt,name=updated_fields_only,json=updatedFieldsOnly,proto3,oneof" firestore:"updatedFieldsOnly"`
}

type WatchDeviceClientStream

type WatchDeviceClientStream interface {
	Recv() (*WatchDeviceResponse, error)
	grpc.ClientStream
}

type WatchDeviceDescriptor

type WatchDeviceDescriptor struct{}

func GetWatchDeviceDescriptor

func GetWatchDeviceDescriptor() *WatchDeviceDescriptor

func (*WatchDeviceDescriptor) GetApiDescriptor

func (d *WatchDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchDeviceDescriptor) GetApiName

func (d *WatchDeviceDescriptor) GetApiName() string

func (*WatchDeviceDescriptor) GetClientMsgReflectHandle

func (d *WatchDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeviceDescriptor) GetFullMethodName

func (d *WatchDeviceDescriptor) GetFullMethodName() string

func (*WatchDeviceDescriptor) GetMethodName

func (d *WatchDeviceDescriptor) GetMethodName() string

func (*WatchDeviceDescriptor) GetProtoPkgName

func (d *WatchDeviceDescriptor) GetProtoPkgName() string

func (*WatchDeviceDescriptor) GetResourceDescriptor

func (d *WatchDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchDeviceDescriptor) GetServerMsgReflectHandle

func (d *WatchDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDeviceDescriptor) GetServiceDomain

func (d *WatchDeviceDescriptor) GetServiceDomain() string

func (*WatchDeviceDescriptor) GetServiceVersion

func (d *WatchDeviceDescriptor) GetServiceVersion() string

func (*WatchDeviceDescriptor) GetVerb

func (d *WatchDeviceDescriptor) GetVerb() string

func (*WatchDeviceDescriptor) HasResource

func (d *WatchDeviceDescriptor) HasResource() bool

func (*WatchDeviceDescriptor) IsClientStream

func (d *WatchDeviceDescriptor) IsClientStream() bool

func (*WatchDeviceDescriptor) IsCollection

func (d *WatchDeviceDescriptor) IsCollection() bool

func (*WatchDeviceDescriptor) IsPlural

func (d *WatchDeviceDescriptor) IsPlural() bool

func (*WatchDeviceDescriptor) IsServerStream

func (d *WatchDeviceDescriptor) IsServerStream() bool

func (*WatchDeviceDescriptor) IsUnary

func (d *WatchDeviceDescriptor) IsUnary() bool

func (*WatchDeviceDescriptor) NewEmptyClientMsg

func (d *WatchDeviceDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchDeviceDescriptor) NewEmptyServerMsg

func (d *WatchDeviceDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchDeviceDescriptor) RequestHasResourceBody

func (d *WatchDeviceDescriptor) RequestHasResourceBody() bool

type WatchDeviceDescriptorClientMsgHandle

type WatchDeviceDescriptorClientMsgHandle struct{}

func (*WatchDeviceDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceNames

type WatchDeviceDescriptorServerMsgHandle

type WatchDeviceDescriptorServerMsgHandle struct{}

func (*WatchDeviceDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceNames

type WatchDeviceRequest

type WatchDeviceRequest struct {

	// Name of ntt.devices.v1.Device
	Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

A request message of the WatchDevice method.

func (*WatchDeviceRequest) Descriptor

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

Deprecated, Use WatchDeviceRequest.ProtoReflect.Descriptor instead.

func (*WatchDeviceRequest) GetFieldMask

func (m *WatchDeviceRequest) GetFieldMask() *device.Device_FieldMask

func (*WatchDeviceRequest) GetName

func (m *WatchDeviceRequest) GetName() *device.Name

func (*WatchDeviceRequest) GetView

func (m *WatchDeviceRequest) GetView() view.View

func (*WatchDeviceRequest) GotenMessage

func (*WatchDeviceRequest) GotenMessage()

func (*WatchDeviceRequest) GotenValidate

func (obj *WatchDeviceRequest) GotenValidate() error

func (*WatchDeviceRequest) Marshal

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

func (*WatchDeviceRequest) MarshalJSON

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

func (*WatchDeviceRequest) ProtoMessage

func (*WatchDeviceRequest) ProtoMessage()

func (*WatchDeviceRequest) ProtoReflect

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

func (*WatchDeviceRequest) Reset

func (m *WatchDeviceRequest) Reset()

func (*WatchDeviceRequest) SetFieldMask

func (m *WatchDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*WatchDeviceRequest) SetName

func (m *WatchDeviceRequest) SetName(fv *device.Name)

func (*WatchDeviceRequest) SetView

func (m *WatchDeviceRequest) SetView(fv view.View)

func (*WatchDeviceRequest) String

func (m *WatchDeviceRequest) String() string

func (*WatchDeviceRequest) Unmarshal

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

func (*WatchDeviceRequest) UnmarshalJSON

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

type WatchDeviceResponse

type WatchDeviceResponse struct {
	Change *device.DeviceChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

A response message of the WatchDevice method.

func (*WatchDeviceResponse) Descriptor

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

Deprecated, Use WatchDeviceResponse.ProtoReflect.Descriptor instead.

func (*WatchDeviceResponse) GetChange

func (m *WatchDeviceResponse) GetChange() *device.DeviceChange

func (*WatchDeviceResponse) GotenMessage

func (*WatchDeviceResponse) GotenMessage()

func (*WatchDeviceResponse) GotenValidate

func (obj *WatchDeviceResponse) GotenValidate() error

func (*WatchDeviceResponse) Marshal

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

func (*WatchDeviceResponse) MarshalJSON

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

func (*WatchDeviceResponse) ProtoMessage

func (*WatchDeviceResponse) ProtoMessage()

func (*WatchDeviceResponse) ProtoReflect

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

func (*WatchDeviceResponse) Reset

func (m *WatchDeviceResponse) Reset()

func (*WatchDeviceResponse) SetChange

func (m *WatchDeviceResponse) SetChange(fv *device.DeviceChange)

func (*WatchDeviceResponse) String

func (m *WatchDeviceResponse) String() string

func (*WatchDeviceResponse) Unmarshal

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

func (*WatchDeviceResponse) UnmarshalJSON

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

type WatchDevicesClientStream

type WatchDevicesClientStream interface {
	Recv() (*WatchDevicesResponse, error)
	grpc.ClientStream
}

type WatchDevicesDescriptor

type WatchDevicesDescriptor struct{}

func GetWatchDevicesDescriptor

func GetWatchDevicesDescriptor() *WatchDevicesDescriptor

func (*WatchDevicesDescriptor) GetApiDescriptor

func (d *WatchDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchDevicesDescriptor) GetApiName

func (d *WatchDevicesDescriptor) GetApiName() string

func (*WatchDevicesDescriptor) GetClientMsgReflectHandle

func (d *WatchDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDevicesDescriptor) GetFullMethodName

func (d *WatchDevicesDescriptor) GetFullMethodName() string

func (*WatchDevicesDescriptor) GetMethodName

func (d *WatchDevicesDescriptor) GetMethodName() string

func (*WatchDevicesDescriptor) GetProtoPkgName

func (d *WatchDevicesDescriptor) GetProtoPkgName() string

func (*WatchDevicesDescriptor) GetResourceDescriptor

func (d *WatchDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchDevicesDescriptor) GetServerMsgReflectHandle

func (d *WatchDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchDevicesDescriptor) GetServiceDomain

func (d *WatchDevicesDescriptor) GetServiceDomain() string

func (*WatchDevicesDescriptor) GetServiceVersion

func (d *WatchDevicesDescriptor) GetServiceVersion() string

func (*WatchDevicesDescriptor) GetVerb

func (d *WatchDevicesDescriptor) GetVerb() string

func (*WatchDevicesDescriptor) HasResource

func (d *WatchDevicesDescriptor) HasResource() bool

func (*WatchDevicesDescriptor) IsClientStream

func (d *WatchDevicesDescriptor) IsClientStream() bool

func (*WatchDevicesDescriptor) IsCollection

func (d *WatchDevicesDescriptor) IsCollection() bool

func (*WatchDevicesDescriptor) IsPlural

func (d *WatchDevicesDescriptor) IsPlural() bool

func (*WatchDevicesDescriptor) IsServerStream

func (d *WatchDevicesDescriptor) IsServerStream() bool

func (*WatchDevicesDescriptor) IsUnary

func (d *WatchDevicesDescriptor) IsUnary() bool

func (*WatchDevicesDescriptor) NewEmptyClientMsg

func (d *WatchDevicesDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchDevicesDescriptor) NewEmptyServerMsg

func (d *WatchDevicesDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchDevicesDescriptor) RequestHasResourceBody

func (d *WatchDevicesDescriptor) RequestHasResourceBody() bool

type WatchDevicesDescriptorClientMsgHandle

type WatchDevicesDescriptorClientMsgHandle struct{}

func (*WatchDevicesDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceNames

type WatchDevicesDescriptorServerMsgHandle

type WatchDevicesDescriptorServerMsgHandle struct{}

func (*WatchDevicesDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceNames

type WatchDevicesRequest

type WatchDevicesRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Parent name of ntt.devices.v1.Device
	Parent *device.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Devices than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *device.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *device.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *device.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Device that don't affect
	// any of masked fields won't be sent back.
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Device that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

A request message of the WatchDevices method.

func (*WatchDevicesRequest) Descriptor

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

Deprecated, Use WatchDevicesRequest.ProtoReflect.Descriptor instead.

func (*WatchDevicesRequest) GetFieldMask

func (m *WatchDevicesRequest) GetFieldMask() *device.Device_FieldMask

func (*WatchDevicesRequest) GetFilter

func (m *WatchDevicesRequest) GetFilter() *device.Filter

func (*WatchDevicesRequest) GetMaxChunkSize

func (m *WatchDevicesRequest) GetMaxChunkSize() int32

func (*WatchDevicesRequest) GetOrderBy

func (m *WatchDevicesRequest) GetOrderBy() *device.OrderBy

func (*WatchDevicesRequest) GetPageSize

func (m *WatchDevicesRequest) GetPageSize() int32

func (*WatchDevicesRequest) GetPageToken

func (m *WatchDevicesRequest) GetPageToken() *device.PagerCursor

func (*WatchDevicesRequest) GetParent

func (m *WatchDevicesRequest) GetParent() *device.ParentName

func (*WatchDevicesRequest) GetResumeToken

func (m *WatchDevicesRequest) GetResumeToken() string

func (*WatchDevicesRequest) GetStartingTime

func (m *WatchDevicesRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchDevicesRequest) GetType

func (*WatchDevicesRequest) GetView

func (m *WatchDevicesRequest) GetView() view.View

func (*WatchDevicesRequest) GotenMessage

func (*WatchDevicesRequest) GotenMessage()

func (*WatchDevicesRequest) GotenValidate

func (obj *WatchDevicesRequest) GotenValidate() error

func (*WatchDevicesRequest) Marshal

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

func (*WatchDevicesRequest) MarshalJSON

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

func (*WatchDevicesRequest) ProtoMessage

func (*WatchDevicesRequest) ProtoMessage()

func (*WatchDevicesRequest) ProtoReflect

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

func (*WatchDevicesRequest) Reset

func (m *WatchDevicesRequest) Reset()

func (*WatchDevicesRequest) SetFieldMask

func (m *WatchDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*WatchDevicesRequest) SetFilter

func (m *WatchDevicesRequest) SetFilter(fv *device.Filter)

func (*WatchDevicesRequest) SetMaxChunkSize

func (m *WatchDevicesRequest) SetMaxChunkSize(fv int32)

func (*WatchDevicesRequest) SetOrderBy

func (m *WatchDevicesRequest) SetOrderBy(fv *device.OrderBy)

func (*WatchDevicesRequest) SetPageSize

func (m *WatchDevicesRequest) SetPageSize(fv int32)

func (*WatchDevicesRequest) SetPageToken

func (m *WatchDevicesRequest) SetPageToken(fv *device.PagerCursor)

func (*WatchDevicesRequest) SetParent

func (m *WatchDevicesRequest) SetParent(fv *device.ParentName)

func (*WatchDevicesRequest) SetResumeToken

func (m *WatchDevicesRequest) SetResumeToken(fv string)

func (*WatchDevicesRequest) SetStartingTime

func (m *WatchDevicesRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchDevicesRequest) SetType

func (m *WatchDevicesRequest) SetType(fv watch_type.WatchType)

func (*WatchDevicesRequest) SetView

func (m *WatchDevicesRequest) SetView(fv view.View)

func (*WatchDevicesRequest) String

func (m *WatchDevicesRequest) String() string

func (*WatchDevicesRequest) Unmarshal

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

func (*WatchDevicesRequest) UnmarshalJSON

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

type WatchDevicesResponse

type WatchDevicesResponse struct {

	// Changes of Devices
	DeviceChanges []*device.DeviceChange `` /* 126-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Devices will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchDevicesResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Devices will contains changes of
	// type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

A response message of the WatchDevices method.

func (*WatchDevicesResponse) Descriptor

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

Deprecated, Use WatchDevicesResponse.ProtoReflect.Descriptor instead.

func (*WatchDevicesResponse) GetDeviceChanges

func (m *WatchDevicesResponse) GetDeviceChanges() []*device.DeviceChange

func (*WatchDevicesResponse) GetIsCurrent

func (m *WatchDevicesResponse) GetIsCurrent() bool

func (*WatchDevicesResponse) GetIsHardReset

func (m *WatchDevicesResponse) GetIsHardReset() bool

func (*WatchDevicesResponse) GetIsSoftReset

func (m *WatchDevicesResponse) GetIsSoftReset() bool

func (*WatchDevicesResponse) GetPageTokenChange

func (*WatchDevicesResponse) GetResumeToken

func (m *WatchDevicesResponse) GetResumeToken() string

func (*WatchDevicesResponse) GetSnapshotSize

func (m *WatchDevicesResponse) GetSnapshotSize() int64

func (*WatchDevicesResponse) GotenMessage

func (*WatchDevicesResponse) GotenMessage()

func (*WatchDevicesResponse) GotenValidate

func (obj *WatchDevicesResponse) GotenValidate() error

func (*WatchDevicesResponse) Marshal

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

func (*WatchDevicesResponse) MarshalJSON

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

func (*WatchDevicesResponse) ProtoMessage

func (*WatchDevicesResponse) ProtoMessage()

func (*WatchDevicesResponse) ProtoReflect

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

func (*WatchDevicesResponse) Reset

func (m *WatchDevicesResponse) Reset()

func (*WatchDevicesResponse) SetDeviceChanges

func (m *WatchDevicesResponse) SetDeviceChanges(fv []*device.DeviceChange)

func (*WatchDevicesResponse) SetIsCurrent

func (m *WatchDevicesResponse) SetIsCurrent(fv bool)

func (*WatchDevicesResponse) SetIsHardReset

func (m *WatchDevicesResponse) SetIsHardReset(fv bool)

func (*WatchDevicesResponse) SetIsSoftReset

func (m *WatchDevicesResponse) SetIsSoftReset(fv bool)

func (*WatchDevicesResponse) SetPageTokenChange

func (*WatchDevicesResponse) SetResumeToken

func (m *WatchDevicesResponse) SetResumeToken(fv string)

func (*WatchDevicesResponse) SetSnapshotSize

func (m *WatchDevicesResponse) SetSnapshotSize(fv int64)

func (*WatchDevicesResponse) String

func (m *WatchDevicesResponse) String() string

func (*WatchDevicesResponse) Unmarshal

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

func (*WatchDevicesResponse) UnmarshalJSON

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

type WatchDevicesResponse_PageTokenChange

type WatchDevicesResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchDevicesResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchDevicesResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchDevicesResponse_PageTokenChange) GetNextPageToken

func (*WatchDevicesResponse_PageTokenChange) GetPrevPageToken

func (*WatchDevicesResponse_PageTokenChange) GotenMessage

func (*WatchDevicesResponse_PageTokenChange) GotenMessage()

func (*WatchDevicesResponse_PageTokenChange) GotenValidate

func (obj *WatchDevicesResponse_PageTokenChange) GotenValidate() error

func (*WatchDevicesResponse_PageTokenChange) Marshal

func (*WatchDevicesResponse_PageTokenChange) MarshalJSON

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

func (*WatchDevicesResponse_PageTokenChange) ProtoMessage

func (*WatchDevicesResponse_PageTokenChange) ProtoMessage()

func (*WatchDevicesResponse_PageTokenChange) ProtoReflect

func (*WatchDevicesResponse_PageTokenChange) Reset

func (*WatchDevicesResponse_PageTokenChange) SetNextPageToken

func (m *WatchDevicesResponse_PageTokenChange) SetNextPageToken(fv *device.PagerCursor)

func (*WatchDevicesResponse_PageTokenChange) SetPrevPageToken

func (m *WatchDevicesResponse_PageTokenChange) SetPrevPageToken(fv *device.PagerCursor)

func (*WatchDevicesResponse_PageTokenChange) String

func (*WatchDevicesResponse_PageTokenChange) Unmarshal

func (*WatchDevicesResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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