api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateGatewayRequest

type CreateGatewayRequest struct {
	// Gateway object to create.
	Gateway              *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateGatewayRequest) Descriptor

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

func (*CreateGatewayRequest) GetGateway

func (m *CreateGatewayRequest) GetGateway() *Gateway

func (*CreateGatewayRequest) ProtoMessage

func (*CreateGatewayRequest) ProtoMessage()

func (*CreateGatewayRequest) Reset

func (m *CreateGatewayRequest) Reset()

func (*CreateGatewayRequest) String

func (m *CreateGatewayRequest) String() string

func (*CreateGatewayRequest) XXX_DiscardUnknown

func (m *CreateGatewayRequest) XXX_DiscardUnknown()

func (*CreateGatewayRequest) XXX_Marshal

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

func (*CreateGatewayRequest) XXX_Merge

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

func (*CreateGatewayRequest) XXX_Size

func (m *CreateGatewayRequest) XXX_Size() int

func (*CreateGatewayRequest) XXX_Unmarshal

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

type DeleteGatewayRequest

type DeleteGatewayRequest struct {
	// Gateway ID (HEX encoded).
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteGatewayRequest) Descriptor

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

func (*DeleteGatewayRequest) GetId

func (m *DeleteGatewayRequest) GetId() string

func (*DeleteGatewayRequest) ProtoMessage

func (*DeleteGatewayRequest) ProtoMessage()

func (*DeleteGatewayRequest) Reset

func (m *DeleteGatewayRequest) Reset()

func (*DeleteGatewayRequest) String

func (m *DeleteGatewayRequest) String() string

func (*DeleteGatewayRequest) XXX_DiscardUnknown

func (m *DeleteGatewayRequest) XXX_DiscardUnknown()

func (*DeleteGatewayRequest) XXX_Marshal

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

func (*DeleteGatewayRequest) XXX_Merge

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

func (*DeleteGatewayRequest) XXX_Size

func (m *DeleteGatewayRequest) XXX_Size() int

func (*DeleteGatewayRequest) XXX_Unmarshal

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

type Gateway

type Gateway struct {
	// Gateway ID (HEX encoded).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Gateway name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Gateway description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Gateway location.
	Location *common.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// Organization ID to which the gateway belongs.
	// This can't be changed after creating the gateway.
	OrganizationId int64 `protobuf:"varint,5,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Set to true to enable gateway discovery.
	DiscoveryEnabled bool `protobuf:"varint,6,opt,name=discovery_enabled,json=discoveryEnabled,proto3" json:"discovery_enabled,omitempty"`
	// Network-server ID on which the gateway is provisioned.
	NetworkServerId int64 `protobuf:"varint,7,opt,name=network_server_id,json=networkServerID,proto3" json:"network_server_id,omitempty"`
	// Gateway-profile ID (UUID string, optional).
	GatewayProfileId string `protobuf:"bytes,8,opt,name=gateway_profile_id,json=gatewayProfileID,proto3" json:"gateway_profile_id,omitempty"`
	// Gateway boards configuration (optional).
	// This is (currently) only needed when the gateway supports the fine-timestamp
	// and you you would like to add the FPGA ID to the gateway meta-data or would
	// like ChirpStack Network Server to decrypt the fine-timestamp.
	Boards []*GatewayBoard `protobuf:"bytes,9,rep,name=boards,proto3" json:"boards,omitempty"`
	// Tags (user defined).
	Tags map[string]string `` /* 150-byte string literal not displayed */
	// Metadata (provided by the gateway).
	Metadata             map[string]string `` /* 158-byte string literal not displayed */
	Province             string            `protobuf:"bytes,12,opt,name=Province,proto3" json:"Province,omitempty"`
	City                 string            `protobuf:"bytes,13,opt,name=City,proto3" json:"City,omitempty"`
	District             string            `protobuf:"bytes,14,opt,name=District,proto3" json:"District,omitempty"`
	Modulation           string            `protobuf:"bytes,15,opt,name=Modulation,proto3" json:"Modulation,omitempty"`
	Channels             string            `protobuf:"bytes,16,opt,name=Channels,proto3" json:"Channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Gateway) Descriptor

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

func (*Gateway) GetBoards

func (m *Gateway) GetBoards() []*GatewayBoard

func (*Gateway) GetChannels

func (m *Gateway) GetChannels() string

func (*Gateway) GetCity

func (m *Gateway) GetCity() string

func (*Gateway) GetDescription

func (m *Gateway) GetDescription() string

func (*Gateway) GetDiscoveryEnabled

func (m *Gateway) GetDiscoveryEnabled() bool

func (*Gateway) GetDistrict

func (m *Gateway) GetDistrict() string

func (*Gateway) GetGatewayProfileId

func (m *Gateway) GetGatewayProfileId() string

func (*Gateway) GetId

func (m *Gateway) GetId() string

func (*Gateway) GetLocation

func (m *Gateway) GetLocation() *common.Location

func (*Gateway) GetMetadata

func (m *Gateway) GetMetadata() map[string]string

func (*Gateway) GetModulation

func (m *Gateway) GetModulation() string

func (*Gateway) GetName

func (m *Gateway) GetName() string

func (*Gateway) GetNetworkServerId

func (m *Gateway) GetNetworkServerId() int64

func (*Gateway) GetOrganizationId

func (m *Gateway) GetOrganizationId() int64

func (*Gateway) GetProvince

func (m *Gateway) GetProvince() string

func (*Gateway) GetTags

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

func (*Gateway) ProtoMessage

func (*Gateway) ProtoMessage()

func (*Gateway) Reset

func (m *Gateway) Reset()

func (*Gateway) String

func (m *Gateway) String() string

func (*Gateway) XXX_DiscardUnknown

func (m *Gateway) XXX_DiscardUnknown()

func (*Gateway) XXX_Marshal

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

func (*Gateway) XXX_Merge

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

func (*Gateway) XXX_Size

func (m *Gateway) XXX_Size() int

func (*Gateway) XXX_Unmarshal

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

type GatewayBoard

type GatewayBoard struct {
	// FPGA ID of the gateway (HEX encoded) (optional).
	FpgaId string `protobuf:"bytes,1,opt,name=fpga_id,json=fpgaID,proto3" json:"fpga_id,omitempty"`
	// Fine-timestamp AES decryption key (HEX encoded) (optional).
	FineTimestampKey     string   `protobuf:"bytes,2,opt,name=fine_timestamp_key,json=fineTimestampKey,proto3" json:"fine_timestamp_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GatewayBoard) Descriptor

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

func (*GatewayBoard) GetFineTimestampKey

func (m *GatewayBoard) GetFineTimestampKey() string

func (*GatewayBoard) GetFpgaId

func (m *GatewayBoard) GetFpgaId() string

func (*GatewayBoard) ProtoMessage

func (*GatewayBoard) ProtoMessage()

func (*GatewayBoard) Reset

func (m *GatewayBoard) Reset()

func (*GatewayBoard) String

func (m *GatewayBoard) String() string

func (*GatewayBoard) XXX_DiscardUnknown

func (m *GatewayBoard) XXX_DiscardUnknown()

func (*GatewayBoard) XXX_Marshal

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

func (*GatewayBoard) XXX_Merge

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

func (*GatewayBoard) XXX_Size

func (m *GatewayBoard) XXX_Size() int

func (*GatewayBoard) XXX_Unmarshal

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

type GatewayListItem

type GatewayListItem struct {
	// Gateway ID (HEX encoded).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// A name for the gateway
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A description for the gateway
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Create timestamp.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp.
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// First seen timestamp.
	FirstSeenAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=first_seen_at,json=firstSeenAt,proto3" json:"first_seen_at,omitempty"`
	// Last seen timestamp.
	LastSeenAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
	// Organization ID.
	OrganizationId int64 `protobuf:"varint,6,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Network-server ID.
	NetworkServerId int64 `protobuf:"varint,7,opt,name=network_server_id,json=networkServerID,proto3" json:"network_server_id,omitempty"`
	// Location.
	Location             *common.Location `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GatewayListItem) Descriptor

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

func (*GatewayListItem) GetCreatedAt

func (m *GatewayListItem) GetCreatedAt() *timestamp.Timestamp

func (*GatewayListItem) GetDescription

func (m *GatewayListItem) GetDescription() string

func (*GatewayListItem) GetFirstSeenAt

func (m *GatewayListItem) GetFirstSeenAt() *timestamp.Timestamp

func (*GatewayListItem) GetId

func (m *GatewayListItem) GetId() string

func (*GatewayListItem) GetLastSeenAt

func (m *GatewayListItem) GetLastSeenAt() *timestamp.Timestamp

func (*GatewayListItem) GetLocation

func (m *GatewayListItem) GetLocation() *common.Location

func (*GatewayListItem) GetName

func (m *GatewayListItem) GetName() string

func (*GatewayListItem) GetNetworkServerId

func (m *GatewayListItem) GetNetworkServerId() int64

func (*GatewayListItem) GetOrganizationId

func (m *GatewayListItem) GetOrganizationId() int64

func (*GatewayListItem) GetUpdatedAt

func (m *GatewayListItem) GetUpdatedAt() *timestamp.Timestamp

func (*GatewayListItem) ProtoMessage

func (*GatewayListItem) ProtoMessage()

func (*GatewayListItem) Reset

func (m *GatewayListItem) Reset()

func (*GatewayListItem) String

func (m *GatewayListItem) String() string

func (*GatewayListItem) XXX_DiscardUnknown

func (m *GatewayListItem) XXX_DiscardUnknown()

func (*GatewayListItem) XXX_Marshal

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

func (*GatewayListItem) XXX_Merge

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

func (*GatewayListItem) XXX_Size

func (m *GatewayListItem) XXX_Size() int

func (*GatewayListItem) XXX_Unmarshal

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

type GatewayStats

type GatewayStats struct {
	// Timestamp of the (aggregated) measurement.
	Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Packets received by the gateway.
	RxPacketsReceived int32 `protobuf:"varint,2,opt,name=rx_packets_received,json=rxPacketsReceived,proto3" json:"rx_packets_received,omitempty"`
	// Packets received by the gateway that passed the CRC check.
	RxPacketsReceivedOk int32 `protobuf:"varint,3,opt,name=rx_packets_received_ok,json=rxPacketsReceivedOK,proto3" json:"rx_packets_received_ok,omitempty"`
	// Packets received by the gateway for transmission.
	TxPacketsReceived int32 `protobuf:"varint,4,opt,name=tx_packets_received,json=txPacketsReceived,proto3" json:"tx_packets_received,omitempty"`
	// Packets transmitted by the gateway.
	TxPacketsEmitted     int32    `protobuf:"varint,5,opt,name=tx_packets_emitted,json=txPacketsEmitted,proto3" json:"tx_packets_emitted,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GatewayStats) Descriptor

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

func (*GatewayStats) GetRxPacketsReceived

func (m *GatewayStats) GetRxPacketsReceived() int32

func (*GatewayStats) GetRxPacketsReceivedOk

func (m *GatewayStats) GetRxPacketsReceivedOk() int32

func (*GatewayStats) GetTimestamp

func (m *GatewayStats) GetTimestamp() *timestamp.Timestamp

func (*GatewayStats) GetTxPacketsEmitted

func (m *GatewayStats) GetTxPacketsEmitted() int32

func (*GatewayStats) GetTxPacketsReceived

func (m *GatewayStats) GetTxPacketsReceived() int32

func (*GatewayStats) ProtoMessage

func (*GatewayStats) ProtoMessage()

func (*GatewayStats) Reset

func (m *GatewayStats) Reset()

func (*GatewayStats) String

func (m *GatewayStats) String() string

func (*GatewayStats) XXX_DiscardUnknown

func (m *GatewayStats) XXX_DiscardUnknown()

func (*GatewayStats) XXX_Marshal

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

func (*GatewayStats) XXX_Merge

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

func (*GatewayStats) XXX_Size

func (m *GatewayStats) XXX_Size() int

func (*GatewayStats) XXX_Unmarshal

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

type GetGatewayRequest

type GetGatewayRequest struct {
	// Gateway ID (HEX encoded).
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGatewayRequest) Descriptor

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

func (*GetGatewayRequest) GetId

func (m *GetGatewayRequest) GetId() string

func (*GetGatewayRequest) ProtoMessage

func (*GetGatewayRequest) ProtoMessage()

func (*GetGatewayRequest) Reset

func (m *GetGatewayRequest) Reset()

func (*GetGatewayRequest) String

func (m *GetGatewayRequest) String() string

func (*GetGatewayRequest) XXX_DiscardUnknown

func (m *GetGatewayRequest) XXX_DiscardUnknown()

func (*GetGatewayRequest) XXX_Marshal

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

func (*GetGatewayRequest) XXX_Merge

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

func (*GetGatewayRequest) XXX_Size

func (m *GetGatewayRequest) XXX_Size() int

func (*GetGatewayRequest) XXX_Unmarshal

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

type GetGatewayResponse

type GetGatewayResponse struct {
	// Gateway object.
	Gateway *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	// Created at timestamp.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp.
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// First seen at timestamp.
	FirstSeenAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=first_seen_at,json=firstSeenAt,proto3" json:"first_seen_at,omitempty"`
	// Last seen at timestamp.
	LastSeenAt           *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GetGatewayResponse) Descriptor

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

func (*GetGatewayResponse) GetCreatedAt

func (m *GetGatewayResponse) GetCreatedAt() *timestamp.Timestamp

func (*GetGatewayResponse) GetFirstSeenAt

func (m *GetGatewayResponse) GetFirstSeenAt() *timestamp.Timestamp

func (*GetGatewayResponse) GetGateway

func (m *GetGatewayResponse) GetGateway() *Gateway

func (*GetGatewayResponse) GetLastSeenAt

func (m *GetGatewayResponse) GetLastSeenAt() *timestamp.Timestamp

func (*GetGatewayResponse) GetUpdatedAt

func (m *GetGatewayResponse) GetUpdatedAt() *timestamp.Timestamp

func (*GetGatewayResponse) ProtoMessage

func (*GetGatewayResponse) ProtoMessage()

func (*GetGatewayResponse) Reset

func (m *GetGatewayResponse) Reset()

func (*GetGatewayResponse) String

func (m *GetGatewayResponse) String() string

func (*GetGatewayResponse) XXX_DiscardUnknown

func (m *GetGatewayResponse) XXX_DiscardUnknown()

func (*GetGatewayResponse) XXX_Marshal

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

func (*GetGatewayResponse) XXX_Merge

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

func (*GetGatewayResponse) XXX_Size

func (m *GetGatewayResponse) XXX_Size() int

func (*GetGatewayResponse) XXX_Unmarshal

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

type GetGatewayStatsRequest

type GetGatewayStatsRequest struct {
	// Gateway ID (HEX encoded).
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// Aggregation interval.  One of "second", "minute", "hour", "day", "week",
	// "month", "quarter", "year".  Case insensitive.
	Interval string `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// Timestamp to start from.
	StartTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// Timestamp until to get from.
	EndTimestamp         *timestamp.Timestamp `protobuf:"bytes,4,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GetGatewayStatsRequest) Descriptor

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

func (*GetGatewayStatsRequest) GetEndTimestamp

func (m *GetGatewayStatsRequest) GetEndTimestamp() *timestamp.Timestamp

func (*GetGatewayStatsRequest) GetGatewayId

func (m *GetGatewayStatsRequest) GetGatewayId() string

func (*GetGatewayStatsRequest) GetInterval

func (m *GetGatewayStatsRequest) GetInterval() string

func (*GetGatewayStatsRequest) GetStartTimestamp

func (m *GetGatewayStatsRequest) GetStartTimestamp() *timestamp.Timestamp

func (*GetGatewayStatsRequest) ProtoMessage

func (*GetGatewayStatsRequest) ProtoMessage()

func (*GetGatewayStatsRequest) Reset

func (m *GetGatewayStatsRequest) Reset()

func (*GetGatewayStatsRequest) String

func (m *GetGatewayStatsRequest) String() string

func (*GetGatewayStatsRequest) XXX_DiscardUnknown

func (m *GetGatewayStatsRequest) XXX_DiscardUnknown()

func (*GetGatewayStatsRequest) XXX_Marshal

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

func (*GetGatewayStatsRequest) XXX_Merge

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

func (*GetGatewayStatsRequest) XXX_Size

func (m *GetGatewayStatsRequest) XXX_Size() int

func (*GetGatewayStatsRequest) XXX_Unmarshal

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

type GetGatewayStatsResponse

type GetGatewayStatsResponse struct {
	Result               []*GatewayStats `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetGatewayStatsResponse) Descriptor

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

func (*GetGatewayStatsResponse) GetResult

func (m *GetGatewayStatsResponse) GetResult() []*GatewayStats

func (*GetGatewayStatsResponse) ProtoMessage

func (*GetGatewayStatsResponse) ProtoMessage()

func (*GetGatewayStatsResponse) Reset

func (m *GetGatewayStatsResponse) Reset()

func (*GetGatewayStatsResponse) String

func (m *GetGatewayStatsResponse) String() string

func (*GetGatewayStatsResponse) XXX_DiscardUnknown

func (m *GetGatewayStatsResponse) XXX_DiscardUnknown()

func (*GetGatewayStatsResponse) XXX_Marshal

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

func (*GetGatewayStatsResponse) XXX_Merge

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

func (*GetGatewayStatsResponse) XXX_Size

func (m *GetGatewayStatsResponse) XXX_Size() int

func (*GetGatewayStatsResponse) XXX_Unmarshal

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

type GetLastPingRequest

type GetLastPingRequest struct {
	// Gateway ID (HEX encoded).
	GatewayId            string   `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetLastPingRequest) Descriptor

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

func (*GetLastPingRequest) GetGatewayId

func (m *GetLastPingRequest) GetGatewayId() string

func (*GetLastPingRequest) ProtoMessage

func (*GetLastPingRequest) ProtoMessage()

func (*GetLastPingRequest) Reset

func (m *GetLastPingRequest) Reset()

func (*GetLastPingRequest) String

func (m *GetLastPingRequest) String() string

func (*GetLastPingRequest) XXX_DiscardUnknown

func (m *GetLastPingRequest) XXX_DiscardUnknown()

func (*GetLastPingRequest) XXX_Marshal

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

func (*GetLastPingRequest) XXX_Merge

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

func (*GetLastPingRequest) XXX_Size

func (m *GetLastPingRequest) XXX_Size() int

func (*GetLastPingRequest) XXX_Unmarshal

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

type GetLastPingResponse

type GetLastPingResponse struct {
	// Created at timestamp.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Frequency (Hz).
	Frequency uint32 `protobuf:"varint,2,opt,name=frequency,proto3" json:"frequency,omitempty"`
	// Data-rate.
	Dr uint32 `protobuf:"varint,3,opt,name=dr,proto3" json:"dr,omitempty"`
	// Gateways and meta-data of reception.
	PingRx               []*PingRX `protobuf:"bytes,4,rep,name=ping_rx,json=pingRX,proto3" json:"ping_rx,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GetLastPingResponse) Descriptor

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

func (*GetLastPingResponse) GetCreatedAt

func (m *GetLastPingResponse) GetCreatedAt() *timestamp.Timestamp

func (*GetLastPingResponse) GetDr

func (m *GetLastPingResponse) GetDr() uint32

func (*GetLastPingResponse) GetFrequency

func (m *GetLastPingResponse) GetFrequency() uint32

func (*GetLastPingResponse) GetPingRx

func (m *GetLastPingResponse) GetPingRx() []*PingRX

func (*GetLastPingResponse) ProtoMessage

func (*GetLastPingResponse) ProtoMessage()

func (*GetLastPingResponse) Reset

func (m *GetLastPingResponse) Reset()

func (*GetLastPingResponse) String

func (m *GetLastPingResponse) String() string

func (*GetLastPingResponse) XXX_DiscardUnknown

func (m *GetLastPingResponse) XXX_DiscardUnknown()

func (*GetLastPingResponse) XXX_Marshal

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

func (*GetLastPingResponse) XXX_Merge

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

func (*GetLastPingResponse) XXX_Size

func (m *GetLastPingResponse) XXX_Size() int

func (*GetLastPingResponse) XXX_Unmarshal

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

type ListGatewayRequest

type ListGatewayRequest struct {
	// Max number of nodes to return in the result-set.
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Offset of the result-set (for pagination).
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// ID of the organization for which to filter on, when left blank the
	// response will return all gateways to which the user has access to.
	OrganizationId int64 `protobuf:"varint,3,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Search on name or gateway MAC (optional).
	Search               string   `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListGatewayRequest) Descriptor

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

func (*ListGatewayRequest) GetLimit

func (m *ListGatewayRequest) GetLimit() int32

func (*ListGatewayRequest) GetOffset

func (m *ListGatewayRequest) GetOffset() int32

func (*ListGatewayRequest) GetOrganizationId

func (m *ListGatewayRequest) GetOrganizationId() int64

func (*ListGatewayRequest) GetSearch

func (m *ListGatewayRequest) GetSearch() string

func (*ListGatewayRequest) ProtoMessage

func (*ListGatewayRequest) ProtoMessage()

func (*ListGatewayRequest) Reset

func (m *ListGatewayRequest) Reset()

func (*ListGatewayRequest) String

func (m *ListGatewayRequest) String() string

func (*ListGatewayRequest) XXX_DiscardUnknown

func (m *ListGatewayRequest) XXX_DiscardUnknown()

func (*ListGatewayRequest) XXX_Marshal

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

func (*ListGatewayRequest) XXX_Merge

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

func (*ListGatewayRequest) XXX_Size

func (m *ListGatewayRequest) XXX_Size() int

func (*ListGatewayRequest) XXX_Unmarshal

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

type ListGatewayResponse

type ListGatewayResponse struct {
	// Total number of nodes available within the result-set.
	TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Nodes within this result-set.
	Result               []*GatewayListItem `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ListGatewayResponse) Descriptor

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

func (*ListGatewayResponse) GetResult

func (m *ListGatewayResponse) GetResult() []*GatewayListItem

func (*ListGatewayResponse) GetTotalCount

func (m *ListGatewayResponse) GetTotalCount() int64

func (*ListGatewayResponse) ProtoMessage

func (*ListGatewayResponse) ProtoMessage()

func (*ListGatewayResponse) Reset

func (m *ListGatewayResponse) Reset()

func (*ListGatewayResponse) String

func (m *ListGatewayResponse) String() string

func (*ListGatewayResponse) XXX_DiscardUnknown

func (m *ListGatewayResponse) XXX_DiscardUnknown()

func (*ListGatewayResponse) XXX_Marshal

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

func (*ListGatewayResponse) XXX_Merge

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

func (*ListGatewayResponse) XXX_Size

func (m *ListGatewayResponse) XXX_Size() int

func (*ListGatewayResponse) XXX_Unmarshal

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

type PingRX

type PingRX struct {
	// Gateway ID (HEX encoded).
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	// RSSI.
	Rssi int32 `protobuf:"varint,2,opt,name=rssi,proto3" json:"rssi,omitempty"`
	// LoRa SNR.
	LoraSnr float64 `protobuf:"fixed64,3,opt,name=lora_snr,json=loRaSNR,proto3" json:"lora_snr,omitempty"`
	// Latitude of the gateway -90.0 to 90.0.
	Latitude float64 `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Longitude of the gateway -180.0 to 180.0.
	Longitude float64 `protobuf:"fixed64,5,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// Altitude of the gateway in meters.
	Altitude             float64  `protobuf:"fixed64,6,opt,name=altitude,proto3" json:"altitude,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingRX) Descriptor

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

func (*PingRX) GetAltitude

func (m *PingRX) GetAltitude() float64

func (*PingRX) GetGatewayId

func (m *PingRX) GetGatewayId() string

func (*PingRX) GetLatitude

func (m *PingRX) GetLatitude() float64

func (*PingRX) GetLongitude

func (m *PingRX) GetLongitude() float64

func (*PingRX) GetLoraSnr

func (m *PingRX) GetLoraSnr() float64

func (*PingRX) GetRssi

func (m *PingRX) GetRssi() int32

func (*PingRX) ProtoMessage

func (*PingRX) ProtoMessage()

func (*PingRX) Reset

func (m *PingRX) Reset()

func (*PingRX) String

func (m *PingRX) String() string

func (*PingRX) XXX_DiscardUnknown

func (m *PingRX) XXX_DiscardUnknown()

func (*PingRX) XXX_Marshal

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

func (*PingRX) XXX_Merge

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

func (*PingRX) XXX_Size

func (m *PingRX) XXX_Size() int

func (*PingRX) XXX_Unmarshal

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

type StreamGatewayFrameLogsRequest

type StreamGatewayFrameLogsRequest struct {
	// Gateway ID (HEX encoded).
	GatewayId            string   `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayID,proto3" json:"gateway_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamGatewayFrameLogsRequest) Descriptor

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

func (*StreamGatewayFrameLogsRequest) GetGatewayId

func (m *StreamGatewayFrameLogsRequest) GetGatewayId() string

func (*StreamGatewayFrameLogsRequest) ProtoMessage

func (*StreamGatewayFrameLogsRequest) ProtoMessage()

func (*StreamGatewayFrameLogsRequest) Reset

func (m *StreamGatewayFrameLogsRequest) Reset()

func (*StreamGatewayFrameLogsRequest) String

func (*StreamGatewayFrameLogsRequest) XXX_DiscardUnknown

func (m *StreamGatewayFrameLogsRequest) XXX_DiscardUnknown()

func (*StreamGatewayFrameLogsRequest) XXX_Marshal

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

func (*StreamGatewayFrameLogsRequest) XXX_Merge

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

func (*StreamGatewayFrameLogsRequest) XXX_Size

func (m *StreamGatewayFrameLogsRequest) XXX_Size() int

func (*StreamGatewayFrameLogsRequest) XXX_Unmarshal

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

type StreamGatewayFrameLogsResponse

type StreamGatewayFrameLogsResponse struct {
	// Types that are valid to be assigned to Frame:
	//	*StreamGatewayFrameLogsResponse_UplinkFrame
	//	*StreamGatewayFrameLogsResponse_DownlinkFrame
	Frame                isStreamGatewayFrameLogsResponse_Frame `protobuf_oneof:"frame"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*StreamGatewayFrameLogsResponse) Descriptor

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

func (*StreamGatewayFrameLogsResponse) GetDownlinkFrame

func (m *StreamGatewayFrameLogsResponse) GetDownlinkFrame() *DownlinkFrameLog

func (*StreamGatewayFrameLogsResponse) GetFrame

func (m *StreamGatewayFrameLogsResponse) GetFrame() isStreamGatewayFrameLogsResponse_Frame

func (*StreamGatewayFrameLogsResponse) GetUplinkFrame

func (m *StreamGatewayFrameLogsResponse) GetUplinkFrame() *UplinkFrameLog

func (*StreamGatewayFrameLogsResponse) ProtoMessage

func (*StreamGatewayFrameLogsResponse) ProtoMessage()

func (*StreamGatewayFrameLogsResponse) Reset

func (m *StreamGatewayFrameLogsResponse) Reset()

func (*StreamGatewayFrameLogsResponse) String

func (*StreamGatewayFrameLogsResponse) XXX_DiscardUnknown

func (m *StreamGatewayFrameLogsResponse) XXX_DiscardUnknown()

func (*StreamGatewayFrameLogsResponse) XXX_Marshal

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

func (*StreamGatewayFrameLogsResponse) XXX_Merge

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

func (*StreamGatewayFrameLogsResponse) XXX_OneofWrappers

func (*StreamGatewayFrameLogsResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StreamGatewayFrameLogsResponse) XXX_Size

func (m *StreamGatewayFrameLogsResponse) XXX_Size() int

func (*StreamGatewayFrameLogsResponse) XXX_Unmarshal

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

type StreamGatewayFrameLogsResponse_DownlinkFrame

type StreamGatewayFrameLogsResponse_DownlinkFrame struct {
	DownlinkFrame *DownlinkFrameLog `protobuf:"bytes,2,opt,name=downlink_frame,json=downlinkFrame,proto3,oneof"`
}

type StreamGatewayFrameLogsResponse_UplinkFrame

type StreamGatewayFrameLogsResponse_UplinkFrame struct {
	UplinkFrame *UplinkFrameLog `protobuf:"bytes,1,opt,name=uplink_frame,json=uplinkFrame,proto3,oneof"`
}

type UpdateGatewayRequest

type UpdateGatewayRequest struct {
	// Gateway object to update.
	Gateway              *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateGatewayRequest) Descriptor

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

func (*UpdateGatewayRequest) GetGateway

func (m *UpdateGatewayRequest) GetGateway() *Gateway

func (*UpdateGatewayRequest) ProtoMessage

func (*UpdateGatewayRequest) ProtoMessage()

func (*UpdateGatewayRequest) Reset

func (m *UpdateGatewayRequest) Reset()

func (*UpdateGatewayRequest) String

func (m *UpdateGatewayRequest) String() string

func (*UpdateGatewayRequest) XXX_DiscardUnknown

func (m *UpdateGatewayRequest) XXX_DiscardUnknown()

func (*UpdateGatewayRequest) XXX_Marshal

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

func (*UpdateGatewayRequest) XXX_Merge

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

func (*UpdateGatewayRequest) XXX_Size

func (m *UpdateGatewayRequest) XXX_Size() int

func (*UpdateGatewayRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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