device_client

package
v1.0.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetDevicesDescriptor added in v0.4.28

type BatchGetDevicesDescriptor struct{}

func GetBatchGetDevicesDescriptor added in v0.4.28

func GetBatchGetDevicesDescriptor() *BatchGetDevicesDescriptor

func (*BatchGetDevicesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*BatchGetDevicesDescriptor) GetApiName added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetApiName() string

func (*BatchGetDevicesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*BatchGetDevicesDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetFullMethodName() string

func (*BatchGetDevicesDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetMethodName() string

func (*BatchGetDevicesDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetProtoPkgName() string

func (*BatchGetDevicesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*BatchGetDevicesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*BatchGetDevicesDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetServiceDomain() string

func (*BatchGetDevicesDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetServiceVersion() string

func (*BatchGetDevicesDescriptor) GetVerb added in v0.4.28

func (d *BatchGetDevicesDescriptor) GetVerb() string

func (*BatchGetDevicesDescriptor) HasResource added in v0.4.30

func (d *BatchGetDevicesDescriptor) HasResource() bool

func (*BatchGetDevicesDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetDevicesDescriptor) IsClientStream() bool

func (*BatchGetDevicesDescriptor) IsCollection added in v0.4.30

func (d *BatchGetDevicesDescriptor) IsCollection() bool

func (*BatchGetDevicesDescriptor) IsPlural added in v0.4.30

func (d *BatchGetDevicesDescriptor) IsPlural() bool

func (*BatchGetDevicesDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetDevicesDescriptor) IsServerStream() bool

func (*BatchGetDevicesDescriptor) IsUnary added in v0.4.28

func (d *BatchGetDevicesDescriptor) IsUnary() bool

func (*BatchGetDevicesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*BatchGetDevicesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*BatchGetDevicesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetDevicesDescriptor) RequestHasResourceBody() bool

type BatchGetDevicesDescriptorClientMsgHandle added in v0.4.28

type BatchGetDevicesDescriptorClientMsgHandle struct{}

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetDevicesDescriptorServerMsgHandle added in v0.4.28

type BatchGetDevicesDescriptorServerMsgHandle struct{}

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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.v1alpha2.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 added in v0.4.28

type CreateDeviceDescriptor struct{}

func GetCreateDeviceDescriptor added in v0.4.28

func GetCreateDeviceDescriptor() *CreateDeviceDescriptor

func (*CreateDeviceDescriptor) GetApiDescriptor added in v0.4.28

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

func (*CreateDeviceDescriptor) GetApiName added in v0.4.28

func (d *CreateDeviceDescriptor) GetApiName() string

func (*CreateDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*CreateDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *CreateDeviceDescriptor) GetFullMethodName() string

func (*CreateDeviceDescriptor) GetMethodName added in v0.4.28

func (d *CreateDeviceDescriptor) GetMethodName() string

func (*CreateDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreateDeviceDescriptor) GetProtoPkgName() string

func (*CreateDeviceDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*CreateDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*CreateDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *CreateDeviceDescriptor) GetServiceDomain() string

func (*CreateDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *CreateDeviceDescriptor) GetServiceVersion() string

func (*CreateDeviceDescriptor) GetVerb added in v0.4.28

func (d *CreateDeviceDescriptor) GetVerb() string

func (*CreateDeviceDescriptor) HasResource added in v0.4.30

func (d *CreateDeviceDescriptor) HasResource() bool

func (*CreateDeviceDescriptor) IsClientStream added in v0.4.28

func (d *CreateDeviceDescriptor) IsClientStream() bool

func (*CreateDeviceDescriptor) IsCollection added in v0.4.30

func (d *CreateDeviceDescriptor) IsCollection() bool

func (*CreateDeviceDescriptor) IsPlural added in v0.4.30

func (d *CreateDeviceDescriptor) IsPlural() bool

func (*CreateDeviceDescriptor) IsServerStream added in v0.4.28

func (d *CreateDeviceDescriptor) IsServerStream() bool

func (*CreateDeviceDescriptor) IsUnary added in v0.4.28

func (d *CreateDeviceDescriptor) IsUnary() bool

func (*CreateDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*CreateDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*CreateDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreateDeviceDescriptor) RequestHasResourceBody() bool

type CreateDeviceDescriptorClientMsgHandle added in v0.4.28

type CreateDeviceDescriptorClientMsgHandle struct{}

func (*CreateDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreateDeviceDescriptorServerMsgHandle added in v0.4.28

type CreateDeviceDescriptorServerMsgHandle struct{}

func (*CreateDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreateDeviceRequest

type CreateDeviceRequest struct {

	// Parent name of ntt.devices.v1alpha2.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.v1alpha2.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 added in v0.4.28

type DeleteDeviceDescriptor struct{}

func GetDeleteDeviceDescriptor added in v0.4.28

func GetDeleteDeviceDescriptor() *DeleteDeviceDescriptor

func (*DeleteDeviceDescriptor) GetApiDescriptor added in v0.4.28

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

func (*DeleteDeviceDescriptor) GetApiName added in v0.4.28

func (d *DeleteDeviceDescriptor) GetApiName() string

func (*DeleteDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*DeleteDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *DeleteDeviceDescriptor) GetFullMethodName() string

func (*DeleteDeviceDescriptor) GetMethodName added in v0.4.28

func (d *DeleteDeviceDescriptor) GetMethodName() string

func (*DeleteDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeleteDeviceDescriptor) GetProtoPkgName() string

func (*DeleteDeviceDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*DeleteDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*DeleteDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *DeleteDeviceDescriptor) GetServiceDomain() string

func (*DeleteDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *DeleteDeviceDescriptor) GetServiceVersion() string

func (*DeleteDeviceDescriptor) GetVerb added in v0.4.28

func (d *DeleteDeviceDescriptor) GetVerb() string

func (*DeleteDeviceDescriptor) HasResource added in v0.4.30

func (d *DeleteDeviceDescriptor) HasResource() bool

func (*DeleteDeviceDescriptor) IsClientStream added in v0.4.28

func (d *DeleteDeviceDescriptor) IsClientStream() bool

func (*DeleteDeviceDescriptor) IsCollection added in v0.4.30

func (d *DeleteDeviceDescriptor) IsCollection() bool

func (*DeleteDeviceDescriptor) IsPlural added in v0.4.30

func (d *DeleteDeviceDescriptor) IsPlural() bool

func (*DeleteDeviceDescriptor) IsServerStream added in v0.4.28

func (d *DeleteDeviceDescriptor) IsServerStream() bool

func (*DeleteDeviceDescriptor) IsUnary added in v0.4.28

func (d *DeleteDeviceDescriptor) IsUnary() bool

func (*DeleteDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*DeleteDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*DeleteDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeleteDeviceDescriptor) RequestHasResourceBody() bool

type DeleteDeviceDescriptorClientMsgHandle added in v0.4.28

type DeleteDeviceDescriptorClientMsgHandle struct{}

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteDeviceDescriptorServerMsgHandle added in v0.4.28

type DeleteDeviceDescriptorServerMsgHandle struct{}

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeleteDeviceRequest

type DeleteDeviceRequest struct {

	// Name of ntt.devices.v1alpha2.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.v1alpha2.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 added in v0.4.28

type DeviceServiceDescriptor struct{}

func GetDeviceServiceDescriptor added in v0.4.28

func GetDeviceServiceDescriptor() *DeviceServiceDescriptor

func (*DeviceServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*DeviceServiceDescriptor) GetApiName added in v0.4.28

func (d *DeviceServiceDescriptor) GetApiName() string

func (*DeviceServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *DeviceServiceDescriptor) GetFullAPIName() string

func (*DeviceServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeviceServiceDescriptor) GetProtoPkgName() string

func (*DeviceServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *DeviceServiceDescriptor) GetServiceDomain() string

func (*DeviceServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *DeviceServiceDescriptor) GetServiceVersion() string

type GetDeviceDescriptor added in v0.4.28

type GetDeviceDescriptor struct{}

func GetGetDeviceDescriptor added in v0.4.28

func GetGetDeviceDescriptor() *GetDeviceDescriptor

func (*GetDeviceDescriptor) GetApiDescriptor added in v0.4.28

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

func (*GetDeviceDescriptor) GetApiName added in v0.4.28

func (d *GetDeviceDescriptor) GetApiName() string

func (*GetDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*GetDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *GetDeviceDescriptor) GetFullMethodName() string

func (*GetDeviceDescriptor) GetMethodName added in v0.4.28

func (d *GetDeviceDescriptor) GetMethodName() string

func (*GetDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetDeviceDescriptor) GetProtoPkgName() string

func (*GetDeviceDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*GetDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*GetDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *GetDeviceDescriptor) GetServiceDomain() string

func (*GetDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *GetDeviceDescriptor) GetServiceVersion() string

func (*GetDeviceDescriptor) GetVerb added in v0.4.28

func (d *GetDeviceDescriptor) GetVerb() string

func (*GetDeviceDescriptor) HasResource added in v0.4.30

func (d *GetDeviceDescriptor) HasResource() bool

func (*GetDeviceDescriptor) IsClientStream added in v0.4.28

func (d *GetDeviceDescriptor) IsClientStream() bool

func (*GetDeviceDescriptor) IsCollection added in v0.4.30

func (d *GetDeviceDescriptor) IsCollection() bool

func (*GetDeviceDescriptor) IsPlural added in v0.4.30

func (d *GetDeviceDescriptor) IsPlural() bool

func (*GetDeviceDescriptor) IsServerStream added in v0.4.28

func (d *GetDeviceDescriptor) IsServerStream() bool

func (*GetDeviceDescriptor) IsUnary added in v0.4.28

func (d *GetDeviceDescriptor) IsUnary() bool

func (*GetDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*GetDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*GetDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetDeviceDescriptor) RequestHasResourceBody() bool

type GetDeviceDescriptorClientMsgHandle added in v0.4.28

type GetDeviceDescriptorClientMsgHandle struct{}

func (*GetDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetDeviceDescriptorServerMsgHandle added in v0.4.28

type GetDeviceDescriptorServerMsgHandle struct{}

func (*GetDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

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

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetDeviceRequest

type GetDeviceRequest struct {

	// Name of ntt.devices.v1alpha2.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.v1alpha2.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 ListDevicesDescriptor added in v0.4.28

type ListDevicesDescriptor struct{}

func GetListDevicesDescriptor added in v0.4.28

func GetListDevicesDescriptor() *ListDevicesDescriptor

func (*ListDevicesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*ListDevicesDescriptor) GetApiName added in v0.4.28

func (d *ListDevicesDescriptor) GetApiName() string

func (*ListDevicesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListDevicesDescriptor) GetFullMethodName added in v0.4.28

func (d *ListDevicesDescriptor) GetFullMethodName() string

func (*ListDevicesDescriptor) GetMethodName added in v0.4.28

func (d *ListDevicesDescriptor) GetMethodName() string

func (*ListDevicesDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListDevicesDescriptor) GetProtoPkgName() string

func (*ListDevicesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListDevicesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListDevicesDescriptor) GetServiceDomain added in v0.4.28

func (d *ListDevicesDescriptor) GetServiceDomain() string

func (*ListDevicesDescriptor) GetServiceVersion added in v0.4.28

func (d *ListDevicesDescriptor) GetServiceVersion() string

func (*ListDevicesDescriptor) GetVerb added in v0.4.28

func (d *ListDevicesDescriptor) GetVerb() string

func (*ListDevicesDescriptor) HasResource added in v0.4.30

func (d *ListDevicesDescriptor) HasResource() bool

func (*ListDevicesDescriptor) IsClientStream added in v0.4.28

func (d *ListDevicesDescriptor) IsClientStream() bool

func (*ListDevicesDescriptor) IsCollection added in v0.4.30

func (d *ListDevicesDescriptor) IsCollection() bool

func (*ListDevicesDescriptor) IsPlural added in v0.4.30

func (d *ListDevicesDescriptor) IsPlural() bool

func (*ListDevicesDescriptor) IsServerStream added in v0.4.28

func (d *ListDevicesDescriptor) IsServerStream() bool

func (*ListDevicesDescriptor) IsUnary added in v0.4.28

func (d *ListDevicesDescriptor) IsUnary() bool

func (*ListDevicesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListDevicesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListDevicesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListDevicesDescriptor) RequestHasResourceBody() bool

type ListDevicesDescriptorClientMsgHandle added in v0.4.28

type ListDevicesDescriptorClientMsgHandle struct{}

func (*ListDevicesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListDevicesDescriptorServerMsgHandle added in v0.4.28

type ListDevicesDescriptorServerMsgHandle struct{}

func (*ListDevicesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListDevicesRequest

type ListDevicesRequest struct {

	// Parent name of ntt.devices.v1alpha2.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.v1alpha2.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.v1alpha2.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 added in v0.10.1

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 added in v0.10.1

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.v1alpha2.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.v1alpha2.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.v1alpha2.ListDevices]

func (*ListDevicesResponse) Descriptor

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

Deprecated, Use ListDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListDevicesResponse) GetCurrentOffset added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.10.1

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 added in v0.4.28

type ProvisionServiceAccountToDeviceDescriptor struct{}

func GetProvisionServiceAccountToDeviceDescriptor added in v0.4.28

func GetProvisionServiceAccountToDeviceDescriptor() *ProvisionServiceAccountToDeviceDescriptor

func (*ProvisionServiceAccountToDeviceDescriptor) GetApiDescriptor added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetApiName added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetMethodName added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetResourceDescriptor added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceDomain() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceVersion() string

func (*ProvisionServiceAccountToDeviceDescriptor) GetVerb added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) HasResource added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptor) IsClientStream added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) IsClientStream() bool

func (*ProvisionServiceAccountToDeviceDescriptor) IsCollection added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptor) IsPlural added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptor) IsServerStream added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) IsServerStream() bool

func (*ProvisionServiceAccountToDeviceDescriptor) IsUnary added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

func (*ProvisionServiceAccountToDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ProvisionServiceAccountToDeviceDescriptor) RequestHasResourceBody() bool

type ProvisionServiceAccountToDeviceDescriptorClientMsgHandle added in v0.4.28

type ProvisionServiceAccountToDeviceDescriptorClientMsgHandle struct{}

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle added in v0.4.28

type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle struct{}

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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.v1alpha2.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.v1alpha2.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 added in v0.4.28

type RemoveServiceAccountFromDeviceDescriptor struct{}

func GetRemoveServiceAccountFromDeviceDescriptor added in v0.4.28

func GetRemoveServiceAccountFromDeviceDescriptor() *RemoveServiceAccountFromDeviceDescriptor

func (*RemoveServiceAccountFromDeviceDescriptor) GetApiDescriptor added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) GetApiName added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetMethodName added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetResourceDescriptor added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceDomain() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceVersion() string

func (*RemoveServiceAccountFromDeviceDescriptor) GetVerb added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) HasResource added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptor) IsClientStream added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) IsClientStream() bool

func (*RemoveServiceAccountFromDeviceDescriptor) IsCollection added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptor) IsPlural added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptor) IsServerStream added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) IsServerStream() bool

func (*RemoveServiceAccountFromDeviceDescriptor) IsUnary added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

func (*RemoveServiceAccountFromDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *RemoveServiceAccountFromDeviceDescriptor) RequestHasResourceBody() bool

type RemoveServiceAccountFromDeviceDescriptorClientMsgHandle added in v0.4.28

type RemoveServiceAccountFromDeviceDescriptorClientMsgHandle struct{}

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle added in v0.4.28

type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle struct{}

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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.v1alpha2.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.v1alpha2.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 added in v0.4.28

type UpdateDeviceDescriptor struct{}

func GetUpdateDeviceDescriptor added in v0.4.28

func GetUpdateDeviceDescriptor() *UpdateDeviceDescriptor

func (*UpdateDeviceDescriptor) GetApiDescriptor added in v0.4.28

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

func (*UpdateDeviceDescriptor) GetApiName added in v0.4.28

func (d *UpdateDeviceDescriptor) GetApiName() string

func (*UpdateDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*UpdateDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdateDeviceDescriptor) GetFullMethodName() string

func (*UpdateDeviceDescriptor) GetMethodName added in v0.4.28

func (d *UpdateDeviceDescriptor) GetMethodName() string

func (*UpdateDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdateDeviceDescriptor) GetProtoPkgName() string

func (*UpdateDeviceDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*UpdateDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*UpdateDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdateDeviceDescriptor) GetServiceDomain() string

func (*UpdateDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdateDeviceDescriptor) GetServiceVersion() string

func (*UpdateDeviceDescriptor) GetVerb added in v0.4.28

func (d *UpdateDeviceDescriptor) GetVerb() string

func (*UpdateDeviceDescriptor) HasResource added in v0.4.30

func (d *UpdateDeviceDescriptor) HasResource() bool

func (*UpdateDeviceDescriptor) IsClientStream added in v0.4.28

func (d *UpdateDeviceDescriptor) IsClientStream() bool

func (*UpdateDeviceDescriptor) IsCollection added in v0.4.30

func (d *UpdateDeviceDescriptor) IsCollection() bool

func (*UpdateDeviceDescriptor) IsPlural added in v0.4.30

func (d *UpdateDeviceDescriptor) IsPlural() bool

func (*UpdateDeviceDescriptor) IsServerStream added in v0.4.28

func (d *UpdateDeviceDescriptor) IsServerStream() bool

func (*UpdateDeviceDescriptor) IsUnary added in v0.4.28

func (d *UpdateDeviceDescriptor) IsUnary() bool

func (*UpdateDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*UpdateDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*UpdateDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdateDeviceDescriptor) RequestHasResourceBody() bool

type UpdateDeviceDescriptorClientMsgHandle added in v0.4.28

type UpdateDeviceDescriptorClientMsgHandle struct{}

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdateDeviceDescriptorServerMsgHandle added in v0.4.28

type UpdateDeviceDescriptorServerMsgHandle struct{}

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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.v1alpha2.UpdateDevice]

func (*UpdateDeviceRequest) Descriptor

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

Deprecated, Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest) GetAllowMissing added in v0.12.33

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 added in v0.12.33

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 added in v0.4.28

type WatchDeviceDescriptor struct{}

func GetWatchDeviceDescriptor added in v0.4.28

func GetWatchDeviceDescriptor() *WatchDeviceDescriptor

func (*WatchDeviceDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchDeviceDescriptor) GetApiName added in v0.4.28

func (d *WatchDeviceDescriptor) GetApiName() string

func (*WatchDeviceDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchDeviceDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchDeviceDescriptor) GetFullMethodName() string

func (*WatchDeviceDescriptor) GetMethodName added in v0.4.28

func (d *WatchDeviceDescriptor) GetMethodName() string

func (*WatchDeviceDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchDeviceDescriptor) GetProtoPkgName() string

func (*WatchDeviceDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchDeviceDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchDeviceDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchDeviceDescriptor) GetServiceDomain() string

func (*WatchDeviceDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchDeviceDescriptor) GetServiceVersion() string

func (*WatchDeviceDescriptor) GetVerb added in v0.4.28

func (d *WatchDeviceDescriptor) GetVerb() string

func (*WatchDeviceDescriptor) HasResource added in v0.4.30

func (d *WatchDeviceDescriptor) HasResource() bool

func (*WatchDeviceDescriptor) IsClientStream added in v0.4.28

func (d *WatchDeviceDescriptor) IsClientStream() bool

func (*WatchDeviceDescriptor) IsCollection added in v0.4.30

func (d *WatchDeviceDescriptor) IsCollection() bool

func (*WatchDeviceDescriptor) IsPlural added in v0.4.30

func (d *WatchDeviceDescriptor) IsPlural() bool

func (*WatchDeviceDescriptor) IsServerStream added in v0.4.28

func (d *WatchDeviceDescriptor) IsServerStream() bool

func (*WatchDeviceDescriptor) IsUnary added in v0.4.28

func (d *WatchDeviceDescriptor) IsUnary() bool

func (*WatchDeviceDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchDeviceDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchDeviceDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchDeviceDescriptor) RequestHasResourceBody() bool

type WatchDeviceDescriptorClientMsgHandle added in v0.4.28

type WatchDeviceDescriptorClientMsgHandle struct{}

func (*WatchDeviceDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeviceDescriptorServerMsgHandle added in v0.4.28

type WatchDeviceDescriptorServerMsgHandle struct{}

func (*WatchDeviceDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDeviceRequest

type WatchDeviceRequest struct {

	// Name of ntt.devices.v1alpha2.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.v1alpha2.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 added in v0.4.28

type WatchDevicesDescriptor struct{}

func GetWatchDevicesDescriptor added in v0.4.28

func GetWatchDevicesDescriptor() *WatchDevicesDescriptor

func (*WatchDevicesDescriptor) GetApiDescriptor added in v0.4.28

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

func (*WatchDevicesDescriptor) GetApiName added in v0.4.28

func (d *WatchDevicesDescriptor) GetApiName() string

func (*WatchDevicesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*WatchDevicesDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchDevicesDescriptor) GetFullMethodName() string

func (*WatchDevicesDescriptor) GetMethodName added in v0.4.28

func (d *WatchDevicesDescriptor) GetMethodName() string

func (*WatchDevicesDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchDevicesDescriptor) GetProtoPkgName() string

func (*WatchDevicesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*WatchDevicesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*WatchDevicesDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchDevicesDescriptor) GetServiceDomain() string

func (*WatchDevicesDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchDevicesDescriptor) GetServiceVersion() string

func (*WatchDevicesDescriptor) GetVerb added in v0.4.28

func (d *WatchDevicesDescriptor) GetVerb() string

func (*WatchDevicesDescriptor) HasResource added in v0.4.30

func (d *WatchDevicesDescriptor) HasResource() bool

func (*WatchDevicesDescriptor) IsClientStream added in v0.4.28

func (d *WatchDevicesDescriptor) IsClientStream() bool

func (*WatchDevicesDescriptor) IsCollection added in v0.4.30

func (d *WatchDevicesDescriptor) IsCollection() bool

func (*WatchDevicesDescriptor) IsPlural added in v0.4.30

func (d *WatchDevicesDescriptor) IsPlural() bool

func (*WatchDevicesDescriptor) IsServerStream added in v0.4.28

func (d *WatchDevicesDescriptor) IsServerStream() bool

func (*WatchDevicesDescriptor) IsUnary added in v0.4.28

func (d *WatchDevicesDescriptor) IsUnary() bool

func (*WatchDevicesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*WatchDevicesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*WatchDevicesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchDevicesDescriptor) RequestHasResourceBody() bool

type WatchDevicesDescriptorClientMsgHandle added in v0.4.28

type WatchDevicesDescriptorClientMsgHandle struct{}

func (*WatchDevicesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchDevicesDescriptorServerMsgHandle added in v0.4.28

type WatchDevicesDescriptorServerMsgHandle struct{}

func (*WatchDevicesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

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.v1alpha2.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.v1alpha2.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 added in v0.9.0

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 added in v0.9.0

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