device_client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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
}

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

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
}

BatchGetDevicesResponse

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"`
	// contains filtered or unexported fields
}

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

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

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

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 DeviceServiceClient

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 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
}

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

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][ntt.devices.v1.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
}

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

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][ntt.devices.v1.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][ntt.devices.v1.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
}

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

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 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 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"`
	// contains filtered or unexported fields
}

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

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

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

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
}

WatchDeviceResponse

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
}

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

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
}

WatchDevicesResponse

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