apipb

package
v0.0.0-...-7c66ffc Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package apipb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package apipb is the protobuf-generated stubs for the API

Index

Constants

This section is empty.

Variables

View Source
var CollectionFirmware_FirmwareManagement_name = map[int32]string{
	0: "unspecified",
	1: "disabled",
	2: "collection",
	3: "device",
}
View Source
var CollectionFirmware_FirmwareManagement_value = map[string]int32{
	"unspecified": 0,
	"disabled":    1,
	"collection":  2,
	"device":      3,
}
View Source
var FirmwareMetadata_FirmwareState_name = map[int32]string{
	0:  "Unknown",
	1:  "Current",
	2:  "Pending",
	3:  "Initializing",
	4:  "TimedOut",
	5:  "Error",
	6:  "Downloading",
	7:  "Downloaded",
	8:  "Reverted",
	9:  "UpdateFailed",
	10: "Completed",
}
View Source
var FirmwareMetadata_FirmwareState_value = map[string]int32{
	"Unknown":      0,
	"Current":      1,
	"Pending":      2,
	"Initializing": 3,
	"TimedOut":     4,
	"Error":        5,
	"Downloading":  6,
	"Downloaded":   7,
	"Reverted":     8,
	"UpdateFailed": 9,
	"Completed":    10,
}
View Source
var OutputDataMessage_OutputMessageType_name = map[int32]string{
	0: "unknown",
	1: "keepalive",
	2: "data",
}
View Source
var OutputDataMessage_OutputMessageType_value = map[string]int32{
	"unknown":   0,
	"keepalive": 1,
	"data":      2,
}
View Source
var Output_Type_name = map[int32]string{
	0: "undefined",
	1: "webhook",
	2: "udp",
	3: "mqtt",
	4: "ifttt",
}
View Source
var Output_Type_value = map[string]int32{
	"undefined": 0,
	"webhook":   1,
	"udp":       2,
	"mqtt":      3,
	"ifttt":     4,
}

Functions

func RegisterHordeHandler

func RegisterHordeHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterHordeHandler registers the http handlers for service Horde to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterHordeHandlerClient

func RegisterHordeHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HordeClient) error

RegisterHordeHandlerClient registers the http handlers for service Horde to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HordeClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HordeClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HordeClient" to call the correct interceptors.

func RegisterHordeHandlerFromEndpoint

func RegisterHordeHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterHordeHandlerFromEndpoint is same as RegisterHordeHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterHordeHandlerServer

func RegisterHordeHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HordeServer) error

RegisterHordeHandlerServer registers the http handlers for service Horde to "mux". UnaryRPC :call HordeServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterHordeHandlerFromEndpoint instead.

func RegisterHordeServer

func RegisterHordeServer(s *grpc.Server, srv HordeServer)

Types

type AcceptInviteRequest

type AcceptInviteRequest struct {
	Code                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*AcceptInviteRequest) Descriptor

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

func (*AcceptInviteRequest) GetCode

func (*AcceptInviteRequest) ProtoMessage

func (*AcceptInviteRequest) ProtoMessage()

func (*AcceptInviteRequest) Reset

func (m *AcceptInviteRequest) Reset()

func (*AcceptInviteRequest) String

func (m *AcceptInviteRequest) String() string

func (*AcceptInviteRequest) XXX_DiscardUnknown

func (m *AcceptInviteRequest) XXX_DiscardUnknown()

func (*AcceptInviteRequest) XXX_Marshal

func (m *AcceptInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcceptInviteRequest) XXX_Merge

func (m *AcceptInviteRequest) XXX_Merge(src proto.Message)

func (*AcceptInviteRequest) XXX_Size

func (m *AcceptInviteRequest) XXX_Size() int

func (*AcceptInviteRequest) XXX_Unmarshal

func (m *AcceptInviteRequest) XXX_Unmarshal(b []byte) error

type ClearFirmwareErrorResponse

type ClearFirmwareErrorResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClearFirmwareErrorResponse) Descriptor

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

func (*ClearFirmwareErrorResponse) ProtoMessage

func (*ClearFirmwareErrorResponse) ProtoMessage()

func (*ClearFirmwareErrorResponse) Reset

func (m *ClearFirmwareErrorResponse) Reset()

func (*ClearFirmwareErrorResponse) String

func (m *ClearFirmwareErrorResponse) String() string

func (*ClearFirmwareErrorResponse) XXX_DiscardUnknown

func (m *ClearFirmwareErrorResponse) XXX_DiscardUnknown()

func (*ClearFirmwareErrorResponse) XXX_Marshal

func (m *ClearFirmwareErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClearFirmwareErrorResponse) XXX_Merge

func (m *ClearFirmwareErrorResponse) XXX_Merge(src proto.Message)

func (*ClearFirmwareErrorResponse) XXX_Size

func (m *ClearFirmwareErrorResponse) XXX_Size() int

func (*ClearFirmwareErrorResponse) XXX_Unmarshal

func (m *ClearFirmwareErrorResponse) XXX_Unmarshal(b []byte) error

type CoAPMetadata

type CoAPMetadata struct {
	Code                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Path                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CoAPMetadata) Descriptor

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

func (*CoAPMetadata) GetCode

func (m *CoAPMetadata) GetCode() *wrappers.StringValue

func (*CoAPMetadata) GetPath

func (m *CoAPMetadata) GetPath() *wrappers.StringValue

func (*CoAPMetadata) ProtoMessage

func (*CoAPMetadata) ProtoMessage()

func (*CoAPMetadata) Reset

func (m *CoAPMetadata) Reset()

func (*CoAPMetadata) String

func (m *CoAPMetadata) String() string

func (*CoAPMetadata) XXX_DiscardUnknown

func (m *CoAPMetadata) XXX_DiscardUnknown()

func (*CoAPMetadata) XXX_Marshal

func (m *CoAPMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoAPMetadata) XXX_Merge

func (m *CoAPMetadata) XXX_Merge(src proto.Message)

func (*CoAPMetadata) XXX_Size

func (m *CoAPMetadata) XXX_Size() int

func (*CoAPMetadata) XXX_Unmarshal

func (m *CoAPMetadata) XXX_Unmarshal(b []byte) error

type Collection

type Collection struct {
	// The ID of the collection. This is assigned by the backend.
	CollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// The team ID that owns the collection. This field is required. When you
	// create new collections the default is to use your private team ID.
	TeamId *wrappers.StringValue `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	// Field mask settings for the collection
	FieldMask *FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// Firmware settings for the collection
	Firmware *CollectionFirmware `protobuf:"bytes,4,opt,name=firmware,proto3" json:"firmware,omitempty"`
	// Tags for the collection. Tags are metadata fields that you can assign to
	// the collection.
	Tags                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Collection object

func (*Collection) Descriptor

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

func (*Collection) GetCollectionId

func (m *Collection) GetCollectionId() *wrappers.StringValue

func (*Collection) GetFieldMask

func (m *Collection) GetFieldMask() *FieldMask

func (*Collection) GetFirmware

func (m *Collection) GetFirmware() *CollectionFirmware

func (*Collection) GetTags

func (m *Collection) GetTags() map[string]string

func (*Collection) GetTeamId

func (m *Collection) GetTeamId() *wrappers.StringValue

func (*Collection) ProtoMessage

func (*Collection) ProtoMessage()

func (*Collection) Reset

func (m *Collection) Reset()

func (*Collection) String

func (m *Collection) String() string

func (*Collection) XXX_DiscardUnknown

func (m *Collection) XXX_DiscardUnknown()

func (*Collection) XXX_Marshal

func (m *Collection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Collection) XXX_Merge

func (m *Collection) XXX_Merge(src proto.Message)

func (*Collection) XXX_Size

func (m *Collection) XXX_Size() int

func (*Collection) XXX_Unmarshal

func (m *Collection) XXX_Unmarshal(b []byte) error

type CollectionFirmware

type CollectionFirmware struct {
	// The current firmware is the firmware that the devices are currently using.
	CurrentFirmwareId *wrappers.StringValue `protobuf:"bytes,1,opt,name=current_firmware_id,json=currentFirmwareId,proto3" json:"current_firmware_id,omitempty"`
	// The target firmware is set to the desired firmware image for the devices in
	// this collection. If the management is set to "device" this will only be
	// used if the target firmware isn't set on the device itself.
	TargetFirmwareId     *wrappers.StringValue                 `protobuf:"bytes,2,opt,name=target_firmware_id,json=targetFirmwareId,proto3" json:"target_firmware_id,omitempty"`
	Management           CollectionFirmware_FirmwareManagement `protobuf:"varint,3,opt,name=management,proto3,enum=apipb.CollectionFirmware_FirmwareManagement" json:"management,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

CollectionFirmware object

func (*CollectionFirmware) Descriptor

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

func (*CollectionFirmware) GetCurrentFirmwareId

func (m *CollectionFirmware) GetCurrentFirmwareId() *wrappers.StringValue

func (*CollectionFirmware) GetManagement

func (*CollectionFirmware) GetTargetFirmwareId

func (m *CollectionFirmware) GetTargetFirmwareId() *wrappers.StringValue

func (*CollectionFirmware) ProtoMessage

func (*CollectionFirmware) ProtoMessage()

func (*CollectionFirmware) Reset

func (m *CollectionFirmware) Reset()

func (*CollectionFirmware) String

func (m *CollectionFirmware) String() string

func (*CollectionFirmware) XXX_DiscardUnknown

func (m *CollectionFirmware) XXX_DiscardUnknown()

func (*CollectionFirmware) XXX_Marshal

func (m *CollectionFirmware) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionFirmware) XXX_Merge

func (m *CollectionFirmware) XXX_Merge(src proto.Message)

func (*CollectionFirmware) XXX_Size

func (m *CollectionFirmware) XXX_Size() int

func (*CollectionFirmware) XXX_Unmarshal

func (m *CollectionFirmware) XXX_Unmarshal(b []byte) error

type CollectionFirmware_FirmwareManagement

type CollectionFirmware_FirmwareManagement int32

The firmware management settings for a collection can either be "disabled", ie there is no firmware management for this collection, "collection"; devices are managed through the settings on the collection or "device" where each device is configured individual.

const (
	CollectionFirmware_unspecified CollectionFirmware_FirmwareManagement = 0
	CollectionFirmware_disabled    CollectionFirmware_FirmwareManagement = 1
	CollectionFirmware_collection  CollectionFirmware_FirmwareManagement = 2
	CollectionFirmware_device      CollectionFirmware_FirmwareManagement = 3
)

func (CollectionFirmware_FirmwareManagement) EnumDescriptor

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

func (CollectionFirmware_FirmwareManagement) String

type CreateFirmwareRequest

type CreateFirmwareRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	Image                []byte                `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	Version              *wrappers.StringValue `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Filename             *wrappers.StringValue `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*CreateFirmwareRequest) Descriptor

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

func (*CreateFirmwareRequest) GetCollectionId

func (m *CreateFirmwareRequest) GetCollectionId() *wrappers.StringValue

func (*CreateFirmwareRequest) GetFilename

func (m *CreateFirmwareRequest) GetFilename() *wrappers.StringValue

func (*CreateFirmwareRequest) GetImage

func (m *CreateFirmwareRequest) GetImage() []byte

func (*CreateFirmwareRequest) GetTags

func (m *CreateFirmwareRequest) GetTags() map[string]string

func (*CreateFirmwareRequest) GetVersion

func (m *CreateFirmwareRequest) GetVersion() *wrappers.StringValue

func (*CreateFirmwareRequest) ProtoMessage

func (*CreateFirmwareRequest) ProtoMessage()

func (*CreateFirmwareRequest) Reset

func (m *CreateFirmwareRequest) Reset()

func (*CreateFirmwareRequest) String

func (m *CreateFirmwareRequest) String() string

func (*CreateFirmwareRequest) XXX_DiscardUnknown

func (m *CreateFirmwareRequest) XXX_DiscardUnknown()

func (*CreateFirmwareRequest) XXX_Marshal

func (m *CreateFirmwareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateFirmwareRequest) XXX_Merge

func (m *CreateFirmwareRequest) XXX_Merge(src proto.Message)

func (*CreateFirmwareRequest) XXX_Size

func (m *CreateFirmwareRequest) XXX_Size() int

func (*CreateFirmwareRequest) XXX_Unmarshal

func (m *CreateFirmwareRequest) XXX_Unmarshal(b []byte) error

type DataDumpRequest

type DataDumpRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataDumpRequest) Descriptor

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

func (*DataDumpRequest) ProtoMessage

func (*DataDumpRequest) ProtoMessage()

func (*DataDumpRequest) Reset

func (m *DataDumpRequest) Reset()

func (*DataDumpRequest) String

func (m *DataDumpRequest) String() string

func (*DataDumpRequest) XXX_DiscardUnknown

func (m *DataDumpRequest) XXX_DiscardUnknown()

func (*DataDumpRequest) XXX_Marshal

func (m *DataDumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataDumpRequest) XXX_Merge

func (m *DataDumpRequest) XXX_Merge(src proto.Message)

func (*DataDumpRequest) XXX_Size

func (m *DataDumpRequest) XXX_Size() int

func (*DataDumpRequest) XXX_Unmarshal

func (m *DataDumpRequest) XXX_Unmarshal(b []byte) error

type DataDumpResponse

type DataDumpResponse struct {
	// This is the array of collections
	Collections []*DumpedCollection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	// This is your user profile
	Profile *UserProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	// This is your teams
	Teams []*Team `protobuf:"bytes,3,rep,name=teams,proto3" json:"teams,omitempty"`
	// This is your tokens
	Tokens               []*Token `protobuf:"bytes,4,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

This is the documentation for the data dump response

func (*DataDumpResponse) Descriptor

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

func (*DataDumpResponse) GetCollections

func (m *DataDumpResponse) GetCollections() []*DumpedCollection

func (*DataDumpResponse) GetProfile

func (m *DataDumpResponse) GetProfile() *UserProfile

func (*DataDumpResponse) GetTeams

func (m *DataDumpResponse) GetTeams() []*Team

func (*DataDumpResponse) GetTokens

func (m *DataDumpResponse) GetTokens() []*Token

func (*DataDumpResponse) ProtoMessage

func (*DataDumpResponse) ProtoMessage()

func (*DataDumpResponse) Reset

func (m *DataDumpResponse) Reset()

func (*DataDumpResponse) String

func (m *DataDumpResponse) String() string

func (*DataDumpResponse) XXX_DiscardUnknown

func (m *DataDumpResponse) XXX_DiscardUnknown()

func (*DataDumpResponse) XXX_Marshal

func (m *DataDumpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataDumpResponse) XXX_Merge

func (m *DataDumpResponse) XXX_Merge(src proto.Message)

func (*DataDumpResponse) XXX_Size

func (m *DataDumpResponse) XXX_Size() int

func (*DataDumpResponse) XXX_Unmarshal

func (m *DataDumpResponse) XXX_Unmarshal(b []byte) error

type DeleteCollectionRequest

type DeleteCollectionRequest struct {
	// The ID of the collection you want to delete
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Delete a collection

func (*DeleteCollectionRequest) Descriptor

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

func (*DeleteCollectionRequest) GetCollectionId

func (m *DeleteCollectionRequest) GetCollectionId() *wrappers.StringValue

func (*DeleteCollectionRequest) ProtoMessage

func (*DeleteCollectionRequest) ProtoMessage()

func (*DeleteCollectionRequest) Reset

func (m *DeleteCollectionRequest) Reset()

func (*DeleteCollectionRequest) String

func (m *DeleteCollectionRequest) String() string

func (*DeleteCollectionRequest) XXX_DiscardUnknown

func (m *DeleteCollectionRequest) XXX_DiscardUnknown()

func (*DeleteCollectionRequest) XXX_Marshal

func (m *DeleteCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteCollectionRequest) XXX_Merge

func (m *DeleteCollectionRequest) XXX_Merge(src proto.Message)

func (*DeleteCollectionRequest) XXX_Size

func (m *DeleteCollectionRequest) XXX_Size() int

func (*DeleteCollectionRequest) XXX_Unmarshal

func (m *DeleteCollectionRequest) XXX_Unmarshal(b []byte) error

type DeleteInviteResponse

type DeleteInviteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteInviteResponse) Descriptor

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

func (*DeleteInviteResponse) ProtoMessage

func (*DeleteInviteResponse) ProtoMessage()

func (*DeleteInviteResponse) Reset

func (m *DeleteInviteResponse) Reset()

func (*DeleteInviteResponse) String

func (m *DeleteInviteResponse) String() string

func (*DeleteInviteResponse) XXX_DiscardUnknown

func (m *DeleteInviteResponse) XXX_DiscardUnknown()

func (*DeleteInviteResponse) XXX_Marshal

func (m *DeleteInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteInviteResponse) XXX_Merge

func (m *DeleteInviteResponse) XXX_Merge(src proto.Message)

func (*DeleteInviteResponse) XXX_Size

func (m *DeleteInviteResponse) XXX_Size() int

func (*DeleteInviteResponse) XXX_Unmarshal

func (m *DeleteInviteResponse) XXX_Unmarshal(b []byte) error

type DeleteTokenRequest

type DeleteTokenRequest struct {
	Token                *wrappers.StringValue `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*DeleteTokenRequest) Descriptor

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

func (*DeleteTokenRequest) GetToken

func (m *DeleteTokenRequest) GetToken() *wrappers.StringValue

func (*DeleteTokenRequest) ProtoMessage

func (*DeleteTokenRequest) ProtoMessage()

func (*DeleteTokenRequest) Reset

func (m *DeleteTokenRequest) Reset()

func (*DeleteTokenRequest) String

func (m *DeleteTokenRequest) String() string

func (*DeleteTokenRequest) XXX_DiscardUnknown

func (m *DeleteTokenRequest) XXX_DiscardUnknown()

func (*DeleteTokenRequest) XXX_Marshal

func (m *DeleteTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTokenRequest) XXX_Merge

func (m *DeleteTokenRequest) XXX_Merge(src proto.Message)

func (*DeleteTokenRequest) XXX_Size

func (m *DeleteTokenRequest) XXX_Size() int

func (*DeleteTokenRequest) XXX_Unmarshal

func (m *DeleteTokenRequest) XXX_Unmarshal(b []byte) error

type DeleteTokenResponse

type DeleteTokenResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteTokenResponse) Descriptor

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

func (*DeleteTokenResponse) ProtoMessage

func (*DeleteTokenResponse) ProtoMessage()

func (*DeleteTokenResponse) Reset

func (m *DeleteTokenResponse) Reset()

func (*DeleteTokenResponse) String

func (m *DeleteTokenResponse) String() string

func (*DeleteTokenResponse) XXX_DiscardUnknown

func (m *DeleteTokenResponse) XXX_DiscardUnknown()

func (*DeleteTokenResponse) XXX_Marshal

func (m *DeleteTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTokenResponse) XXX_Merge

func (m *DeleteTokenResponse) XXX_Merge(src proto.Message)

func (*DeleteTokenResponse) XXX_Size

func (m *DeleteTokenResponse) XXX_Size() int

func (*DeleteTokenResponse) XXX_Unmarshal

func (m *DeleteTokenResponse) XXX_Unmarshal(b []byte) error

type Device

type Device struct {
	// The device ID is assigned by the backend.
	DeviceId *wrappers.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// This is the containing collection
	CollectionId *wrappers.StringValue `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device.
	// This is the primary identifier for your device on the network.
	Imsi *wrappers.StringValue `protobuf:"bytes,3,opt,name=imsi,proto3" json:"imsi,omitempty"`
	// The IMEI number is the unique ID for your hardware as seen by the network.
	// Obviously you might have a completely different view on things.
	Imei *wrappers.StringValue `protobuf:"bytes,4,opt,name=imei,proto3" json:"imei,omitempty"`
	// Tags are metadata for the device that you can set. These are just
	// strings.
	Tags map[string]string `` /* 149-byte string literal not displayed */
	// Network metadata for the device
	Network *NetworkMetadata `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// Firmware metadata for the device
	Firmware             *FirmwareMetadata `protobuf:"bytes,7,opt,name=firmware,proto3" json:"firmware,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Device object

func (*Device) Descriptor

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

func (*Device) GetCollectionId

func (m *Device) GetCollectionId() *wrappers.StringValue

func (*Device) GetDeviceId

func (m *Device) GetDeviceId() *wrappers.StringValue

func (*Device) GetFirmware

func (m *Device) GetFirmware() *FirmwareMetadata

func (*Device) GetImei

func (m *Device) GetImei() *wrappers.StringValue

func (*Device) GetImsi

func (m *Device) GetImsi() *wrappers.StringValue

func (*Device) GetNetwork

func (m *Device) GetNetwork() *NetworkMetadata

func (*Device) GetTags

func (m *Device) GetTags() map[string]string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) Reset

func (m *Device) Reset()

func (*Device) String

func (m *Device) String() string

func (*Device) XXX_DiscardUnknown

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal

func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Device) XXX_Merge

func (m *Device) XXX_Merge(src proto.Message)

func (*Device) XXX_Size

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal

func (m *Device) XXX_Unmarshal(b []byte) error

type DeviceMetadata

type DeviceMetadata struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeviceMetadata request object

func (*DeviceMetadata) Descriptor

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

func (*DeviceMetadata) ProtoMessage

func (*DeviceMetadata) ProtoMessage()

func (*DeviceMetadata) Reset

func (m *DeviceMetadata) Reset()

func (*DeviceMetadata) String

func (m *DeviceMetadata) String() string

func (*DeviceMetadata) XXX_DiscardUnknown

func (m *DeviceMetadata) XXX_DiscardUnknown()

func (*DeviceMetadata) XXX_Marshal

func (m *DeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceMetadata) XXX_Merge

func (m *DeviceMetadata) XXX_Merge(src proto.Message)

func (*DeviceMetadata) XXX_Size

func (m *DeviceMetadata) XXX_Size() int

func (*DeviceMetadata) XXX_Unmarshal

func (m *DeviceMetadata) XXX_Unmarshal(b []byte) error

type DeviceRequest

type DeviceRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	DeviceId             *wrappers.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*DeviceRequest) Descriptor

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

func (*DeviceRequest) GetCollectionId

func (m *DeviceRequest) GetCollectionId() *wrappers.StringValue

func (*DeviceRequest) GetDeviceId

func (m *DeviceRequest) GetDeviceId() *wrappers.StringValue

func (*DeviceRequest) ProtoMessage

func (*DeviceRequest) ProtoMessage()

func (*DeviceRequest) Reset

func (m *DeviceRequest) Reset()

func (*DeviceRequest) String

func (m *DeviceRequest) String() string

func (*DeviceRequest) XXX_DiscardUnknown

func (m *DeviceRequest) XXX_DiscardUnknown()

func (*DeviceRequest) XXX_Marshal

func (m *DeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceRequest) XXX_Merge

func (m *DeviceRequest) XXX_Merge(src proto.Message)

func (*DeviceRequest) XXX_Size

func (m *DeviceRequest) XXX_Size() int

func (*DeviceRequest) XXX_Unmarshal

func (m *DeviceRequest) XXX_Unmarshal(b []byte) error

type DumpedCollection

type DumpedCollection struct {
	Collection           *Collection     `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Devices              []*DumpedDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
	Outputs              []*Output       `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

The collection dump

func (*DumpedCollection) Descriptor

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

func (*DumpedCollection) GetCollection

func (m *DumpedCollection) GetCollection() *Collection

func (*DumpedCollection) GetDevices

func (m *DumpedCollection) GetDevices() []*DumpedDevice

func (*DumpedCollection) GetOutputs

func (m *DumpedCollection) GetOutputs() []*Output

func (*DumpedCollection) ProtoMessage

func (*DumpedCollection) ProtoMessage()

func (*DumpedCollection) Reset

func (m *DumpedCollection) Reset()

func (*DumpedCollection) String

func (m *DumpedCollection) String() string

func (*DumpedCollection) XXX_DiscardUnknown

func (m *DumpedCollection) XXX_DiscardUnknown()

func (*DumpedCollection) XXX_Marshal

func (m *DumpedCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpedCollection) XXX_Merge

func (m *DumpedCollection) XXX_Merge(src proto.Message)

func (*DumpedCollection) XXX_Size

func (m *DumpedCollection) XXX_Size() int

func (*DumpedCollection) XXX_Unmarshal

func (m *DumpedCollection) XXX_Unmarshal(b []byte) error

type DumpedDevice

type DumpedDevice struct {
	// The device itself
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// The data for the device
	Data                 []*OutputDataMessage `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The device dump

func (*DumpedDevice) Descriptor

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

func (*DumpedDevice) GetData

func (m *DumpedDevice) GetData() []*OutputDataMessage

func (*DumpedDevice) GetDevice

func (m *DumpedDevice) GetDevice() *Device

func (*DumpedDevice) ProtoMessage

func (*DumpedDevice) ProtoMessage()

func (*DumpedDevice) Reset

func (m *DumpedDevice) Reset()

func (*DumpedDevice) String

func (m *DumpedDevice) String() string

func (*DumpedDevice) XXX_DiscardUnknown

func (m *DumpedDevice) XXX_DiscardUnknown()

func (*DumpedDevice) XXX_Marshal

func (m *DumpedDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DumpedDevice) XXX_Merge

func (m *DumpedDevice) XXX_Merge(src proto.Message)

func (*DumpedDevice) XXX_Size

func (m *DumpedDevice) XXX_Size() int

func (*DumpedDevice) XXX_Unmarshal

func (m *DumpedDevice) XXX_Unmarshal(b []byte) error

type ErrorDetails

type ErrorDetails struct {
	Messages             map[string]string `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ErrorDetails) Descriptor

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

func (*ErrorDetails) GetMessages

func (m *ErrorDetails) GetMessages() map[string]string

func (*ErrorDetails) ProtoMessage

func (*ErrorDetails) ProtoMessage()

func (*ErrorDetails) Reset

func (m *ErrorDetails) Reset()

func (*ErrorDetails) String

func (m *ErrorDetails) String() string

func (*ErrorDetails) XXX_DiscardUnknown

func (m *ErrorDetails) XXX_DiscardUnknown()

func (*ErrorDetails) XXX_Marshal

func (m *ErrorDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorDetails) XXX_Merge

func (m *ErrorDetails) XXX_Merge(src proto.Message)

func (*ErrorDetails) XXX_Size

func (m *ErrorDetails) XXX_Size() int

func (*ErrorDetails) XXX_Unmarshal

func (m *ErrorDetails) XXX_Unmarshal(b []byte) error

type FieldMask

type FieldMask struct {
	Imsi                 *wrappers.BoolValue `protobuf:"bytes,1,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Imei                 *wrappers.BoolValue `protobuf:"bytes,2,opt,name=imei,proto3" json:"imei,omitempty"`
	Msisdn               *wrappers.BoolValue `protobuf:"bytes,3,opt,name=msisdn,proto3" json:"msisdn,omitempty"`
	Location             *wrappers.BoolValue `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Field mask settings

func (*FieldMask) Descriptor

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

func (*FieldMask) GetImei

func (m *FieldMask) GetImei() *wrappers.BoolValue

func (*FieldMask) GetImsi

func (m *FieldMask) GetImsi() *wrappers.BoolValue

func (*FieldMask) GetLocation

func (m *FieldMask) GetLocation() *wrappers.BoolValue

func (*FieldMask) GetMsisdn

func (m *FieldMask) GetMsisdn() *wrappers.BoolValue

func (*FieldMask) ProtoMessage

func (*FieldMask) ProtoMessage()

func (*FieldMask) Reset

func (m *FieldMask) Reset()

func (*FieldMask) String

func (m *FieldMask) String() string

func (*FieldMask) XXX_DiscardUnknown

func (m *FieldMask) XXX_DiscardUnknown()

func (*FieldMask) XXX_Marshal

func (m *FieldMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldMask) XXX_Merge

func (m *FieldMask) XXX_Merge(src proto.Message)

func (*FieldMask) XXX_Size

func (m *FieldMask) XXX_Size() int

func (*FieldMask) XXX_Unmarshal

func (m *FieldMask) XXX_Unmarshal(b []byte) error

type Firmware

type Firmware struct {
	ImageId              *wrappers.StringValue `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	Version              *wrappers.StringValue `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Filename             *wrappers.StringValue `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	Sha256               *wrappers.StringValue `protobuf:"bytes,4,opt,name=sha256,proto3" json:"sha256,omitempty"`
	Length               *wrappers.Int32Value  `protobuf:"bytes,5,opt,name=length,proto3" json:"length,omitempty"`
	CollectionId         *wrappers.StringValue `protobuf:"bytes,6,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	Created              *wrappers.Int64Value  `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Firmware) Descriptor

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

func (*Firmware) GetCollectionId

func (m *Firmware) GetCollectionId() *wrappers.StringValue

func (*Firmware) GetCreated

func (m *Firmware) GetCreated() *wrappers.Int64Value

func (*Firmware) GetFilename

func (m *Firmware) GetFilename() *wrappers.StringValue

func (*Firmware) GetImageId

func (m *Firmware) GetImageId() *wrappers.StringValue

func (*Firmware) GetLength

func (m *Firmware) GetLength() *wrappers.Int32Value

func (*Firmware) GetSha256

func (m *Firmware) GetSha256() *wrappers.StringValue

func (*Firmware) GetTags

func (m *Firmware) GetTags() map[string]string

func (*Firmware) GetVersion

func (m *Firmware) GetVersion() *wrappers.StringValue

func (*Firmware) ProtoMessage

func (*Firmware) ProtoMessage()

func (*Firmware) Reset

func (m *Firmware) Reset()

func (*Firmware) String

func (m *Firmware) String() string

func (*Firmware) XXX_DiscardUnknown

func (m *Firmware) XXX_DiscardUnknown()

func (*Firmware) XXX_Marshal

func (m *Firmware) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Firmware) XXX_Merge

func (m *Firmware) XXX_Merge(src proto.Message)

func (*Firmware) XXX_Size

func (m *Firmware) XXX_Size() int

func (*Firmware) XXX_Unmarshal

func (m *Firmware) XXX_Unmarshal(b []byte) error

type FirmwareMetadata

type FirmwareMetadata struct {
	CurrentFirmwareId    *wrappers.StringValue `protobuf:"bytes,1,opt,name=current_firmware_id,json=currentFirmwareId,proto3" json:"current_firmware_id,omitempty"`
	TargetFirmwareId     *wrappers.StringValue `protobuf:"bytes,2,opt,name=target_firmware_id,json=targetFirmwareId,proto3" json:"target_firmware_id,omitempty"`
	FirmwareVersion      *wrappers.StringValue `protobuf:"bytes,3,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	SerialNumber         *wrappers.StringValue `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	ModelNumber          *wrappers.StringValue `protobuf:"bytes,5,opt,name=model_number,json=modelNumber,proto3" json:"model_number,omitempty"`
	Manufacturer         *wrappers.StringValue `protobuf:"bytes,6,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	State                *wrappers.StringValue `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	StateMessage         *wrappers.StringValue `protobuf:"bytes,8,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

FirmwareMetadata object

func (*FirmwareMetadata) Descriptor

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

func (*FirmwareMetadata) GetCurrentFirmwareId

func (m *FirmwareMetadata) GetCurrentFirmwareId() *wrappers.StringValue

func (*FirmwareMetadata) GetFirmwareVersion

func (m *FirmwareMetadata) GetFirmwareVersion() *wrappers.StringValue

func (*FirmwareMetadata) GetManufacturer

func (m *FirmwareMetadata) GetManufacturer() *wrappers.StringValue

func (*FirmwareMetadata) GetModelNumber

func (m *FirmwareMetadata) GetModelNumber() *wrappers.StringValue

func (*FirmwareMetadata) GetSerialNumber

func (m *FirmwareMetadata) GetSerialNumber() *wrappers.StringValue

func (*FirmwareMetadata) GetState

func (m *FirmwareMetadata) GetState() *wrappers.StringValue

func (*FirmwareMetadata) GetStateMessage

func (m *FirmwareMetadata) GetStateMessage() *wrappers.StringValue

func (*FirmwareMetadata) GetTargetFirmwareId

func (m *FirmwareMetadata) GetTargetFirmwareId() *wrappers.StringValue

func (*FirmwareMetadata) ProtoMessage

func (*FirmwareMetadata) ProtoMessage()

func (*FirmwareMetadata) Reset

func (m *FirmwareMetadata) Reset()

func (*FirmwareMetadata) String

func (m *FirmwareMetadata) String() string

func (*FirmwareMetadata) XXX_DiscardUnknown

func (m *FirmwareMetadata) XXX_DiscardUnknown()

func (*FirmwareMetadata) XXX_Marshal

func (m *FirmwareMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareMetadata) XXX_Merge

func (m *FirmwareMetadata) XXX_Merge(src proto.Message)

func (*FirmwareMetadata) XXX_Size

func (m *FirmwareMetadata) XXX_Size() int

func (*FirmwareMetadata) XXX_Unmarshal

func (m *FirmwareMetadata) XXX_Unmarshal(b []byte) error

type FirmwareMetadata_FirmwareState

type FirmwareMetadata_FirmwareState int32

State of firmware. Note that this field is case sensitive. I'm sorry about this

const (
	FirmwareMetadata_Unknown      FirmwareMetadata_FirmwareState = 0
	FirmwareMetadata_Current      FirmwareMetadata_FirmwareState = 1
	FirmwareMetadata_Pending      FirmwareMetadata_FirmwareState = 2
	FirmwareMetadata_Initializing FirmwareMetadata_FirmwareState = 3
	FirmwareMetadata_TimedOut     FirmwareMetadata_FirmwareState = 4
	FirmwareMetadata_Error        FirmwareMetadata_FirmwareState = 5
	FirmwareMetadata_Downloading  FirmwareMetadata_FirmwareState = 6
	FirmwareMetadata_Downloaded   FirmwareMetadata_FirmwareState = 7
	FirmwareMetadata_Reverted     FirmwareMetadata_FirmwareState = 8
	FirmwareMetadata_UpdateFailed FirmwareMetadata_FirmwareState = 9
	FirmwareMetadata_Completed    FirmwareMetadata_FirmwareState = 10
)

func (FirmwareMetadata_FirmwareState) EnumDescriptor

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

func (FirmwareMetadata_FirmwareState) String

type FirmwareRequest

type FirmwareRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	ImageId              *wrappers.StringValue `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

########################################################################### Firmware resources ###########################################################################

func (*FirmwareRequest) Descriptor

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

func (*FirmwareRequest) GetCollectionId

func (m *FirmwareRequest) GetCollectionId() *wrappers.StringValue

func (*FirmwareRequest) GetImageId

func (m *FirmwareRequest) GetImageId() *wrappers.StringValue

func (*FirmwareRequest) ProtoMessage

func (*FirmwareRequest) ProtoMessage()

func (*FirmwareRequest) Reset

func (m *FirmwareRequest) Reset()

func (*FirmwareRequest) String

func (m *FirmwareRequest) String() string

func (*FirmwareRequest) XXX_DiscardUnknown

func (m *FirmwareRequest) XXX_DiscardUnknown()

func (*FirmwareRequest) XXX_Marshal

func (m *FirmwareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareRequest) XXX_Merge

func (m *FirmwareRequest) XXX_Merge(src proto.Message)

func (*FirmwareRequest) XXX_Size

func (m *FirmwareRequest) XXX_Size() int

func (*FirmwareRequest) XXX_Unmarshal

func (m *FirmwareRequest) XXX_Unmarshal(b []byte) error

type FirmwareUsageResponse

type FirmwareUsageResponse struct {
	ImageId              *wrappers.StringValue `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	Targeted             []string              `protobuf:"bytes,2,rep,name=targeted,proto3" json:"targeted,omitempty"`
	Current              []string              `protobuf:"bytes,3,rep,name=current,proto3" json:"current,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*FirmwareUsageResponse) Descriptor

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

func (*FirmwareUsageResponse) GetCurrent

func (m *FirmwareUsageResponse) GetCurrent() []string

func (*FirmwareUsageResponse) GetImageId

func (m *FirmwareUsageResponse) GetImageId() *wrappers.StringValue

func (*FirmwareUsageResponse) GetTargeted

func (m *FirmwareUsageResponse) GetTargeted() []string

func (*FirmwareUsageResponse) ProtoMessage

func (*FirmwareUsageResponse) ProtoMessage()

func (*FirmwareUsageResponse) Reset

func (m *FirmwareUsageResponse) Reset()

func (*FirmwareUsageResponse) String

func (m *FirmwareUsageResponse) String() string

func (*FirmwareUsageResponse) XXX_DiscardUnknown

func (m *FirmwareUsageResponse) XXX_DiscardUnknown()

func (*FirmwareUsageResponse) XXX_Marshal

func (m *FirmwareUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FirmwareUsageResponse) XXX_Merge

func (m *FirmwareUsageResponse) XXX_Merge(src proto.Message)

func (*FirmwareUsageResponse) XXX_Size

func (m *FirmwareUsageResponse) XXX_Size() int

func (*FirmwareUsageResponse) XXX_Unmarshal

func (m *FirmwareUsageResponse) XXX_Unmarshal(b []byte) error

type HordeClient

type HordeClient interface {
	// Create a new collection. The returned collection is the collection stored
	// in the backend. Defaults have been set. There are no required fields in a
	// collection
	CreateCollection(ctx context.Context, in *Collection, opts ...grpc.CallOption) (*Collection, error)
	// Update the collection
	UpdateCollection(ctx context.Context, in *Collection, opts ...grpc.CallOption) (*Collection, error)
	// Delete a collection. You must have read and write access to the collection
	DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*Collection, error)
	// List the collections you have access to.
	ListCollections(ctx context.Context, in *ListCollectionRequest, opts ...grpc.CallOption) (*ListCollectionResponse, error)
	// Retrieve a single collection
	RetrieveCollection(ctx context.Context, in *RetrieveCollectionRequest, opts ...grpc.CallOption) (*Collection, error)
	// List messages sent by the devices in this collection.
	ListCollectionMessages(ctx context.Context, in *ListMessagesRequest, opts ...grpc.CallOption) (*ListMessagesResponse, error)
	// Broadcast a message to all devices in the collection. This request will
	// always succeed if the collection exists, even if there are one or more send
	// errors. Individual errors are returned as an array of error messages in the
	// response. Use equivalent to resource for devices to send a message to
	// single device.
	BroadcastMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*MultiSendMessageResponse, error)
	// Get a stream of messages. If the device ID is set on the request the stream
	// will be limited to only messages from that particular device.
	MessageStream(ctx context.Context, in *MessageStreamRequest, opts ...grpc.CallOption) (Horde_MessageStreamClient, error)
	// List tags on collection.
	ListCollectionTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on token. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateCollectionTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetCollectionTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from the collection
	DeleteCollectionTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateCollectionTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Create a new device. This will add a device to the collection. You must
	// have write access to the collection.
	CreateDevice(ctx context.Context, in *Device, opts ...grpc.CallOption) (*Device, error)
	// Retrieve the device
	RetrieveDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*Device, error)
	// Update the device
	UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*Device, error)
	// Remove a device
	DeleteDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*Device, error)
	// List the devices
	ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	// List messages sent by the device
	ListDeviceMessages(ctx context.Context, in *ListMessagesRequest, opts ...grpc.CallOption) (*ListMessagesResponse, error)
	// Send a message to the device
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
	ClearFirmwareError(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*ClearFirmwareErrorResponse, error)
	// List tags on device.
	ListDeviceTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on device. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateDeviceTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetDeviceTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteDeviceTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateDeviceTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Create a new firmware image. This is also invoked by the custom HTTP
	// uploader if the POST uses multipart/formdata for the request.
	CreateFirmware(ctx context.Context, in *CreateFirmwareRequest, opts ...grpc.CallOption) (*Firmware, error)
	RetrieveFirmware(ctx context.Context, in *FirmwareRequest, opts ...grpc.CallOption) (*Firmware, error)
	UpdateFirmware(ctx context.Context, in *Firmware, opts ...grpc.CallOption) (*Firmware, error)
	DeleteFirmware(ctx context.Context, in *FirmwareRequest, opts ...grpc.CallOption) (*Firmware, error)
	ListFirmware(ctx context.Context, in *ListFirmwareRequest, opts ...grpc.CallOption) (*ListFirmwareResponse, error)
	FirmwareUsage(ctx context.Context, in *FirmwareRequest, opts ...grpc.CallOption) (*FirmwareUsageResponse, error)
	// List tags on firmware image.
	ListFirmwareTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on firmware images
	UpdateFirmwareTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetFirmwareTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteFirmwareTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateFirmwareTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Create a new output
	CreateOutput(ctx context.Context, in *Output, opts ...grpc.CallOption) (*Output, error)
	// Retrieve an output
	RetrieveOutput(ctx context.Context, in *OutputRequest, opts ...grpc.CallOption) (*Output, error)
	// Update output. Running outputs will be restarted if required. Note that
	// the collection ID can't be changed on an existing output.
	UpdateOutput(ctx context.Context, in *Output, opts ...grpc.CallOption) (*Output, error)
	// Delete output
	DeleteOutput(ctx context.Context, in *OutputRequest, opts ...grpc.CallOption) (*Output, error)
	// Get a list of outputs
	ListOutputs(ctx context.Context, in *ListOutputRequest, opts ...grpc.CallOption) (*ListOutputResponse, error)
	// Get logs for output
	Logs(ctx context.Context, in *OutputRequest, opts ...grpc.CallOption) (*OutputLogs, error)
	// Get output status
	Status(ctx context.Context, in *OutputRequest, opts ...grpc.CallOption) (*OutputStatus, error)
	// List tags on token.
	ListOutputTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on output.
	UpdateOutputTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetOutputTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteOutputTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateOutputTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Get system information
	GetSystemInfo(ctx context.Context, in *SystemInfoRequest, opts ...grpc.CallOption) (*SystemInfoResponse, error)
	// DataDump does a complete data dump of your data, devices, outputs and
	// collections.
	DataDump(ctx context.Context, in *DataDumpRequest, opts ...grpc.CallOption) (*DataDumpResponse, error)
	// Get the profile of the logged in user.
	GetUserProfile(ctx context.Context, in *UserProfileRequest, opts ...grpc.CallOption) (*UserProfile, error)
	// Create a new team.
	CreateTeam(ctx context.Context, in *Team, opts ...grpc.CallOption) (*Team, error)
	// Retrieve a team
	RetrieveTeam(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*Team, error)
	// List the team members.
	RetrieveTeamMembers(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*MemberList, error)
	// Retrieve a member of the team.
	RetrieveMember(ctx context.Context, in *MemberRequest, opts ...grpc.CallOption) (*Member, error)
	// Update member settings. You must be an administrator to do this.
	UpdateMember(ctx context.Context, in *Member, opts ...grpc.CallOption) (*Member, error)
	// Remove a member from the team. You must be an administrator to do this. You
	// can't remove yourself from the team.
	DeleteMember(ctx context.Context, in *MemberRequest, opts ...grpc.CallOption) (*Member, error)
	// Update the team. You must be an administrator of the team to edit it.
	UpdateTeam(ctx context.Context, in *Team, opts ...grpc.CallOption) (*Team, error)
	// Remove a team. You must be administrator for the team and the team can't
	// have any members besides you.
	DeleteTeam(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*Team, error)
	// List all teams that you are a member of.
	ListTeams(ctx context.Context, in *ListTeamRequest, opts ...grpc.CallOption) (*TeamList, error)
	// Genereate a new invite for the team
	GenerateInvite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*Invite, error)
	// List the invites generated for the team.
	ListInvites(ctx context.Context, in *TeamRequest, opts ...grpc.CallOption) (*InviteList, error)
	// Read a single invite from the team's set of non-redeemed invites.
	RetrieveInvite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*Invite, error)
	// Accept an invite from another user. This will add the currently logged in
	// user to the team as a regular memeber. When the invite is accepted it is
	// removed from the team's invites and cannot be reused.
	AcceptInvite(ctx context.Context, in *AcceptInviteRequest, opts ...grpc.CallOption) (*Team, error)
	// Delete an invite created earlier. You must be an administrator of the team
	// to perform this action
	DeleteInvite(ctx context.Context, in *InviteRequest, opts ...grpc.CallOption) (*DeleteInviteResponse, error)
	// List tags on team.
	ListTeamTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on team. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateTeamTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetTeamTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from the team.
	DeleteTeamTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateTeamTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	CreateToken(ctx context.Context, in *Token, opts ...grpc.CallOption) (*Token, error)
	DeleteToken(ctx context.Context, in *DeleteTokenRequest, opts ...grpc.CallOption) (*DeleteTokenResponse, error)
	ListTokens(ctx context.Context, in *ListTokenRequest, opts ...grpc.CallOption) (*TokenList, error)
	RetrieveToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*Token, error)
	UpdateToken(ctx context.Context, in *Token, opts ...grpc.CallOption) (*Token, error)
	// List tags on token.
	ListTokenTags(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Update tags on token. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateTokenTags(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*TagResponse, error)
	// Get the value of a particular tag
	GetTokenTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteTokenTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateTokenTag(ctx context.Context, in *TagRequest, opts ...grpc.CallOption) (*TagValueResponse, error)
}

HordeClient is the client API for Horde service.

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

func NewHordeClient

func NewHordeClient(cc *grpc.ClientConn) HordeClient

type HordeServer

type HordeServer interface {
	// Create a new collection. The returned collection is the collection stored
	// in the backend. Defaults have been set. There are no required fields in a
	// collection
	CreateCollection(context.Context, *Collection) (*Collection, error)
	// Update the collection
	UpdateCollection(context.Context, *Collection) (*Collection, error)
	// Delete a collection. You must have read and write access to the collection
	DeleteCollection(context.Context, *DeleteCollectionRequest) (*Collection, error)
	// List the collections you have access to.
	ListCollections(context.Context, *ListCollectionRequest) (*ListCollectionResponse, error)
	// Retrieve a single collection
	RetrieveCollection(context.Context, *RetrieveCollectionRequest) (*Collection, error)
	// List messages sent by the devices in this collection.
	ListCollectionMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
	// Broadcast a message to all devices in the collection. This request will
	// always succeed if the collection exists, even if there are one or more send
	// errors. Individual errors are returned as an array of error messages in the
	// response. Use equivalent to resource for devices to send a message to
	// single device.
	BroadcastMessage(context.Context, *SendMessageRequest) (*MultiSendMessageResponse, error)
	// Get a stream of messages. If the device ID is set on the request the stream
	// will be limited to only messages from that particular device.
	MessageStream(*MessageStreamRequest, Horde_MessageStreamServer) error
	// List tags on collection.
	ListCollectionTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on token. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateCollectionTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetCollectionTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from the collection
	DeleteCollectionTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateCollectionTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Create a new device. This will add a device to the collection. You must
	// have write access to the collection.
	CreateDevice(context.Context, *Device) (*Device, error)
	// Retrieve the device
	RetrieveDevice(context.Context, *DeviceRequest) (*Device, error)
	// Update the device
	UpdateDevice(context.Context, *UpdateDeviceRequest) (*Device, error)
	// Remove a device
	DeleteDevice(context.Context, *DeviceRequest) (*Device, error)
	// List the devices
	ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error)
	// List messages sent by the device
	ListDeviceMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
	// Send a message to the device
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	ClearFirmwareError(context.Context, *DeviceRequest) (*ClearFirmwareErrorResponse, error)
	// List tags on device.
	ListDeviceTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on device. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateDeviceTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetDeviceTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteDeviceTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateDeviceTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Create a new firmware image. This is also invoked by the custom HTTP
	// uploader if the POST uses multipart/formdata for the request.
	CreateFirmware(context.Context, *CreateFirmwareRequest) (*Firmware, error)
	RetrieveFirmware(context.Context, *FirmwareRequest) (*Firmware, error)
	UpdateFirmware(context.Context, *Firmware) (*Firmware, error)
	DeleteFirmware(context.Context, *FirmwareRequest) (*Firmware, error)
	ListFirmware(context.Context, *ListFirmwareRequest) (*ListFirmwareResponse, error)
	FirmwareUsage(context.Context, *FirmwareRequest) (*FirmwareUsageResponse, error)
	// List tags on firmware image.
	ListFirmwareTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on firmware images
	UpdateFirmwareTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetFirmwareTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteFirmwareTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateFirmwareTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Create a new output
	CreateOutput(context.Context, *Output) (*Output, error)
	// Retrieve an output
	RetrieveOutput(context.Context, *OutputRequest) (*Output, error)
	// Update output. Running outputs will be restarted if required. Note that
	// the collection ID can't be changed on an existing output.
	UpdateOutput(context.Context, *Output) (*Output, error)
	// Delete output
	DeleteOutput(context.Context, *OutputRequest) (*Output, error)
	// Get a list of outputs
	ListOutputs(context.Context, *ListOutputRequest) (*ListOutputResponse, error)
	// Get logs for output
	Logs(context.Context, *OutputRequest) (*OutputLogs, error)
	// Get output status
	Status(context.Context, *OutputRequest) (*OutputStatus, error)
	// List tags on token.
	ListOutputTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on output.
	UpdateOutputTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetOutputTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteOutputTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateOutputTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Get system information
	GetSystemInfo(context.Context, *SystemInfoRequest) (*SystemInfoResponse, error)
	// DataDump does a complete data dump of your data, devices, outputs and
	// collections.
	DataDump(context.Context, *DataDumpRequest) (*DataDumpResponse, error)
	// Get the profile of the logged in user.
	GetUserProfile(context.Context, *UserProfileRequest) (*UserProfile, error)
	// Create a new team.
	CreateTeam(context.Context, *Team) (*Team, error)
	// Retrieve a team
	RetrieveTeam(context.Context, *TeamRequest) (*Team, error)
	// List the team members.
	RetrieveTeamMembers(context.Context, *TeamRequest) (*MemberList, error)
	// Retrieve a member of the team.
	RetrieveMember(context.Context, *MemberRequest) (*Member, error)
	// Update member settings. You must be an administrator to do this.
	UpdateMember(context.Context, *Member) (*Member, error)
	// Remove a member from the team. You must be an administrator to do this. You
	// can't remove yourself from the team.
	DeleteMember(context.Context, *MemberRequest) (*Member, error)
	// Update the team. You must be an administrator of the team to edit it.
	UpdateTeam(context.Context, *Team) (*Team, error)
	// Remove a team. You must be administrator for the team and the team can't
	// have any members besides you.
	DeleteTeam(context.Context, *TeamRequest) (*Team, error)
	// List all teams that you are a member of.
	ListTeams(context.Context, *ListTeamRequest) (*TeamList, error)
	// Genereate a new invite for the team
	GenerateInvite(context.Context, *InviteRequest) (*Invite, error)
	// List the invites generated for the team.
	ListInvites(context.Context, *TeamRequest) (*InviteList, error)
	// Read a single invite from the team's set of non-redeemed invites.
	RetrieveInvite(context.Context, *InviteRequest) (*Invite, error)
	// Accept an invite from another user. This will add the currently logged in
	// user to the team as a regular memeber. When the invite is accepted it is
	// removed from the team's invites and cannot be reused.
	AcceptInvite(context.Context, *AcceptInviteRequest) (*Team, error)
	// Delete an invite created earlier. You must be an administrator of the team
	// to perform this action
	DeleteInvite(context.Context, *InviteRequest) (*DeleteInviteResponse, error)
	// List tags on team.
	ListTeamTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on team. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateTeamTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetTeamTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from the team.
	DeleteTeamTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateTeamTag(context.Context, *TagRequest) (*TagValueResponse, error)
	CreateToken(context.Context, *Token) (*Token, error)
	DeleteToken(context.Context, *DeleteTokenRequest) (*DeleteTokenResponse, error)
	ListTokens(context.Context, *ListTokenRequest) (*TokenList, error)
	RetrieveToken(context.Context, *TokenRequest) (*Token, error)
	UpdateToken(context.Context, *Token) (*Token, error)
	// List tags on token.
	ListTokenTags(context.Context, *TagRequest) (*TagResponse, error)
	// Update tags on token. This will add and update tags. Existing tags that
	// aren't updated or added will be kept. If a tag has a blank value it will
	// be removed.
	UpdateTokenTags(context.Context, *UpdateTagRequest) (*TagResponse, error)
	// Get the value of a particular tag
	GetTokenTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Delete a tag from its name.
	DeleteTokenTag(context.Context, *TagRequest) (*TagValueResponse, error)
	// Update a single tag value. If the tag value is empty the tag will be
	// removed.
	UpdateTokenTag(context.Context, *TagRequest) (*TagValueResponse, error)
}

HordeServer is the server API for Horde service.

type Horde_MessageStreamClient

type Horde_MessageStreamClient interface {
	Recv() (*OutputDataMessage, error)
	grpc.ClientStream
}

type Horde_MessageStreamServer

type Horde_MessageStreamServer interface {
	Send(*OutputDataMessage) error
	grpc.ServerStream
}

type Invite

type Invite struct {
	Code                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	CreatedAt            *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Invite) Descriptor

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

func (*Invite) GetCode

func (m *Invite) GetCode() *wrappers.StringValue

func (*Invite) GetCreatedAt

func (m *Invite) GetCreatedAt() *wrappers.DoubleValue

func (*Invite) ProtoMessage

func (*Invite) ProtoMessage()

func (*Invite) Reset

func (m *Invite) Reset()

func (*Invite) String

func (m *Invite) String() string

func (*Invite) XXX_DiscardUnknown

func (m *Invite) XXX_DiscardUnknown()

func (*Invite) XXX_Marshal

func (m *Invite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Invite) XXX_Merge

func (m *Invite) XXX_Merge(src proto.Message)

func (*Invite) XXX_Size

func (m *Invite) XXX_Size() int

func (*Invite) XXX_Unmarshal

func (m *Invite) XXX_Unmarshal(b []byte) error

type InviteList

type InviteList struct {
	Invites              []*Invite `protobuf:"bytes,1,rep,name=invites,proto3" json:"invites,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*InviteList) Descriptor

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

func (*InviteList) GetInvites

func (m *InviteList) GetInvites() []*Invite

func (*InviteList) ProtoMessage

func (*InviteList) ProtoMessage()

func (*InviteList) Reset

func (m *InviteList) Reset()

func (*InviteList) String

func (m *InviteList) String() string

func (*InviteList) XXX_DiscardUnknown

func (m *InviteList) XXX_DiscardUnknown()

func (*InviteList) XXX_Marshal

func (m *InviteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InviteList) XXX_Merge

func (m *InviteList) XXX_Merge(src proto.Message)

func (*InviteList) XXX_Size

func (m *InviteList) XXX_Size() int

func (*InviteList) XXX_Unmarshal

func (m *InviteList) XXX_Unmarshal(b []byte) error

type InviteRequest

type InviteRequest struct {
	TeamId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Code                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*InviteRequest) Descriptor

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

func (*InviteRequest) GetCode

func (m *InviteRequest) GetCode() *wrappers.StringValue

func (*InviteRequest) GetTeamId

func (m *InviteRequest) GetTeamId() *wrappers.StringValue

func (*InviteRequest) ProtoMessage

func (*InviteRequest) ProtoMessage()

func (*InviteRequest) Reset

func (m *InviteRequest) Reset()

func (*InviteRequest) String

func (m *InviteRequest) String() string

func (*InviteRequest) XXX_DiscardUnknown

func (m *InviteRequest) XXX_DiscardUnknown()

func (*InviteRequest) XXX_Marshal

func (m *InviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InviteRequest) XXX_Merge

func (m *InviteRequest) XXX_Merge(src proto.Message)

func (*InviteRequest) XXX_Size

func (m *InviteRequest) XXX_Size() int

func (*InviteRequest) XXX_Unmarshal

func (m *InviteRequest) XXX_Unmarshal(b []byte) error

type ListCollectionRequest

type ListCollectionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

List the collection you have access to

func (*ListCollectionRequest) Descriptor

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

func (*ListCollectionRequest) ProtoMessage

func (*ListCollectionRequest) ProtoMessage()

func (*ListCollectionRequest) Reset

func (m *ListCollectionRequest) Reset()

func (*ListCollectionRequest) String

func (m *ListCollectionRequest) String() string

func (*ListCollectionRequest) XXX_DiscardUnknown

func (m *ListCollectionRequest) XXX_DiscardUnknown()

func (*ListCollectionRequest) XXX_Marshal

func (m *ListCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCollectionRequest) XXX_Merge

func (m *ListCollectionRequest) XXX_Merge(src proto.Message)

func (*ListCollectionRequest) XXX_Size

func (m *ListCollectionRequest) XXX_Size() int

func (*ListCollectionRequest) XXX_Unmarshal

func (m *ListCollectionRequest) XXX_Unmarshal(b []byte) error

type ListCollectionResponse

type ListCollectionResponse struct {
	Collections          []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Collection list. The list contains all the collections you have access to.

func (*ListCollectionResponse) Descriptor

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

func (*ListCollectionResponse) GetCollections

func (m *ListCollectionResponse) GetCollections() []*Collection

func (*ListCollectionResponse) ProtoMessage

func (*ListCollectionResponse) ProtoMessage()

func (*ListCollectionResponse) Reset

func (m *ListCollectionResponse) Reset()

func (*ListCollectionResponse) String

func (m *ListCollectionResponse) String() string

func (*ListCollectionResponse) XXX_DiscardUnknown

func (m *ListCollectionResponse) XXX_DiscardUnknown()

func (*ListCollectionResponse) XXX_Marshal

func (m *ListCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListCollectionResponse) XXX_Merge

func (m *ListCollectionResponse) XXX_Merge(src proto.Message)

func (*ListCollectionResponse) XXX_Size

func (m *ListCollectionResponse) XXX_Size() int

func (*ListCollectionResponse) XXX_Unmarshal

func (m *ListCollectionResponse) XXX_Unmarshal(b []byte) error

type ListDevicesRequest

type ListDevicesRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListDevicesRequest) Descriptor

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

func (*ListDevicesRequest) GetCollectionId

func (m *ListDevicesRequest) GetCollectionId() *wrappers.StringValue

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) Reset

func (m *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (m *ListDevicesRequest) String() string

func (*ListDevicesRequest) XXX_DiscardUnknown

func (m *ListDevicesRequest) XXX_DiscardUnknown()

func (*ListDevicesRequest) XXX_Marshal

func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesRequest) XXX_Merge

func (m *ListDevicesRequest) XXX_Merge(src proto.Message)

func (*ListDevicesRequest) XXX_Size

func (m *ListDevicesRequest) XXX_Size() int

func (*ListDevicesRequest) XXX_Unmarshal

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

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices              []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ListDevicesResponse) Descriptor

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

func (*ListDevicesResponse) GetDevices

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

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) Reset

func (m *ListDevicesResponse) Reset()

func (*ListDevicesResponse) String

func (m *ListDevicesResponse) String() string

func (*ListDevicesResponse) XXX_DiscardUnknown

func (m *ListDevicesResponse) XXX_DiscardUnknown()

func (*ListDevicesResponse) XXX_Marshal

func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDevicesResponse) XXX_Merge

func (m *ListDevicesResponse) XXX_Merge(src proto.Message)

func (*ListDevicesResponse) XXX_Size

func (m *ListDevicesResponse) XXX_Size() int

func (*ListDevicesResponse) XXX_Unmarshal

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

type ListFirmwareRequest

type ListFirmwareRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListFirmwareRequest) Descriptor

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

func (*ListFirmwareRequest) GetCollectionId

func (m *ListFirmwareRequest) GetCollectionId() *wrappers.StringValue

func (*ListFirmwareRequest) ProtoMessage

func (*ListFirmwareRequest) ProtoMessage()

func (*ListFirmwareRequest) Reset

func (m *ListFirmwareRequest) Reset()

func (*ListFirmwareRequest) String

func (m *ListFirmwareRequest) String() string

func (*ListFirmwareRequest) XXX_DiscardUnknown

func (m *ListFirmwareRequest) XXX_DiscardUnknown()

func (*ListFirmwareRequest) XXX_Marshal

func (m *ListFirmwareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListFirmwareRequest) XXX_Merge

func (m *ListFirmwareRequest) XXX_Merge(src proto.Message)

func (*ListFirmwareRequest) XXX_Size

func (m *ListFirmwareRequest) XXX_Size() int

func (*ListFirmwareRequest) XXX_Unmarshal

func (m *ListFirmwareRequest) XXX_Unmarshal(b []byte) error

type ListFirmwareResponse

type ListFirmwareResponse struct {
	Images               []*Firmware `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ListFirmwareResponse) Descriptor

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

func (*ListFirmwareResponse) GetImages

func (m *ListFirmwareResponse) GetImages() []*Firmware

func (*ListFirmwareResponse) ProtoMessage

func (*ListFirmwareResponse) ProtoMessage()

func (*ListFirmwareResponse) Reset

func (m *ListFirmwareResponse) Reset()

func (*ListFirmwareResponse) String

func (m *ListFirmwareResponse) String() string

func (*ListFirmwareResponse) XXX_DiscardUnknown

func (m *ListFirmwareResponse) XXX_DiscardUnknown()

func (*ListFirmwareResponse) XXX_Marshal

func (m *ListFirmwareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListFirmwareResponse) XXX_Merge

func (m *ListFirmwareResponse) XXX_Merge(src proto.Message)

func (*ListFirmwareResponse) XXX_Size

func (m *ListFirmwareResponse) XXX_Size() int

func (*ListFirmwareResponse) XXX_Unmarshal

func (m *ListFirmwareResponse) XXX_Unmarshal(b []byte) error

type ListMessagesRequest

type ListMessagesRequest struct {
	// The collection to query
	CollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// The device ID. Ignored for requests on collection messages
	DeviceId *wrappers.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// The maximum number of messages to return. The default is 50. Absolute max
	// is 250.
	Limit *wrappers.Int32Value `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// Start time (in milliseconds since epoch)
	Since *wrappers.Int64Value `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"`
	// End time (in milliseconds since epoch)
	Until                *wrappers.Int64Value `protobuf:"bytes,5,opt,name=until,proto3" json:"until,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Consider splitting into two objects, one for device, one for collection

func (*ListMessagesRequest) Descriptor

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

func (*ListMessagesRequest) GetCollectionId

func (m *ListMessagesRequest) GetCollectionId() *wrappers.StringValue

func (*ListMessagesRequest) GetDeviceId

func (m *ListMessagesRequest) GetDeviceId() *wrappers.StringValue

func (*ListMessagesRequest) GetLimit

func (m *ListMessagesRequest) GetLimit() *wrappers.Int32Value

func (*ListMessagesRequest) GetSince

func (m *ListMessagesRequest) GetSince() *wrappers.Int64Value

func (*ListMessagesRequest) GetUntil

func (m *ListMessagesRequest) GetUntil() *wrappers.Int64Value

func (*ListMessagesRequest) ProtoMessage

func (*ListMessagesRequest) ProtoMessage()

func (*ListMessagesRequest) Reset

func (m *ListMessagesRequest) Reset()

func (*ListMessagesRequest) String

func (m *ListMessagesRequest) String() string

func (*ListMessagesRequest) XXX_DiscardUnknown

func (m *ListMessagesRequest) XXX_DiscardUnknown()

func (*ListMessagesRequest) XXX_Marshal

func (m *ListMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMessagesRequest) XXX_Merge

func (m *ListMessagesRequest) XXX_Merge(src proto.Message)

func (*ListMessagesRequest) XXX_Size

func (m *ListMessagesRequest) XXX_Size() int

func (*ListMessagesRequest) XXX_Unmarshal

func (m *ListMessagesRequest) XXX_Unmarshal(b []byte) error

type ListMessagesResponse

type ListMessagesResponse struct {
	Messages             []*OutputDataMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ListMessagesResponse) Descriptor

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

func (*ListMessagesResponse) GetMessages

func (m *ListMessagesResponse) GetMessages() []*OutputDataMessage

func (*ListMessagesResponse) ProtoMessage

func (*ListMessagesResponse) ProtoMessage()

func (*ListMessagesResponse) Reset

func (m *ListMessagesResponse) Reset()

func (*ListMessagesResponse) String

func (m *ListMessagesResponse) String() string

func (*ListMessagesResponse) XXX_DiscardUnknown

func (m *ListMessagesResponse) XXX_DiscardUnknown()

func (*ListMessagesResponse) XXX_Marshal

func (m *ListMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMessagesResponse) XXX_Merge

func (m *ListMessagesResponse) XXX_Merge(src proto.Message)

func (*ListMessagesResponse) XXX_Size

func (m *ListMessagesResponse) XXX_Size() int

func (*ListMessagesResponse) XXX_Unmarshal

func (m *ListMessagesResponse) XXX_Unmarshal(b []byte) error

type ListOutputRequest

type ListOutputRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListOutputRequest) Descriptor

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

func (*ListOutputRequest) GetCollectionId

func (m *ListOutputRequest) GetCollectionId() *wrappers.StringValue

func (*ListOutputRequest) ProtoMessage

func (*ListOutputRequest) ProtoMessage()

func (*ListOutputRequest) Reset

func (m *ListOutputRequest) Reset()

func (*ListOutputRequest) String

func (m *ListOutputRequest) String() string

func (*ListOutputRequest) XXX_DiscardUnknown

func (m *ListOutputRequest) XXX_DiscardUnknown()

func (*ListOutputRequest) XXX_Marshal

func (m *ListOutputRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOutputRequest) XXX_Merge

func (m *ListOutputRequest) XXX_Merge(src proto.Message)

func (*ListOutputRequest) XXX_Size

func (m *ListOutputRequest) XXX_Size() int

func (*ListOutputRequest) XXX_Unmarshal

func (m *ListOutputRequest) XXX_Unmarshal(b []byte) error

type ListOutputResponse

type ListOutputResponse struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	Outputs              []*Output             `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListOutputResponse) Descriptor

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

func (*ListOutputResponse) GetCollectionId

func (m *ListOutputResponse) GetCollectionId() *wrappers.StringValue

func (*ListOutputResponse) GetOutputs

func (m *ListOutputResponse) GetOutputs() []*Output

func (*ListOutputResponse) ProtoMessage

func (*ListOutputResponse) ProtoMessage()

func (*ListOutputResponse) Reset

func (m *ListOutputResponse) Reset()

func (*ListOutputResponse) String

func (m *ListOutputResponse) String() string

func (*ListOutputResponse) XXX_DiscardUnknown

func (m *ListOutputResponse) XXX_DiscardUnknown()

func (*ListOutputResponse) XXX_Marshal

func (m *ListOutputResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListOutputResponse) XXX_Merge

func (m *ListOutputResponse) XXX_Merge(src proto.Message)

func (*ListOutputResponse) XXX_Size

func (m *ListOutputResponse) XXX_Size() int

func (*ListOutputResponse) XXX_Unmarshal

func (m *ListOutputResponse) XXX_Unmarshal(b []byte) error

type ListTeamRequest

type ListTeamRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListTeamRequest) Descriptor

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

func (*ListTeamRequest) ProtoMessage

func (*ListTeamRequest) ProtoMessage()

func (*ListTeamRequest) Reset

func (m *ListTeamRequest) Reset()

func (*ListTeamRequest) String

func (m *ListTeamRequest) String() string

func (*ListTeamRequest) XXX_DiscardUnknown

func (m *ListTeamRequest) XXX_DiscardUnknown()

func (*ListTeamRequest) XXX_Marshal

func (m *ListTeamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTeamRequest) XXX_Merge

func (m *ListTeamRequest) XXX_Merge(src proto.Message)

func (*ListTeamRequest) XXX_Size

func (m *ListTeamRequest) XXX_Size() int

func (*ListTeamRequest) XXX_Unmarshal

func (m *ListTeamRequest) XXX_Unmarshal(b []byte) error

type ListTokenRequest

type ListTokenRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListTokenRequest) Descriptor

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

func (*ListTokenRequest) ProtoMessage

func (*ListTokenRequest) ProtoMessage()

func (*ListTokenRequest) Reset

func (m *ListTokenRequest) Reset()

func (*ListTokenRequest) String

func (m *ListTokenRequest) String() string

func (*ListTokenRequest) XXX_DiscardUnknown

func (m *ListTokenRequest) XXX_DiscardUnknown()

func (*ListTokenRequest) XXX_Marshal

func (m *ListTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTokenRequest) XXX_Merge

func (m *ListTokenRequest) XXX_Merge(src proto.Message)

func (*ListTokenRequest) XXX_Size

func (m *ListTokenRequest) XXX_Size() int

func (*ListTokenRequest) XXX_Unmarshal

func (m *ListTokenRequest) XXX_Unmarshal(b []byte) error

type Member

type Member struct {
	UserId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TeamId               *wrappers.StringValue `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Role                 *wrappers.StringValue `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	Name                 *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Email                *wrappers.StringValue `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Phone                *wrappers.StringValue `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	AvatarUrl            *wrappers.StringValue `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	ConnectId            *wrappers.StringValue `protobuf:"bytes,8,opt,name=connect_id,json=connectId,proto3" json:"connect_id,omitempty"`
	GitHubLogin          *wrappers.StringValue `protobuf:"bytes,9,opt,name=git_hub_login,json=gitHubLogin,proto3" json:"git_hub_login,omitempty"`
	VerifiedEmail        *wrappers.BoolValue   `protobuf:"bytes,10,opt,name=verified_email,json=verifiedEmail,proto3" json:"verified_email,omitempty"`
	VerifiedPhone        *wrappers.BoolValue   `protobuf:"bytes,11,opt,name=verified_phone,json=verifiedPhone,proto3" json:"verified_phone,omitempty"`
	AuthType             *wrappers.StringValue `protobuf:"bytes,12,opt,name=auth_type,json=authType,proto3" json:"auth_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Member) Descriptor

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

func (*Member) GetAuthType

func (m *Member) GetAuthType() *wrappers.StringValue

func (*Member) GetAvatarUrl

func (m *Member) GetAvatarUrl() *wrappers.StringValue

func (*Member) GetConnectId

func (m *Member) GetConnectId() *wrappers.StringValue

func (*Member) GetEmail

func (m *Member) GetEmail() *wrappers.StringValue

func (*Member) GetGitHubLogin

func (m *Member) GetGitHubLogin() *wrappers.StringValue

func (*Member) GetName

func (m *Member) GetName() *wrappers.StringValue

func (*Member) GetPhone

func (m *Member) GetPhone() *wrappers.StringValue

func (*Member) GetRole

func (m *Member) GetRole() *wrappers.StringValue

func (*Member) GetTeamId

func (m *Member) GetTeamId() *wrappers.StringValue

func (*Member) GetUserId

func (m *Member) GetUserId() *wrappers.StringValue

func (*Member) GetVerifiedEmail

func (m *Member) GetVerifiedEmail() *wrappers.BoolValue

func (*Member) GetVerifiedPhone

func (m *Member) GetVerifiedPhone() *wrappers.BoolValue

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) String

func (m *Member) String() string

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

type MemberList

type MemberList struct {
	Members              []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*MemberList) Descriptor

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

func (*MemberList) GetMembers

func (m *MemberList) GetMembers() []*Member

func (*MemberList) ProtoMessage

func (*MemberList) ProtoMessage()

func (*MemberList) Reset

func (m *MemberList) Reset()

func (*MemberList) String

func (m *MemberList) String() string

func (*MemberList) XXX_DiscardUnknown

func (m *MemberList) XXX_DiscardUnknown()

func (*MemberList) XXX_Marshal

func (m *MemberList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberList) XXX_Merge

func (m *MemberList) XXX_Merge(src proto.Message)

func (*MemberList) XXX_Size

func (m *MemberList) XXX_Size() int

func (*MemberList) XXX_Unmarshal

func (m *MemberList) XXX_Unmarshal(b []byte) error

type MemberRequest

type MemberRequest struct {
	TeamId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	UserId               *wrappers.StringValue `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MemberRequest) Descriptor

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

func (*MemberRequest) GetTeamId

func (m *MemberRequest) GetTeamId() *wrappers.StringValue

func (*MemberRequest) GetUserId

func (m *MemberRequest) GetUserId() *wrappers.StringValue

func (*MemberRequest) ProtoMessage

func (*MemberRequest) ProtoMessage()

func (*MemberRequest) Reset

func (m *MemberRequest) Reset()

func (*MemberRequest) String

func (m *MemberRequest) String() string

func (*MemberRequest) XXX_DiscardUnknown

func (m *MemberRequest) XXX_DiscardUnknown()

func (*MemberRequest) XXX_Marshal

func (m *MemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberRequest) XXX_Merge

func (m *MemberRequest) XXX_Merge(src proto.Message)

func (*MemberRequest) XXX_Size

func (m *MemberRequest) XXX_Size() int

func (*MemberRequest) XXX_Unmarshal

func (m *MemberRequest) XXX_Unmarshal(b []byte) error

type MessageSendResult

type MessageSendResult struct {
	DeviceId             *wrappers.StringValue `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Message              *wrappers.StringValue `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Error reported when message has failed to send to a device

func (*MessageSendResult) Descriptor

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

func (*MessageSendResult) GetDeviceId

func (m *MessageSendResult) GetDeviceId() *wrappers.StringValue

func (*MessageSendResult) GetMessage

func (m *MessageSendResult) GetMessage() *wrappers.StringValue

func (*MessageSendResult) ProtoMessage

func (*MessageSendResult) ProtoMessage()

func (*MessageSendResult) Reset

func (m *MessageSendResult) Reset()

func (*MessageSendResult) String

func (m *MessageSendResult) String() string

func (*MessageSendResult) XXX_DiscardUnknown

func (m *MessageSendResult) XXX_DiscardUnknown()

func (*MessageSendResult) XXX_Marshal

func (m *MessageSendResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageSendResult) XXX_Merge

func (m *MessageSendResult) XXX_Merge(src proto.Message)

func (*MessageSendResult) XXX_Size

func (m *MessageSendResult) XXX_Size() int

func (*MessageSendResult) XXX_Unmarshal

func (m *MessageSendResult) XXX_Unmarshal(b []byte) error

type MessageStreamRequest

type MessageStreamRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	DeviceId             *wrappers.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MessageStreamRequest) Descriptor

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

func (*MessageStreamRequest) GetCollectionId

func (m *MessageStreamRequest) GetCollectionId() *wrappers.StringValue

func (*MessageStreamRequest) GetDeviceId

func (m *MessageStreamRequest) GetDeviceId() *wrappers.StringValue

func (*MessageStreamRequest) ProtoMessage

func (*MessageStreamRequest) ProtoMessage()

func (*MessageStreamRequest) Reset

func (m *MessageStreamRequest) Reset()

func (*MessageStreamRequest) String

func (m *MessageStreamRequest) String() string

func (*MessageStreamRequest) XXX_DiscardUnknown

func (m *MessageStreamRequest) XXX_DiscardUnknown()

func (*MessageStreamRequest) XXX_Marshal

func (m *MessageStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageStreamRequest) XXX_Merge

func (m *MessageStreamRequest) XXX_Merge(src proto.Message)

func (*MessageStreamRequest) XXX_Size

func (m *MessageStreamRequest) XXX_Size() int

func (*MessageStreamRequest) XXX_Unmarshal

func (m *MessageStreamRequest) XXX_Unmarshal(b []byte) error

type MultiSendMessageResponse

type MultiSendMessageResponse struct {
	Errors               []*MessageSendResult `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	Sent                 int32                `protobuf:"varint,2,opt,name=sent,proto3" json:"sent,omitempty"`
	Failed               int32                `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Broadcast message result. The errors array contains the list of errors ocurred when sending a message.

func (*MultiSendMessageResponse) Descriptor

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

func (*MultiSendMessageResponse) GetErrors

func (m *MultiSendMessageResponse) GetErrors() []*MessageSendResult

func (*MultiSendMessageResponse) GetFailed

func (m *MultiSendMessageResponse) GetFailed() int32

func (*MultiSendMessageResponse) GetSent

func (m *MultiSendMessageResponse) GetSent() int32

func (*MultiSendMessageResponse) ProtoMessage

func (*MultiSendMessageResponse) ProtoMessage()

func (*MultiSendMessageResponse) Reset

func (m *MultiSendMessageResponse) Reset()

func (*MultiSendMessageResponse) String

func (m *MultiSendMessageResponse) String() string

func (*MultiSendMessageResponse) XXX_DiscardUnknown

func (m *MultiSendMessageResponse) XXX_DiscardUnknown()

func (*MultiSendMessageResponse) XXX_Marshal

func (m *MultiSendMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiSendMessageResponse) XXX_Merge

func (m *MultiSendMessageResponse) XXX_Merge(src proto.Message)

func (*MultiSendMessageResponse) XXX_Size

func (m *MultiSendMessageResponse) XXX_Size() int

func (*MultiSendMessageResponse) XXX_Unmarshal

func (m *MultiSendMessageResponse) XXX_Unmarshal(b []byte) error

type NetworkMetadata

type NetworkMetadata struct {
	// The network metadata for devices.
	AllocatedIp          *wrappers.StringValue `protobuf:"bytes,1,opt,name=allocated_ip,json=allocatedIp,proto3" json:"allocated_ip,omitempty"`
	AllocatedAt          *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=allocated_at,json=allocatedAt,proto3" json:"allocated_at,omitempty"`
	CellId               *wrappers.Int64Value  `protobuf:"bytes,3,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

NetworkMetadata object

func (*NetworkMetadata) Descriptor

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

func (*NetworkMetadata) GetAllocatedAt

func (m *NetworkMetadata) GetAllocatedAt() *wrappers.DoubleValue

func (*NetworkMetadata) GetAllocatedIp

func (m *NetworkMetadata) GetAllocatedIp() *wrappers.StringValue

func (*NetworkMetadata) GetCellId

func (m *NetworkMetadata) GetCellId() *wrappers.Int64Value

func (*NetworkMetadata) ProtoMessage

func (*NetworkMetadata) ProtoMessage()

func (*NetworkMetadata) Reset

func (m *NetworkMetadata) Reset()

func (*NetworkMetadata) String

func (m *NetworkMetadata) String() string

func (*NetworkMetadata) XXX_DiscardUnknown

func (m *NetworkMetadata) XXX_DiscardUnknown()

func (*NetworkMetadata) XXX_Marshal

func (m *NetworkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkMetadata) XXX_Merge

func (m *NetworkMetadata) XXX_Merge(src proto.Message)

func (*NetworkMetadata) XXX_Size

func (m *NetworkMetadata) XXX_Size() int

func (*NetworkMetadata) XXX_Unmarshal

func (m *NetworkMetadata) XXX_Unmarshal(b []byte) error

type Output

type Output struct {
	OutputId             *wrappers.StringValue `protobuf:"bytes,1,opt,name=output_id,json=outputId,proto3" json:"output_id,omitempty"`
	CollectionId         *wrappers.StringValue `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	Type                 Output_Type           `protobuf:"varint,3,opt,name=type,proto3,enum=apipb.Output_Type" json:"type,omitempty"`
	Config               *OutputConfig         `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
	Enabled              *wrappers.BoolValue   `protobuf:"bytes,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Output resource. Configuration

func (*Output) Descriptor

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

func (*Output) GetCollectionId

func (m *Output) GetCollectionId() *wrappers.StringValue

func (*Output) GetConfig

func (m *Output) GetConfig() *OutputConfig

func (*Output) GetEnabled

func (m *Output) GetEnabled() *wrappers.BoolValue

func (*Output) GetOutputId

func (m *Output) GetOutputId() *wrappers.StringValue

func (*Output) GetTags

func (m *Output) GetTags() map[string]string

func (*Output) GetType

func (m *Output) GetType() Output_Type

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) Reset

func (m *Output) Reset()

func (*Output) String

func (m *Output) String() string

func (*Output) XXX_DiscardUnknown

func (m *Output) XXX_DiscardUnknown()

func (*Output) XXX_Marshal

func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Output) XXX_Merge

func (m *Output) XXX_Merge(src proto.Message)

func (*Output) XXX_Size

func (m *Output) XXX_Size() int

func (*Output) XXX_Unmarshal

func (m *Output) XXX_Unmarshal(b []byte) error

type OutputConfig

type OutputConfig struct {
	// Webhook configuration: URL for host
	Url *wrappers.StringValue `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Webhook configuration: Basic authorization user name
	BasicAuthUser *wrappers.StringValue `protobuf:"bytes,2,opt,name=basic_auth_user,json=basicAuthUser,proto3" json:"basic_auth_user,omitempty"`
	// Webhook configuration: Basic authorization password
	BasicAuthPass *wrappers.StringValue `protobuf:"bytes,3,opt,name=basic_auth_pass,json=basicAuthPass,proto3" json:"basic_auth_pass,omitempty"`
	// Webhook configuration: Custom header name for request
	CustomHeaderName *wrappers.StringValue `protobuf:"bytes,4,opt,name=custom_header_name,json=customHeaderName,proto3" json:"custom_header_name,omitempty"`
	// Webhook configuration: Custom header value
	CustomHeaderValue *wrappers.StringValue `protobuf:"bytes,5,opt,name=custom_header_value,json=customHeaderValue,proto3" json:"custom_header_value,omitempty"`
	// UDP configuration: Host name
	Host *wrappers.StringValue `protobuf:"bytes,6,opt,name=host,proto3" json:"host,omitempty"`
	// UDP configuration: Port number
	Port *wrappers.Int32Value `protobuf:"bytes,7,opt,name=port,proto3" json:"port,omitempty"`
	// IFTTT configuration: Key to use
	Key *wrappers.StringValue `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"`
	// IFTTT configuration: Event name
	EventName *wrappers.StringValue `protobuf:"bytes,9,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	// IFTTT configuration: Send payload as is. Base64 is the default
	AsIsPayload *wrappers.BoolValue `protobuf:"bytes,10,opt,name=as_is_payload,json=asIsPayload,proto3" json:"as_is_payload,omitempty"`
	// MQTT configuration: Name of endpoint (use tcp:// for unencrypted, tls://
	// for TLS. TLS is the default)
	Endpoint *wrappers.StringValue `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// MQTT configuration: Disable certificate checks. Default is off.
	DisableCertCheck *wrappers.BoolValue `protobuf:"bytes,12,opt,name=disable_cert_check,json=disableCertCheck,proto3" json:"disable_cert_check,omitempty"`
	// MQTT configuration: Username for MQTT broker
	Username *wrappers.StringValue `protobuf:"bytes,13,opt,name=username,proto3" json:"username,omitempty"`
	// MQTT configuration: Password for broker
	Password *wrappers.StringValue `protobuf:"bytes,14,opt,name=password,proto3" json:"password,omitempty"`
	// MQTT configuration: Client ID
	ClientId *wrappers.StringValue `protobuf:"bytes,15,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// MQTT configuration: Topic name
	TopicName            *wrappers.StringValue `protobuf:"bytes,16,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Output configuration.

func (*OutputConfig) Descriptor

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

func (*OutputConfig) GetAsIsPayload

func (m *OutputConfig) GetAsIsPayload() *wrappers.BoolValue

func (*OutputConfig) GetBasicAuthPass

func (m *OutputConfig) GetBasicAuthPass() *wrappers.StringValue

func (*OutputConfig) GetBasicAuthUser

func (m *OutputConfig) GetBasicAuthUser() *wrappers.StringValue

func (*OutputConfig) GetClientId

func (m *OutputConfig) GetClientId() *wrappers.StringValue

func (*OutputConfig) GetCustomHeaderName

func (m *OutputConfig) GetCustomHeaderName() *wrappers.StringValue

func (*OutputConfig) GetCustomHeaderValue

func (m *OutputConfig) GetCustomHeaderValue() *wrappers.StringValue

func (*OutputConfig) GetDisableCertCheck

func (m *OutputConfig) GetDisableCertCheck() *wrappers.BoolValue

func (*OutputConfig) GetEndpoint

func (m *OutputConfig) GetEndpoint() *wrappers.StringValue

func (*OutputConfig) GetEventName

func (m *OutputConfig) GetEventName() *wrappers.StringValue

func (*OutputConfig) GetHost

func (m *OutputConfig) GetHost() *wrappers.StringValue

func (*OutputConfig) GetKey

func (m *OutputConfig) GetKey() *wrappers.StringValue

func (*OutputConfig) GetPassword

func (m *OutputConfig) GetPassword() *wrappers.StringValue

func (*OutputConfig) GetPort

func (m *OutputConfig) GetPort() *wrappers.Int32Value

func (*OutputConfig) GetTopicName

func (m *OutputConfig) GetTopicName() *wrappers.StringValue

func (*OutputConfig) GetUrl

func (m *OutputConfig) GetUrl() *wrappers.StringValue

func (*OutputConfig) GetUsername

func (m *OutputConfig) GetUsername() *wrappers.StringValue

func (*OutputConfig) ProtoMessage

func (*OutputConfig) ProtoMessage()

func (*OutputConfig) Reset

func (m *OutputConfig) Reset()

func (*OutputConfig) String

func (m *OutputConfig) String() string

func (*OutputConfig) XXX_DiscardUnknown

func (m *OutputConfig) XXX_DiscardUnknown()

func (*OutputConfig) XXX_Marshal

func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputConfig) XXX_Merge

func (m *OutputConfig) XXX_Merge(src proto.Message)

func (*OutputConfig) XXX_Size

func (m *OutputConfig) XXX_Size() int

func (*OutputConfig) XXX_Unmarshal

func (m *OutputConfig) XXX_Unmarshal(b []byte) error

type OutputDataMessage

type OutputDataMessage struct {
	Type                 OutputDataMessage_OutputMessageType `protobuf:"varint,1,opt,name=type,proto3,enum=apipb.OutputDataMessage_OutputMessageType" json:"type,omitempty"`
	Device               *Device                             `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	Payload              []byte                              `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	Received             *wrappers.DoubleValue               `protobuf:"bytes,4,opt,name=received,proto3" json:"received,omitempty"`
	Transport            string                              `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"`
	UdpMetaData          *UDPMetadata                        `protobuf:"bytes,6,opt,name=udp_meta_data,json=udpMetaData,proto3" json:"udp_meta_data,omitempty"`
	CoapMetaData         *CoAPMetadata                       `protobuf:"bytes,7,opt,name=coap_meta_data,json=coapMetaData,proto3" json:"coap_meta_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

The output data message contains payload plus metadata for a payload received from a device.

func (*OutputDataMessage) Descriptor

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

func (*OutputDataMessage) GetCoapMetaData

func (m *OutputDataMessage) GetCoapMetaData() *CoAPMetadata

func (*OutputDataMessage) GetDevice

func (m *OutputDataMessage) GetDevice() *Device

func (*OutputDataMessage) GetPayload

func (m *OutputDataMessage) GetPayload() []byte

func (*OutputDataMessage) GetReceived

func (m *OutputDataMessage) GetReceived() *wrappers.DoubleValue

func (*OutputDataMessage) GetTransport

func (m *OutputDataMessage) GetTransport() string

func (*OutputDataMessage) GetType

func (*OutputDataMessage) GetUdpMetaData

func (m *OutputDataMessage) GetUdpMetaData() *UDPMetadata

func (*OutputDataMessage) ProtoMessage

func (*OutputDataMessage) ProtoMessage()

func (*OutputDataMessage) Reset

func (m *OutputDataMessage) Reset()

func (*OutputDataMessage) String

func (m *OutputDataMessage) String() string

func (*OutputDataMessage) XXX_DiscardUnknown

func (m *OutputDataMessage) XXX_DiscardUnknown()

func (*OutputDataMessage) XXX_Marshal

func (m *OutputDataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputDataMessage) XXX_Merge

func (m *OutputDataMessage) XXX_Merge(src proto.Message)

func (*OutputDataMessage) XXX_Size

func (m *OutputDataMessage) XXX_Size() int

func (*OutputDataMessage) XXX_Unmarshal

func (m *OutputDataMessage) XXX_Unmarshal(b []byte) error

type OutputDataMessage_OutputMessageType

type OutputDataMessage_OutputMessageType int32
const (
	OutputDataMessage_unknown   OutputDataMessage_OutputMessageType = 0
	OutputDataMessage_keepalive OutputDataMessage_OutputMessageType = 1
	OutputDataMessage_data      OutputDataMessage_OutputMessageType = 2
)

func (OutputDataMessage_OutputMessageType) EnumDescriptor

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

func (OutputDataMessage_OutputMessageType) String

type OutputLogEntry

type OutputLogEntry struct {
	Time                 *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	Message              *wrappers.StringValue `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Repeated             *wrappers.Int32Value  `protobuf:"bytes,3,opt,name=repeated,proto3" json:"repeated,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*OutputLogEntry) Descriptor

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

func (*OutputLogEntry) GetMessage

func (m *OutputLogEntry) GetMessage() *wrappers.StringValue

func (*OutputLogEntry) GetRepeated

func (m *OutputLogEntry) GetRepeated() *wrappers.Int32Value

func (*OutputLogEntry) GetTime

func (m *OutputLogEntry) GetTime() *wrappers.DoubleValue

func (*OutputLogEntry) ProtoMessage

func (*OutputLogEntry) ProtoMessage()

func (*OutputLogEntry) Reset

func (m *OutputLogEntry) Reset()

func (*OutputLogEntry) String

func (m *OutputLogEntry) String() string

func (*OutputLogEntry) XXX_DiscardUnknown

func (m *OutputLogEntry) XXX_DiscardUnknown()

func (*OutputLogEntry) XXX_Marshal

func (m *OutputLogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputLogEntry) XXX_Merge

func (m *OutputLogEntry) XXX_Merge(src proto.Message)

func (*OutputLogEntry) XXX_Size

func (m *OutputLogEntry) XXX_Size() int

func (*OutputLogEntry) XXX_Unmarshal

func (m *OutputLogEntry) XXX_Unmarshal(b []byte) error

type OutputLogs

type OutputLogs struct {
	Logs                 []*OutputLogEntry `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*OutputLogs) Descriptor

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

func (*OutputLogs) GetLogs

func (m *OutputLogs) GetLogs() []*OutputLogEntry

func (*OutputLogs) ProtoMessage

func (*OutputLogs) ProtoMessage()

func (*OutputLogs) Reset

func (m *OutputLogs) Reset()

func (*OutputLogs) String

func (m *OutputLogs) String() string

func (*OutputLogs) XXX_DiscardUnknown

func (m *OutputLogs) XXX_DiscardUnknown()

func (*OutputLogs) XXX_Marshal

func (m *OutputLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputLogs) XXX_Merge

func (m *OutputLogs) XXX_Merge(src proto.Message)

func (*OutputLogs) XXX_Size

func (m *OutputLogs) XXX_Size() int

func (*OutputLogs) XXX_Unmarshal

func (m *OutputLogs) XXX_Unmarshal(b []byte) error

type OutputRequest

type OutputRequest struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	OutputId             *wrappers.StringValue `protobuf:"bytes,2,opt,name=output_id,json=outputId,proto3" json:"output_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*OutputRequest) Descriptor

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

func (*OutputRequest) GetCollectionId

func (m *OutputRequest) GetCollectionId() *wrappers.StringValue

func (*OutputRequest) GetOutputId

func (m *OutputRequest) GetOutputId() *wrappers.StringValue

func (*OutputRequest) ProtoMessage

func (*OutputRequest) ProtoMessage()

func (*OutputRequest) Reset

func (m *OutputRequest) Reset()

func (*OutputRequest) String

func (m *OutputRequest) String() string

func (*OutputRequest) XXX_DiscardUnknown

func (m *OutputRequest) XXX_DiscardUnknown()

func (*OutputRequest) XXX_Marshal

func (m *OutputRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputRequest) XXX_Merge

func (m *OutputRequest) XXX_Merge(src proto.Message)

func (*OutputRequest) XXX_Size

func (m *OutputRequest) XXX_Size() int

func (*OutputRequest) XXX_Unmarshal

func (m *OutputRequest) XXX_Unmarshal(b []byte) error

type OutputStatus

type OutputStatus struct {
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	OutputId             *wrappers.StringValue `protobuf:"bytes,2,opt,name=output_id,json=outputId,proto3" json:"output_id,omitempty"`
	Enabled              *wrappers.BoolValue   `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ErrorCount           *wrappers.Int32Value  `protobuf:"bytes,4,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
	Forwarded            *wrappers.Int32Value  `protobuf:"bytes,5,opt,name=forwarded,proto3" json:"forwarded,omitempty"`
	Received             *wrappers.Int32Value  `protobuf:"bytes,6,opt,name=received,proto3" json:"received,omitempty"`
	Retransmits          *wrappers.Int32Value  `protobuf:"bytes,7,opt,name=retransmits,proto3" json:"retransmits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*OutputStatus) Descriptor

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

func (*OutputStatus) GetCollectionId

func (m *OutputStatus) GetCollectionId() *wrappers.StringValue

func (*OutputStatus) GetEnabled

func (m *OutputStatus) GetEnabled() *wrappers.BoolValue

func (*OutputStatus) GetErrorCount

func (m *OutputStatus) GetErrorCount() *wrappers.Int32Value

func (*OutputStatus) GetForwarded

func (m *OutputStatus) GetForwarded() *wrappers.Int32Value

func (*OutputStatus) GetOutputId

func (m *OutputStatus) GetOutputId() *wrappers.StringValue

func (*OutputStatus) GetReceived

func (m *OutputStatus) GetReceived() *wrappers.Int32Value

func (*OutputStatus) GetRetransmits

func (m *OutputStatus) GetRetransmits() *wrappers.Int32Value

func (*OutputStatus) ProtoMessage

func (*OutputStatus) ProtoMessage()

func (*OutputStatus) Reset

func (m *OutputStatus) Reset()

func (*OutputStatus) String

func (m *OutputStatus) String() string

func (*OutputStatus) XXX_DiscardUnknown

func (m *OutputStatus) XXX_DiscardUnknown()

func (*OutputStatus) XXX_Marshal

func (m *OutputStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputStatus) XXX_Merge

func (m *OutputStatus) XXX_Merge(src proto.Message)

func (*OutputStatus) XXX_Size

func (m *OutputStatus) XXX_Size() int

func (*OutputStatus) XXX_Unmarshal

func (m *OutputStatus) XXX_Unmarshal(b []byte) error

type Output_Type

type Output_Type int32
const (
	// The undefined output type is an invalid type
	Output_undefined Output_Type = 0
	Output_webhook   Output_Type = 1
	Output_udp       Output_Type = 2
	Output_mqtt      Output_Type = 3
	Output_ifttt     Output_Type = 4
)

func (Output_Type) EnumDescriptor

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

func (Output_Type) String

func (x Output_Type) String() string

type RetrieveCollectionRequest

type RetrieveCollectionRequest struct {
	// The collection ID of the collection you are requesting
	CollectionId         *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Retrieve a single collection

func (*RetrieveCollectionRequest) Descriptor

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

func (*RetrieveCollectionRequest) GetCollectionId

func (m *RetrieveCollectionRequest) GetCollectionId() *wrappers.StringValue

func (*RetrieveCollectionRequest) ProtoMessage

func (*RetrieveCollectionRequest) ProtoMessage()

func (*RetrieveCollectionRequest) Reset

func (m *RetrieveCollectionRequest) Reset()

func (*RetrieveCollectionRequest) String

func (m *RetrieveCollectionRequest) String() string

func (*RetrieveCollectionRequest) XXX_DiscardUnknown

func (m *RetrieveCollectionRequest) XXX_DiscardUnknown()

func (*RetrieveCollectionRequest) XXX_Marshal

func (m *RetrieveCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RetrieveCollectionRequest) XXX_Merge

func (m *RetrieveCollectionRequest) XXX_Merge(src proto.Message)

func (*RetrieveCollectionRequest) XXX_Size

func (m *RetrieveCollectionRequest) XXX_Size() int

func (*RetrieveCollectionRequest) XXX_Unmarshal

func (m *RetrieveCollectionRequest) XXX_Unmarshal(b []byte) error

type SendMessageRequest

type SendMessageRequest struct {
	CollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	DeviceId     *wrappers.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Port         *wrappers.Int32Value  `protobuf:"bytes,3,opt,name=port,proto3" json:"port,omitempty"`
	Payload      []byte                `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// Valid transports are "udp", "coap", "coap-pull", "udp-pull", "coap-push",
	// "udp-push".
	// "udp" is equivalent to "udp-push" and "coap" is equivalent to "coap-push".
	// Push messages are sent unsolicited to the device wheil pull messages are
	// sent whenever the device wither sends data upstream (for UDP) or does a
	// CoAP request to the CoAP service in Horde.
	Transport            *wrappers.StringValue `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"`
	CoapPath             *wrappers.StringValue `protobuf:"bytes,6,opt,name=coap_path,json=coapPath,proto3" json:"coap_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Send a message to one or more devices

func (*SendMessageRequest) Descriptor

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

func (*SendMessageRequest) GetCoapPath

func (m *SendMessageRequest) GetCoapPath() *wrappers.StringValue

func (*SendMessageRequest) GetCollectionId

func (m *SendMessageRequest) GetCollectionId() *wrappers.StringValue

func (*SendMessageRequest) GetDeviceId

func (m *SendMessageRequest) GetDeviceId() *wrappers.StringValue

func (*SendMessageRequest) GetPayload

func (m *SendMessageRequest) GetPayload() []byte

func (*SendMessageRequest) GetPort

func (m *SendMessageRequest) GetPort() *wrappers.Int32Value

func (*SendMessageRequest) GetTransport

func (m *SendMessageRequest) GetTransport() *wrappers.StringValue

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) Reset

func (m *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (m *SendMessageRequest) String() string

func (*SendMessageRequest) XXX_DiscardUnknown

func (m *SendMessageRequest) XXX_DiscardUnknown()

func (*SendMessageRequest) XXX_Marshal

func (m *SendMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessageRequest) XXX_Merge

func (m *SendMessageRequest) XXX_Merge(src proto.Message)

func (*SendMessageRequest) XXX_Size

func (m *SendMessageRequest) XXX_Size() int

func (*SendMessageRequest) XXX_Unmarshal

func (m *SendMessageRequest) XXX_Unmarshal(b []byte) error

type SendMessageResponse

type SendMessageResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendMessageResponse) Descriptor

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

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) Reset

func (m *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (m *SendMessageResponse) String() string

func (*SendMessageResponse) XXX_DiscardUnknown

func (m *SendMessageResponse) XXX_DiscardUnknown()

func (*SendMessageResponse) XXX_Marshal

func (m *SendMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendMessageResponse) XXX_Merge

func (m *SendMessageResponse) XXX_Merge(src proto.Message)

func (*SendMessageResponse) XXX_Size

func (m *SendMessageResponse) XXX_Size() int

func (*SendMessageResponse) XXX_Unmarshal

func (m *SendMessageResponse) XXX_Unmarshal(b []byte) error

type SystemInfoRequest

type SystemInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SystemInfoRequest) Descriptor

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

func (*SystemInfoRequest) ProtoMessage

func (*SystemInfoRequest) ProtoMessage()

func (*SystemInfoRequest) Reset

func (m *SystemInfoRequest) Reset()

func (*SystemInfoRequest) String

func (m *SystemInfoRequest) String() string

func (*SystemInfoRequest) XXX_DiscardUnknown

func (m *SystemInfoRequest) XXX_DiscardUnknown()

func (*SystemInfoRequest) XXX_Marshal

func (m *SystemInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfoRequest) XXX_Merge

func (m *SystemInfoRequest) XXX_Merge(src proto.Message)

func (*SystemInfoRequest) XXX_Size

func (m *SystemInfoRequest) XXX_Size() int

func (*SystemInfoRequest) XXX_Unmarshal

func (m *SystemInfoRequest) XXX_Unmarshal(b []byte) error

type SystemInfoResponse

type SystemInfoResponse struct {
	Version              *wrappers.StringValue `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	BuildDate            *wrappers.StringValue `protobuf:"bytes,2,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	ReleaseName          *wrappers.StringValue `protobuf:"bytes,3,opt,name=release_name,json=releaseName,proto3" json:"release_name,omitempty"`
	DefaultFieldMask     *FieldMask            `protobuf:"bytes,4,opt,name=default_field_mask,json=defaultFieldMask,proto3" json:"default_field_mask,omitempty"`
	ForcedFieldMask      *FieldMask            `protobuf:"bytes,5,opt,name=forced_field_mask,json=forcedFieldMask,proto3" json:"forced_field_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

System information structure

func (*SystemInfoResponse) Descriptor

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

func (*SystemInfoResponse) GetBuildDate

func (m *SystemInfoResponse) GetBuildDate() *wrappers.StringValue

func (*SystemInfoResponse) GetDefaultFieldMask

func (m *SystemInfoResponse) GetDefaultFieldMask() *FieldMask

func (*SystemInfoResponse) GetForcedFieldMask

func (m *SystemInfoResponse) GetForcedFieldMask() *FieldMask

func (*SystemInfoResponse) GetReleaseName

func (m *SystemInfoResponse) GetReleaseName() *wrappers.StringValue

func (*SystemInfoResponse) GetVersion

func (m *SystemInfoResponse) GetVersion() *wrappers.StringValue

func (*SystemInfoResponse) ProtoMessage

func (*SystemInfoResponse) ProtoMessage()

func (*SystemInfoResponse) Reset

func (m *SystemInfoResponse) Reset()

func (*SystemInfoResponse) String

func (m *SystemInfoResponse) String() string

func (*SystemInfoResponse) XXX_DiscardUnknown

func (m *SystemInfoResponse) XXX_DiscardUnknown()

func (*SystemInfoResponse) XXX_Marshal

func (m *SystemInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemInfoResponse) XXX_Merge

func (m *SystemInfoResponse) XXX_Merge(src proto.Message)

func (*SystemInfoResponse) XXX_Size

func (m *SystemInfoResponse) XXX_Size() int

func (*SystemInfoResponse) XXX_Unmarshal

func (m *SystemInfoResponse) XXX_Unmarshal(b []byte) error

type TagRequest

type TagRequest struct {
	Identifier           *wrappers.StringValue `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Name                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value                *wrappers.StringValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	CollectionId         *wrappers.StringValue `protobuf:"bytes,4,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TagRequest) Descriptor

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

func (*TagRequest) GetCollectionId

func (m *TagRequest) GetCollectionId() *wrappers.StringValue

func (*TagRequest) GetIdentifier

func (m *TagRequest) GetIdentifier() *wrappers.StringValue

func (*TagRequest) GetName

func (m *TagRequest) GetName() *wrappers.StringValue

func (*TagRequest) GetValue

func (m *TagRequest) GetValue() *wrappers.StringValue

func (*TagRequest) ProtoMessage

func (*TagRequest) ProtoMessage()

func (*TagRequest) Reset

func (m *TagRequest) Reset()

func (*TagRequest) String

func (m *TagRequest) String() string

func (*TagRequest) XXX_DiscardUnknown

func (m *TagRequest) XXX_DiscardUnknown()

func (*TagRequest) XXX_Marshal

func (m *TagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagRequest) XXX_Merge

func (m *TagRequest) XXX_Merge(src proto.Message)

func (*TagRequest) XXX_Size

func (m *TagRequest) XXX_Size() int

func (*TagRequest) XXX_Unmarshal

func (m *TagRequest) XXX_Unmarshal(b []byte) error

type TagResponse

type TagResponse struct {
	Tags                 map[string]string `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Tag types

func (*TagResponse) Descriptor

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

func (*TagResponse) GetTags

func (m *TagResponse) GetTags() map[string]string

func (*TagResponse) ProtoMessage

func (*TagResponse) ProtoMessage()

func (*TagResponse) Reset

func (m *TagResponse) Reset()

func (*TagResponse) String

func (m *TagResponse) String() string

func (*TagResponse) XXX_DiscardUnknown

func (m *TagResponse) XXX_DiscardUnknown()

func (*TagResponse) XXX_Marshal

func (m *TagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagResponse) XXX_Merge

func (m *TagResponse) XXX_Merge(src proto.Message)

func (*TagResponse) XXX_Size

func (m *TagResponse) XXX_Size() int

func (*TagResponse) XXX_Unmarshal

func (m *TagResponse) XXX_Unmarshal(b []byte) error

type TagValueResponse

type TagValueResponse struct {
	Value                *wrappers.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TagValueResponse) Descriptor

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

func (*TagValueResponse) GetValue

func (m *TagValueResponse) GetValue() *wrappers.StringValue

func (*TagValueResponse) ProtoMessage

func (*TagValueResponse) ProtoMessage()

func (*TagValueResponse) Reset

func (m *TagValueResponse) Reset()

func (*TagValueResponse) String

func (m *TagValueResponse) String() string

func (*TagValueResponse) XXX_DiscardUnknown

func (m *TagValueResponse) XXX_DiscardUnknown()

func (*TagValueResponse) XXX_Marshal

func (m *TagValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TagValueResponse) XXX_Merge

func (m *TagValueResponse) XXX_Merge(src proto.Message)

func (*TagValueResponse) XXX_Size

func (m *TagValueResponse) XXX_Size() int

func (*TagValueResponse) XXX_Unmarshal

func (m *TagValueResponse) XXX_Unmarshal(b []byte) error

type Team

type Team struct {
	TeamId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	Members              []*Member             `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Team) Descriptor

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

func (*Team) GetMembers

func (m *Team) GetMembers() []*Member

func (*Team) GetTags

func (m *Team) GetTags() map[string]string

func (*Team) GetTeamId

func (m *Team) GetTeamId() *wrappers.StringValue

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) String

func (m *Team) String() string

func (*Team) XXX_DiscardUnknown

func (m *Team) XXX_DiscardUnknown()

func (*Team) XXX_Marshal

func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Team) XXX_Merge

func (m *Team) XXX_Merge(src proto.Message)

func (*Team) XXX_Size

func (m *Team) XXX_Size() int

func (*Team) XXX_Unmarshal

func (m *Team) XXX_Unmarshal(b []byte) error

type TeamList

type TeamList struct {
	Teams                []*Team  `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TeamList) Descriptor

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

func (*TeamList) GetTeams

func (m *TeamList) GetTeams() []*Team

func (*TeamList) ProtoMessage

func (*TeamList) ProtoMessage()

func (*TeamList) Reset

func (m *TeamList) Reset()

func (*TeamList) String

func (m *TeamList) String() string

func (*TeamList) XXX_DiscardUnknown

func (m *TeamList) XXX_DiscardUnknown()

func (*TeamList) XXX_Marshal

func (m *TeamList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamList) XXX_Merge

func (m *TeamList) XXX_Merge(src proto.Message)

func (*TeamList) XXX_Size

func (m *TeamList) XXX_Size() int

func (*TeamList) XXX_Unmarshal

func (m *TeamList) XXX_Unmarshal(b []byte) error

type TeamRequest

type TeamRequest struct {
	TeamId               *wrappers.StringValue `protobuf:"bytes,1,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TeamRequest) Descriptor

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

func (*TeamRequest) GetTeamId

func (m *TeamRequest) GetTeamId() *wrappers.StringValue

func (*TeamRequest) ProtoMessage

func (*TeamRequest) ProtoMessage()

func (*TeamRequest) Reset

func (m *TeamRequest) Reset()

func (*TeamRequest) String

func (m *TeamRequest) String() string

func (*TeamRequest) XXX_DiscardUnknown

func (m *TeamRequest) XXX_DiscardUnknown()

func (*TeamRequest) XXX_Marshal

func (m *TeamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TeamRequest) XXX_Merge

func (m *TeamRequest) XXX_Merge(src proto.Message)

func (*TeamRequest) XXX_Size

func (m *TeamRequest) XXX_Size() int

func (*TeamRequest) XXX_Unmarshal

func (m *TeamRequest) XXX_Unmarshal(b []byte) error

type Token

type Token struct {
	Resource             *wrappers.StringValue `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Write                *wrappers.BoolValue   `protobuf:"bytes,2,opt,name=write,proto3" json:"write,omitempty"`
	Token                *wrappers.StringValue `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Token) Descriptor

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

func (*Token) GetResource

func (m *Token) GetResource() *wrappers.StringValue

func (*Token) GetTags

func (m *Token) GetTags() map[string]string

func (*Token) GetToken

func (m *Token) GetToken() *wrappers.StringValue

func (*Token) GetWrite

func (m *Token) GetWrite() *wrappers.BoolValue

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) Reset

func (m *Token) Reset()

func (*Token) String

func (m *Token) String() string

func (*Token) XXX_DiscardUnknown

func (m *Token) XXX_DiscardUnknown()

func (*Token) XXX_Marshal

func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Token) XXX_Merge

func (m *Token) XXX_Merge(src proto.Message)

func (*Token) XXX_Size

func (m *Token) XXX_Size() int

func (*Token) XXX_Unmarshal

func (m *Token) XXX_Unmarshal(b []byte) error

type TokenList

type TokenList struct {
	Tokens               []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TokenList) Descriptor

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

func (*TokenList) GetTokens

func (m *TokenList) GetTokens() []*Token

func (*TokenList) ProtoMessage

func (*TokenList) ProtoMessage()

func (*TokenList) Reset

func (m *TokenList) Reset()

func (*TokenList) String

func (m *TokenList) String() string

func (*TokenList) XXX_DiscardUnknown

func (m *TokenList) XXX_DiscardUnknown()

func (*TokenList) XXX_Marshal

func (m *TokenList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenList) XXX_Merge

func (m *TokenList) XXX_Merge(src proto.Message)

func (*TokenList) XXX_Size

func (m *TokenList) XXX_Size() int

func (*TokenList) XXX_Unmarshal

func (m *TokenList) XXX_Unmarshal(b []byte) error

type TokenRequest

type TokenRequest struct {
	Token                *wrappers.StringValue `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TokenRequest) Descriptor

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

func (*TokenRequest) GetToken

func (m *TokenRequest) GetToken() *wrappers.StringValue

func (*TokenRequest) ProtoMessage

func (*TokenRequest) ProtoMessage()

func (*TokenRequest) Reset

func (m *TokenRequest) Reset()

func (*TokenRequest) String

func (m *TokenRequest) String() string

func (*TokenRequest) XXX_DiscardUnknown

func (m *TokenRequest) XXX_DiscardUnknown()

func (*TokenRequest) XXX_Marshal

func (m *TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRequest) XXX_Merge

func (m *TokenRequest) XXX_Merge(src proto.Message)

func (*TokenRequest) XXX_Size

func (m *TokenRequest) XXX_Size() int

func (*TokenRequest) XXX_Unmarshal

func (m *TokenRequest) XXX_Unmarshal(b []byte) error

type UDPMetadata

type UDPMetadata struct {
	LocalPort            *wrappers.Int32Value `protobuf:"bytes,1,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
	RemotePort           *wrappers.Int32Value `protobuf:"bytes,2,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*UDPMetadata) Descriptor

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

func (*UDPMetadata) GetLocalPort

func (m *UDPMetadata) GetLocalPort() *wrappers.Int32Value

func (*UDPMetadata) GetRemotePort

func (m *UDPMetadata) GetRemotePort() *wrappers.Int32Value

func (*UDPMetadata) ProtoMessage

func (*UDPMetadata) ProtoMessage()

func (*UDPMetadata) Reset

func (m *UDPMetadata) Reset()

func (*UDPMetadata) String

func (m *UDPMetadata) String() string

func (*UDPMetadata) XXX_DiscardUnknown

func (m *UDPMetadata) XXX_DiscardUnknown()

func (*UDPMetadata) XXX_Marshal

func (m *UDPMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UDPMetadata) XXX_Merge

func (m *UDPMetadata) XXX_Merge(src proto.Message)

func (*UDPMetadata) XXX_Size

func (m *UDPMetadata) XXX_Size() int

func (*UDPMetadata) XXX_Unmarshal

func (m *UDPMetadata) XXX_Unmarshal(b []byte) error

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	ExistingCollectionId *wrappers.StringValue `protobuf:"bytes,1,opt,name=existing_collection_id,json=existingCollectionId,proto3" json:"existing_collection_id,omitempty"`
	DeviceId             *wrappers.StringValue `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// The collection id for the device. This field is optional and can be
	// omitted if the collection id isn't changed. When changing to a new
	// collection you must be an owner of the other collection, ie an
	// administrator of the team that owns the new collection.
	CollectionId *wrappers.StringValue `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	// The IMSI is the unique ID for the (e|nu|whatever)SIM card on your device.
	// This is the primary identifier for your device on the network.
	Imsi *wrappers.StringValue `protobuf:"bytes,4,opt,name=imsi,proto3" json:"imsi,omitempty"`
	// The IMEI number is the unique ID for your hardware as seen by the network.
	// Obviously you might have a completely different view on things.
	Imei *wrappers.StringValue `protobuf:"bytes,5,opt,name=imei,proto3" json:"imei,omitempty"`
	// Tags are metadata for the device that you can set. These are just
	// strings.
	Tags map[string]string `` /* 149-byte string literal not displayed */
	// Firmware metadata for the device
	Firmware             *FirmwareMetadata `protobuf:"bytes,7,opt,name=firmware,proto3" json:"firmware,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

Updating the device

func (*UpdateDeviceRequest) Descriptor

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

func (*UpdateDeviceRequest) GetCollectionId

func (m *UpdateDeviceRequest) GetCollectionId() *wrappers.StringValue

func (*UpdateDeviceRequest) GetDeviceId

func (m *UpdateDeviceRequest) GetDeviceId() *wrappers.StringValue

func (*UpdateDeviceRequest) GetExistingCollectionId

func (m *UpdateDeviceRequest) GetExistingCollectionId() *wrappers.StringValue

func (*UpdateDeviceRequest) GetFirmware

func (m *UpdateDeviceRequest) GetFirmware() *FirmwareMetadata

func (*UpdateDeviceRequest) GetImei

func (*UpdateDeviceRequest) GetImsi

func (*UpdateDeviceRequest) GetTags

func (m *UpdateDeviceRequest) GetTags() map[string]string

func (*UpdateDeviceRequest) ProtoMessage

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) Reset

func (m *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) String

func (m *UpdateDeviceRequest) String() string

func (*UpdateDeviceRequest) XXX_DiscardUnknown

func (m *UpdateDeviceRequest) XXX_DiscardUnknown()

func (*UpdateDeviceRequest) XXX_Marshal

func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDeviceRequest) XXX_Merge

func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message)

func (*UpdateDeviceRequest) XXX_Size

func (m *UpdateDeviceRequest) XXX_Size() int

func (*UpdateDeviceRequest) XXX_Unmarshal

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

type UpdateTagRequest

type UpdateTagRequest struct {
	Identifier           *wrappers.StringValue `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Tags                 map[string]string     `` /* 149-byte string literal not displayed */
	CollectionId         *wrappers.StringValue `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UpdateTagRequest) Descriptor

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

func (*UpdateTagRequest) GetCollectionId

func (m *UpdateTagRequest) GetCollectionId() *wrappers.StringValue

func (*UpdateTagRequest) GetIdentifier

func (m *UpdateTagRequest) GetIdentifier() *wrappers.StringValue

func (*UpdateTagRequest) GetTags

func (m *UpdateTagRequest) GetTags() map[string]string

func (*UpdateTagRequest) ProtoMessage

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) Reset

func (m *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String

func (m *UpdateTagRequest) String() string

func (*UpdateTagRequest) XXX_DiscardUnknown

func (m *UpdateTagRequest) XXX_DiscardUnknown()

func (*UpdateTagRequest) XXX_Marshal

func (m *UpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTagRequest) XXX_Merge

func (m *UpdateTagRequest) XXX_Merge(src proto.Message)

func (*UpdateTagRequest) XXX_Size

func (m *UpdateTagRequest) XXX_Size() int

func (*UpdateTagRequest) XXX_Unmarshal

func (m *UpdateTagRequest) XXX_Unmarshal(b []byte) error

type UserProfile

type UserProfile struct {
	Email                *wrappers.StringValue `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Phone                *wrappers.StringValue `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	VerifiedEmail        *wrappers.BoolValue   `protobuf:"bytes,3,opt,name=verified_email,json=verifiedEmail,proto3" json:"verified_email,omitempty"`
	VerifiedPhone        *wrappers.BoolValue   `protobuf:"bytes,4,opt,name=verified_phone,json=verifiedPhone,proto3" json:"verified_phone,omitempty"`
	AvatarUrl            *wrappers.StringValue `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Name                 *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	ProfileUrl           *wrappers.StringValue `protobuf:"bytes,7,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"`
	GithubLogin          *wrappers.StringValue `protobuf:"bytes,82,opt,name=github_login,json=githubLogin,proto3" json:"github_login,omitempty"`
	Provider             *wrappers.StringValue `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"`
	LogoutUrl            *wrappers.StringValue `protobuf:"bytes,10,opt,name=logout_url,json=logoutUrl,proto3" json:"logout_url,omitempty"`
	ConnectId            *wrappers.StringValue `protobuf:"bytes,11,opt,name=connect_id,json=connectId,proto3" json:"connect_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Your user profile. You can change the contents of the user profile via the log in service you are using.

func (*UserProfile) Descriptor

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

func (*UserProfile) GetAvatarUrl

func (m *UserProfile) GetAvatarUrl() *wrappers.StringValue

func (*UserProfile) GetConnectId

func (m *UserProfile) GetConnectId() *wrappers.StringValue

func (*UserProfile) GetEmail

func (m *UserProfile) GetEmail() *wrappers.StringValue

func (*UserProfile) GetGithubLogin

func (m *UserProfile) GetGithubLogin() *wrappers.StringValue

func (*UserProfile) GetLogoutUrl

func (m *UserProfile) GetLogoutUrl() *wrappers.StringValue

func (*UserProfile) GetName

func (m *UserProfile) GetName() *wrappers.StringValue

func (*UserProfile) GetPhone

func (m *UserProfile) GetPhone() *wrappers.StringValue

func (*UserProfile) GetProfileUrl

func (m *UserProfile) GetProfileUrl() *wrappers.StringValue

func (*UserProfile) GetProvider

func (m *UserProfile) GetProvider() *wrappers.StringValue

func (*UserProfile) GetVerifiedEmail

func (m *UserProfile) GetVerifiedEmail() *wrappers.BoolValue

func (*UserProfile) GetVerifiedPhone

func (m *UserProfile) GetVerifiedPhone() *wrappers.BoolValue

func (*UserProfile) ProtoMessage

func (*UserProfile) ProtoMessage()

func (*UserProfile) Reset

func (m *UserProfile) Reset()

func (*UserProfile) String

func (m *UserProfile) String() string

func (*UserProfile) XXX_DiscardUnknown

func (m *UserProfile) XXX_DiscardUnknown()

func (*UserProfile) XXX_Marshal

func (m *UserProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserProfile) XXX_Merge

func (m *UserProfile) XXX_Merge(src proto.Message)

func (*UserProfile) XXX_Size

func (m *UserProfile) XXX_Size() int

func (*UserProfile) XXX_Unmarshal

func (m *UserProfile) XXX_Unmarshal(b []byte) error

type UserProfileRequest

type UserProfileRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserProfileRequest) Descriptor

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

func (*UserProfileRequest) ProtoMessage

func (*UserProfileRequest) ProtoMessage()

func (*UserProfileRequest) Reset

func (m *UserProfileRequest) Reset()

func (*UserProfileRequest) String

func (m *UserProfileRequest) String() string

func (*UserProfileRequest) XXX_DiscardUnknown

func (m *UserProfileRequest) XXX_DiscardUnknown()

func (*UserProfileRequest) XXX_Marshal

func (m *UserProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserProfileRequest) XXX_Merge

func (m *UserProfileRequest) XXX_Merge(src proto.Message)

func (*UserProfileRequest) XXX_Size

func (m *UserProfileRequest) XXX_Size() int

func (*UserProfileRequest) XXX_Unmarshal

func (m *UserProfileRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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