Documentation ¶
Index ¶
- type BatchGetDevicesDescriptor
- func (d *BatchGetDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *BatchGetDevicesDescriptor) GetApiName() string
- func (d *BatchGetDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetDevicesDescriptor) GetFullMethodName() string
- func (d *BatchGetDevicesDescriptor) GetMethodName() string
- func (d *BatchGetDevicesDescriptor) GetProtoPkgName() string
- func (d *BatchGetDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *BatchGetDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *BatchGetDevicesDescriptor) GetServiceDomain() string
- func (d *BatchGetDevicesDescriptor) GetServiceVersion() string
- func (d *BatchGetDevicesDescriptor) GetVerb() string
- func (d *BatchGetDevicesDescriptor) HasResource() bool
- func (d *BatchGetDevicesDescriptor) IsClientStream() bool
- func (d *BatchGetDevicesDescriptor) IsCollection() bool
- func (d *BatchGetDevicesDescriptor) IsPlural() bool
- func (d *BatchGetDevicesDescriptor) IsServerStream() bool
- func (d *BatchGetDevicesDescriptor) IsUnary() bool
- func (d *BatchGetDevicesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *BatchGetDevicesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *BatchGetDevicesDescriptor) RequestHasResourceBody() bool
- type BatchGetDevicesDescriptorClientMsgHandle
- func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetDevicesDescriptorServerMsgHandle
- func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type BatchGetDevicesRequest
- func (*BatchGetDevicesRequest) Descriptor() ([]byte, []int)
- func (m *BatchGetDevicesRequest) GetFieldMask() *device.Device_FieldMask
- func (m *BatchGetDevicesRequest) GetNames() []*device.Name
- func (m *BatchGetDevicesRequest) GetView() view.View
- func (*BatchGetDevicesRequest) GotenMessage()
- func (obj *BatchGetDevicesRequest) GotenValidate() error
- func (m *BatchGetDevicesRequest) Marshal() ([]byte, error)
- func (m *BatchGetDevicesRequest) MarshalJSON() ([]byte, error)
- func (*BatchGetDevicesRequest) ProtoMessage()
- func (m *BatchGetDevicesRequest) ProtoReflect() preflect.Message
- func (m *BatchGetDevicesRequest) Reset()
- func (m *BatchGetDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)
- func (m *BatchGetDevicesRequest) SetNames(fv []*device.Name)
- func (m *BatchGetDevicesRequest) SetView(fv view.View)
- func (m *BatchGetDevicesRequest) String() string
- func (m *BatchGetDevicesRequest) Unmarshal(b []byte) error
- func (m *BatchGetDevicesRequest) UnmarshalJSON(data []byte) error
- type BatchGetDevicesResponse
- func (*BatchGetDevicesResponse) Descriptor() ([]byte, []int)
- func (m *BatchGetDevicesResponse) GetDevices() []*device.Device
- func (m *BatchGetDevicesResponse) GetMissing() []*device.Name
- func (*BatchGetDevicesResponse) GotenMessage()
- func (obj *BatchGetDevicesResponse) GotenValidate() error
- func (m *BatchGetDevicesResponse) Marshal() ([]byte, error)
- func (m *BatchGetDevicesResponse) MarshalJSON() ([]byte, error)
- func (*BatchGetDevicesResponse) ProtoMessage()
- func (m *BatchGetDevicesResponse) ProtoReflect() preflect.Message
- func (m *BatchGetDevicesResponse) Reset()
- func (m *BatchGetDevicesResponse) SetDevices(fv []*device.Device)
- func (m *BatchGetDevicesResponse) SetMissing(fv []*device.Name)
- func (m *BatchGetDevicesResponse) String() string
- func (m *BatchGetDevicesResponse) Unmarshal(b []byte) error
- func (m *BatchGetDevicesResponse) UnmarshalJSON(data []byte) error
- type CreateDeviceDescriptor
- func (d *CreateDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *CreateDeviceDescriptor) GetApiName() string
- func (d *CreateDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateDeviceDescriptor) GetFullMethodName() string
- func (d *CreateDeviceDescriptor) GetMethodName() string
- func (d *CreateDeviceDescriptor) GetProtoPkgName() string
- func (d *CreateDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *CreateDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *CreateDeviceDescriptor) GetServiceDomain() string
- func (d *CreateDeviceDescriptor) GetServiceVersion() string
- func (d *CreateDeviceDescriptor) GetVerb() string
- func (d *CreateDeviceDescriptor) HasResource() bool
- func (d *CreateDeviceDescriptor) IsClientStream() bool
- func (d *CreateDeviceDescriptor) IsCollection() bool
- func (d *CreateDeviceDescriptor) IsPlural() bool
- func (d *CreateDeviceDescriptor) IsServerStream() bool
- func (d *CreateDeviceDescriptor) IsUnary() bool
- func (d *CreateDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *CreateDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *CreateDeviceDescriptor) RequestHasResourceBody() bool
- type CreateDeviceDescriptorClientMsgHandle
- func (h *CreateDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateDeviceDescriptorServerMsgHandle
- func (h *CreateDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type CreateDeviceRequest
- func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *CreateDeviceRequest) GetDevice() *device.Device
- func (m *CreateDeviceRequest) GetParent() *device.ParentName
- func (*CreateDeviceRequest) GotenMessage()
- func (obj *CreateDeviceRequest) GotenValidate() error
- func (m *CreateDeviceRequest) Marshal() ([]byte, error)
- func (m *CreateDeviceRequest) MarshalJSON() ([]byte, error)
- func (*CreateDeviceRequest) ProtoMessage()
- func (m *CreateDeviceRequest) ProtoReflect() preflect.Message
- func (m *CreateDeviceRequest) Reset()
- func (m *CreateDeviceRequest) SetDevice(fv *device.Device)
- func (m *CreateDeviceRequest) SetParent(fv *device.ParentName)
- func (m *CreateDeviceRequest) String() string
- func (m *CreateDeviceRequest) Unmarshal(b []byte) error
- func (m *CreateDeviceRequest) UnmarshalJSON(data []byte) error
- type DeleteDeviceDescriptor
- func (d *DeleteDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *DeleteDeviceDescriptor) GetApiName() string
- func (d *DeleteDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteDeviceDescriptor) GetFullMethodName() string
- func (d *DeleteDeviceDescriptor) GetMethodName() string
- func (d *DeleteDeviceDescriptor) GetProtoPkgName() string
- func (d *DeleteDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *DeleteDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *DeleteDeviceDescriptor) GetServiceDomain() string
- func (d *DeleteDeviceDescriptor) GetServiceVersion() string
- func (d *DeleteDeviceDescriptor) GetVerb() string
- func (d *DeleteDeviceDescriptor) HasResource() bool
- func (d *DeleteDeviceDescriptor) IsClientStream() bool
- func (d *DeleteDeviceDescriptor) IsCollection() bool
- func (d *DeleteDeviceDescriptor) IsPlural() bool
- func (d *DeleteDeviceDescriptor) IsServerStream() bool
- func (d *DeleteDeviceDescriptor) IsUnary() bool
- func (d *DeleteDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *DeleteDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *DeleteDeviceDescriptor) RequestHasResourceBody() bool
- type DeleteDeviceDescriptorClientMsgHandle
- func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteDeviceDescriptorServerMsgHandle
- func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDeviceRequest) GetName() *device.Name
- func (*DeleteDeviceRequest) GotenMessage()
- func (obj *DeleteDeviceRequest) GotenValidate() error
- func (m *DeleteDeviceRequest) Marshal() ([]byte, error)
- func (m *DeleteDeviceRequest) MarshalJSON() ([]byte, error)
- func (*DeleteDeviceRequest) ProtoMessage()
- func (m *DeleteDeviceRequest) ProtoReflect() preflect.Message
- func (m *DeleteDeviceRequest) Reset()
- func (m *DeleteDeviceRequest) SetName(fv *device.Name)
- func (m *DeleteDeviceRequest) String() string
- func (m *DeleteDeviceRequest) Unmarshal(b []byte) error
- func (m *DeleteDeviceRequest) UnmarshalJSON(data []byte) error
- type DeviceServiceClient
- type DeviceServiceDescriptor
- func (d *DeviceServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *DeviceServiceDescriptor) GetApiName() string
- func (d *DeviceServiceDescriptor) GetFullAPIName() string
- func (d *DeviceServiceDescriptor) GetProtoPkgName() string
- func (d *DeviceServiceDescriptor) GetServiceDomain() string
- func (d *DeviceServiceDescriptor) GetServiceVersion() string
- type GetDeviceDescriptor
- func (d *GetDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *GetDeviceDescriptor) GetApiName() string
- func (d *GetDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetDeviceDescriptor) GetFullMethodName() string
- func (d *GetDeviceDescriptor) GetMethodName() string
- func (d *GetDeviceDescriptor) GetProtoPkgName() string
- func (d *GetDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *GetDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *GetDeviceDescriptor) GetServiceDomain() string
- func (d *GetDeviceDescriptor) GetServiceVersion() string
- func (d *GetDeviceDescriptor) GetVerb() string
- func (d *GetDeviceDescriptor) HasResource() bool
- func (d *GetDeviceDescriptor) IsClientStream() bool
- func (d *GetDeviceDescriptor) IsCollection() bool
- func (d *GetDeviceDescriptor) IsPlural() bool
- func (d *GetDeviceDescriptor) IsServerStream() bool
- func (d *GetDeviceDescriptor) IsUnary() bool
- func (d *GetDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *GetDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *GetDeviceDescriptor) RequestHasResourceBody() bool
- type GetDeviceDescriptorClientMsgHandle
- func (h *GetDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetDeviceDescriptorServerMsgHandle
- func (h *GetDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type GetDeviceRequest
- func (*GetDeviceRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceRequest) GetFieldMask() *device.Device_FieldMask
- func (m *GetDeviceRequest) GetName() *device.Name
- func (m *GetDeviceRequest) GetView() view.View
- func (*GetDeviceRequest) GotenMessage()
- func (obj *GetDeviceRequest) GotenValidate() error
- func (m *GetDeviceRequest) Marshal() ([]byte, error)
- func (m *GetDeviceRequest) MarshalJSON() ([]byte, error)
- func (*GetDeviceRequest) ProtoMessage()
- func (m *GetDeviceRequest) ProtoReflect() preflect.Message
- func (m *GetDeviceRequest) Reset()
- func (m *GetDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)
- func (m *GetDeviceRequest) SetName(fv *device.Name)
- func (m *GetDeviceRequest) SetView(fv view.View)
- func (m *GetDeviceRequest) String() string
- func (m *GetDeviceRequest) Unmarshal(b []byte) error
- func (m *GetDeviceRequest) UnmarshalJSON(data []byte) error
- type ListDevicesDescriptor
- func (d *ListDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *ListDevicesDescriptor) GetApiName() string
- func (d *ListDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListDevicesDescriptor) GetFullMethodName() string
- func (d *ListDevicesDescriptor) GetMethodName() string
- func (d *ListDevicesDescriptor) GetProtoPkgName() string
- func (d *ListDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *ListDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ListDevicesDescriptor) GetServiceDomain() string
- func (d *ListDevicesDescriptor) GetServiceVersion() string
- func (d *ListDevicesDescriptor) GetVerb() string
- func (d *ListDevicesDescriptor) HasResource() bool
- func (d *ListDevicesDescriptor) IsClientStream() bool
- func (d *ListDevicesDescriptor) IsCollection() bool
- func (d *ListDevicesDescriptor) IsPlural() bool
- func (d *ListDevicesDescriptor) IsServerStream() bool
- func (d *ListDevicesDescriptor) IsUnary() bool
- func (d *ListDevicesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *ListDevicesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *ListDevicesDescriptor) RequestHasResourceBody() bool
- type ListDevicesDescriptorClientMsgHandle
- func (h *ListDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListDevicesDescriptorServerMsgHandle
- func (h *ListDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ListDevicesRequest
- func (*ListDevicesRequest) Descriptor() ([]byte, []int)
- func (m *ListDevicesRequest) GetFieldMask() *device.Device_FieldMask
- func (m *ListDevicesRequest) GetFilter() *device.Filter
- func (m *ListDevicesRequest) GetIncludePagingInfo() bool
- func (m *ListDevicesRequest) GetOrderBy() *device.OrderBy
- func (m *ListDevicesRequest) GetPageSize() int32
- func (m *ListDevicesRequest) GetPageToken() *device.PagerCursor
- func (m *ListDevicesRequest) GetParent() *device.ParentName
- func (m *ListDevicesRequest) GetView() view.View
- func (*ListDevicesRequest) GotenMessage()
- func (obj *ListDevicesRequest) GotenValidate() error
- func (m *ListDevicesRequest) Marshal() ([]byte, error)
- func (m *ListDevicesRequest) MarshalJSON() ([]byte, error)
- func (*ListDevicesRequest) ProtoMessage()
- func (m *ListDevicesRequest) ProtoReflect() preflect.Message
- func (m *ListDevicesRequest) Reset()
- func (m *ListDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)
- func (m *ListDevicesRequest) SetFilter(fv *device.Filter)
- func (m *ListDevicesRequest) SetIncludePagingInfo(fv bool)
- func (m *ListDevicesRequest) SetOrderBy(fv *device.OrderBy)
- func (m *ListDevicesRequest) SetPageSize(fv int32)
- func (m *ListDevicesRequest) SetPageToken(fv *device.PagerCursor)
- func (m *ListDevicesRequest) SetParent(fv *device.ParentName)
- func (m *ListDevicesRequest) SetView(fv view.View)
- func (m *ListDevicesRequest) String() string
- func (m *ListDevicesRequest) Unmarshal(b []byte) error
- func (m *ListDevicesRequest) UnmarshalJSON(data []byte) error
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)
- func (m *ListDevicesResponse) GetCurrentOffset() int32
- func (m *ListDevicesResponse) GetDevices() []*device.Device
- func (m *ListDevicesResponse) GetNextPageToken() *device.PagerCursor
- func (m *ListDevicesResponse) GetPrevPageToken() *device.PagerCursor
- func (m *ListDevicesResponse) GetTotalResultsCount() int32
- func (*ListDevicesResponse) GotenMessage()
- func (obj *ListDevicesResponse) GotenValidate() error
- func (m *ListDevicesResponse) Marshal() ([]byte, error)
- func (m *ListDevicesResponse) MarshalJSON() ([]byte, error)
- func (*ListDevicesResponse) ProtoMessage()
- func (m *ListDevicesResponse) ProtoReflect() preflect.Message
- func (m *ListDevicesResponse) Reset()
- func (m *ListDevicesResponse) SetCurrentOffset(fv int32)
- func (m *ListDevicesResponse) SetDevices(fv []*device.Device)
- func (m *ListDevicesResponse) SetNextPageToken(fv *device.PagerCursor)
- func (m *ListDevicesResponse) SetPrevPageToken(fv *device.PagerCursor)
- func (m *ListDevicesResponse) SetTotalResultsCount(fv int32)
- func (m *ListDevicesResponse) String() string
- func (m *ListDevicesResponse) Unmarshal(b []byte) error
- func (m *ListDevicesResponse) UnmarshalJSON(data []byte) error
- type ProvisionServiceAccountToDeviceDescriptor
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetApiName() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetMethodName() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetProtoPkgName() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceDomain() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetServiceVersion() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) GetVerb() string
- func (d *ProvisionServiceAccountToDeviceDescriptor) HasResource() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) IsClientStream() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) IsCollection() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) IsPlural() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) IsServerStream() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) IsUnary() bool
- func (d *ProvisionServiceAccountToDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *ProvisionServiceAccountToDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *ProvisionServiceAccountToDeviceDescriptor) RequestHasResourceBody() bool
- type ProvisionServiceAccountToDeviceDescriptorClientMsgHandle
- func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle
- func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ProvisionServiceAccountToDeviceRequest
- func (*ProvisionServiceAccountToDeviceRequest) Descriptor() ([]byte, []int)
- func (m *ProvisionServiceAccountToDeviceRequest) GetExternalPubkey() string
- func (m *ProvisionServiceAccountToDeviceRequest) GetName() *device.Name
- func (*ProvisionServiceAccountToDeviceRequest) GotenMessage()
- func (obj *ProvisionServiceAccountToDeviceRequest) GotenValidate() error
- func (m *ProvisionServiceAccountToDeviceRequest) Marshal() ([]byte, error)
- func (m *ProvisionServiceAccountToDeviceRequest) MarshalJSON() ([]byte, error)
- func (*ProvisionServiceAccountToDeviceRequest) ProtoMessage()
- func (m *ProvisionServiceAccountToDeviceRequest) ProtoReflect() preflect.Message
- func (m *ProvisionServiceAccountToDeviceRequest) Reset()
- func (m *ProvisionServiceAccountToDeviceRequest) SetExternalPubkey(fv string)
- func (m *ProvisionServiceAccountToDeviceRequest) SetName(fv *device.Name)
- func (m *ProvisionServiceAccountToDeviceRequest) String() string
- func (m *ProvisionServiceAccountToDeviceRequest) Unmarshal(b []byte) error
- func (m *ProvisionServiceAccountToDeviceRequest) UnmarshalJSON(data []byte) error
- type ProvisionServiceAccountToDeviceResponse
- func (*ProvisionServiceAccountToDeviceResponse) Descriptor() ([]byte, []int)
- func (m *ProvisionServiceAccountToDeviceResponse) GetServiceAccount() *api.ServiceAccount
- func (*ProvisionServiceAccountToDeviceResponse) GotenMessage()
- func (obj *ProvisionServiceAccountToDeviceResponse) GotenValidate() error
- func (m *ProvisionServiceAccountToDeviceResponse) Marshal() ([]byte, error)
- func (m *ProvisionServiceAccountToDeviceResponse) MarshalJSON() ([]byte, error)
- func (*ProvisionServiceAccountToDeviceResponse) ProtoMessage()
- func (m *ProvisionServiceAccountToDeviceResponse) ProtoReflect() preflect.Message
- func (m *ProvisionServiceAccountToDeviceResponse) Reset()
- func (m *ProvisionServiceAccountToDeviceResponse) SetServiceAccount(fv *api.ServiceAccount)
- func (m *ProvisionServiceAccountToDeviceResponse) String() string
- func (m *ProvisionServiceAccountToDeviceResponse) Unmarshal(b []byte) error
- func (m *ProvisionServiceAccountToDeviceResponse) UnmarshalJSON(data []byte) error
- type RemoveServiceAccountFromDeviceDescriptor
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetApiName() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetMethodName() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceDomain() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetServiceVersion() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) GetVerb() string
- func (d *RemoveServiceAccountFromDeviceDescriptor) HasResource() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) IsClientStream() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) IsCollection() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) IsPlural() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) IsServerStream() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) IsUnary() bool
- func (d *RemoveServiceAccountFromDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *RemoveServiceAccountFromDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *RemoveServiceAccountFromDeviceDescriptor) RequestHasResourceBody() bool
- type RemoveServiceAccountFromDeviceDescriptorClientMsgHandle
- func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle
- func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type RemoveServiceAccountFromDeviceRequest
- func (*RemoveServiceAccountFromDeviceRequest) Descriptor() ([]byte, []int)
- func (m *RemoveServiceAccountFromDeviceRequest) GetName() *device.Name
- func (*RemoveServiceAccountFromDeviceRequest) GotenMessage()
- func (obj *RemoveServiceAccountFromDeviceRequest) GotenValidate() error
- func (m *RemoveServiceAccountFromDeviceRequest) Marshal() ([]byte, error)
- func (m *RemoveServiceAccountFromDeviceRequest) MarshalJSON() ([]byte, error)
- func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage()
- func (m *RemoveServiceAccountFromDeviceRequest) ProtoReflect() preflect.Message
- func (m *RemoveServiceAccountFromDeviceRequest) Reset()
- func (m *RemoveServiceAccountFromDeviceRequest) SetName(fv *device.Name)
- func (m *RemoveServiceAccountFromDeviceRequest) String() string
- func (m *RemoveServiceAccountFromDeviceRequest) Unmarshal(b []byte) error
- func (m *RemoveServiceAccountFromDeviceRequest) UnmarshalJSON(data []byte) error
- type RemoveServiceAccountFromDeviceResponse
- func (*RemoveServiceAccountFromDeviceResponse) Descriptor() ([]byte, []int)
- func (*RemoveServiceAccountFromDeviceResponse) GotenMessage()
- func (obj *RemoveServiceAccountFromDeviceResponse) GotenValidate() error
- func (m *RemoveServiceAccountFromDeviceResponse) Marshal() ([]byte, error)
- func (m *RemoveServiceAccountFromDeviceResponse) MarshalJSON() ([]byte, error)
- func (*RemoveServiceAccountFromDeviceResponse) ProtoMessage()
- func (m *RemoveServiceAccountFromDeviceResponse) ProtoReflect() preflect.Message
- func (m *RemoveServiceAccountFromDeviceResponse) Reset()
- func (m *RemoveServiceAccountFromDeviceResponse) String() string
- func (m *RemoveServiceAccountFromDeviceResponse) Unmarshal(b []byte) error
- func (m *RemoveServiceAccountFromDeviceResponse) UnmarshalJSON(data []byte) error
- type UpdateDeviceDescriptor
- func (d *UpdateDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *UpdateDeviceDescriptor) GetApiName() string
- func (d *UpdateDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateDeviceDescriptor) GetFullMethodName() string
- func (d *UpdateDeviceDescriptor) GetMethodName() string
- func (d *UpdateDeviceDescriptor) GetProtoPkgName() string
- func (d *UpdateDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *UpdateDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *UpdateDeviceDescriptor) GetServiceDomain() string
- func (d *UpdateDeviceDescriptor) GetServiceVersion() string
- func (d *UpdateDeviceDescriptor) GetVerb() string
- func (d *UpdateDeviceDescriptor) HasResource() bool
- func (d *UpdateDeviceDescriptor) IsClientStream() bool
- func (d *UpdateDeviceDescriptor) IsCollection() bool
- func (d *UpdateDeviceDescriptor) IsPlural() bool
- func (d *UpdateDeviceDescriptor) IsServerStream() bool
- func (d *UpdateDeviceDescriptor) IsUnary() bool
- func (d *UpdateDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *UpdateDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *UpdateDeviceDescriptor) RequestHasResourceBody() bool
- type UpdateDeviceDescriptorClientMsgHandle
- func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateDeviceDescriptorServerMsgHandle
- func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceRequest) GetAllowMissing() bool
- func (m *UpdateDeviceRequest) GetCas() *UpdateDeviceRequest_CAS
- func (m *UpdateDeviceRequest) GetDevice() *device.Device
- func (m *UpdateDeviceRequest) GetUpdateMask() *device.Device_FieldMask
- func (*UpdateDeviceRequest) GotenMessage()
- func (obj *UpdateDeviceRequest) GotenValidate() error
- func (m *UpdateDeviceRequest) Marshal() ([]byte, error)
- func (m *UpdateDeviceRequest) MarshalJSON() ([]byte, error)
- func (*UpdateDeviceRequest) ProtoMessage()
- func (m *UpdateDeviceRequest) ProtoReflect() preflect.Message
- func (m *UpdateDeviceRequest) Reset()
- func (m *UpdateDeviceRequest) SetAllowMissing(fv bool)
- func (m *UpdateDeviceRequest) SetCas(fv *UpdateDeviceRequest_CAS)
- func (m *UpdateDeviceRequest) SetDevice(fv *device.Device)
- func (m *UpdateDeviceRequest) SetUpdateMask(fv *device.Device_FieldMask)
- func (m *UpdateDeviceRequest) String() string
- func (m *UpdateDeviceRequest) Unmarshal(b []byte) error
- func (m *UpdateDeviceRequest) UnmarshalJSON(data []byte) error
- type UpdateDeviceRequest_CAS
- func (*UpdateDeviceRequest_CAS) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceRequest_CAS) GetConditionalState() *device.Device
- func (m *UpdateDeviceRequest_CAS) GetFieldMask() *device.Device_FieldMask
- func (*UpdateDeviceRequest_CAS) GotenMessage()
- func (obj *UpdateDeviceRequest_CAS) GotenValidate() error
- func (m *UpdateDeviceRequest_CAS) Marshal() ([]byte, error)
- func (m *UpdateDeviceRequest_CAS) MarshalJSON() ([]byte, error)
- func (*UpdateDeviceRequest_CAS) ProtoMessage()
- func (m *UpdateDeviceRequest_CAS) ProtoReflect() preflect.Message
- func (m *UpdateDeviceRequest_CAS) Reset()
- func (m *UpdateDeviceRequest_CAS) SetConditionalState(fv *device.Device)
- func (m *UpdateDeviceRequest_CAS) SetFieldMask(fv *device.Device_FieldMask)
- func (m *UpdateDeviceRequest_CAS) String() string
- func (m *UpdateDeviceRequest_CAS) Unmarshal(b []byte) error
- func (m *UpdateDeviceRequest_CAS) UnmarshalJSON(data []byte) error
- type WatchDeviceClientStream
- type WatchDeviceDescriptor
- func (d *WatchDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchDeviceDescriptor) GetApiName() string
- func (d *WatchDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchDeviceDescriptor) GetFullMethodName() string
- func (d *WatchDeviceDescriptor) GetMethodName() string
- func (d *WatchDeviceDescriptor) GetProtoPkgName() string
- func (d *WatchDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchDeviceDescriptor) GetServiceDomain() string
- func (d *WatchDeviceDescriptor) GetServiceVersion() string
- func (d *WatchDeviceDescriptor) GetVerb() string
- func (d *WatchDeviceDescriptor) HasResource() bool
- func (d *WatchDeviceDescriptor) IsClientStream() bool
- func (d *WatchDeviceDescriptor) IsCollection() bool
- func (d *WatchDeviceDescriptor) IsPlural() bool
- func (d *WatchDeviceDescriptor) IsServerStream() bool
- func (d *WatchDeviceDescriptor) IsUnary() bool
- func (d *WatchDeviceDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchDeviceDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchDeviceDescriptor) RequestHasResourceBody() bool
- type WatchDeviceDescriptorClientMsgHandle
- func (h *WatchDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchDeviceDescriptorServerMsgHandle
- func (h *WatchDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchDeviceRequest
- func (*WatchDeviceRequest) Descriptor() ([]byte, []int)
- func (m *WatchDeviceRequest) GetFieldMask() *device.Device_FieldMask
- func (m *WatchDeviceRequest) GetName() *device.Name
- func (m *WatchDeviceRequest) GetView() view.View
- func (*WatchDeviceRequest) GotenMessage()
- func (obj *WatchDeviceRequest) GotenValidate() error
- func (m *WatchDeviceRequest) Marshal() ([]byte, error)
- func (m *WatchDeviceRequest) MarshalJSON() ([]byte, error)
- func (*WatchDeviceRequest) ProtoMessage()
- func (m *WatchDeviceRequest) ProtoReflect() preflect.Message
- func (m *WatchDeviceRequest) Reset()
- func (m *WatchDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)
- func (m *WatchDeviceRequest) SetName(fv *device.Name)
- func (m *WatchDeviceRequest) SetView(fv view.View)
- func (m *WatchDeviceRequest) String() string
- func (m *WatchDeviceRequest) Unmarshal(b []byte) error
- func (m *WatchDeviceRequest) UnmarshalJSON(data []byte) error
- type WatchDeviceResponse
- func (*WatchDeviceResponse) Descriptor() ([]byte, []int)
- func (m *WatchDeviceResponse) GetChange() *device.DeviceChange
- func (*WatchDeviceResponse) GotenMessage()
- func (obj *WatchDeviceResponse) GotenValidate() error
- func (m *WatchDeviceResponse) Marshal() ([]byte, error)
- func (m *WatchDeviceResponse) MarshalJSON() ([]byte, error)
- func (*WatchDeviceResponse) ProtoMessage()
- func (m *WatchDeviceResponse) ProtoReflect() preflect.Message
- func (m *WatchDeviceResponse) Reset()
- func (m *WatchDeviceResponse) SetChange(fv *device.DeviceChange)
- func (m *WatchDeviceResponse) String() string
- func (m *WatchDeviceResponse) Unmarshal(b []byte) error
- func (m *WatchDeviceResponse) UnmarshalJSON(data []byte) error
- type WatchDevicesClientStream
- type WatchDevicesDescriptor
- func (d *WatchDevicesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *WatchDevicesDescriptor) GetApiName() string
- func (d *WatchDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchDevicesDescriptor) GetFullMethodName() string
- func (d *WatchDevicesDescriptor) GetMethodName() string
- func (d *WatchDevicesDescriptor) GetProtoPkgName() string
- func (d *WatchDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *WatchDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *WatchDevicesDescriptor) GetServiceDomain() string
- func (d *WatchDevicesDescriptor) GetServiceVersion() string
- func (d *WatchDevicesDescriptor) GetVerb() string
- func (d *WatchDevicesDescriptor) HasResource() bool
- func (d *WatchDevicesDescriptor) IsClientStream() bool
- func (d *WatchDevicesDescriptor) IsCollection() bool
- func (d *WatchDevicesDescriptor) IsPlural() bool
- func (d *WatchDevicesDescriptor) IsServerStream() bool
- func (d *WatchDevicesDescriptor) IsUnary() bool
- func (d *WatchDevicesDescriptor) NewEmptyClientMsg() proto.Message
- func (d *WatchDevicesDescriptor) NewEmptyServerMsg() proto.Message
- func (d *WatchDevicesDescriptor) RequestHasResourceBody() bool
- type WatchDevicesDescriptorClientMsgHandle
- func (h *WatchDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchDevicesDescriptorServerMsgHandle
- func (h *WatchDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type WatchDevicesRequest
- func (*WatchDevicesRequest) Descriptor() ([]byte, []int)
- func (m *WatchDevicesRequest) GetFieldMask() *device.Device_FieldMask
- func (m *WatchDevicesRequest) GetFilter() *device.Filter
- func (m *WatchDevicesRequest) GetMaxChunkSize() int32
- func (m *WatchDevicesRequest) GetOrderBy() *device.OrderBy
- func (m *WatchDevicesRequest) GetPageSize() int32
- func (m *WatchDevicesRequest) GetPageToken() *device.PagerCursor
- func (m *WatchDevicesRequest) GetParent() *device.ParentName
- func (m *WatchDevicesRequest) GetResumeToken() string
- func (m *WatchDevicesRequest) GetStartingTime() *timestamppb.Timestamp
- func (m *WatchDevicesRequest) GetType() watch_type.WatchType
- func (m *WatchDevicesRequest) GetView() view.View
- func (*WatchDevicesRequest) GotenMessage()
- func (obj *WatchDevicesRequest) GotenValidate() error
- func (m *WatchDevicesRequest) Marshal() ([]byte, error)
- func (m *WatchDevicesRequest) MarshalJSON() ([]byte, error)
- func (*WatchDevicesRequest) ProtoMessage()
- func (m *WatchDevicesRequest) ProtoReflect() preflect.Message
- func (m *WatchDevicesRequest) Reset()
- func (m *WatchDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)
- func (m *WatchDevicesRequest) SetFilter(fv *device.Filter)
- func (m *WatchDevicesRequest) SetMaxChunkSize(fv int32)
- func (m *WatchDevicesRequest) SetOrderBy(fv *device.OrderBy)
- func (m *WatchDevicesRequest) SetPageSize(fv int32)
- func (m *WatchDevicesRequest) SetPageToken(fv *device.PagerCursor)
- func (m *WatchDevicesRequest) SetParent(fv *device.ParentName)
- func (m *WatchDevicesRequest) SetResumeToken(fv string)
- func (m *WatchDevicesRequest) SetStartingTime(fv *timestamppb.Timestamp)
- func (m *WatchDevicesRequest) SetType(fv watch_type.WatchType)
- func (m *WatchDevicesRequest) SetView(fv view.View)
- func (m *WatchDevicesRequest) String() string
- func (m *WatchDevicesRequest) Unmarshal(b []byte) error
- func (m *WatchDevicesRequest) UnmarshalJSON(data []byte) error
- type WatchDevicesResponse
- func (*WatchDevicesResponse) Descriptor() ([]byte, []int)
- func (m *WatchDevicesResponse) GetDeviceChanges() []*device.DeviceChange
- func (m *WatchDevicesResponse) GetIsCurrent() bool
- func (m *WatchDevicesResponse) GetIsHardReset() bool
- func (m *WatchDevicesResponse) GetIsSoftReset() bool
- func (m *WatchDevicesResponse) GetPageTokenChange() *WatchDevicesResponse_PageTokenChange
- func (m *WatchDevicesResponse) GetResumeToken() string
- func (m *WatchDevicesResponse) GetSnapshotSize() int64
- func (*WatchDevicesResponse) GotenMessage()
- func (obj *WatchDevicesResponse) GotenValidate() error
- func (m *WatchDevicesResponse) Marshal() ([]byte, error)
- func (m *WatchDevicesResponse) MarshalJSON() ([]byte, error)
- func (*WatchDevicesResponse) ProtoMessage()
- func (m *WatchDevicesResponse) ProtoReflect() preflect.Message
- func (m *WatchDevicesResponse) Reset()
- func (m *WatchDevicesResponse) SetDeviceChanges(fv []*device.DeviceChange)
- func (m *WatchDevicesResponse) SetIsCurrent(fv bool)
- func (m *WatchDevicesResponse) SetIsHardReset(fv bool)
- func (m *WatchDevicesResponse) SetIsSoftReset(fv bool)
- func (m *WatchDevicesResponse) SetPageTokenChange(fv *WatchDevicesResponse_PageTokenChange)
- func (m *WatchDevicesResponse) SetResumeToken(fv string)
- func (m *WatchDevicesResponse) SetSnapshotSize(fv int64)
- func (m *WatchDevicesResponse) String() string
- func (m *WatchDevicesResponse) Unmarshal(b []byte) error
- func (m *WatchDevicesResponse) UnmarshalJSON(data []byte) error
- type WatchDevicesResponse_PageTokenChange
- func (*WatchDevicesResponse_PageTokenChange) Descriptor() ([]byte, []int)
- func (m *WatchDevicesResponse_PageTokenChange) GetNextPageToken() *device.PagerCursor
- func (m *WatchDevicesResponse_PageTokenChange) GetPrevPageToken() *device.PagerCursor
- func (*WatchDevicesResponse_PageTokenChange) GotenMessage()
- func (obj *WatchDevicesResponse_PageTokenChange) GotenValidate() error
- func (m *WatchDevicesResponse_PageTokenChange) Marshal() ([]byte, error)
- func (m *WatchDevicesResponse_PageTokenChange) MarshalJSON() ([]byte, error)
- func (*WatchDevicesResponse_PageTokenChange) ProtoMessage()
- func (m *WatchDevicesResponse_PageTokenChange) ProtoReflect() preflect.Message
- func (m *WatchDevicesResponse_PageTokenChange) Reset()
- func (m *WatchDevicesResponse_PageTokenChange) SetNextPageToken(fv *device.PagerCursor)
- func (m *WatchDevicesResponse_PageTokenChange) SetPrevPageToken(fv *device.PagerCursor)
- func (m *WatchDevicesResponse_PageTokenChange) String() string
- func (m *WatchDevicesResponse_PageTokenChange) Unmarshal(b []byte) error
- func (m *WatchDevicesResponse_PageTokenChange) UnmarshalJSON(data []byte) error
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 (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *BatchGetDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type BatchGetDevicesDescriptorServerMsgHandle ¶ added in v0.4.28
type BatchGetDevicesDescriptorServerMsgHandle struct{}
func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *BatchGetDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type BatchGetDevicesRequest ¶
type BatchGetDevicesRequest struct { // Names of Devices Names []*device.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // contains filtered or unexported fields }
A request message of the BatchGetDevices method.
func (*BatchGetDevicesRequest) Descriptor ¶
func (*BatchGetDevicesRequest) Descriptor() ([]byte, []int)
Deprecated, Use BatchGetDevicesRequest.ProtoReflect.Descriptor instead.
func (*BatchGetDevicesRequest) GetFieldMask ¶
func (m *BatchGetDevicesRequest) GetFieldMask() *device.Device_FieldMask
func (*BatchGetDevicesRequest) GetNames ¶
func (m *BatchGetDevicesRequest) GetNames() []*device.Name
func (*BatchGetDevicesRequest) GetView ¶
func (m *BatchGetDevicesRequest) GetView() view.View
func (*BatchGetDevicesRequest) GotenMessage ¶
func (*BatchGetDevicesRequest) GotenMessage()
func (*BatchGetDevicesRequest) GotenValidate ¶
func (obj *BatchGetDevicesRequest) GotenValidate() error
func (*BatchGetDevicesRequest) Marshal ¶
func (m *BatchGetDevicesRequest) Marshal() ([]byte, error)
func (*BatchGetDevicesRequest) MarshalJSON ¶
func (m *BatchGetDevicesRequest) MarshalJSON() ([]byte, error)
func (*BatchGetDevicesRequest) ProtoMessage ¶
func (*BatchGetDevicesRequest) ProtoMessage()
func (*BatchGetDevicesRequest) ProtoReflect ¶
func (m *BatchGetDevicesRequest) ProtoReflect() preflect.Message
func (*BatchGetDevicesRequest) Reset ¶
func (m *BatchGetDevicesRequest) Reset()
func (*BatchGetDevicesRequest) SetFieldMask ¶
func (m *BatchGetDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)
func (*BatchGetDevicesRequest) SetNames ¶
func (m *BatchGetDevicesRequest) SetNames(fv []*device.Name)
func (*BatchGetDevicesRequest) SetView ¶
func (m *BatchGetDevicesRequest) SetView(fv view.View)
func (*BatchGetDevicesRequest) String ¶
func (m *BatchGetDevicesRequest) String() string
func (*BatchGetDevicesRequest) Unmarshal ¶
func (m *BatchGetDevicesRequest) Unmarshal(b []byte) error
func (*BatchGetDevicesRequest) UnmarshalJSON ¶
func (m *BatchGetDevicesRequest) UnmarshalJSON(data []byte) error
type BatchGetDevicesResponse ¶
type BatchGetDevicesResponse struct { // found Devices Devices []*device.Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" firestore:"devices"` // list of not found Devices Missing []*device.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"` // contains filtered or unexported fields }
A response message of the BatchGetDevices method.
func (*BatchGetDevicesResponse) Descriptor ¶
func (*BatchGetDevicesResponse) Descriptor() ([]byte, []int)
Deprecated, Use BatchGetDevicesResponse.ProtoReflect.Descriptor instead.
func (*BatchGetDevicesResponse) GetDevices ¶
func (m *BatchGetDevicesResponse) GetDevices() []*device.Device
func (*BatchGetDevicesResponse) GetMissing ¶
func (m *BatchGetDevicesResponse) GetMissing() []*device.Name
func (*BatchGetDevicesResponse) GotenMessage ¶
func (*BatchGetDevicesResponse) GotenMessage()
func (*BatchGetDevicesResponse) GotenValidate ¶
func (obj *BatchGetDevicesResponse) GotenValidate() error
func (*BatchGetDevicesResponse) Marshal ¶
func (m *BatchGetDevicesResponse) Marshal() ([]byte, error)
func (*BatchGetDevicesResponse) MarshalJSON ¶
func (m *BatchGetDevicesResponse) MarshalJSON() ([]byte, error)
func (*BatchGetDevicesResponse) ProtoMessage ¶
func (*BatchGetDevicesResponse) ProtoMessage()
func (*BatchGetDevicesResponse) ProtoReflect ¶
func (m *BatchGetDevicesResponse) ProtoReflect() preflect.Message
func (*BatchGetDevicesResponse) Reset ¶
func (m *BatchGetDevicesResponse) Reset()
func (*BatchGetDevicesResponse) SetDevices ¶
func (m *BatchGetDevicesResponse) SetDevices(fv []*device.Device)
func (*BatchGetDevicesResponse) SetMissing ¶
func (m *BatchGetDevicesResponse) SetMissing(fv []*device.Name)
func (*BatchGetDevicesResponse) String ¶
func (m *BatchGetDevicesResponse) String() string
func (*BatchGetDevicesResponse) Unmarshal ¶
func (m *BatchGetDevicesResponse) Unmarshal(b []byte) error
func (*BatchGetDevicesResponse) UnmarshalJSON ¶
func (m *BatchGetDevicesResponse) UnmarshalJSON(data []byte) error
type CreateDeviceDescriptor ¶ 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 (h *CreateDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CreateDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type CreateDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type CreateDeviceDescriptorServerMsgHandle struct{}
func (*CreateDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *CreateDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*CreateDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *CreateDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the CreateDevice method.
func (*CreateDeviceRequest) Descriptor ¶
func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
Deprecated, Use CreateDeviceRequest.ProtoReflect.Descriptor instead.
func (*CreateDeviceRequest) GetDevice ¶
func (m *CreateDeviceRequest) GetDevice() *device.Device
func (*CreateDeviceRequest) GetParent ¶
func (m *CreateDeviceRequest) GetParent() *device.ParentName
func (*CreateDeviceRequest) 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 (h *DeleteDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *DeleteDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type DeleteDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type DeleteDeviceDescriptorServerMsgHandle struct{}
func (*DeleteDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*DeleteDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *DeleteDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the DeleteDevice method.
func (*DeleteDeviceRequest) Descriptor ¶
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
Deprecated, Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeviceRequest) GetName ¶
func (m *DeleteDeviceRequest) GetName() *device.Name
func (*DeleteDeviceRequest) GotenMessage ¶
func (*DeleteDeviceRequest) GotenMessage()
func (*DeleteDeviceRequest) GotenValidate ¶
func (obj *DeleteDeviceRequest) GotenValidate() error
func (*DeleteDeviceRequest) Marshal ¶
func (m *DeleteDeviceRequest) Marshal() ([]byte, error)
func (*DeleteDeviceRequest) MarshalJSON ¶
func (m *DeleteDeviceRequest) MarshalJSON() ([]byte, error)
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) ProtoReflect ¶
func (m *DeleteDeviceRequest) ProtoReflect() preflect.Message
func (*DeleteDeviceRequest) Reset ¶
func (m *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) SetName ¶
func (m *DeleteDeviceRequest) SetName(fv *device.Name)
func (*DeleteDeviceRequest) String ¶
func (m *DeleteDeviceRequest) String() string
func (*DeleteDeviceRequest) Unmarshal ¶
func (m *DeleteDeviceRequest) Unmarshal(b []byte) error
func (*DeleteDeviceRequest) UnmarshalJSON ¶
func (m *DeleteDeviceRequest) UnmarshalJSON(data []byte) error
type DeviceServiceClient ¶
type DeviceServiceClient interface { GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*device.Device, error) BatchGetDevices(ctx context.Context, in *BatchGetDevicesRequest, opts ...grpc.CallOption) (*BatchGetDevicesResponse, error) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) WatchDevice(ctx context.Context, in *WatchDeviceRequest, opts ...grpc.CallOption) (WatchDeviceClientStream, error) WatchDevices(ctx context.Context, in *WatchDevicesRequest, opts ...grpc.CallOption) (WatchDevicesClientStream, error) CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*device.Device, error) UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*device.Device, error) DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ProvisionServiceAccountToDevice(ctx context.Context, in *ProvisionServiceAccountToDeviceRequest, opts ...grpc.CallOption) (*ProvisionServiceAccountToDeviceResponse, error) RemoveServiceAccountFromDevice(ctx context.Context, in *RemoveServiceAccountFromDeviceRequest, opts ...grpc.CallOption) (*RemoveServiceAccountFromDeviceResponse, error) }
DeviceServiceClient is the client API for DeviceService.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDeviceServiceClient ¶
func NewDeviceServiceClient(cc grpc.ClientConnInterface) DeviceServiceClient
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 (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *GetDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*GetDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *GetDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the GetDevice method.
func (*GetDeviceRequest) Descriptor ¶
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
Deprecated, Use GetDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceRequest) GetFieldMask ¶
func (m *GetDeviceRequest) GetFieldMask() *device.Device_FieldMask
func (*GetDeviceRequest) GetName ¶
func (m *GetDeviceRequest) GetName() *device.Name
func (*GetDeviceRequest) GetView ¶
func (m *GetDeviceRequest) GetView() view.View
func (*GetDeviceRequest) GotenMessage ¶
func (*GetDeviceRequest) GotenMessage()
func (*GetDeviceRequest) GotenValidate ¶
func (obj *GetDeviceRequest) GotenValidate() error
func (*GetDeviceRequest) Marshal ¶
func (m *GetDeviceRequest) Marshal() ([]byte, error)
func (*GetDeviceRequest) MarshalJSON ¶
func (m *GetDeviceRequest) MarshalJSON() ([]byte, error)
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) ProtoReflect ¶
func (m *GetDeviceRequest) ProtoReflect() preflect.Message
func (*GetDeviceRequest) Reset ¶
func (m *GetDeviceRequest) Reset()
func (*GetDeviceRequest) SetFieldMask ¶
func (m *GetDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)
func (*GetDeviceRequest) SetName ¶
func (m *GetDeviceRequest) SetName(fv *device.Name)
func (*GetDeviceRequest) SetView ¶
func (m *GetDeviceRequest) SetView(fv view.View)
func (*GetDeviceRequest) String ¶
func (m *GetDeviceRequest) String() string
func (*GetDeviceRequest) Unmarshal ¶
func (m *GetDeviceRequest) Unmarshal(b []byte) error
func (*GetDeviceRequest) UnmarshalJSON ¶
func (m *GetDeviceRequest) UnmarshalJSON(data []byte) error
type 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 (h *ListDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListDevicesDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *ListDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ListDevicesDescriptorServerMsgHandle ¶ added in v0.4.28
type ListDevicesDescriptorServerMsgHandle struct{}
func (*ListDevicesDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *ListDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ListDevicesDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *ListDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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. PageToken *device.PagerCursor `` /* 133-byte string literal not displayed */ // Order By - // https://cloud.google.com/apis/design/design_patterns#list_pagination list // of field path with order directive, either 'asc' or 'desc'. If direction is // not provided, 'asc' is assumed. e.g. "state.nested_field asc, // state.something.else desc, theme" OrderBy *device.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"` // Filter - filter results by field criteria. Simplified SQL-like syntax with // following operators: // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels // CONTAINS "severity:important" OR (state.last_error_time > // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' Filter *device.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"` // A list of extra fields to be obtained for each response item on top of // fields defined by request field view FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */ // View defines list of standard response fields present in response items. // Additional fields can be amended by request field field_mask View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"` // Indicates if list response should contain total count and offset (fields // current_offset and total_results_count). IncludePagingInfo bool `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
A request message of the ListDevices method.
func (*ListDevicesRequest) Descriptor ¶
func (*ListDevicesRequest) Descriptor() ([]byte, []int)
Deprecated, Use ListDevicesRequest.ProtoReflect.Descriptor instead.
func (*ListDevicesRequest) GetFieldMask ¶
func (m *ListDevicesRequest) GetFieldMask() *device.Device_FieldMask
func (*ListDevicesRequest) GetFilter ¶
func (m *ListDevicesRequest) GetFilter() *device.Filter
func (*ListDevicesRequest) GetIncludePagingInfo ¶ 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. PrevPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */ // A token to retrieve next page of results. // // Pass this value in the ListDevicesRequest.page_token. NextPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */ // Current offset from the first page or 0 if no page tokens were given, // paging info was not requested or there was an error while trying to get // it). Page index can be computed from offset and limit provided in a // request. CurrentOffset int32 `` /* 127-byte string literal not displayed */ // Number of total Devices across all pages or 0, if there are no items, // paging info was not requested or there was an error while trying to get it. TotalResultsCount int32 `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
A response message of the ListDevices method.
func (*ListDevicesResponse) Descriptor ¶
func (*ListDevicesResponse) Descriptor() ([]byte, []int)
Deprecated, Use ListDevicesResponse.ProtoReflect.Descriptor instead.
func (*ListDevicesResponse) GetCurrentOffset ¶ 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 (d *ProvisionServiceAccountToDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*ProvisionServiceAccountToDeviceDescriptor) GetApiName ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetApiName() string
func (*ProvisionServiceAccountToDeviceDescriptor) GetClientMsgReflectHandle ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetFullMethodName() string
func (*ProvisionServiceAccountToDeviceDescriptor) GetMethodName ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetMethodName() string
func (*ProvisionServiceAccountToDeviceDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetProtoPkgName() string
func (*ProvisionServiceAccountToDeviceDescriptor) GetResourceDescriptor ¶ added in v0.4.30
func (d *ProvisionServiceAccountToDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*ProvisionServiceAccountToDeviceDescriptor) GetServerMsgReflectHandle ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
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 (d *ProvisionServiceAccountToDeviceDescriptor) GetVerb() string
func (*ProvisionServiceAccountToDeviceDescriptor) HasResource ¶ added in v0.4.30
func (d *ProvisionServiceAccountToDeviceDescriptor) HasResource() bool
func (*ProvisionServiceAccountToDeviceDescriptor) IsClientStream ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) IsClientStream() bool
func (*ProvisionServiceAccountToDeviceDescriptor) IsCollection ¶ added in v0.4.30
func (d *ProvisionServiceAccountToDeviceDescriptor) IsCollection() bool
func (*ProvisionServiceAccountToDeviceDescriptor) IsPlural ¶ added in v0.4.30
func (d *ProvisionServiceAccountToDeviceDescriptor) IsPlural() bool
func (*ProvisionServiceAccountToDeviceDescriptor) IsServerStream ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) IsServerStream() bool
func (*ProvisionServiceAccountToDeviceDescriptor) IsUnary ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) IsUnary() bool
func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyClientMsg ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) NewEmptyClientMsg() proto.Message
func (*ProvisionServiceAccountToDeviceDescriptor) NewEmptyServerMsg ¶ added in v0.4.28
func (d *ProvisionServiceAccountToDeviceDescriptor) NewEmptyServerMsg() proto.Message
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 (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *ProvisionServiceAccountToDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type ProvisionServiceAccountToDeviceDescriptorServerMsgHandle struct{}
func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *ProvisionServiceAccountToDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *ProvisionServiceAccountToDeviceRequest) GetName() *device.Name
func (*ProvisionServiceAccountToDeviceRequest) GotenMessage ¶
func (*ProvisionServiceAccountToDeviceRequest) GotenMessage()
func (*ProvisionServiceAccountToDeviceRequest) GotenValidate ¶
func (obj *ProvisionServiceAccountToDeviceRequest) GotenValidate() error
func (*ProvisionServiceAccountToDeviceRequest) Marshal ¶
func (m *ProvisionServiceAccountToDeviceRequest) Marshal() ([]byte, error)
func (*ProvisionServiceAccountToDeviceRequest) MarshalJSON ¶
func (m *ProvisionServiceAccountToDeviceRequest) MarshalJSON() ([]byte, error)
func (*ProvisionServiceAccountToDeviceRequest) ProtoMessage ¶
func (*ProvisionServiceAccountToDeviceRequest) ProtoMessage()
func (*ProvisionServiceAccountToDeviceRequest) ProtoReflect ¶
func (m *ProvisionServiceAccountToDeviceRequest) ProtoReflect() preflect.Message
func (*ProvisionServiceAccountToDeviceRequest) Reset ¶
func (m *ProvisionServiceAccountToDeviceRequest) Reset()
func (*ProvisionServiceAccountToDeviceRequest) SetExternalPubkey ¶
func (m *ProvisionServiceAccountToDeviceRequest) SetExternalPubkey(fv string)
func (*ProvisionServiceAccountToDeviceRequest) SetName ¶
func (m *ProvisionServiceAccountToDeviceRequest) SetName(fv *device.Name)
func (*ProvisionServiceAccountToDeviceRequest) String ¶
func (m *ProvisionServiceAccountToDeviceRequest) String() string
func (*ProvisionServiceAccountToDeviceRequest) Unmarshal ¶
func (m *ProvisionServiceAccountToDeviceRequest) Unmarshal(b []byte) error
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 (m *ProvisionServiceAccountToDeviceResponse) GetServiceAccount() *api.ServiceAccount
func (*ProvisionServiceAccountToDeviceResponse) GotenMessage ¶
func (*ProvisionServiceAccountToDeviceResponse) GotenMessage()
func (*ProvisionServiceAccountToDeviceResponse) GotenValidate ¶
func (obj *ProvisionServiceAccountToDeviceResponse) GotenValidate() error
func (*ProvisionServiceAccountToDeviceResponse) Marshal ¶
func (m *ProvisionServiceAccountToDeviceResponse) Marshal() ([]byte, error)
func (*ProvisionServiceAccountToDeviceResponse) MarshalJSON ¶
func (m *ProvisionServiceAccountToDeviceResponse) MarshalJSON() ([]byte, error)
func (*ProvisionServiceAccountToDeviceResponse) ProtoMessage ¶
func (*ProvisionServiceAccountToDeviceResponse) ProtoMessage()
func (*ProvisionServiceAccountToDeviceResponse) ProtoReflect ¶
func (m *ProvisionServiceAccountToDeviceResponse) ProtoReflect() preflect.Message
func (*ProvisionServiceAccountToDeviceResponse) Reset ¶
func (m *ProvisionServiceAccountToDeviceResponse) Reset()
func (*ProvisionServiceAccountToDeviceResponse) SetServiceAccount ¶
func (m *ProvisionServiceAccountToDeviceResponse) SetServiceAccount(fv *api.ServiceAccount)
func (*ProvisionServiceAccountToDeviceResponse) String ¶
func (m *ProvisionServiceAccountToDeviceResponse) String() string
func (*ProvisionServiceAccountToDeviceResponse) Unmarshal ¶
func (m *ProvisionServiceAccountToDeviceResponse) Unmarshal(b []byte) error
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 (d *RemoveServiceAccountFromDeviceDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*RemoveServiceAccountFromDeviceDescriptor) GetApiName ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetApiName() string
func (*RemoveServiceAccountFromDeviceDescriptor) GetClientMsgReflectHandle ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetFullMethodName() string
func (*RemoveServiceAccountFromDeviceDescriptor) GetMethodName ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetMethodName() string
func (*RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetProtoPkgName() string
func (*RemoveServiceAccountFromDeviceDescriptor) GetResourceDescriptor ¶ added in v0.4.30
func (d *RemoveServiceAccountFromDeviceDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*RemoveServiceAccountFromDeviceDescriptor) GetServerMsgReflectHandle ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
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 (d *RemoveServiceAccountFromDeviceDescriptor) GetVerb() string
func (*RemoveServiceAccountFromDeviceDescriptor) HasResource ¶ added in v0.4.30
func (d *RemoveServiceAccountFromDeviceDescriptor) HasResource() bool
func (*RemoveServiceAccountFromDeviceDescriptor) IsClientStream ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) IsClientStream() bool
func (*RemoveServiceAccountFromDeviceDescriptor) IsCollection ¶ added in v0.4.30
func (d *RemoveServiceAccountFromDeviceDescriptor) IsCollection() bool
func (*RemoveServiceAccountFromDeviceDescriptor) IsPlural ¶ added in v0.4.30
func (d *RemoveServiceAccountFromDeviceDescriptor) IsPlural() bool
func (*RemoveServiceAccountFromDeviceDescriptor) IsServerStream ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) IsServerStream() bool
func (*RemoveServiceAccountFromDeviceDescriptor) IsUnary ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) IsUnary() bool
func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyClientMsg ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) NewEmptyClientMsg() proto.Message
func (*RemoveServiceAccountFromDeviceDescriptor) NewEmptyServerMsg ¶ added in v0.4.28
func (d *RemoveServiceAccountFromDeviceDescriptor) NewEmptyServerMsg() proto.Message
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 (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *RemoveServiceAccountFromDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type RemoveServiceAccountFromDeviceDescriptorServerMsgHandle struct{}
func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *RemoveServiceAccountFromDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 (m *RemoveServiceAccountFromDeviceRequest) GetName() *device.Name
func (*RemoveServiceAccountFromDeviceRequest) GotenMessage ¶
func (*RemoveServiceAccountFromDeviceRequest) GotenMessage()
func (*RemoveServiceAccountFromDeviceRequest) GotenValidate ¶
func (obj *RemoveServiceAccountFromDeviceRequest) GotenValidate() error
func (*RemoveServiceAccountFromDeviceRequest) Marshal ¶
func (m *RemoveServiceAccountFromDeviceRequest) Marshal() ([]byte, error)
func (*RemoveServiceAccountFromDeviceRequest) MarshalJSON ¶
func (m *RemoveServiceAccountFromDeviceRequest) MarshalJSON() ([]byte, error)
func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage ¶
func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage()
func (*RemoveServiceAccountFromDeviceRequest) ProtoReflect ¶
func (m *RemoveServiceAccountFromDeviceRequest) ProtoReflect() preflect.Message
func (*RemoveServiceAccountFromDeviceRequest) Reset ¶
func (m *RemoveServiceAccountFromDeviceRequest) Reset()
func (*RemoveServiceAccountFromDeviceRequest) SetName ¶
func (m *RemoveServiceAccountFromDeviceRequest) SetName(fv *device.Name)
func (*RemoveServiceAccountFromDeviceRequest) String ¶
func (m *RemoveServiceAccountFromDeviceRequest) String() string
func (*RemoveServiceAccountFromDeviceRequest) Unmarshal ¶
func (m *RemoveServiceAccountFromDeviceRequest) Unmarshal(b []byte) error
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) GotenMessage()
func (*RemoveServiceAccountFromDeviceResponse) GotenValidate ¶
func (obj *RemoveServiceAccountFromDeviceResponse) GotenValidate() error
func (*RemoveServiceAccountFromDeviceResponse) Marshal ¶
func (m *RemoveServiceAccountFromDeviceResponse) Marshal() ([]byte, error)
func (*RemoveServiceAccountFromDeviceResponse) MarshalJSON ¶
func (m *RemoveServiceAccountFromDeviceResponse) MarshalJSON() ([]byte, error)
func (*RemoveServiceAccountFromDeviceResponse) ProtoMessage ¶
func (*RemoveServiceAccountFromDeviceResponse) ProtoMessage()
func (*RemoveServiceAccountFromDeviceResponse) ProtoReflect ¶
func (m *RemoveServiceAccountFromDeviceResponse) ProtoReflect() preflect.Message
func (*RemoveServiceAccountFromDeviceResponse) Reset ¶
func (m *RemoveServiceAccountFromDeviceResponse) Reset()
func (*RemoveServiceAccountFromDeviceResponse) String ¶
func (m *RemoveServiceAccountFromDeviceResponse) String() string
func (*RemoveServiceAccountFromDeviceResponse) Unmarshal ¶
func (m *RemoveServiceAccountFromDeviceResponse) Unmarshal(b []byte) error
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 (h *UpdateDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *UpdateDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type UpdateDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type UpdateDeviceDescriptorServerMsgHandle struct{}
func (*UpdateDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*UpdateDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *UpdateDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the UpdateDevice method.
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 (m *UpdateDeviceRequest) GetCas() *UpdateDeviceRequest_CAS
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 (m *UpdateDeviceRequest) SetCas(fv *UpdateDeviceRequest_CAS)
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 (h *WatchDeviceDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchDeviceDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *WatchDeviceDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchDeviceDescriptorServerMsgHandle ¶ added in v0.4.28
type WatchDeviceDescriptorServerMsgHandle struct{}
func (*WatchDeviceDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *WatchDeviceDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchDeviceDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *WatchDeviceDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the WatchDevice method.
func (*WatchDeviceRequest) Descriptor ¶
func (*WatchDeviceRequest) Descriptor() ([]byte, []int)
Deprecated, Use WatchDeviceRequest.ProtoReflect.Descriptor instead.
func (*WatchDeviceRequest) GetFieldMask ¶
func (m *WatchDeviceRequest) GetFieldMask() *device.Device_FieldMask
func (*WatchDeviceRequest) GetName ¶
func (m *WatchDeviceRequest) GetName() *device.Name
func (*WatchDeviceRequest) GetView ¶
func (m *WatchDeviceRequest) GetView() view.View
func (*WatchDeviceRequest) GotenMessage ¶
func (*WatchDeviceRequest) GotenMessage()
func (*WatchDeviceRequest) GotenValidate ¶
func (obj *WatchDeviceRequest) GotenValidate() error
func (*WatchDeviceRequest) Marshal ¶
func (m *WatchDeviceRequest) Marshal() ([]byte, error)
func (*WatchDeviceRequest) MarshalJSON ¶
func (m *WatchDeviceRequest) MarshalJSON() ([]byte, error)
func (*WatchDeviceRequest) ProtoMessage ¶
func (*WatchDeviceRequest) ProtoMessage()
func (*WatchDeviceRequest) ProtoReflect ¶
func (m *WatchDeviceRequest) ProtoReflect() preflect.Message
func (*WatchDeviceRequest) Reset ¶
func (m *WatchDeviceRequest) Reset()
func (*WatchDeviceRequest) SetFieldMask ¶
func (m *WatchDeviceRequest) SetFieldMask(fv *device.Device_FieldMask)
func (*WatchDeviceRequest) SetName ¶
func (m *WatchDeviceRequest) SetName(fv *device.Name)
func (*WatchDeviceRequest) SetView ¶
func (m *WatchDeviceRequest) SetView(fv view.View)
func (*WatchDeviceRequest) String ¶
func (m *WatchDeviceRequest) String() string
func (*WatchDeviceRequest) Unmarshal ¶
func (m *WatchDeviceRequest) Unmarshal(b []byte) error
func (*WatchDeviceRequest) UnmarshalJSON ¶
func (m *WatchDeviceRequest) UnmarshalJSON(data []byte) error
type WatchDeviceResponse ¶
type WatchDeviceResponse struct { Change *device.DeviceChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"` // contains filtered or unexported fields }
A response message of the WatchDevice method.
func (*WatchDeviceResponse) Descriptor ¶
func (*WatchDeviceResponse) Descriptor() ([]byte, []int)
Deprecated, Use WatchDeviceResponse.ProtoReflect.Descriptor instead.
func (*WatchDeviceResponse) GetChange ¶
func (m *WatchDeviceResponse) GetChange() *device.DeviceChange
func (*WatchDeviceResponse) GotenMessage ¶
func (*WatchDeviceResponse) GotenMessage()
func (*WatchDeviceResponse) GotenValidate ¶
func (obj *WatchDeviceResponse) GotenValidate() error
func (*WatchDeviceResponse) Marshal ¶
func (m *WatchDeviceResponse) Marshal() ([]byte, error)
func (*WatchDeviceResponse) MarshalJSON ¶
func (m *WatchDeviceResponse) MarshalJSON() ([]byte, error)
func (*WatchDeviceResponse) ProtoMessage ¶
func (*WatchDeviceResponse) ProtoMessage()
func (*WatchDeviceResponse) ProtoReflect ¶
func (m *WatchDeviceResponse) ProtoReflect() preflect.Message
func (*WatchDeviceResponse) Reset ¶
func (m *WatchDeviceResponse) Reset()
func (*WatchDeviceResponse) SetChange ¶
func (m *WatchDeviceResponse) SetChange(fv *device.DeviceChange)
func (*WatchDeviceResponse) String ¶
func (m *WatchDeviceResponse) String() string
func (*WatchDeviceResponse) Unmarshal ¶
func (m *WatchDeviceResponse) Unmarshal(b []byte) error
func (*WatchDeviceResponse) UnmarshalJSON ¶
func (m *WatchDeviceResponse) UnmarshalJSON(data []byte) error
type WatchDevicesClientStream ¶
type WatchDevicesClientStream interface { Recv() (*WatchDevicesResponse, error) grpc.ClientStream }
type WatchDevicesDescriptor ¶ 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 (h *WatchDevicesDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchDevicesDescriptorClientMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *WatchDevicesDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type WatchDevicesDescriptorServerMsgHandle ¶ added in v0.4.28
type WatchDevicesDescriptorServerMsgHandle struct{}
func (*WatchDevicesDescriptorServerMsgHandle) ExtractCollectionName ¶ added in v0.4.30
func (h *WatchDevicesDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBodies ¶ added in v1.0.21
func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceBody ¶ added in v1.0.21
func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceName ¶ added in v0.4.30
func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*WatchDevicesDescriptorServerMsgHandle) ExtractResourceNames ¶ added in v0.4.30
func (h *WatchDevicesDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
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 }
A request message of the WatchDevices method.
func (*WatchDevicesRequest) Descriptor ¶
func (*WatchDevicesRequest) Descriptor() ([]byte, []int)
Deprecated, Use WatchDevicesRequest.ProtoReflect.Descriptor instead.
func (*WatchDevicesRequest) GetFieldMask ¶
func (m *WatchDevicesRequest) GetFieldMask() *device.Device_FieldMask
func (*WatchDevicesRequest) GetFilter ¶
func (m *WatchDevicesRequest) GetFilter() *device.Filter
func (*WatchDevicesRequest) GetMaxChunkSize ¶
func (m *WatchDevicesRequest) GetMaxChunkSize() int32
func (*WatchDevicesRequest) GetOrderBy ¶
func (m *WatchDevicesRequest) GetOrderBy() *device.OrderBy
func (*WatchDevicesRequest) GetPageSize ¶
func (m *WatchDevicesRequest) GetPageSize() int32
func (*WatchDevicesRequest) GetPageToken ¶
func (m *WatchDevicesRequest) GetPageToken() *device.PagerCursor
func (*WatchDevicesRequest) GetParent ¶
func (m *WatchDevicesRequest) GetParent() *device.ParentName
func (*WatchDevicesRequest) GetResumeToken ¶
func (m *WatchDevicesRequest) GetResumeToken() string
func (*WatchDevicesRequest) GetStartingTime ¶ added in v0.9.0
func (m *WatchDevicesRequest) GetStartingTime() *timestamppb.Timestamp
func (*WatchDevicesRequest) GetType ¶
func (m *WatchDevicesRequest) GetType() watch_type.WatchType
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 }
A response message of the WatchDevices method.
func (*WatchDevicesResponse) Descriptor ¶
func (*WatchDevicesResponse) Descriptor() ([]byte, []int)
Deprecated, Use WatchDevicesResponse.ProtoReflect.Descriptor instead.
func (*WatchDevicesResponse) GetDeviceChanges ¶
func (m *WatchDevicesResponse) GetDeviceChanges() []*device.DeviceChange
func (*WatchDevicesResponse) GetIsCurrent ¶
func (m *WatchDevicesResponse) GetIsCurrent() bool
func (*WatchDevicesResponse) GetIsHardReset ¶
func (m *WatchDevicesResponse) GetIsHardReset() bool
func (*WatchDevicesResponse) GetIsSoftReset ¶
func (m *WatchDevicesResponse) GetIsSoftReset() bool
func (*WatchDevicesResponse) GetPageTokenChange ¶
func (m *WatchDevicesResponse) GetPageTokenChange() *WatchDevicesResponse_PageTokenChange
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 (m *WatchDevicesResponse) SetPageTokenChange(fv *WatchDevicesResponse_PageTokenChange)
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 (m *WatchDevicesResponse_PageTokenChange) GetNextPageToken() *device.PagerCursor
func (*WatchDevicesResponse_PageTokenChange) GetPrevPageToken ¶
func (m *WatchDevicesResponse_PageTokenChange) GetPrevPageToken() *device.PagerCursor
func (*WatchDevicesResponse_PageTokenChange) GotenMessage ¶
func (*WatchDevicesResponse_PageTokenChange) GotenMessage()
func (*WatchDevicesResponse_PageTokenChange) GotenValidate ¶
func (obj *WatchDevicesResponse_PageTokenChange) GotenValidate() error
func (*WatchDevicesResponse_PageTokenChange) Marshal ¶
func (m *WatchDevicesResponse_PageTokenChange) Marshal() ([]byte, error)
func (*WatchDevicesResponse_PageTokenChange) MarshalJSON ¶
func (m *WatchDevicesResponse_PageTokenChange) MarshalJSON() ([]byte, error)
func (*WatchDevicesResponse_PageTokenChange) ProtoMessage ¶
func (*WatchDevicesResponse_PageTokenChange) ProtoMessage()
func (*WatchDevicesResponse_PageTokenChange) ProtoReflect ¶
func (m *WatchDevicesResponse_PageTokenChange) ProtoReflect() preflect.Message
func (*WatchDevicesResponse_PageTokenChange) Reset ¶
func (m *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 (m *WatchDevicesResponse_PageTokenChange) String() string
func (*WatchDevicesResponse_PageTokenChange) Unmarshal ¶
func (m *WatchDevicesResponse_PageTokenChange) Unmarshal(b []byte) error
func (*WatchDevicesResponse_PageTokenChange) UnmarshalJSON ¶
func (m *WatchDevicesResponse_PageTokenChange) UnmarshalJSON(data []byte) error