// Code generated by protoc-gen-go. DO NOT EDIT.
// source: as/external/api/organization.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 Organization struct {
	// Organization ID.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Organization name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Organization display name.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Can the organization create and "own" Gateways?
	CanHaveGateways bool `protobuf:"varint,4,opt,name=can_have_gateways,json=canHaveGateways,proto3" json:"can_have_gateways,omitempty"`
	// Max. gateway count for organization.
	// When set to 0, the organization can have unlimited gateways.
	MaxGatewayCount uint32 `protobuf:"varint,5,opt,name=max_gateway_count,json=maxGatewayCount,proto3" json:"max_gateway_count,omitempty"`
	// Max. device count for organization.
	// When set to 0, the organization can have unlimited devices.
	MaxDeviceCount       uint32   `protobuf:"varint,6,opt,name=max_device_count,json=maxDeviceCount,proto3" json:"max_device_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_Organization proto.InternalMessageInfo

func (m *Organization) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

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

func (m *Organization) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *Organization) GetCanHaveGateways() bool {
	if m != nil {
		return m.CanHaveGateways
	}
	return false
}

func (m *Organization) GetMaxGatewayCount() uint32 {
	if m != nil {
		return m.MaxGatewayCount
	}
	return 0
}

func (m *Organization) GetMaxDeviceCount() uint32 {
	if m != nil {
		return m.MaxDeviceCount
	}
	return 0
}

type OrganizationListItem struct {
	// Organization ID.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Organization name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Organization display name.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Can the organization create and "own" Gateways?
	CanHaveGateways bool `protobuf:"varint,4,opt,name=can_have_gateways,json=canHaveGateways,proto3" json:"can_have_gateways,omitempty"`
	// Created at timestamp.
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp.
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,6,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 *OrganizationListItem) Reset()         { *m = OrganizationListItem{} }
func (m *OrganizationListItem) String() string { return proto.CompactTextString(m) }
func (*OrganizationListItem) ProtoMessage()    {}
func (*OrganizationListItem) Descriptor() ([]byte, []int) {
	return fileDescriptor_7185a1e614145d4b, []int{1}
}

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

var xxx_messageInfo_OrganizationListItem proto.InternalMessageInfo

func (m *OrganizationListItem) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

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

func (m *OrganizationListItem) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *OrganizationListItem) GetCanHaveGateways() bool {
	if m != nil {
		return m.CanHaveGateways
	}
	return false
}

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

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

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

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

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

var xxx_messageInfo_GetOrganizationRequest proto.InternalMessageInfo

func (m *GetOrganizationRequest) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

type GetOrganizationResponse struct {
	// Organization object.
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *GetOrganizationResponse) Reset()         { *m = GetOrganizationResponse{} }
func (m *GetOrganizationResponse) String() string { return proto.CompactTextString(m) }
func (*GetOrganizationResponse) ProtoMessage()    {}
func (*GetOrganizationResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_7185a1e614145d4b, []int{3}
}

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

var xxx_messageInfo_GetOrganizationResponse proto.InternalMessageInfo

func (m *GetOrganizationResponse) GetOrganization() *Organization {
	if m != nil {
		return m.Organization
	}
	return nil
}

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

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

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

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

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

var xxx_messageInfo_CreateOrganizationRequest proto.InternalMessageInfo

func (m *CreateOrganizationRequest) GetOrganization() *Organization {
	if m != nil {
		return m.Organization
	}
	return nil
}

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

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

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

var xxx_messageInfo_CreateOrganizationResponse proto.InternalMessageInfo

func (m *CreateOrganizationResponse) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

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

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

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

var xxx_messageInfo_UpdateOrganizationRequest proto.InternalMessageInfo

func (m *UpdateOrganizationRequest) GetOrganization() *Organization {
	if m != nil {
		return m.Organization
	}
	return nil
}

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

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

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

var xxx_messageInfo_DeleteOrganizationRequest proto.InternalMessageInfo

func (m *DeleteOrganizationRequest) GetId() int64 {
	if m != nil {
		return m.Id
	}
	return 0
}

type ListOrganizationRequest struct {
	// Max number of organizations to return in the result-set.
	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"`
	// When provided, the given string will be used to search on
	// displayName.
	Search               string   `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ListOrganizationRequest proto.InternalMessageInfo

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

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

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

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

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

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

var xxx_messageInfo_ListOrganizationResponse proto.InternalMessageInfo

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

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

type OrganizationUser struct {
	// Organization ID.
	OrganizationId int64 `protobuf:"varint,1,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// User ID.
	UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userID,proto3" json:"user_id,omitempty"`
	// User is admin within the context of the 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,5,opt,name=is_device_admin,json=isDeviceAdmin,proto3" json:"is_device_admin,omitempty"`
	// User is able to modify gateways.
	IsGatewayAdmin bool `protobuf:"varint,6,opt,name=is_gateway_admin,json=isGatewayAdmin,proto3" json:"is_gateway_admin,omitempty"`
	// Email (only used on get and when adding a user to an organization).
	Email                string   `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_OrganizationUser proto.InternalMessageInfo

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

func (m *OrganizationUser) GetUserId() int64 {
	if m != nil {
		return m.UserId
	}
	return 0
}

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

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

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

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

type OrganizationUserListItem struct {
	// User ID.
	// This is not used on create, you must set the user email address
	// associated with the user to add an user to an organization.
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userID,proto3" json:"user_id,omitempty"`
	// Email.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// User is admin within the context of the 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 *OrganizationUserListItem) Reset()         { *m = OrganizationUserListItem{} }
func (m *OrganizationUserListItem) String() string { return proto.CompactTextString(m) }
func (*OrganizationUserListItem) ProtoMessage()    {}
func (*OrganizationUserListItem) Descriptor() ([]byte, []int) {
	return fileDescriptor_7185a1e614145d4b, []int{11}
}

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

var xxx_messageInfo_OrganizationUserListItem proto.InternalMessageInfo

func (m *OrganizationUserListItem) GetUserId() int64 {
	if m != nil {
		return m.UserId
	}
	return 0
}

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

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

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

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

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

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

type AddOrganizationUserRequest struct {
	// Organization-user object to create.
	OrganizationUser     *OrganizationUser `protobuf:"bytes,1,opt,name=organization_user,json=organizationUser,proto3" json:"organization_user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

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

var xxx_messageInfo_AddOrganizationUserRequest proto.InternalMessageInfo

func (m *AddOrganizationUserRequest) GetOrganizationUser() *OrganizationUser {
	if m != nil {
		return m.OrganizationUser
	}
	return nil
}

type UpdateOrganizationUserRequest struct {
	// Organization-user object to update.
	OrganizationUser     *OrganizationUser `protobuf:"bytes,1,opt,name=organization_user,json=organizationUser,proto3" json:"organization_user,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

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

var xxx_messageInfo_UpdateOrganizationUserRequest proto.InternalMessageInfo

func (m *UpdateOrganizationUserRequest) GetOrganizationUser() *OrganizationUser {
	if m != nil {
		return m.OrganizationUser
	}
	return nil
}

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

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

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

var xxx_messageInfo_DeleteOrganizationUserRequest proto.InternalMessageInfo

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

func (m *DeleteOrganizationUserRequest) GetUserId() int64 {
	if m != nil {
		return m.UserId
	}
	return 0
}

type ListOrganizationUsersRequest struct {
	// Organization ID.
	OrganizationId int64 `protobuf:"varint,1,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
	// Max number of users to return in the result-set.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// Offset in the result-set (for pagination).
	Offset               int32    `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_ListOrganizationUsersRequest proto.InternalMessageInfo

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

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

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

type ListOrganizationUsersResponse struct {
	// The total number of users in the organization.
	TotalCount           int64                       `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Result               []*OrganizationUserListItem `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

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

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

var xxx_messageInfo_ListOrganizationUsersResponse proto.InternalMessageInfo

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

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

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

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

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

var xxx_messageInfo_GetOrganizationUserRequest proto.InternalMessageInfo

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

func (m *GetOrganizationUserRequest) GetUserId() int64 {
	if m != nil {
		return m.UserId
	}
	return 0
}

// Response for a user in the organization
type GetOrganizationUserResponse struct {
	// Organization-user object.
	OrganizationUser *OrganizationUser `protobuf:"bytes,1,opt,name=organization_user,json=organizationUser,proto3" json:"organization_user,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"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

var xxx_messageInfo_GetOrganizationUserResponse proto.InternalMessageInfo

func (m *GetOrganizationUserResponse) GetOrganizationUser() *OrganizationUser {
	if m != nil {
		return m.OrganizationUser
	}
	return nil
}

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

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

func init() {
	proto.RegisterType((*Organization)(nil), "api.Organization")
	proto.RegisterType((*OrganizationListItem)(nil), "api.OrganizationListItem")
	proto.RegisterType((*GetOrganizationRequest)(nil), "api.GetOrganizationRequest")
	proto.RegisterType((*GetOrganizationResponse)(nil), "api.GetOrganizationResponse")
	proto.RegisterType((*CreateOrganizationRequest)(nil), "api.CreateOrganizationRequest")
	proto.RegisterType((*CreateOrganizationResponse)(nil), "api.CreateOrganizationResponse")
	proto.RegisterType((*UpdateOrganizationRequest)(nil), "api.UpdateOrganizationRequest")
	proto.RegisterType((*DeleteOrganizationRequest)(nil), "api.DeleteOrganizationRequest")
	proto.RegisterType((*ListOrganizationRequest)(nil), "api.ListOrganizationRequest")
	proto.RegisterType((*ListOrganizationResponse)(nil), "api.ListOrganizationResponse")
	proto.RegisterType((*OrganizationUser)(nil), "api.OrganizationUser")
	proto.RegisterType((*OrganizationUserListItem)(nil), "api.OrganizationUserListItem")
	proto.RegisterType((*AddOrganizationUserRequest)(nil), "api.AddOrganizationUserRequest")
	proto.RegisterType((*UpdateOrganizationUserRequest)(nil), "api.UpdateOrganizationUserRequest")
	proto.RegisterType((*DeleteOrganizationUserRequest)(nil), "api.DeleteOrganizationUserRequest")
	proto.RegisterType((*ListOrganizationUsersRequest)(nil), "api.ListOrganizationUsersRequest")
	proto.RegisterType((*ListOrganizationUsersResponse)(nil), "api.ListOrganizationUsersResponse")
	proto.RegisterType((*GetOrganizationUserRequest)(nil), "api.GetOrganizationUserRequest")
	proto.RegisterType((*GetOrganizationUserResponse)(nil), "api.GetOrganizationUserResponse")
}

func init() {
	proto.RegisterFile("as/external/api/organization.proto", fileDescriptor_7185a1e614145d4b)
}

var fileDescriptor_7185a1e614145d4b = []byte{
	// 1123 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xdd, 0x4e, 0x24, 0x45,
	0x14, 0x4e, 0xcf, 0x30, 0x03, 0x1c, 0x58, 0x7e, 0x4a, 0x84, 0x99, 0x86, 0x11, 0xe8, 0x18, 0x1d,
	0x71, 0xed, 0x8e, 0xac, 0xab, 0xd1, 0xec, 0xcd, 0xb0, 0x18, 0x24, 0x31, 0xba, 0x69, 0xdd, 0xc4,
	0x98, 0x68, 0x5b, 0x74, 0x17, 0x43, 0xc5, 0xe9, 0x1f, 0xba, 0x6a, 0x58, 0x70, 0xc3, 0x8d, 0x17,
	0x7b, 0xa1, 0x97, 0xbe, 0x86, 0xbe, 0x86, 0x2f, 0xe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25, 0xf4, 0xac, 0x07, 0x97, 0x4a, 0x10,
	0xbc, 0x76, 0xb9, 0x28, 0x91, 0x06, 0x7f, 0x18, 0x00, 0x2a, 0xdb, 0xa4, 0x20, 0xab, 0x22, 0xfd,
	0xae, 0xa2, 0xc9, 0x97, 0x9a, 0xbe, 0x33, 0xbf, 0x79, 0x19, 0x4d, 0x65, 0xc8, 0x51, 0xe8, 0x84,
	0xde, 0x67, 0x06, 0x80, 0x4a, 0xd5, 0x8c, 0xde, 0x17, 0x5e, 0x87, 0x95, 0x7a, 0xf5, 0x31, 0x6e,
	0xdd, 0xe8, 0x18, 0x77, 0x8e, 0x61, 0x93, 0xc6, 0xb6, 0x7f, 0x44, 0xd3, 0x84, 0x71, 0xec, 0xff,
	0x28, 0x85, 0x60, 0x66, 0x8f, 0xfe, 0xc8, 0xc5, 0x78, 0x67, 0x31, 0xab, 0xe9, 0x91, 0xa0, 0x7f,
	0x64, 0x7c, 0xfb, 0x51, 0x9f, 0xf2, 0xa3, 0xe1, 0x81, 0xed, 0xc7, 0xa1, 0x73, 0x90, 0xc6, 0x3e,
	0xc6, 0xa9, 0xf3, 0xbf, 0x9d, 0xf7, 0x84, 0x98, 0x7e, 0xec, 0x9c, 0xdc, 0x73, 0x72, 0xff, 0xf7,
	0x07, 0x4d, 0xe9, 0xc0, 0xbd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8c, 0xab, 0x93, 0xac, 0xf9,
	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

// OrganizationServiceClient is the client API for OrganizationService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type OrganizationServiceClient interface {
	// Get organization list.
	List(ctx context.Context, in *ListOrganizationRequest, opts ...grpc.CallOption) (*ListOrganizationResponse, error)
	// Get data for a particular organization.
	Get(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error)
	// Create a new organization.
	Create(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error)
	// Update an existing organization.
	Update(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete an organization.
	Delete(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Get organization's user list.
	ListUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error)
	// Get data for a particular organization user.
	GetUser(ctx context.Context, in *GetOrganizationUserRequest, opts ...grpc.CallOption) (*GetOrganizationUserResponse, error)
	// Add a new user to an organization. The user is matched based on email, not user id.
	AddUser(ctx context.Context, in *AddOrganizationUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Update a user in an organization.
	UpdateUser(ctx context.Context, in *UpdateOrganizationUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Delete a user from an organization.
	DeleteUser(ctx context.Context, in *DeleteOrganizationUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

type organizationServiceClient struct {
	cc grpc.ClientConnInterface
}

func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient {
	return &organizationServiceClient{cc}
}

func (c *organizationServiceClient) List(ctx context.Context, in *ListOrganizationRequest, opts ...grpc.CallOption) (*ListOrganizationResponse, error) {
	out := new(ListOrganizationResponse)
	err := c.cc.Invoke(ctx, "/api.OrganizationService/List", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *organizationServiceClient) Get(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error) {
	out := new(GetOrganizationResponse)
	err := c.cc.Invoke(ctx, "/api.OrganizationService/Get", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *organizationServiceClient) Create(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error) {
	out := new(CreateOrganizationResponse)
	err := c.cc.Invoke(ctx, "/api.OrganizationService/Create", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

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

func (c *organizationServiceClient) ListUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error) {
	out := new(ListOrganizationUsersResponse)
	err := c.cc.Invoke(ctx, "/api.OrganizationService/ListUsers", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *organizationServiceClient) GetUser(ctx context.Context, in *GetOrganizationUserRequest, opts ...grpc.CallOption) (*GetOrganizationUserResponse, error) {
	out := new(GetOrganizationUserResponse)
	err := c.cc.Invoke(ctx, "/api.OrganizationService/GetUser", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

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

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

// OrganizationServiceServer is the server API for OrganizationService service.
type OrganizationServiceServer interface {
	// Get organization list.
	List(context.Context, *ListOrganizationRequest) (*ListOrganizationResponse, error)
	// Get data for a particular organization.
	Get(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
	// Create a new organization.
	Create(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
	// Update an existing organization.
	Update(context.Context, *UpdateOrganizationRequest) (*empty.Empty, error)
	// Delete an organization.
	Delete(context.Context, *DeleteOrganizationRequest) (*empty.Empty, error)
	// Get organization's user list.
	ListUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
	// Get data for a particular organization user.
	GetUser(context.Context, *GetOrganizationUserRequest) (*GetOrganizationUserResponse, error)
	// Add a new user to an organization. The user is matched based on email, not user id.
	AddUser(context.Context, *AddOrganizationUserRequest) (*empty.Empty, error)
	// Update a user in an organization.
	UpdateUser(context.Context, *UpdateOrganizationUserRequest) (*empty.Empty, error)
	// Delete a user from an organization.
	DeleteUser(context.Context, *DeleteOrganizationUserRequest) (*empty.Empty, error)
}

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

func (*UnimplementedOrganizationServiceServer) List(ctx context.Context, req *ListOrganizationRequest) (*ListOrganizationResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (*UnimplementedOrganizationServiceServer) Get(ctx context.Context, req *GetOrganizationRequest) (*GetOrganizationResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedOrganizationServiceServer) Create(ctx context.Context, req *CreateOrganizationRequest) (*CreateOrganizationResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedOrganizationServiceServer) Update(ctx context.Context, req *UpdateOrganizationRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (*UnimplementedOrganizationServiceServer) Delete(ctx context.Context, req *DeleteOrganizationRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedOrganizationServiceServer) ListUsers(ctx context.Context, req *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ListUsers not implemented")
}
func (*UnimplementedOrganizationServiceServer) GetUser(ctx context.Context, req *GetOrganizationUserRequest) (*GetOrganizationUserResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
}
func (*UnimplementedOrganizationServiceServer) AddUser(ctx context.Context, req *AddOrganizationUserRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AddUser not implemented")
}
func (*UnimplementedOrganizationServiceServer) UpdateUser(ctx context.Context, req *UpdateOrganizationUserRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
}
func (*UnimplementedOrganizationServiceServer) DeleteUser(ctx context.Context, req *DeleteOrganizationUserRequest) (*empty.Empty, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented")
}

func RegisterOrganizationServiceServer(s *grpc.Server, srv OrganizationServiceServer) {
	s.RegisterService(&_OrganizationService_serviceDesc, srv)
}

func _OrganizationService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListOrganizationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).List(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/List",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).List(ctx, req.(*ListOrganizationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetOrganizationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).Get(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/Get",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).Get(ctx, req.(*GetOrganizationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateOrganizationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).Create(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/Create",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).Create(ctx, req.(*CreateOrganizationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateOrganizationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).Update(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/Update",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).Update(ctx, req.(*UpdateOrganizationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteOrganizationRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).Delete(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/Delete",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).Delete(ctx, req.(*DeleteOrganizationRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_ListUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ListOrganizationUsersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).ListUsers(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/ListUsers",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).ListUsers(ctx, req.(*ListOrganizationUsersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetOrganizationUserRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).GetUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/GetUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).GetUser(ctx, req.(*GetOrganizationUserRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_AddUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AddOrganizationUserRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).AddUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/AddUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).AddUser(ctx, req.(*AddOrganizationUserRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(UpdateOrganizationUserRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).UpdateUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/UpdateUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).UpdateUser(ctx, req.(*UpdateOrganizationUserRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _OrganizationService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteOrganizationUserRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(OrganizationServiceServer).DeleteUser(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/api.OrganizationService/DeleteUser",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(OrganizationServiceServer).DeleteUser(ctx, req.(*DeleteOrganizationUserRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var _OrganizationService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "api.OrganizationService",
	HandlerType: (*OrganizationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _OrganizationService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _OrganizationService_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _OrganizationService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _OrganizationService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _OrganizationService_Delete_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _OrganizationService_ListUsers_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _OrganizationService_GetUser_Handler,
		},
		{
			MethodName: "AddUser",
			Handler:    _OrganizationService_AddUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _OrganizationService_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _OrganizationService_DeleteUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "as/external/api/organization.proto",
}
