// Code generated by protoc-gen-go. DO NOT EDIT.
// source: as/external/api/internal.proto

package api

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	empty "github.com/golang/protobuf/ptypes/empty"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type APIKey struct {
	// API key ID.
	// This value will be automatically generated on create.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Is global admin key.
	IsAdmin bool `protobuf:"varint,3,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
	// Organization ID.
	// In case this API key is to manage resources within a single organization
	// set this to the ID of this organization.
	OrganizationId int64 `protobuf:"varint,4,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Application ID.
	// In case the API key is to manage resources within an application, set
	// this to the ID of this application.message
	ApplicationId        int64    `protobuf:"varint,5,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *APIKey) Reset()         { *m = APIKey{} }
func (m *APIKey) String() string { return proto.CompactTextString(m) }
func (*APIKey) ProtoMessage()    {}
func (*APIKey) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{0}
}

func (m *APIKey) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_APIKey.Unmarshal(m, b)
}
func (m *APIKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_APIKey.Marshal(b, m, deterministic)
}
func (m *APIKey) XXX_Merge(src proto.Message) {
	xxx_messageInfo_APIKey.Merge(m, src)
}
func (m *APIKey) XXX_Size() int {
	return xxx_messageInfo_APIKey.Size(m)
}
func (m *APIKey) XXX_DiscardUnknown() {
	xxx_messageInfo_APIKey.DiscardUnknown(m)
}

var xxx_messageInfo_APIKey proto.InternalMessageInfo

func (m *APIKey) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *APIKey) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *APIKey) GetIsAdmin() bool {
	if m != nil {
		return m.IsAdmin
	}
	return false
}

func (m *APIKey) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

func (m *APIKey) GetApplicationId() int64 {
	if m != nil {
		return m.ApplicationId
	}
	return 0
}

type CreateAPIKeyRequest struct {
	// The API key to create.
	ApiKey               *APIKey  `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CreateAPIKeyRequest) Reset()         { *m = CreateAPIKeyRequest{} }
func (m *CreateAPIKeyRequest) String() string { return proto.CompactTextString(m) }
func (*CreateAPIKeyRequest) ProtoMessage()    {}
func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{1}
}

func (m *CreateAPIKeyRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateAPIKeyRequest.Unmarshal(m, b)
}
func (m *CreateAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateAPIKeyRequest.Marshal(b, m, deterministic)
}
func (m *CreateAPIKeyRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateAPIKeyRequest.Merge(m, src)
}
func (m *CreateAPIKeyRequest) XXX_Size() int {
	return xxx_messageInfo_CreateAPIKeyRequest.Size(m)
}
func (m *CreateAPIKeyRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateAPIKeyRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateAPIKeyRequest proto.InternalMessageInfo

func (m *CreateAPIKeyRequest) GetApiKey() *APIKey {
	if m != nil {
		return m.ApiKey
	}
	return nil
}

type CreateAPIKeyResponse struct {
	// API key ID.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// JWT token for this API Key.
	JwtToken             string   `protobuf:"bytes,2,opt,name=jwt_token,json=jwtToken,proto3" json:"jwt_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CreateAPIKeyResponse) Reset()         { *m = CreateAPIKeyResponse{} }
func (m *CreateAPIKeyResponse) String() string { return proto.CompactTextString(m) }
func (*CreateAPIKeyResponse) ProtoMessage()    {}
func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{2}
}

func (m *CreateAPIKeyResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateAPIKeyResponse.Unmarshal(m, b)
}
func (m *CreateAPIKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateAPIKeyResponse.Marshal(b, m, deterministic)
}
func (m *CreateAPIKeyResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateAPIKeyResponse.Merge(m, src)
}
func (m *CreateAPIKeyResponse) XXX_Size() int {
	return xxx_messageInfo_CreateAPIKeyResponse.Size(m)
}
func (m *CreateAPIKeyResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateAPIKeyResponse.DiscardUnknown(m)
}

var xxx_messageInfo_CreateAPIKeyResponse proto.InternalMessageInfo

func (m *CreateAPIKeyResponse) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

func (m *CreateAPIKeyResponse) GetJwtToken() string {
	if m != nil {
		return m.JwtToken
	}
	return ""
}

type DeleteAPIKeyRequest struct {
	// API key ID.
	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 (m *DeleteAPIKeyRequest) Reset()         { *m = DeleteAPIKeyRequest{} }
func (m *DeleteAPIKeyRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteAPIKeyRequest) ProtoMessage()    {}
func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{3}
}

func (m *DeleteAPIKeyRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteAPIKeyRequest.Unmarshal(m, b)
}
func (m *DeleteAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteAPIKeyRequest.Marshal(b, m, deterministic)
}
func (m *DeleteAPIKeyRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteAPIKeyRequest.Merge(m, src)
}
func (m *DeleteAPIKeyRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteAPIKeyRequest.Size(m)
}
func (m *DeleteAPIKeyRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteAPIKeyRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteAPIKeyRequest proto.InternalMessageInfo

func (m *DeleteAPIKeyRequest) GetId() string {
	if m != nil {
		return m.Id
	}
	return ""
}

type ListAPIKeysRequest struct {
	// Max number of items to return.
	Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Offset in the result-set (for pagination).
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// Return only admin keys.
	IsAdmin bool `protobuf:"varint,3,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
	// Filter on organization ID.
	OrganizationId int64 `protobuf:"varint,4,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Filter on application ID.
	ApplicationId        int64    `protobuf:"varint,5,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ListAPIKeysRequest) Reset()         { *m = ListAPIKeysRequest{} }
func (m *ListAPIKeysRequest) String() string { return proto.CompactTextString(m) }
func (*ListAPIKeysRequest) ProtoMessage()    {}
func (*ListAPIKeysRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{4}
}

func (m *ListAPIKeysRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListAPIKeysRequest.Unmarshal(m, b)
}
func (m *ListAPIKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListAPIKeysRequest.Marshal(b, m, deterministic)
}
func (m *ListAPIKeysRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListAPIKeysRequest.Merge(m, src)
}
func (m *ListAPIKeysRequest) XXX_Size() int {
	return xxx_messageInfo_ListAPIKeysRequest.Size(m)
}
func (m *ListAPIKeysRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ListAPIKeysRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ListAPIKeysRequest proto.InternalMessageInfo

func (m *ListAPIKeysRequest) GetLimit() int64 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *ListAPIKeysRequest) GetOffset() int64 {
	if m != nil {
		return m.Offset
	}
	return 0
}

func (m *ListAPIKeysRequest) GetIsAdmin() bool {
	if m != nil {
		return m.IsAdmin
	}
	return false
}

func (m *ListAPIKeysRequest) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

func (m *ListAPIKeysRequest) GetApplicationId() int64 {
	if m != nil {
		return m.ApplicationId
	}
	return 0
}

type ListAPIKeysResponse struct {
	// Total number of API keys.
	TotalCount           int64     `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Result               []*APIKey `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *ListAPIKeysResponse) Reset()         { *m = ListAPIKeysResponse{} }
func (m *ListAPIKeysResponse) String() string { return proto.CompactTextString(m) }
func (*ListAPIKeysResponse) ProtoMessage()    {}
func (*ListAPIKeysResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{5}
}

func (m *ListAPIKeysResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ListAPIKeysResponse.Unmarshal(m, b)
}
func (m *ListAPIKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ListAPIKeysResponse.Marshal(b, m, deterministic)
}
func (m *ListAPIKeysResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ListAPIKeysResponse.Merge(m, src)
}
func (m *ListAPIKeysResponse) XXX_Size() int {
	return xxx_messageInfo_ListAPIKeysResponse.Size(m)
}
func (m *ListAPIKeysResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ListAPIKeysResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ListAPIKeysResponse proto.InternalMessageInfo

func (m *ListAPIKeysResponse) GetTotalCount() int64 {
	if m != nil {
		return m.TotalCount
	}
	return 0
}

func (m *ListAPIKeysResponse) GetResult() []*APIKey {
	if m != nil {
		return m.Result
	}
	return nil
}

// Defines an organization to which an user is associated.
type OrganizationLink struct {
	// Organization ID.
	OrganizationId int64 `protobuf:"varint,1,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Organization name.
	OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// User is admin within the context of this organization.
	// There is no need to set the is_device_admin and is_gateway_admin flags.
	IsAdmin bool `protobuf:"varint,3,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
	// User is able to modify device related resources (applications,
	// device-profiles, devices, multicast-groups).
	IsDeviceAdmin bool `protobuf:"varint,6,opt,name=is_device_admin,json=isDeviceAdmin,proto3" json:"is_device_admin,omitempty"`
	// User is able to modify gateways.
	IsGatewayAdmin bool `protobuf:"varint,7,opt,name=is_gateway_admin,json=isGatewayAdmin,proto3" json:"is_gateway_admin,omitempty"`
	// Created at 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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *OrganizationLink) Reset()         { *m = OrganizationLink{} }
func (m *OrganizationLink) String() string { return proto.CompactTextString(m) }
func (*OrganizationLink) ProtoMessage()    {}
func (*OrganizationLink) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{6}
}

func (m *OrganizationLink) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OrganizationLink.Unmarshal(m, b)
}
func (m *OrganizationLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OrganizationLink.Marshal(b, m, deterministic)
}
func (m *OrganizationLink) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OrganizationLink.Merge(m, src)
}
func (m *OrganizationLink) XXX_Size() int {
	return xxx_messageInfo_OrganizationLink.Size(m)
}
func (m *OrganizationLink) XXX_DiscardUnknown() {
	xxx_messageInfo_OrganizationLink.DiscardUnknown(m)
}

var xxx_messageInfo_OrganizationLink proto.InternalMessageInfo

func (m *OrganizationLink) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

func (m *OrganizationLink) GetOrganizationName() string {
	if m != nil {
		return m.OrganizationName
	}
	return ""
}

func (m *OrganizationLink) GetIsAdmin() bool {
	if m != nil {
		return m.IsAdmin
	}
	return false
}

func (m *OrganizationLink) GetIsDeviceAdmin() bool {
	if m != nil {
		return m.IsDeviceAdmin
	}
	return false
}

func (m *OrganizationLink) GetIsGatewayAdmin() bool {
	if m != nil {
		return m.IsGatewayAdmin
	}
	return false
}

func (m *OrganizationLink) GetCreatedAt() *timestamp.Timestamp {
	if m != nil {
		return m.CreatedAt
	}
	return nil
}

func (m *OrganizationLink) GetUpdatedAt() *timestamp.Timestamp {
	if m != nil {
		return m.UpdatedAt
	}
	return nil
}

type LoginRequest struct {
	// Email of the user.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// Password of the user.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LoginRequest) Reset()         { *m = LoginRequest{} }
func (m *LoginRequest) String() string { return proto.CompactTextString(m) }
func (*LoginRequest) ProtoMessage()    {}
func (*LoginRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{7}
}

func (m *LoginRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoginRequest.Unmarshal(m, b)
}
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoginRequest.Marshal(b, m, deterministic)
}
func (m *LoginRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoginRequest.Merge(m, src)
}
func (m *LoginRequest) XXX_Size() int {
	return xxx_messageInfo_LoginRequest.Size(m)
}
func (m *LoginRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoginRequest.DiscardUnknown(m)
}

var xxx_messageInfo_LoginRequest proto.InternalMessageInfo

func (m *LoginRequest) GetEmail() string {
	if m != nil {
		return m.Email
	}
	return ""
}

func (m *LoginRequest) GetPassword() string {
	if m != nil {
		return m.Password
	}
	return ""
}

type LoginResponse struct {
	// The JWT tag to be used to access chirpstack-application-server interfaces.
	Jwt                  string   `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LoginResponse) Reset()         { *m = LoginResponse{} }
func (m *LoginResponse) String() string { return proto.CompactTextString(m) }
func (*LoginResponse) ProtoMessage()    {}
func (*LoginResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{8}
}

func (m *LoginResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoginResponse.Unmarshal(m, b)
}
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoginResponse.Marshal(b, m, deterministic)
}
func (m *LoginResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoginResponse.Merge(m, src)
}
func (m *LoginResponse) XXX_Size() int {
	return xxx_messageInfo_LoginResponse.Size(m)
}
func (m *LoginResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_LoginResponse.DiscardUnknown(m)
}

var xxx_messageInfo_LoginResponse proto.InternalMessageInfo

func (m *LoginResponse) GetJwt() string {
	if m != nil {
		return m.Jwt
	}
	return ""
}

type ProfileResponse struct {
	// User object.
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// Organizations to which the user is associated.
	Organizations        []*OrganizationLink `protobuf:"bytes,3,rep,name=organizations,proto3" json:"organizations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *ProfileResponse) Reset()         { *m = ProfileResponse{} }
func (m *ProfileResponse) String() string { return proto.CompactTextString(m) }
func (*ProfileResponse) ProtoMessage()    {}
func (*ProfileResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{9}
}

func (m *ProfileResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ProfileResponse.Unmarshal(m, b)
}
func (m *ProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ProfileResponse.Marshal(b, m, deterministic)
}
func (m *ProfileResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ProfileResponse.Merge(m, src)
}
func (m *ProfileResponse) XXX_Size() int {
	return xxx_messageInfo_ProfileResponse.Size(m)
}
func (m *ProfileResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ProfileResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ProfileResponse proto.InternalMessageInfo

func (m *ProfileResponse) GetUser() *User {
	if m != nil {
		return m.User
	}
	return nil
}

func (m *ProfileResponse) GetOrganizations() []*OrganizationLink {
	if m != nil {
		return m.Organizations
	}
	return nil
}

type GlobalSearchRequest struct {
	// Search query.
	Search string `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"`
	// Max number of results to return.
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Offset offset of the result-set (for pagination).
	Offset               int64    `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GlobalSearchRequest) Reset()         { *m = GlobalSearchRequest{} }
func (m *GlobalSearchRequest) String() string { return proto.CompactTextString(m) }
func (*GlobalSearchRequest) ProtoMessage()    {}
func (*GlobalSearchRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{10}
}

func (m *GlobalSearchRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GlobalSearchRequest.Unmarshal(m, b)
}
func (m *GlobalSearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GlobalSearchRequest.Marshal(b, m, deterministic)
}
func (m *GlobalSearchRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GlobalSearchRequest.Merge(m, src)
}
func (m *GlobalSearchRequest) XXX_Size() int {
	return xxx_messageInfo_GlobalSearchRequest.Size(m)
}
func (m *GlobalSearchRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GlobalSearchRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GlobalSearchRequest proto.InternalMessageInfo

func (m *GlobalSearchRequest) GetSearch() string {
	if m != nil {
		return m.Search
	}
	return ""
}

func (m *GlobalSearchRequest) GetLimit() int64 {
	if m != nil {
		return m.Limit
	}
	return 0
}

func (m *GlobalSearchRequest) GetOffset() int64 {
	if m != nil {
		return m.Offset
	}
	return 0
}

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

func (m *GlobalSearchResponse) Reset()         { *m = GlobalSearchResponse{} }
func (m *GlobalSearchResponse) String() string { return proto.CompactTextString(m) }
func (*GlobalSearchResponse) ProtoMessage()    {}
func (*GlobalSearchResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{11}
}

func (m *GlobalSearchResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GlobalSearchResponse.Unmarshal(m, b)
}
func (m *GlobalSearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GlobalSearchResponse.Marshal(b, m, deterministic)
}
func (m *GlobalSearchResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GlobalSearchResponse.Merge(m, src)
}
func (m *GlobalSearchResponse) XXX_Size() int {
	return xxx_messageInfo_GlobalSearchResponse.Size(m)
}
func (m *GlobalSearchResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GlobalSearchResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GlobalSearchResponse proto.InternalMessageInfo

func (m *GlobalSearchResponse) GetResult() []*GlobalSearchResult {
	if m != nil {
		return m.Result
	}
	return nil
}

type GlobalSearchResult struct {
	// Record kind.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// Search score.
	Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
	// Organization id.
	OrganizationId int64 `protobuf:"varint,3,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Organization name.
	OrganizationName string `protobuf:"bytes,4,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// Application id.
	ApplicationId int64 `protobuf:"varint,5,opt,name=application_id,json=applicationID,proto3" json:"application_id,omitempty"`
	// Application name.
	ApplicationName string `protobuf:"bytes,6,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	// Device DevEUI (hex encoded).
	DeviceDevEui string `protobuf:"bytes,7,opt,name=device_dev_eui,json=deviceDevEUI,proto3" json:"device_dev_eui,omitempty"`
	// Device name.
	DeviceName string `protobuf:"bytes,8,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// Gateway MAC (hex encoded).
	GatewayMac string `protobuf:"bytes,9,opt,name=gateway_mac,json=gatewayMAC,proto3" json:"gateway_mac,omitempty"`
	// Gateway name.
	GatewayName          string   `protobuf:"bytes,10,opt,name=gateway_name,json=gatewayName,proto3" json:"gateway_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GlobalSearchResult) Reset()         { *m = GlobalSearchResult{} }
func (m *GlobalSearchResult) String() string { return proto.CompactTextString(m) }
func (*GlobalSearchResult) ProtoMessage()    {}
func (*GlobalSearchResult) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{12}
}

func (m *GlobalSearchResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GlobalSearchResult.Unmarshal(m, b)
}
func (m *GlobalSearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GlobalSearchResult.Marshal(b, m, deterministic)
}
func (m *GlobalSearchResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GlobalSearchResult.Merge(m, src)
}
func (m *GlobalSearchResult) XXX_Size() int {
	return xxx_messageInfo_GlobalSearchResult.Size(m)
}
func (m *GlobalSearchResult) XXX_DiscardUnknown() {
	xxx_messageInfo_GlobalSearchResult.DiscardUnknown(m)
}

var xxx_messageInfo_GlobalSearchResult proto.InternalMessageInfo

func (m *GlobalSearchResult) GetKind() string {
	if m != nil {
		return m.Kind
	}
	return ""
}

func (m *GlobalSearchResult) GetScore() float32 {
	if m != nil {
		return m.Score
	}
	return 0
}

func (m *GlobalSearchResult) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

func (m *GlobalSearchResult) GetOrganizationName() string {
	if m != nil {
		return m.OrganizationName
	}
	return ""
}

func (m *GlobalSearchResult) GetApplicationId() int64 {
	if m != nil {
		return m.ApplicationId
	}
	return 0
}

func (m *GlobalSearchResult) GetApplicationName() string {
	if m != nil {
		return m.ApplicationName
	}
	return ""
}

func (m *GlobalSearchResult) GetDeviceDevEui() string {
	if m != nil {
		return m.DeviceDevEui
	}
	return ""
}

func (m *GlobalSearchResult) GetDeviceName() string {
	if m != nil {
		return m.DeviceName
	}
	return ""
}

func (m *GlobalSearchResult) GetGatewayMac() string {
	if m != nil {
		return m.GatewayMac
	}
	return ""
}

func (m *GlobalSearchResult) GetGatewayName() string {
	if m != nil {
		return m.GatewayName
	}
	return ""
}

type SettingsResponse struct {
	// Branding settings.
	Branding *Branding `protobuf:"bytes,2,opt,name=branding,proto3" json:"branding,omitempty"`
	// OpenID Connect settings.
	OpenidConnect        *OpenIDConnect `protobuf:"bytes,3,opt,name=openid_connect,json=openidConnect,proto3" json:"openid_connect,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *SettingsResponse) Reset()         { *m = SettingsResponse{} }
func (m *SettingsResponse) String() string { return proto.CompactTextString(m) }
func (*SettingsResponse) ProtoMessage()    {}
func (*SettingsResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{13}
}

func (m *SettingsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SettingsResponse.Unmarshal(m, b)
}
func (m *SettingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SettingsResponse.Marshal(b, m, deterministic)
}
func (m *SettingsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SettingsResponse.Merge(m, src)
}
func (m *SettingsResponse) XXX_Size() int {
	return xxx_messageInfo_SettingsResponse.Size(m)
}
func (m *SettingsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SettingsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SettingsResponse proto.InternalMessageInfo

func (m *SettingsResponse) GetBranding() *Branding {
	if m != nil {
		return m.Branding
	}
	return nil
}

func (m *SettingsResponse) GetOpenidConnect() *OpenIDConnect {
	if m != nil {
		return m.OpenidConnect
	}
	return nil
}

type Branding struct {
	// Registration html.
	Registration string `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"`
	// Footer html.
	Footer               string   `protobuf:"bytes,2,opt,name=footer,proto3" json:"footer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *Branding) Reset()         { *m = Branding{} }
func (m *Branding) String() string { return proto.CompactTextString(m) }
func (*Branding) ProtoMessage()    {}
func (*Branding) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{14}
}

func (m *Branding) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Branding.Unmarshal(m, b)
}
func (m *Branding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Branding.Marshal(b, m, deterministic)
}
func (m *Branding) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Branding.Merge(m, src)
}
func (m *Branding) XXX_Size() int {
	return xxx_messageInfo_Branding.Size(m)
}
func (m *Branding) XXX_DiscardUnknown() {
	xxx_messageInfo_Branding.DiscardUnknown(m)
}

var xxx_messageInfo_Branding proto.InternalMessageInfo

func (m *Branding) GetRegistration() string {
	if m != nil {
		return m.Registration
	}
	return ""
}

func (m *Branding) GetFooter() string {
	if m != nil {
		return m.Footer
	}
	return ""
}

type OpenIDConnect struct {
	// Enable OpenID Connect authentication.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Login url.
	LoginUrl string `protobuf:"bytes,2,opt,name=login_url,json=loginURL,proto3" json:"login_url,omitempty"`
	// Login label.
	LoginLabel string `protobuf:"bytes,3,opt,name=login_label,json=loginLabel,proto3" json:"login_label,omitempty"`
	// Logout url.
	LogoutUrl            string   `protobuf:"bytes,4,opt,name=logout_url,json=logoutURL,proto3" json:"logout_url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *OpenIDConnect) Reset()         { *m = OpenIDConnect{} }
func (m *OpenIDConnect) String() string { return proto.CompactTextString(m) }
func (*OpenIDConnect) ProtoMessage()    {}
func (*OpenIDConnect) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{15}
}

func (m *OpenIDConnect) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OpenIDConnect.Unmarshal(m, b)
}
func (m *OpenIDConnect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OpenIDConnect.Marshal(b, m, deterministic)
}
func (m *OpenIDConnect) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OpenIDConnect.Merge(m, src)
}
func (m *OpenIDConnect) XXX_Size() int {
	return xxx_messageInfo_OpenIDConnect.Size(m)
}
func (m *OpenIDConnect) XXX_DiscardUnknown() {
	xxx_messageInfo_OpenIDConnect.DiscardUnknown(m)
}

var xxx_messageInfo_OpenIDConnect proto.InternalMessageInfo

func (m *OpenIDConnect) GetEnabled() bool {
	if m != nil {
		return m.Enabled
	}
	return false
}

func (m *OpenIDConnect) GetLoginUrl() string {
	if m != nil {
		return m.LoginUrl
	}
	return ""
}

func (m *OpenIDConnect) GetLoginLabel() string {
	if m != nil {
		return m.LoginLabel
	}
	return ""
}

func (m *OpenIDConnect) GetLogoutUrl() string {
	if m != nil {
		return m.LogoutUrl
	}
	return ""
}

type OpenIDConnectLoginRequest struct {
	// OpenID Connect callback code.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// OpenID Connect callback state.
	State                string   `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *OpenIDConnectLoginRequest) Reset()         { *m = OpenIDConnectLoginRequest{} }
func (m *OpenIDConnectLoginRequest) String() string { return proto.CompactTextString(m) }
func (*OpenIDConnectLoginRequest) ProtoMessage()    {}
func (*OpenIDConnectLoginRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{16}
}

func (m *OpenIDConnectLoginRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OpenIDConnectLoginRequest.Unmarshal(m, b)
}
func (m *OpenIDConnectLoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OpenIDConnectLoginRequest.Marshal(b, m, deterministic)
}
func (m *OpenIDConnectLoginRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OpenIDConnectLoginRequest.Merge(m, src)
}
func (m *OpenIDConnectLoginRequest) XXX_Size() int {
	return xxx_messageInfo_OpenIDConnectLoginRequest.Size(m)
}
func (m *OpenIDConnectLoginRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_OpenIDConnectLoginRequest.DiscardUnknown(m)
}

var xxx_messageInfo_OpenIDConnectLoginRequest proto.InternalMessageInfo

func (m *OpenIDConnectLoginRequest) GetCode() string {
	if m != nil {
		return m.Code
	}
	return ""
}

func (m *OpenIDConnectLoginRequest) GetState() string {
	if m != nil {
		return m.State
	}
	return ""
}

type OpenIDConnectLoginResponse struct {
	// JWT token to use for authentication.
	JwtToken             string   `protobuf:"bytes,1,opt,name=jwt_token,json=jwtToken,proto3" json:"jwt_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *OpenIDConnectLoginResponse) Reset()         { *m = OpenIDConnectLoginResponse{} }
func (m *OpenIDConnectLoginResponse) String() string { return proto.CompactTextString(m) }
func (*OpenIDConnectLoginResponse) ProtoMessage()    {}
func (*OpenIDConnectLoginResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{17}
}

func (m *OpenIDConnectLoginResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OpenIDConnectLoginResponse.Unmarshal(m, b)
}
func (m *OpenIDConnectLoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OpenIDConnectLoginResponse.Marshal(b, m, deterministic)
}
func (m *OpenIDConnectLoginResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OpenIDConnectLoginResponse.Merge(m, src)
}
func (m *OpenIDConnectLoginResponse) XXX_Size() int {
	return xxx_messageInfo_OpenIDConnectLoginResponse.Size(m)
}
func (m *OpenIDConnectLoginResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_OpenIDConnectLoginResponse.DiscardUnknown(m)
}

var xxx_messageInfo_OpenIDConnectLoginResponse proto.InternalMessageInfo

func (m *OpenIDConnectLoginResponse) GetJwtToken() string {
	if m != nil {
		return m.JwtToken
	}
	return ""
}

type GetDevicesSummaryRequest struct {
	// Organization ID.
	OrganizationId       int64    `protobuf:"varint,1,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetDevicesSummaryRequest) Reset()         { *m = GetDevicesSummaryRequest{} }
func (m *GetDevicesSummaryRequest) String() string { return proto.CompactTextString(m) }
func (*GetDevicesSummaryRequest) ProtoMessage()    {}
func (*GetDevicesSummaryRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{18}
}

func (m *GetDevicesSummaryRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetDevicesSummaryRequest.Unmarshal(m, b)
}
func (m *GetDevicesSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetDevicesSummaryRequest.Marshal(b, m, deterministic)
}
func (m *GetDevicesSummaryRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetDevicesSummaryRequest.Merge(m, src)
}
func (m *GetDevicesSummaryRequest) XXX_Size() int {
	return xxx_messageInfo_GetDevicesSummaryRequest.Size(m)
}
func (m *GetDevicesSummaryRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetDevicesSummaryRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetDevicesSummaryRequest proto.InternalMessageInfo

func (m *GetDevicesSummaryRequest) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

type GetDevicesSummaryResponse struct {
	// Active count.
	ActiveCount uint32 `protobuf:"varint,1,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"`
	// Inactive count.
	InactiveCount uint32 `protobuf:"varint,2,opt,name=inactive_count,json=inactiveCount,proto3" json:"inactive_count,omitempty"`
	// per data-rate count.
	// Devices that have never been seen are excluded.
	DrCount map[uint32]uint32 `protobuf:"bytes,3,rep,name=dr_count,json=drCount,proto3" json:"dr_count,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
	// Never seen count.
	NeverSeenCount       uint32   `protobuf:"varint,4,opt,name=never_seen_count,json=neverSeenCount,proto3" json:"never_seen_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetDevicesSummaryResponse) Reset()         { *m = GetDevicesSummaryResponse{} }
func (m *GetDevicesSummaryResponse) String() string { return proto.CompactTextString(m) }
func (*GetDevicesSummaryResponse) ProtoMessage()    {}
func (*GetDevicesSummaryResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{19}
}

func (m *GetDevicesSummaryResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetDevicesSummaryResponse.Unmarshal(m, b)
}
func (m *GetDevicesSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetDevicesSummaryResponse.Marshal(b, m, deterministic)
}
func (m *GetDevicesSummaryResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetDevicesSummaryResponse.Merge(m, src)
}
func (m *GetDevicesSummaryResponse) XXX_Size() int {
	return xxx_messageInfo_GetDevicesSummaryResponse.Size(m)
}
func (m *GetDevicesSummaryResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetDevicesSummaryResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetDevicesSummaryResponse proto.InternalMessageInfo

func (m *GetDevicesSummaryResponse) GetActiveCount() uint32 {
	if m != nil {
		return m.ActiveCount
	}
	return 0
}

func (m *GetDevicesSummaryResponse) GetInactiveCount() uint32 {
	if m != nil {
		return m.InactiveCount
	}
	return 0
}

func (m *GetDevicesSummaryResponse) GetDrCount() map[uint32]uint32 {
	if m != nil {
		return m.DrCount
	}
	return nil
}

func (m *GetDevicesSummaryResponse) GetNeverSeenCount() uint32 {
	if m != nil {
		return m.NeverSeenCount
	}
	return 0
}

type GetGatewaysSummaryRequest struct {
	// Organization ID.
	OrganizationId       int64    `protobuf:"varint,1,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetGatewaysSummaryRequest) Reset()         { *m = GetGatewaysSummaryRequest{} }
func (m *GetGatewaysSummaryRequest) String() string { return proto.CompactTextString(m) }
func (*GetGatewaysSummaryRequest) ProtoMessage()    {}
func (*GetGatewaysSummaryRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{20}
}

func (m *GetGatewaysSummaryRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetGatewaysSummaryRequest.Unmarshal(m, b)
}
func (m *GetGatewaysSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetGatewaysSummaryRequest.Marshal(b, m, deterministic)
}
func (m *GetGatewaysSummaryRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetGatewaysSummaryRequest.Merge(m, src)
}
func (m *GetGatewaysSummaryRequest) XXX_Size() int {
	return xxx_messageInfo_GetGatewaysSummaryRequest.Size(m)
}
func (m *GetGatewaysSummaryRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetGatewaysSummaryRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetGatewaysSummaryRequest proto.InternalMessageInfo

func (m *GetGatewaysSummaryRequest) GetOrganizationId() int64 {
	if m != nil {
		return m.OrganizationId
	}
	return 0
}

type GetGatewaysSummaryResponse struct {
	// Active count.
	ActiveCount uint32 `protobuf:"varint,1,opt,name=active_count,json=activeCount,proto3" json:"active_count,omitempty"`
	// Inactive count.
	InactiveCount uint32 `protobuf:"varint,2,opt,name=inactive_count,json=inactiveCount,proto3" json:"inactive_count,omitempty"`
	// Never seen count.
	NeverSeenCount       uint32   `protobuf:"varint,3,opt,name=never_seen_count,json=neverSeenCount,proto3" json:"never_seen_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetGatewaysSummaryResponse) Reset()         { *m = GetGatewaysSummaryResponse{} }
func (m *GetGatewaysSummaryResponse) String() string { return proto.CompactTextString(m) }
func (*GetGatewaysSummaryResponse) ProtoMessage()    {}
func (*GetGatewaysSummaryResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_2d2de8ef40b5c6ca, []int{21}
}

func (m *GetGatewaysSummaryResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetGatewaysSummaryResponse.Unmarshal(m, b)
}
func (m *GetGatewaysSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetGatewaysSummaryResponse.Marshal(b, m, deterministic)
}
func (m *GetGatewaysSummaryResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetGatewaysSummaryResponse.Merge(m, src)
}
func (m *GetGatewaysSummaryResponse) XXX_Size() int {
	return xxx_messageInfo_GetGatewaysSummaryResponse.Size(m)
}
func (m *GetGatewaysSummaryResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetGatewaysSummaryResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetGatewaysSummaryResponse proto.InternalMessageInfo

func (m *GetGatewaysSummaryResponse) GetActiveCount() uint32 {
	if m != nil {
		return m.ActiveCount
	}
	return 0
}

func (m *GetGatewaysSummaryResponse) GetInactiveCount() uint32 {
	if m != nil {
		return m.InactiveCount
	}
	return 0
}

func (m *GetGatewaysSummaryResponse) GetNeverSeenCount() uint32 {
	if m != nil {
		return m.NeverSeenCount
	}
	return 0
}

func init() {
	proto.RegisterType((*APIKey)(nil), "api.APIKey")
	proto.RegisterType((*CreateAPIKeyRequest)(nil), "api.CreateAPIKeyRequest")
	proto.RegisterType((*CreateAPIKeyResponse)(nil), "api.CreateAPIKeyResponse")
	proto.RegisterType((*DeleteAPIKeyRequest)(nil), "api.DeleteAPIKeyRequest")
	proto.RegisterType((*ListAPIKeysRequest)(nil), "api.ListAPIKeysRequest")
	proto.RegisterType((*ListAPIKeysResponse)(nil), "api.ListAPIKeysResponse")
	proto.RegisterType((*OrganizationLink)(nil), "api.OrganizationLink")
	proto.RegisterType((*LoginRequest)(nil), "api.LoginRequest")
	proto.RegisterType((*LoginResponse)(nil), "api.LoginResponse")
	proto.RegisterType((*ProfileResponse)(nil), "api.ProfileResponse")
	proto.RegisterType((*GlobalSearchRequest)(nil), "api.GlobalSearchRequest")
	proto.RegisterType((*GlobalSearchResponse)(nil), "api.GlobalSearchResponse")
	proto.RegisterType((*GlobalSearchResult)(nil), "api.GlobalSearchResult")
	proto.RegisterType((*SettingsResponse)(nil), "api.SettingsResponse")
	proto.RegisterType((*Branding)(nil), "api.Branding")
	proto.RegisterType((*OpenIDConnect)(nil), "api.OpenIDConnect")
	proto.RegisterType((*OpenIDConnectLoginRequest)(nil), "api.OpenIDConnectLoginRequest")
	proto.RegisterType((*OpenIDConnectLoginResponse)(nil), "api.OpenIDConnectLoginResponse")
	proto.RegisterType((*GetDevicesSummaryRequest)(nil), "api.GetDevicesSummaryRequest")
	proto.RegisterType((*GetDevicesSummaryResponse)(nil), "api.GetDevicesSummaryResponse")
	proto.RegisterMapType((map[uint32]uint32)(nil), "api.GetDevicesSummaryResponse.DrCountEntry")
	proto.RegisterType((*GetGatewaysSummaryRequest)(nil), "api.GetGatewaysSummaryRequest")
	proto.RegisterType((*GetGatewaysSummaryResponse)(nil), "api.GetGatewaysSummaryResponse")
}

func init() {
	proto.RegisterFile("as/external/api/internal.proto", fileDescriptor_2d2de8ef40b5c6ca)
}

var fileDescriptor_2d2de8ef40b5c6ca = []byte{
	// 1485 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6e, 0xdb, 0xc6,
	0x13, 0x07, 0x25, 0x5b, 0x96, 0x46, 0x1f, 0x76, 0xd6, 0x8e, 0x23, 0xcb, 0xf1, 0x17, 0x13, 0xe7,
	0xef, 0x24, 0x88, 0x04, 0x38, 0x87, 0x7f, 0x93, 0x5c, 0xea, 0x58, 0x8e, 0x61, 0xc4, 0x4d, 0x0d,
	0x3a, 0x2e, 0xd0, 0xf6, 0xa0, 0xae, 0xc8, 0xb5, 0xb2, 0x31, 0x45, 0xb2, 0xdc, 0x95, 0x1d, 0xb5,
	0xc8, 0xa5, 0x87, 0x9e, 0x0b, 0xe4, 0xd0, 0x43, 0x9f, 0xa1, 0x4f, 0xd2, 0x63, 0x5f, 0xa1, 0x2f,
	0xd0, 0x37, 0x28, 0x38, 0xbb, 0x54, 0x48, 0x89, 0x6a, 0x82, 0xa2, 0xe8, 0x8d, 0x33, 0xfb, 0xdb,
	0x99, 0xd9, 0xd9, 0xdf, 0xcc, 0x2c, 0x61, 0x9d, 0x8a, 0x16, 0x7b, 0x23, 0x59, 0xe8, 0x51, 0xb7,
	0x45, 0x03, 0xde, 0xe2, 0x9e, 0x12, 0x9a, 0x41, 0xe8, 0x4b, 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bd, 0xeb, 0x97, 0xc1, 0xc8, 0xfd, 0xd3, 0x3e, 0x6c, 0x71,
	0xbf, 0x69, 0xbf, 0xe2, 0x61, 0x20, 0x24, 0xb5, 0x2f, 0xd0, 0x2e, 0x15, 0xcd, 0xf8, 0xd7, 0x36,
	0x92, 0x9f, 0x56, 0xe3, 0xfe, 0x71, 0x12, 0x5d, 0xf3, 0x89, 0xf1, 0xd5, 0xff, 0x7b, 0x5c, 0xbe,
	0x1a, 0x74, 0x9b, 0xb6, 0xdf, 0x6f, 0x75, 0x43, 0xdf, 0xa6, 0x34, 0x6c, 0xbd, 0xb7, 0xf1, 0x20,
	0x72, 0xd9, 0xf3, 0x5b, 0x97, 0x0f, 0x5b, 0x63, 0x3f, 0xc9, 0xdd, 0x02, 0x12, 0xe5, 0xe1, 0x5f,
	0x01, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xd9, 0x3e, 0xbf, 0xbf, 0x0f, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6

// InternalServiceClient is the client API for InternalService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type InternalServiceClient interface {
	// Log in a user
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Get the current user's profile
	Profile(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProfileResponse, error)
	// Perform a global search.
	GlobalSearch(ctx context.Context, in *GlobalSearchRequest, opts ...grpc.CallOption) (*GlobalSearchResponse, error)
	// CreateAPIKey creates the given API key.
	CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error)
	// DeleteAPIKey deletes the API key.
	DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// ListAPIKeys lists the available API keys.
	ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error)
	// Get the global settings.
	Settings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SettingsResponse, error)
	// OpenID Connect login.
	OpenIDConnectLogin(ctx context.Context, in *OpenIDConnectLoginRequest, opts ...grpc.CallOption) (*OpenIDConnectLoginResponse, error)
	// GetDevicesSummary returns an aggregated summary of the devices.
	GetDevicesSummary(ctx context.Context, in *GetDevicesSummaryRequest, opts ...grpc.CallOption) (*GetDevicesSummaryResponse, error)
	// GetGatewaysSummary returns an aggregated summary of the gateways.
	GetGatewaysSummary(ctx context.Context, in *GetGatewaysSummaryRequest, opts ...grpc.CallOption) (*GetGatewaysSummaryResponse, error)
}

type internalServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewInternalServiceClient(cc grpc.ClientConnInterface) InternalServiceClient {
	return &internalServiceClient{cc}
}

func (c *internalServiceClient) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) {
	out := new(LoginResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/Login", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) Profile(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProfileResponse, error) {
	out := new(ProfileResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/Profile", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) GlobalSearch(ctx context.Context, in *GlobalSearchRequest, opts ...grpc.CallOption) (*GlobalSearchResponse, error) {
	out := new(GlobalSearchResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/GlobalSearch", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) {
	out := new(CreateAPIKeyResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/CreateAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
	out := new(empty.Empty)
	err := c.cc.Invoke(ctx, "/api.InternalService/DeleteAPIKey", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error) {
	out := new(ListAPIKeysResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/ListAPIKeys", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) Settings(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SettingsResponse, error) {
	out := new(SettingsResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/Settings", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) OpenIDConnectLogin(ctx context.Context, in *OpenIDConnectLoginRequest, opts ...grpc.CallOption) (*OpenIDConnectLoginResponse, error) {
	out := new(OpenIDConnectLoginResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/OpenIDConnectLogin", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) GetDevicesSummary(ctx context.Context, in *GetDevicesSummaryRequest, opts ...grpc.CallOption) (*GetDevicesSummaryResponse, error) {
	out := new(GetDevicesSummaryResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/GetDevicesSummary", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *internalServiceClient) GetGatewaysSummary(ctx context.Context, in *GetGatewaysSummaryRequest, opts ...grpc.CallOption) (*GetGatewaysSummaryResponse, error) {
	out := new(GetGatewaysSummaryResponse)
	err := c.cc.Invoke(ctx, "/api.InternalService/GetGatewaysSummary", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// InternalServiceServer is the server API for InternalService service.
type InternalServiceServer interface {
	// Log in a user
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Get the current user's profile
	Profile(context.Context, *empty.Empty) (*ProfileResponse, error)
	// Perform a global search.
	GlobalSearch(context.Context, *GlobalSearchRequest) (*GlobalSearchResponse, error)
	// CreateAPIKey creates the given API key.
	CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error)
	// DeleteAPIKey deletes the API key.
	DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*empty.Empty, error)
	// ListAPIKeys lists the available API keys.
	ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
	// Get the global settings.
	Settings(context.Context, *empty.Empty) (*SettingsResponse, error)
	// OpenID Connect login.
	OpenIDConnectLogin(context.Context, *OpenIDConnectLoginRequest) (*OpenIDConnectLoginResponse, error)
	// GetDevicesSummary returns an aggregated summary of the devices.
	GetDevicesSummary(context.Context, *GetDevicesSummaryRequest) (*GetDevicesSummaryResponse, error)
	// GetGatewaysSummary returns an aggregated summary of the gateways.
	GetGatewaysSummary(context.Context, *GetGatewaysSummaryRequest) (*GetGatewaysSummaryResponse, error)
}

// UnimplementedInternalServiceServer can be embedded to have forward compatible implementations.
type UnimplementedInternalServiceServer struct {
}

func (*UnimplementedInternalServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
}
func (*UnimplementedInternalServiceServer) Profile(ctx context.Context, req *empty.Empty) (*ProfileResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Profile not implemented")
}
func (*UnimplementedInternalServiceServer) GlobalSearch(ctx context.Context, req *GlobalSearchRequest) (*GlobalSearchResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GlobalSearch not implemented")
}
func (*UnimplementedInternalServiceServer) CreateAPIKey(ctx context.Context, req *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateAPIKey not implemented")
}
func (*UnimplementedInternalServiceServer) DeleteAPIKey(ctx context.Context, req *DeleteAPIKeyRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteAPIKey not implemented")
}
func (*UnimplementedInternalServiceServer) ListAPIKeys(ctx context.Context, req *ListAPIKeysRequest) (*ListAPIKeysResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListAPIKeys not implemented")
}
func (*UnimplementedInternalServiceServer) Settings(ctx context.Context, req *empty.Empty) (*SettingsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Settings not implemented")
}
func (*UnimplementedInternalServiceServer) OpenIDConnectLogin(ctx context.Context, req *OpenIDConnectLoginRequest) (*OpenIDConnectLoginResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method OpenIDConnectLogin not implemented")
}
func (*UnimplementedInternalServiceServer) GetDevicesSummary(ctx context.Context, req *GetDevicesSummaryRequest) (*GetDevicesSummaryResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetDevicesSummary not implemented")
}
func (*UnimplementedInternalServiceServer) GetGatewaysSummary(ctx context.Context, req *GetGatewaysSummaryRequest) (*GetGatewaysSummaryResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetGatewaysSummary not implemented")
}

func RegisterInternalServiceServer(s *grpc.Server, srv InternalServiceServer) {
	s.RegisterService(&_InternalService_serviceDesc, srv)
}

func _InternalService_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(LoginRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).Login(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/Login",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).Login(ctx, req.(*LoginRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_Profile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(empty.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).Profile(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/Profile",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).Profile(ctx, req.(*empty.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_GlobalSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GlobalSearchRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).GlobalSearch(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/GlobalSearch",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).GlobalSearch(ctx, req.(*GlobalSearchRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_CreateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAPIKeyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).CreateAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/CreateAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).CreateAPIKey(ctx, req.(*CreateAPIKeyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_DeleteAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteAPIKeyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).DeleteAPIKey(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/DeleteAPIKey",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).DeleteAPIKey(ctx, req.(*DeleteAPIKeyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_ListAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListAPIKeysRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).ListAPIKeys(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/ListAPIKeys",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).ListAPIKeys(ctx, req.(*ListAPIKeysRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_Settings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(empty.Empty)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).Settings(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/Settings",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).Settings(ctx, req.(*empty.Empty))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_OpenIDConnectLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(OpenIDConnectLoginRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).OpenIDConnectLogin(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/OpenIDConnectLogin",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).OpenIDConnectLogin(ctx, req.(*OpenIDConnectLoginRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_GetDevicesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetDevicesSummaryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).GetDevicesSummary(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/GetDevicesSummary",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).GetDevicesSummary(ctx, req.(*GetDevicesSummaryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _InternalService_GetGatewaysSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetGatewaysSummaryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(InternalServiceServer).GetGatewaysSummary(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.InternalService/GetGatewaysSummary",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(InternalServiceServer).GetGatewaysSummary(ctx, req.(*GetGatewaysSummaryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _InternalService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "api.InternalService",
	HandlerType: (*InternalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _InternalService_Login_Handler,
		},
		{
			MethodName: "Profile",
			Handler:    _InternalService_Profile_Handler,
		},
		{
			MethodName: "GlobalSearch",
			Handler:    _InternalService_GlobalSearch_Handler,
		},
		{
			MethodName: "CreateAPIKey",
			Handler:    _InternalService_CreateAPIKey_Handler,
		},
		{
			MethodName: "DeleteAPIKey",
			Handler:    _InternalService_DeleteAPIKey_Handler,
		},
		{
			MethodName: "ListAPIKeys",
			Handler:    _InternalService_ListAPIKeys_Handler,
		},
		{
			MethodName: "Settings",
			Handler:    _InternalService_Settings_Handler,
		},
		{
			MethodName: "OpenIDConnectLogin",
			Handler:    _InternalService_OpenIDConnectLogin_Handler,
		},
		{
			MethodName: "GetDevicesSummary",
			Handler:    _InternalService_GetDevicesSummary_Handler,
		},
		{
			MethodName: "GetGatewaysSummary",
			Handler:    _InternalService_GetGatewaysSummary_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "as/external/api/internal.proto",
}
