pb

package
v0.0.0-...-b743a0b Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAdbus = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAdbus   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterDeviceServiceHandler

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

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

func RegisterDeviceServiceHandlerClient

func RegisterDeviceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeviceServiceClient) error

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

func RegisterDeviceServiceHandlerFromEndpoint

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

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

func RegisterDeviceServiceServer

func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer)

Types

type ActionSyncByGroupRequest

type ActionSyncByGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

func (*ActionSyncByGroupRequest) Descriptor

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

func (*ActionSyncByGroupRequest) GetGroupId

func (m *ActionSyncByGroupRequest) GetGroupId() string

func (*ActionSyncByGroupRequest) Marshal

func (m *ActionSyncByGroupRequest) Marshal() (dAtA []byte, err error)

func (*ActionSyncByGroupRequest) MarshalTo

func (m *ActionSyncByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActionSyncByGroupRequest) ProtoMessage

func (*ActionSyncByGroupRequest) ProtoMessage()

func (*ActionSyncByGroupRequest) Reset

func (m *ActionSyncByGroupRequest) Reset()

func (*ActionSyncByGroupRequest) Size

func (m *ActionSyncByGroupRequest) Size() (n int)

func (*ActionSyncByGroupRequest) String

func (m *ActionSyncByGroupRequest) String() string

func (*ActionSyncByGroupRequest) Unmarshal

func (m *ActionSyncByGroupRequest) Unmarshal(dAtA []byte) error

func (*ActionSyncByGroupRequest) XXX_DiscardUnknown

func (m *ActionSyncByGroupRequest) XXX_DiscardUnknown()

func (*ActionSyncByGroupRequest) XXX_Marshal

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

func (*ActionSyncByGroupRequest) XXX_Merge

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

func (*ActionSyncByGroupRequest) XXX_Size

func (m *ActionSyncByGroupRequest) XXX_Size() int

func (*ActionSyncByGroupRequest) XXX_Unmarshal

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

type ActionSyncRequest

type ActionSyncRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

POST /v1/devices/{id}/sync

func (*ActionSyncRequest) Descriptor

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

func (*ActionSyncRequest) GetId

func (m *ActionSyncRequest) GetId() string

func (*ActionSyncRequest) Marshal

func (m *ActionSyncRequest) Marshal() (dAtA []byte, err error)

func (*ActionSyncRequest) MarshalTo

func (m *ActionSyncRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActionSyncRequest) ProtoMessage

func (*ActionSyncRequest) ProtoMessage()

func (*ActionSyncRequest) Reset

func (m *ActionSyncRequest) Reset()

func (*ActionSyncRequest) Size

func (m *ActionSyncRequest) Size() (n int)

func (*ActionSyncRequest) String

func (m *ActionSyncRequest) String() string

func (*ActionSyncRequest) Unmarshal

func (m *ActionSyncRequest) Unmarshal(dAtA []byte) error

func (*ActionSyncRequest) XXX_DiscardUnknown

func (m *ActionSyncRequest) XXX_DiscardUnknown()

func (*ActionSyncRequest) XXX_Marshal

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

func (*ActionSyncRequest) XXX_Merge

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

func (*ActionSyncRequest) XXX_Size

func (m *ActionSyncRequest) XXX_Size() int

func (*ActionSyncRequest) XXX_Unmarshal

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

type ActionTestByGroupRequest

type ActionTestByGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

func (*ActionTestByGroupRequest) Descriptor

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

func (*ActionTestByGroupRequest) GetGroupId

func (m *ActionTestByGroupRequest) GetGroupId() string

func (*ActionTestByGroupRequest) Marshal

func (m *ActionTestByGroupRequest) Marshal() (dAtA []byte, err error)

func (*ActionTestByGroupRequest) MarshalTo

func (m *ActionTestByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActionTestByGroupRequest) ProtoMessage

func (*ActionTestByGroupRequest) ProtoMessage()

func (*ActionTestByGroupRequest) Reset

func (m *ActionTestByGroupRequest) Reset()

func (*ActionTestByGroupRequest) Size

func (m *ActionTestByGroupRequest) Size() (n int)

func (*ActionTestByGroupRequest) String

func (m *ActionTestByGroupRequest) String() string

func (*ActionTestByGroupRequest) Unmarshal

func (m *ActionTestByGroupRequest) Unmarshal(dAtA []byte) error

func (*ActionTestByGroupRequest) XXX_DiscardUnknown

func (m *ActionTestByGroupRequest) XXX_DiscardUnknown()

func (*ActionTestByGroupRequest) XXX_Marshal

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

func (*ActionTestByGroupRequest) XXX_Merge

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

func (*ActionTestByGroupRequest) XXX_Size

func (m *ActionTestByGroupRequest) XXX_Size() int

func (*ActionTestByGroupRequest) XXX_Unmarshal

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

type ActionTestRequest

type ActionTestRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

POST /v1/devices/{id}/test

func (*ActionTestRequest) Descriptor

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

func (*ActionTestRequest) GetId

func (m *ActionTestRequest) GetId() string

func (*ActionTestRequest) Marshal

func (m *ActionTestRequest) Marshal() (dAtA []byte, err error)

func (*ActionTestRequest) MarshalTo

func (m *ActionTestRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActionTestRequest) ProtoMessage

func (*ActionTestRequest) ProtoMessage()

func (*ActionTestRequest) Reset

func (m *ActionTestRequest) Reset()

func (*ActionTestRequest) Size

func (m *ActionTestRequest) Size() (n int)

func (*ActionTestRequest) String

func (m *ActionTestRequest) String() string

func (*ActionTestRequest) Unmarshal

func (m *ActionTestRequest) Unmarshal(dAtA []byte) error

func (*ActionTestRequest) XXX_DiscardUnknown

func (m *ActionTestRequest) XXX_DiscardUnknown()

func (*ActionTestRequest) XXX_Marshal

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

func (*ActionTestRequest) XXX_Merge

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

func (*ActionTestRequest) XXX_Size

func (m *ActionTestRequest) XXX_Size() int

func (*ActionTestRequest) XXX_Unmarshal

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

type CreateDeviceRequest

type CreateDeviceRequest struct {
	Id     string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
}

POST /v1/devices

func (*CreateDeviceRequest) Descriptor

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

func (*CreateDeviceRequest) GetDevice

func (m *CreateDeviceRequest) GetDevice() *Device

func (*CreateDeviceRequest) GetId

func (m *CreateDeviceRequest) GetId() string

func (*CreateDeviceRequest) Marshal

func (m *CreateDeviceRequest) Marshal() (dAtA []byte, err error)

func (*CreateDeviceRequest) MarshalTo

func (m *CreateDeviceRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateDeviceRequest) ProtoMessage

func (*CreateDeviceRequest) ProtoMessage()

func (*CreateDeviceRequest) Reset

func (m *CreateDeviceRequest) Reset()

func (*CreateDeviceRequest) Size

func (m *CreateDeviceRequest) Size() (n int)

func (*CreateDeviceRequest) String

func (m *CreateDeviceRequest) String() string

func (*CreateDeviceRequest) Unmarshal

func (m *CreateDeviceRequest) Unmarshal(dAtA []byte) error

func (*CreateDeviceRequest) XXX_DiscardUnknown

func (m *CreateDeviceRequest) XXX_DiscardUnknown()

func (*CreateDeviceRequest) XXX_Marshal

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

func (*CreateDeviceRequest) XXX_Merge

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

func (*CreateDeviceRequest) XXX_Size

func (m *CreateDeviceRequest) XXX_Size() int

func (*CreateDeviceRequest) XXX_Unmarshal

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

type CreateDeviceResponse

type CreateDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*CreateDeviceResponse) Descriptor

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

func (*CreateDeviceResponse) GetDevice

func (m *CreateDeviceResponse) GetDevice() *Device

func (*CreateDeviceResponse) Marshal

func (m *CreateDeviceResponse) Marshal() (dAtA []byte, err error)

func (*CreateDeviceResponse) MarshalTo

func (m *CreateDeviceResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateDeviceResponse) ProtoMessage

func (*CreateDeviceResponse) ProtoMessage()

func (*CreateDeviceResponse) Reset

func (m *CreateDeviceResponse) Reset()

func (*CreateDeviceResponse) Size

func (m *CreateDeviceResponse) Size() (n int)

func (*CreateDeviceResponse) String

func (m *CreateDeviceResponse) String() string

func (*CreateDeviceResponse) Unmarshal

func (m *CreateDeviceResponse) Unmarshal(dAtA []byte) error

func (*CreateDeviceResponse) XXX_DiscardUnknown

func (m *CreateDeviceResponse) XXX_DiscardUnknown()

func (*CreateDeviceResponse) XXX_Marshal

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

func (*CreateDeviceResponse) XXX_Merge

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

func (*CreateDeviceResponse) XXX_Size

func (m *CreateDeviceResponse) XXX_Size() int

func (*CreateDeviceResponse) XXX_Unmarshal

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

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

DELETE /v1/devices/{id}

func (*DeleteDeviceRequest) Descriptor

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

func (*DeleteDeviceRequest) GetId

func (m *DeleteDeviceRequest) GetId() string

func (*DeleteDeviceRequest) Marshal

func (m *DeleteDeviceRequest) Marshal() (dAtA []byte, err error)

func (*DeleteDeviceRequest) MarshalTo

func (m *DeleteDeviceRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteDeviceRequest) ProtoMessage

func (*DeleteDeviceRequest) ProtoMessage()

func (*DeleteDeviceRequest) Reset

func (m *DeleteDeviceRequest) Reset()

func (*DeleteDeviceRequest) Size

func (m *DeleteDeviceRequest) Size() (n int)

func (*DeleteDeviceRequest) String

func (m *DeleteDeviceRequest) String() string

func (*DeleteDeviceRequest) Unmarshal

func (m *DeleteDeviceRequest) Unmarshal(dAtA []byte) error

func (*DeleteDeviceRequest) XXX_DiscardUnknown

func (m *DeleteDeviceRequest) XXX_DiscardUnknown()

func (*DeleteDeviceRequest) XXX_Marshal

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

func (*DeleteDeviceRequest) XXX_Merge

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

func (*DeleteDeviceRequest) XXX_Size

func (m *DeleteDeviceRequest) XXX_Size() int

func (*DeleteDeviceRequest) XXX_Unmarshal

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

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*DeleteDeviceResponse) Descriptor

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

func (*DeleteDeviceResponse) GetDevice

func (m *DeleteDeviceResponse) GetDevice() *Device

func (*DeleteDeviceResponse) Marshal

func (m *DeleteDeviceResponse) Marshal() (dAtA []byte, err error)

func (*DeleteDeviceResponse) MarshalTo

func (m *DeleteDeviceResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteDeviceResponse) ProtoMessage

func (*DeleteDeviceResponse) ProtoMessage()

func (*DeleteDeviceResponse) Reset

func (m *DeleteDeviceResponse) Reset()

func (*DeleteDeviceResponse) Size

func (m *DeleteDeviceResponse) Size() (n int)

func (*DeleteDeviceResponse) String

func (m *DeleteDeviceResponse) String() string

func (*DeleteDeviceResponse) Unmarshal

func (m *DeleteDeviceResponse) Unmarshal(dAtA []byte) error

func (*DeleteDeviceResponse) XXX_DiscardUnknown

func (m *DeleteDeviceResponse) XXX_DiscardUnknown()

func (*DeleteDeviceResponse) XXX_Marshal

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

func (*DeleteDeviceResponse) XXX_Merge

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

func (*DeleteDeviceResponse) XXX_Size

func (m *DeleteDeviceResponse) XXX_Size() int

func (*DeleteDeviceResponse) XXX_Unmarshal

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

type Device

type Device struct {
	Id       string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	GroupId  string    `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Storage  string    `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"`
	Player   string    `protobuf:"bytes,5,opt,name=player,proto3" json:"player,omitempty"`
	Playing  string    `protobuf:"bytes,6,opt,name=playing,proto3" json:"playing,omitempty"`
	Playlist *Playlist `protobuf:"bytes,7,opt,name=playlist,proto3" json:"playlist,omitempty"`
	Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
}

func (*Device) Descriptor

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

func (*Device) GetGroupId

func (m *Device) GetGroupId() string

func (*Device) GetId

func (m *Device) GetId() string

func (*Device) GetLocation

func (m *Device) GetLocation() *Location

func (*Device) GetName

func (m *Device) GetName() string

func (*Device) GetPlayer

func (m *Device) GetPlayer() string

func (*Device) GetPlaying

func (m *Device) GetPlaying() string

func (*Device) GetPlaylist

func (m *Device) GetPlaylist() *Playlist

func (*Device) GetStorage

func (m *Device) GetStorage() string

func (*Device) Marshal

func (m *Device) Marshal() (dAtA []byte, err error)

func (*Device) MarshalTo

func (m *Device) MarshalTo(dAtA []byte) (int, error)

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) Reset

func (m *Device) Reset()

func (*Device) Size

func (m *Device) Size() (n int)

func (*Device) String

func (m *Device) String() string

func (*Device) Unmarshal

func (m *Device) Unmarshal(dAtA []byte) error

func (*Device) XXX_DiscardUnknown

func (m *Device) XXX_DiscardUnknown()

func (*Device) XXX_Marshal

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

func (*Device) XXX_Merge

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

func (*Device) XXX_Size

func (m *Device) XXX_Size() int

func (*Device) XXX_Unmarshal

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

type DeviceServiceClient

type DeviceServiceClient interface {
	// GET /v1/login
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// GET /v1/logout
	Logout(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error)
	// GET /v1/devices
	ListDevices(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ListDevicesResponse, error)
	// POST /v1/devices
	CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*CreateDeviceResponse, error)
	// GET /v1/devices/{id}
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error)
	// PUT /v1/devices/{id}
	UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*UpdateDeviceResponse, error)
	// DELETE /v1/devices/{id}
	DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error)
	// GET /v1/devices/{id}/playlist
	GetPlaylist(ctx context.Context, in *GetPlaylistRequest, opts ...grpc.CallOption) (*GetPlaylistResponse, error)
	// PUT /v1/devices/{id}/playlist
	UpdatePlaylist(ctx context.Context, in *UpdatePlaylistRequest, opts ...grpc.CallOption) (*UpdatePlaylistResponse, error)
	// GET /v1/devices/groups
	ListGroups(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ListGroupsResponse, error)
	// GET /v1/devices/groups/{group_id}
	ListDevicesByGroup(ctx context.Context, in *ListDevicesByGroupRequest, opts ...grpc.CallOption) (*ListDevicesByGroupResponse, error)
	// PUT /v1/devices/groups/{group_id}
	UpdateDevicesByGroup(ctx context.Context, in *UpdateDevicesByGroupRequest, opts ...grpc.CallOption) (*UpdateDevicesByGroupResponse, error)
	// GET /v1/devices/groups/{group_id}/playlist
	GetPlaylistByGroup(ctx context.Context, in *GetPlaylistByGroupRequest, opts ...grpc.CallOption) (*GetPlaylistByGroupResponse, error)
	// PUT /v1/devices/groups/{group_id}/playlist
	UpdatePlaylistByGroup(ctx context.Context, in *UpdatePlaylistByGroupRequest, opts ...grpc.CallOption) (*UpdatePlaylistByGroupResponse, error)
	// POST /v1/devices/groups/{group_id}/sync
	ActionSyncByGroup(ctx context.Context, in *ActionSyncByGroupRequest, opts ...grpc.CallOption) (*types.Empty, error)
	// POST /v1/devices/groups/{group_id}/test
	ActionTestByGroup(ctx context.Context, in *ActionTestByGroupRequest, opts ...grpc.CallOption) (*types.Empty, error)
	// POST /v1/devices/sync
	ActionSyncAll(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error)
	// POST /v1/devices/{id}/sync
	ActionSync(ctx context.Context, in *ActionSyncRequest, opts ...grpc.CallOption) (*types.Empty, error)
	// POST /v1/devices/test
	ActionTestAll(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error)
	// POST /v1/devices/{id}/test
	ActionTest(ctx context.Context, in *ActionTestRequest, opts ...grpc.CallOption) (*types.Empty, error)
}

DeviceServiceClient is the client API for DeviceService service.

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

func NewDeviceServiceClient

func NewDeviceServiceClient(cc *grpc.ClientConn) DeviceServiceClient

type DeviceServiceServer

type DeviceServiceServer interface {
	// GET /v1/login
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// GET /v1/logout
	Logout(context.Context, *types.Empty) (*types.Empty, error)
	// GET /v1/devices
	ListDevices(context.Context, *types.Empty) (*ListDevicesResponse, error)
	// POST /v1/devices
	CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceResponse, error)
	// GET /v1/devices/{id}
	GetDevice(context.Context, *GetDeviceRequest) (*GetDeviceResponse, error)
	// PUT /v1/devices/{id}
	UpdateDevice(context.Context, *UpdateDeviceRequest) (*UpdateDeviceResponse, error)
	// DELETE /v1/devices/{id}
	DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceResponse, error)
	// GET /v1/devices/{id}/playlist
	GetPlaylist(context.Context, *GetPlaylistRequest) (*GetPlaylistResponse, error)
	// PUT /v1/devices/{id}/playlist
	UpdatePlaylist(context.Context, *UpdatePlaylistRequest) (*UpdatePlaylistResponse, error)
	// GET /v1/devices/groups
	ListGroups(context.Context, *types.Empty) (*ListGroupsResponse, error)
	// GET /v1/devices/groups/{group_id}
	ListDevicesByGroup(context.Context, *ListDevicesByGroupRequest) (*ListDevicesByGroupResponse, error)
	// PUT /v1/devices/groups/{group_id}
	UpdateDevicesByGroup(context.Context, *UpdateDevicesByGroupRequest) (*UpdateDevicesByGroupResponse, error)
	// GET /v1/devices/groups/{group_id}/playlist
	GetPlaylistByGroup(context.Context, *GetPlaylistByGroupRequest) (*GetPlaylistByGroupResponse, error)
	// PUT /v1/devices/groups/{group_id}/playlist
	UpdatePlaylistByGroup(context.Context, *UpdatePlaylistByGroupRequest) (*UpdatePlaylistByGroupResponse, error)
	// POST /v1/devices/groups/{group_id}/sync
	ActionSyncByGroup(context.Context, *ActionSyncByGroupRequest) (*types.Empty, error)
	// POST /v1/devices/groups/{group_id}/test
	ActionTestByGroup(context.Context, *ActionTestByGroupRequest) (*types.Empty, error)
	// POST /v1/devices/sync
	ActionSyncAll(context.Context, *types.Empty) (*types.Empty, error)
	// POST /v1/devices/{id}/sync
	ActionSync(context.Context, *ActionSyncRequest) (*types.Empty, error)
	// POST /v1/devices/test
	ActionTestAll(context.Context, *types.Empty) (*types.Empty, error)
	// POST /v1/devices/{id}/test
	ActionTest(context.Context, *ActionTestRequest) (*types.Empty, error)
}

DeviceServiceServer is the server API for DeviceService service.

type GetDeviceRequest

type GetDeviceRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

GET /v1/devices/{id}

func (*GetDeviceRequest) Descriptor

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

func (*GetDeviceRequest) GetId

func (m *GetDeviceRequest) GetId() string

func (*GetDeviceRequest) Marshal

func (m *GetDeviceRequest) Marshal() (dAtA []byte, err error)

func (*GetDeviceRequest) MarshalTo

func (m *GetDeviceRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) Reset

func (m *GetDeviceRequest) Reset()

func (*GetDeviceRequest) Size

func (m *GetDeviceRequest) Size() (n int)

func (*GetDeviceRequest) String

func (m *GetDeviceRequest) String() string

func (*GetDeviceRequest) Unmarshal

func (m *GetDeviceRequest) Unmarshal(dAtA []byte) error

func (*GetDeviceRequest) XXX_DiscardUnknown

func (m *GetDeviceRequest) XXX_DiscardUnknown()

func (*GetDeviceRequest) XXX_Marshal

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

func (*GetDeviceRequest) XXX_Merge

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

func (*GetDeviceRequest) XXX_Size

func (m *GetDeviceRequest) XXX_Size() int

func (*GetDeviceRequest) XXX_Unmarshal

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

type GetDeviceResponse

type GetDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*GetDeviceResponse) Descriptor

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

func (*GetDeviceResponse) GetDevice

func (m *GetDeviceResponse) GetDevice() *Device

func (*GetDeviceResponse) Marshal

func (m *GetDeviceResponse) Marshal() (dAtA []byte, err error)

func (*GetDeviceResponse) MarshalTo

func (m *GetDeviceResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetDeviceResponse) ProtoMessage

func (*GetDeviceResponse) ProtoMessage()

func (*GetDeviceResponse) Reset

func (m *GetDeviceResponse) Reset()

func (*GetDeviceResponse) Size

func (m *GetDeviceResponse) Size() (n int)

func (*GetDeviceResponse) String

func (m *GetDeviceResponse) String() string

func (*GetDeviceResponse) Unmarshal

func (m *GetDeviceResponse) Unmarshal(dAtA []byte) error

func (*GetDeviceResponse) XXX_DiscardUnknown

func (m *GetDeviceResponse) XXX_DiscardUnknown()

func (*GetDeviceResponse) XXX_Marshal

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

func (*GetDeviceResponse) XXX_Merge

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

func (*GetDeviceResponse) XXX_Size

func (m *GetDeviceResponse) XXX_Size() int

func (*GetDeviceResponse) XXX_Unmarshal

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

type GetPlaylistByGroupRequest

type GetPlaylistByGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

GET /v1/devices/groups/{group_id}/playlist

func (*GetPlaylistByGroupRequest) Descriptor

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

func (*GetPlaylistByGroupRequest) GetGroupId

func (m *GetPlaylistByGroupRequest) GetGroupId() string

func (*GetPlaylistByGroupRequest) Marshal

func (m *GetPlaylistByGroupRequest) Marshal() (dAtA []byte, err error)

func (*GetPlaylistByGroupRequest) MarshalTo

func (m *GetPlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetPlaylistByGroupRequest) ProtoMessage

func (*GetPlaylistByGroupRequest) ProtoMessage()

func (*GetPlaylistByGroupRequest) Reset

func (m *GetPlaylistByGroupRequest) Reset()

func (*GetPlaylistByGroupRequest) Size

func (m *GetPlaylistByGroupRequest) Size() (n int)

func (*GetPlaylistByGroupRequest) String

func (m *GetPlaylistByGroupRequest) String() string

func (*GetPlaylistByGroupRequest) Unmarshal

func (m *GetPlaylistByGroupRequest) Unmarshal(dAtA []byte) error

func (*GetPlaylistByGroupRequest) XXX_DiscardUnknown

func (m *GetPlaylistByGroupRequest) XXX_DiscardUnknown()

func (*GetPlaylistByGroupRequest) XXX_Marshal

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

func (*GetPlaylistByGroupRequest) XXX_Merge

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

func (*GetPlaylistByGroupRequest) XXX_Size

func (m *GetPlaylistByGroupRequest) XXX_Size() int

func (*GetPlaylistByGroupRequest) XXX_Unmarshal

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

type GetPlaylistByGroupResponse

type GetPlaylistByGroupResponse struct {
	Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

func (*GetPlaylistByGroupResponse) Descriptor

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

func (*GetPlaylistByGroupResponse) GetPlaylist

func (m *GetPlaylistByGroupResponse) GetPlaylist() *Playlist

func (*GetPlaylistByGroupResponse) Marshal

func (m *GetPlaylistByGroupResponse) Marshal() (dAtA []byte, err error)

func (*GetPlaylistByGroupResponse) MarshalTo

func (m *GetPlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPlaylistByGroupResponse) ProtoMessage

func (*GetPlaylistByGroupResponse) ProtoMessage()

func (*GetPlaylistByGroupResponse) Reset

func (m *GetPlaylistByGroupResponse) Reset()

func (*GetPlaylistByGroupResponse) Size

func (m *GetPlaylistByGroupResponse) Size() (n int)

func (*GetPlaylistByGroupResponse) String

func (m *GetPlaylistByGroupResponse) String() string

func (*GetPlaylistByGroupResponse) Unmarshal

func (m *GetPlaylistByGroupResponse) Unmarshal(dAtA []byte) error

func (*GetPlaylistByGroupResponse) XXX_DiscardUnknown

func (m *GetPlaylistByGroupResponse) XXX_DiscardUnknown()

func (*GetPlaylistByGroupResponse) XXX_Marshal

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

func (*GetPlaylistByGroupResponse) XXX_Merge

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

func (*GetPlaylistByGroupResponse) XXX_Size

func (m *GetPlaylistByGroupResponse) XXX_Size() int

func (*GetPlaylistByGroupResponse) XXX_Unmarshal

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

type GetPlaylistRequest

type GetPlaylistRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

GET /v1/devices/{id}/playlist

func (*GetPlaylistRequest) Descriptor

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

func (*GetPlaylistRequest) GetId

func (m *GetPlaylistRequest) GetId() string

func (*GetPlaylistRequest) Marshal

func (m *GetPlaylistRequest) Marshal() (dAtA []byte, err error)

func (*GetPlaylistRequest) MarshalTo

func (m *GetPlaylistRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetPlaylistRequest) ProtoMessage

func (*GetPlaylistRequest) ProtoMessage()

func (*GetPlaylistRequest) Reset

func (m *GetPlaylistRequest) Reset()

func (*GetPlaylistRequest) Size

func (m *GetPlaylistRequest) Size() (n int)

func (*GetPlaylistRequest) String

func (m *GetPlaylistRequest) String() string

func (*GetPlaylistRequest) Unmarshal

func (m *GetPlaylistRequest) Unmarshal(dAtA []byte) error

func (*GetPlaylistRequest) XXX_DiscardUnknown

func (m *GetPlaylistRequest) XXX_DiscardUnknown()

func (*GetPlaylistRequest) XXX_Marshal

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

func (*GetPlaylistRequest) XXX_Merge

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

func (*GetPlaylistRequest) XXX_Size

func (m *GetPlaylistRequest) XXX_Size() int

func (*GetPlaylistRequest) XXX_Unmarshal

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

type GetPlaylistResponse

type GetPlaylistResponse struct {
	Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

func (*GetPlaylistResponse) Descriptor

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

func (*GetPlaylistResponse) GetPlaylist

func (m *GetPlaylistResponse) GetPlaylist() *Playlist

func (*GetPlaylistResponse) Marshal

func (m *GetPlaylistResponse) Marshal() (dAtA []byte, err error)

func (*GetPlaylistResponse) MarshalTo

func (m *GetPlaylistResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPlaylistResponse) ProtoMessage

func (*GetPlaylistResponse) ProtoMessage()

func (*GetPlaylistResponse) Reset

func (m *GetPlaylistResponse) Reset()

func (*GetPlaylistResponse) Size

func (m *GetPlaylistResponse) Size() (n int)

func (*GetPlaylistResponse) String

func (m *GetPlaylistResponse) String() string

func (*GetPlaylistResponse) Unmarshal

func (m *GetPlaylistResponse) Unmarshal(dAtA []byte) error

func (*GetPlaylistResponse) XXX_DiscardUnknown

func (m *GetPlaylistResponse) XXX_DiscardUnknown()

func (*GetPlaylistResponse) XXX_Marshal

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

func (*GetPlaylistResponse) XXX_Merge

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

func (*GetPlaylistResponse) XXX_Size

func (m *GetPlaylistResponse) XXX_Size() int

func (*GetPlaylistResponse) XXX_Unmarshal

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

type Group

type Group struct {
	Id      string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
}

func (*Group) Descriptor

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

func (*Group) GetDevices

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

func (*Group) GetId

func (m *Group) GetId() string

func (*Group) Marshal

func (m *Group) Marshal() (dAtA []byte, err error)

func (*Group) MarshalTo

func (m *Group) MarshalTo(dAtA []byte) (int, error)

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) Reset

func (m *Group) Reset()

func (*Group) Size

func (m *Group) Size() (n int)

func (*Group) String

func (m *Group) String() string

func (*Group) Unmarshal

func (m *Group) Unmarshal(dAtA []byte) error

func (*Group) XXX_DiscardUnknown

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal

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

func (*Group) XXX_Merge

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

func (*Group) XXX_Size

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal

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

type Item

type Item struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Time int32  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
}

func (*Item) Descriptor

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

func (*Item) GetFile

func (m *Item) GetFile() string

func (*Item) GetTime

func (m *Item) GetTime() int32

func (*Item) Marshal

func (m *Item) Marshal() (dAtA []byte, err error)

func (*Item) MarshalTo

func (m *Item) MarshalTo(dAtA []byte) (int, error)

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) Size

func (m *Item) Size() (n int)

func (*Item) String

func (m *Item) String() string

func (*Item) Unmarshal

func (m *Item) Unmarshal(dAtA []byte) error

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

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

func (*Item) XXX_Merge

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

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

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

type ListDevicesByGroupRequest

type ListDevicesByGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

GET /v1/devices/groups/{group_id}

func (*ListDevicesByGroupRequest) Descriptor

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

func (*ListDevicesByGroupRequest) GetGroupId

func (m *ListDevicesByGroupRequest) GetGroupId() string

func (*ListDevicesByGroupRequest) Marshal

func (m *ListDevicesByGroupRequest) Marshal() (dAtA []byte, err error)

func (*ListDevicesByGroupRequest) MarshalTo

func (m *ListDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListDevicesByGroupRequest) ProtoMessage

func (*ListDevicesByGroupRequest) ProtoMessage()

func (*ListDevicesByGroupRequest) Reset

func (m *ListDevicesByGroupRequest) Reset()

func (*ListDevicesByGroupRequest) Size

func (m *ListDevicesByGroupRequest) Size() (n int)

func (*ListDevicesByGroupRequest) String

func (m *ListDevicesByGroupRequest) String() string

func (*ListDevicesByGroupRequest) Unmarshal

func (m *ListDevicesByGroupRequest) Unmarshal(dAtA []byte) error

func (*ListDevicesByGroupRequest) XXX_DiscardUnknown

func (m *ListDevicesByGroupRequest) XXX_DiscardUnknown()

func (*ListDevicesByGroupRequest) XXX_Marshal

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

func (*ListDevicesByGroupRequest) XXX_Merge

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

func (*ListDevicesByGroupRequest) XXX_Size

func (m *ListDevicesByGroupRequest) XXX_Size() int

func (*ListDevicesByGroupRequest) XXX_Unmarshal

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

type ListDevicesByGroupResponse

type ListDevicesByGroupResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
}

func (*ListDevicesByGroupResponse) Descriptor

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

func (*ListDevicesByGroupResponse) GetDevices

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

func (*ListDevicesByGroupResponse) Marshal

func (m *ListDevicesByGroupResponse) Marshal() (dAtA []byte, err error)

func (*ListDevicesByGroupResponse) MarshalTo

func (m *ListDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListDevicesByGroupResponse) ProtoMessage

func (*ListDevicesByGroupResponse) ProtoMessage()

func (*ListDevicesByGroupResponse) Reset

func (m *ListDevicesByGroupResponse) Reset()

func (*ListDevicesByGroupResponse) Size

func (m *ListDevicesByGroupResponse) Size() (n int)

func (*ListDevicesByGroupResponse) String

func (m *ListDevicesByGroupResponse) String() string

func (*ListDevicesByGroupResponse) Unmarshal

func (m *ListDevicesByGroupResponse) Unmarshal(dAtA []byte) error

func (*ListDevicesByGroupResponse) XXX_DiscardUnknown

func (m *ListDevicesByGroupResponse) XXX_DiscardUnknown()

func (*ListDevicesByGroupResponse) XXX_Marshal

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

func (*ListDevicesByGroupResponse) XXX_Merge

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

func (*ListDevicesByGroupResponse) XXX_Size

func (m *ListDevicesByGroupResponse) XXX_Size() int

func (*ListDevicesByGroupResponse) XXX_Unmarshal

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

type ListDevicesResponse

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

func (*ListDevicesResponse) Descriptor

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

func (*ListDevicesResponse) GetDevices

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

func (*ListDevicesResponse) Marshal

func (m *ListDevicesResponse) Marshal() (dAtA []byte, err error)

func (*ListDevicesResponse) MarshalTo

func (m *ListDevicesResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListDevicesResponse) ProtoMessage

func (*ListDevicesResponse) ProtoMessage()

func (*ListDevicesResponse) Reset

func (m *ListDevicesResponse) Reset()

func (*ListDevicesResponse) Size

func (m *ListDevicesResponse) Size() (n int)

func (*ListDevicesResponse) String

func (m *ListDevicesResponse) String() string

func (*ListDevicesResponse) Unmarshal

func (m *ListDevicesResponse) Unmarshal(dAtA []byte) error

func (*ListDevicesResponse) XXX_DiscardUnknown

func (m *ListDevicesResponse) XXX_DiscardUnknown()

func (*ListDevicesResponse) XXX_Marshal

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

func (*ListDevicesResponse) XXX_Merge

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

func (*ListDevicesResponse) XXX_Size

func (m *ListDevicesResponse) XXX_Size() int

func (*ListDevicesResponse) XXX_Unmarshal

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

type ListGroupsResponse

type ListGroupsResponse struct {
	Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
}

GET /v1/devices/groups

message ListGroupsRequest {
  string id = 1;
}

func (*ListGroupsResponse) Descriptor

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

func (*ListGroupsResponse) GetGroups

func (m *ListGroupsResponse) GetGroups() []*Group

func (*ListGroupsResponse) Marshal

func (m *ListGroupsResponse) Marshal() (dAtA []byte, err error)

func (*ListGroupsResponse) MarshalTo

func (m *ListGroupsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListGroupsResponse) ProtoMessage

func (*ListGroupsResponse) ProtoMessage()

func (*ListGroupsResponse) Reset

func (m *ListGroupsResponse) Reset()

func (*ListGroupsResponse) Size

func (m *ListGroupsResponse) Size() (n int)

func (*ListGroupsResponse) String

func (m *ListGroupsResponse) String() string

func (*ListGroupsResponse) Unmarshal

func (m *ListGroupsResponse) Unmarshal(dAtA []byte) error

func (*ListGroupsResponse) XXX_DiscardUnknown

func (m *ListGroupsResponse) XXX_DiscardUnknown()

func (*ListGroupsResponse) XXX_Marshal

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

func (*ListGroupsResponse) XXX_Merge

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

func (*ListGroupsResponse) XXX_Size

func (m *ListGroupsResponse) XXX_Size() int

func (*ListGroupsResponse) XXX_Unmarshal

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

type Location

type Location struct {
	Lat int64 `protobuf:"varint,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng int64 `protobuf:"varint,2,opt,name=lng,proto3" json:"lng,omitempty"`
}

func (*Location) Descriptor

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

func (*Location) GetLat

func (m *Location) GetLat() int64

func (*Location) GetLng

func (m *Location) GetLng() int64

func (*Location) Marshal

func (m *Location) Marshal() (dAtA []byte, err error)

func (*Location) MarshalTo

func (m *Location) MarshalTo(dAtA []byte) (int, error)

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) Size

func (m *Location) Size() (n int)

func (*Location) String

func (m *Location) String() string

func (*Location) Unmarshal

func (m *Location) Unmarshal(dAtA []byte) error

func (*Location) XXX_DiscardUnknown

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal

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

func (*Location) XXX_Merge

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

func (*Location) XXX_Size

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal

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

type LoginRequest

type LoginRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
}

POST /v1/login

func (*LoginRequest) Descriptor

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

func (*LoginRequest) GetPassword

func (m *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (m *LoginRequest) GetUsername() string

func (*LoginRequest) Marshal

func (m *LoginRequest) Marshal() (dAtA []byte, err error)

func (*LoginRequest) MarshalTo

func (m *LoginRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) Reset

func (m *LoginRequest) Reset()

func (*LoginRequest) Size

func (m *LoginRequest) Size() (n int)

func (*LoginRequest) String

func (m *LoginRequest) String() string

func (*LoginRequest) Unmarshal

func (m *LoginRequest) Unmarshal(dAtA []byte) error

func (*LoginRequest) XXX_DiscardUnknown

func (m *LoginRequest) XXX_DiscardUnknown()

func (*LoginRequest) XXX_Marshal

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

func (*LoginRequest) XXX_Merge

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

func (*LoginRequest) XXX_Size

func (m *LoginRequest) XXX_Size() int

func (*LoginRequest) XXX_Unmarshal

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

type LoginResponse

type LoginResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}

func (*LoginResponse) Descriptor

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

func (*LoginResponse) GetToken

func (m *LoginResponse) GetToken() string

func (*LoginResponse) Marshal

func (m *LoginResponse) Marshal() (dAtA []byte, err error)

func (*LoginResponse) MarshalTo

func (m *LoginResponse) MarshalTo(dAtA []byte) (int, error)

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) Reset

func (m *LoginResponse) Reset()

func (*LoginResponse) Size

func (m *LoginResponse) Size() (n int)

func (*LoginResponse) String

func (m *LoginResponse) String() string

func (*LoginResponse) Unmarshal

func (m *LoginResponse) Unmarshal(dAtA []byte) error

func (*LoginResponse) XXX_DiscardUnknown

func (m *LoginResponse) XXX_DiscardUnknown()

func (*LoginResponse) XXX_Marshal

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

func (*LoginResponse) XXX_Merge

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

func (*LoginResponse) XXX_Size

func (m *LoginResponse) XXX_Size() int

func (*LoginResponse) XXX_Unmarshal

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

type Message

type Message struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Subject   string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Reply     string `protobuf:"bytes,3,opt,name=reply,proto3" json:"reply,omitempty"`
	Sequence  uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Timestamp int64  `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Data      []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
}

Used for internal message system Message represent the message used for communication between the server and the devices.

func (*Message) Descriptor

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

func (*Message) GetData

func (m *Message) GetData() []byte

func (*Message) GetId

func (m *Message) GetId() string

func (*Message) GetReply

func (m *Message) GetReply() string

func (*Message) GetSequence

func (m *Message) GetSequence() uint64

func (*Message) GetSubject

func (m *Message) GetSubject() string

func (*Message) GetTimestamp

func (m *Message) GetTimestamp() int64

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Playlist

type Playlist struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}

func (*Playlist) Descriptor

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

func (*Playlist) GetItems

func (m *Playlist) GetItems() []*Item

func (*Playlist) Marshal

func (m *Playlist) Marshal() (dAtA []byte, err error)

func (*Playlist) MarshalTo

func (m *Playlist) MarshalTo(dAtA []byte) (int, error)

func (*Playlist) ProtoMessage

func (*Playlist) ProtoMessage()

func (*Playlist) Reset

func (m *Playlist) Reset()

func (*Playlist) Size

func (m *Playlist) Size() (n int)

func (*Playlist) String

func (m *Playlist) String() string

func (*Playlist) Unmarshal

func (m *Playlist) Unmarshal(dAtA []byte) error

func (*Playlist) XXX_DiscardUnknown

func (m *Playlist) XXX_DiscardUnknown()

func (*Playlist) XXX_Marshal

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

func (*Playlist) XXX_Merge

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

func (*Playlist) XXX_Size

func (m *Playlist) XXX_Size() int

func (*Playlist) XXX_Unmarshal

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

type Status

type Status struct {
	Id         string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PlayingNow string    `protobuf:"bytes,2,opt,name=playingNow,proto3" json:"playingNow,omitempty"`
	Playlist   *Playlist `protobuf:"bytes,3,opt,name=playlist,proto3" json:"playlist,omitempty"`
	Files      []string  `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
	Test       bool      `protobuf:"varint,5,opt,name=test,proto3" json:"test,omitempty"`
}

func (*Status) Descriptor

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

func (*Status) GetFiles

func (m *Status) GetFiles() []string

func (*Status) GetId

func (m *Status) GetId() string

func (*Status) GetPlayingNow

func (m *Status) GetPlayingNow() string

func (*Status) GetPlaylist

func (m *Status) GetPlaylist() *Playlist

func (*Status) GetTest

func (m *Status) GetTest() bool

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

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

func (*Status) XXX_Merge

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

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

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

type Status2

type Status2 struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Playing  string   `protobuf:"bytes,2,opt,name=playing,proto3" json:"playing,omitempty"`
	Playlist *Item    `protobuf:"bytes,3,opt,name=playlist,proto3" json:"playlist,omitempty"`
	Files    []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
	LastSync int64    `protobuf:"varint,5,opt,name=lastSync,proto3" json:"lastSync,omitempty"`
}

func (*Status2) Descriptor

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

func (*Status2) GetFiles

func (m *Status2) GetFiles() []string

func (*Status2) GetLastSync

func (m *Status2) GetLastSync() int64

func (*Status2) GetName

func (m *Status2) GetName() string

func (*Status2) GetPlaying

func (m *Status2) GetPlaying() string

func (*Status2) GetPlaylist

func (m *Status2) GetPlaylist() *Item

func (*Status2) Marshal

func (m *Status2) Marshal() (dAtA []byte, err error)

func (*Status2) MarshalTo

func (m *Status2) MarshalTo(dAtA []byte) (int, error)

func (*Status2) ProtoMessage

func (*Status2) ProtoMessage()

func (*Status2) Reset

func (m *Status2) Reset()

func (*Status2) Size

func (m *Status2) Size() (n int)

func (*Status2) String

func (m *Status2) String() string

func (*Status2) Unmarshal

func (m *Status2) Unmarshal(dAtA []byte) error

func (*Status2) XXX_DiscardUnknown

func (m *Status2) XXX_DiscardUnknown()

func (*Status2) XXX_Marshal

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

func (*Status2) XXX_Merge

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

func (*Status2) XXX_Size

func (m *Status2) XXX_Size() int

func (*Status2) XXX_Unmarshal

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

type Sync

type Sync struct {
}

func (*Sync) Descriptor

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

func (*Sync) Marshal

func (m *Sync) Marshal() (dAtA []byte, err error)

func (*Sync) MarshalTo

func (m *Sync) MarshalTo(dAtA []byte) (int, error)

func (*Sync) ProtoMessage

func (*Sync) ProtoMessage()

func (*Sync) Reset

func (m *Sync) Reset()

func (*Sync) Size

func (m *Sync) Size() (n int)

func (*Sync) String

func (m *Sync) String() string

func (*Sync) Unmarshal

func (m *Sync) Unmarshal(dAtA []byte) error

func (*Sync) XXX_DiscardUnknown

func (m *Sync) XXX_DiscardUnknown()

func (*Sync) XXX_Marshal

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

func (*Sync) XXX_Merge

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

func (*Sync) XXX_Size

func (m *Sync) XXX_Size() int

func (*Sync) XXX_Unmarshal

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

type Test

type Test struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func (*Test) Descriptor

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

func (*Test) GetEnabled

func (m *Test) GetEnabled() bool

func (*Test) Marshal

func (m *Test) Marshal() (dAtA []byte, err error)

func (*Test) MarshalTo

func (m *Test) MarshalTo(dAtA []byte) (int, error)

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) Reset

func (m *Test) Reset()

func (*Test) Size

func (m *Test) Size() (n int)

func (*Test) String

func (m *Test) String() string

func (*Test) Unmarshal

func (m *Test) Unmarshal(dAtA []byte) error

func (*Test) XXX_DiscardUnknown

func (m *Test) XXX_DiscardUnknown()

func (*Test) XXX_Marshal

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

func (*Test) XXX_Merge

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

func (*Test) XXX_Size

func (m *Test) XXX_Size() int

func (*Test) XXX_Unmarshal

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

type UnimplementedDeviceServiceServer

type UnimplementedDeviceServiceServer struct {
}

UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDeviceServiceServer) ActionSync

func (*UnimplementedDeviceServiceServer) ActionSyncAll

func (*UnimplementedDeviceServiceServer) ActionSyncByGroup

func (*UnimplementedDeviceServiceServer) ActionTest

func (*UnimplementedDeviceServiceServer) ActionTestAll

func (*UnimplementedDeviceServiceServer) ActionTestByGroup

func (*UnimplementedDeviceServiceServer) CreateDevice

func (*UnimplementedDeviceServiceServer) DeleteDevice

func (*UnimplementedDeviceServiceServer) GetDevice

func (*UnimplementedDeviceServiceServer) GetPlaylist

func (*UnimplementedDeviceServiceServer) GetPlaylistByGroup

func (*UnimplementedDeviceServiceServer) ListDevices

func (*UnimplementedDeviceServiceServer) ListDevicesByGroup

func (*UnimplementedDeviceServiceServer) ListGroups

func (*UnimplementedDeviceServiceServer) Login

func (*UnimplementedDeviceServiceServer) Logout

func (*UnimplementedDeviceServiceServer) UpdateDevice

func (*UnimplementedDeviceServiceServer) UpdateDevicesByGroup

func (*UnimplementedDeviceServiceServer) UpdatePlaylist

func (*UnimplementedDeviceServiceServer) UpdatePlaylistByGroup

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	Id     string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
}

PUT /v1/devices/{id}

func (*UpdateDeviceRequest) Descriptor

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

func (*UpdateDeviceRequest) GetDevice

func (m *UpdateDeviceRequest) GetDevice() *Device

func (*UpdateDeviceRequest) GetId

func (m *UpdateDeviceRequest) GetId() string

func (*UpdateDeviceRequest) Marshal

func (m *UpdateDeviceRequest) Marshal() (dAtA []byte, err error)

func (*UpdateDeviceRequest) MarshalTo

func (m *UpdateDeviceRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDeviceRequest) ProtoMessage

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) Reset

func (m *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) Size

func (m *UpdateDeviceRequest) Size() (n int)

func (*UpdateDeviceRequest) String

func (m *UpdateDeviceRequest) String() string

func (*UpdateDeviceRequest) Unmarshal

func (m *UpdateDeviceRequest) Unmarshal(dAtA []byte) error

func (*UpdateDeviceRequest) XXX_DiscardUnknown

func (m *UpdateDeviceRequest) XXX_DiscardUnknown()

func (*UpdateDeviceRequest) XXX_Marshal

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

func (*UpdateDeviceRequest) XXX_Merge

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

func (*UpdateDeviceRequest) XXX_Size

func (m *UpdateDeviceRequest) XXX_Size() int

func (*UpdateDeviceRequest) XXX_Unmarshal

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

type UpdateDeviceResponse

type UpdateDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}

func (*UpdateDeviceResponse) Descriptor

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

func (*UpdateDeviceResponse) GetDevice

func (m *UpdateDeviceResponse) GetDevice() *Device

func (*UpdateDeviceResponse) Marshal

func (m *UpdateDeviceResponse) Marshal() (dAtA []byte, err error)

func (*UpdateDeviceResponse) MarshalTo

func (m *UpdateDeviceResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDeviceResponse) ProtoMessage

func (*UpdateDeviceResponse) ProtoMessage()

func (*UpdateDeviceResponse) Reset

func (m *UpdateDeviceResponse) Reset()

func (*UpdateDeviceResponse) Size

func (m *UpdateDeviceResponse) Size() (n int)

func (*UpdateDeviceResponse) String

func (m *UpdateDeviceResponse) String() string

func (*UpdateDeviceResponse) Unmarshal

func (m *UpdateDeviceResponse) Unmarshal(dAtA []byte) error

func (*UpdateDeviceResponse) XXX_DiscardUnknown

func (m *UpdateDeviceResponse) XXX_DiscardUnknown()

func (*UpdateDeviceResponse) XXX_Marshal

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

func (*UpdateDeviceResponse) XXX_Merge

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

func (*UpdateDeviceResponse) XXX_Size

func (m *UpdateDeviceResponse) XXX_Size() int

func (*UpdateDeviceResponse) XXX_Unmarshal

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

type UpdateDevicesByGroupRequest

type UpdateDevicesByGroupRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}

PUT /v1/devices/groups/{group_id}

func (*UpdateDevicesByGroupRequest) Descriptor

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

func (*UpdateDevicesByGroupRequest) GetGroupId

func (m *UpdateDevicesByGroupRequest) GetGroupId() string

func (*UpdateDevicesByGroupRequest) Marshal

func (m *UpdateDevicesByGroupRequest) Marshal() (dAtA []byte, err error)

func (*UpdateDevicesByGroupRequest) MarshalTo

func (m *UpdateDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDevicesByGroupRequest) ProtoMessage

func (*UpdateDevicesByGroupRequest) ProtoMessage()

func (*UpdateDevicesByGroupRequest) Reset

func (m *UpdateDevicesByGroupRequest) Reset()

func (*UpdateDevicesByGroupRequest) Size

func (m *UpdateDevicesByGroupRequest) Size() (n int)

func (*UpdateDevicesByGroupRequest) String

func (m *UpdateDevicesByGroupRequest) String() string

func (*UpdateDevicesByGroupRequest) Unmarshal

func (m *UpdateDevicesByGroupRequest) Unmarshal(dAtA []byte) error

func (*UpdateDevicesByGroupRequest) XXX_DiscardUnknown

func (m *UpdateDevicesByGroupRequest) XXX_DiscardUnknown()

func (*UpdateDevicesByGroupRequest) XXX_Marshal

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

func (*UpdateDevicesByGroupRequest) XXX_Merge

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

func (*UpdateDevicesByGroupRequest) XXX_Size

func (m *UpdateDevicesByGroupRequest) XXX_Size() int

func (*UpdateDevicesByGroupRequest) XXX_Unmarshal

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

type UpdateDevicesByGroupResponse

type UpdateDevicesByGroupResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
}

func (*UpdateDevicesByGroupResponse) Descriptor

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

func (*UpdateDevicesByGroupResponse) GetDevices

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

func (*UpdateDevicesByGroupResponse) Marshal

func (m *UpdateDevicesByGroupResponse) Marshal() (dAtA []byte, err error)

func (*UpdateDevicesByGroupResponse) MarshalTo

func (m *UpdateDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDevicesByGroupResponse) ProtoMessage

func (*UpdateDevicesByGroupResponse) ProtoMessage()

func (*UpdateDevicesByGroupResponse) Reset

func (m *UpdateDevicesByGroupResponse) Reset()

func (*UpdateDevicesByGroupResponse) Size

func (m *UpdateDevicesByGroupResponse) Size() (n int)

func (*UpdateDevicesByGroupResponse) String

func (*UpdateDevicesByGroupResponse) Unmarshal

func (m *UpdateDevicesByGroupResponse) Unmarshal(dAtA []byte) error

func (*UpdateDevicesByGroupResponse) XXX_DiscardUnknown

func (m *UpdateDevicesByGroupResponse) XXX_DiscardUnknown()

func (*UpdateDevicesByGroupResponse) XXX_Marshal

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

func (*UpdateDevicesByGroupResponse) XXX_Merge

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

func (*UpdateDevicesByGroupResponse) XXX_Size

func (m *UpdateDevicesByGroupResponse) XXX_Size() int

func (*UpdateDevicesByGroupResponse) XXX_Unmarshal

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

type UpdatePlaylistByGroupRequest

type UpdatePlaylistByGroupRequest struct {
	GroupId  string    `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	Playlist *Playlist `protobuf:"bytes,2,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

PUT /v1/devices/groups/{group_id}/playlist

func (*UpdatePlaylistByGroupRequest) Descriptor

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

func (*UpdatePlaylistByGroupRequest) GetGroupId

func (m *UpdatePlaylistByGroupRequest) GetGroupId() string

func (*UpdatePlaylistByGroupRequest) GetPlaylist

func (m *UpdatePlaylistByGroupRequest) GetPlaylist() *Playlist

func (*UpdatePlaylistByGroupRequest) Marshal

func (m *UpdatePlaylistByGroupRequest) Marshal() (dAtA []byte, err error)

func (*UpdatePlaylistByGroupRequest) MarshalTo

func (m *UpdatePlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdatePlaylistByGroupRequest) ProtoMessage

func (*UpdatePlaylistByGroupRequest) ProtoMessage()

func (*UpdatePlaylistByGroupRequest) Reset

func (m *UpdatePlaylistByGroupRequest) Reset()

func (*UpdatePlaylistByGroupRequest) Size

func (m *UpdatePlaylistByGroupRequest) Size() (n int)

func (*UpdatePlaylistByGroupRequest) String

func (*UpdatePlaylistByGroupRequest) Unmarshal

func (m *UpdatePlaylistByGroupRequest) Unmarshal(dAtA []byte) error

func (*UpdatePlaylistByGroupRequest) XXX_DiscardUnknown

func (m *UpdatePlaylistByGroupRequest) XXX_DiscardUnknown()

func (*UpdatePlaylistByGroupRequest) XXX_Marshal

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

func (*UpdatePlaylistByGroupRequest) XXX_Merge

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

func (*UpdatePlaylistByGroupRequest) XXX_Size

func (m *UpdatePlaylistByGroupRequest) XXX_Size() int

func (*UpdatePlaylistByGroupRequest) XXX_Unmarshal

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

type UpdatePlaylistByGroupResponse

type UpdatePlaylistByGroupResponse struct {
	Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

func (*UpdatePlaylistByGroupResponse) Descriptor

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

func (*UpdatePlaylistByGroupResponse) GetPlaylist

func (m *UpdatePlaylistByGroupResponse) GetPlaylist() *Playlist

func (*UpdatePlaylistByGroupResponse) Marshal

func (m *UpdatePlaylistByGroupResponse) Marshal() (dAtA []byte, err error)

func (*UpdatePlaylistByGroupResponse) MarshalTo

func (m *UpdatePlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdatePlaylistByGroupResponse) ProtoMessage

func (*UpdatePlaylistByGroupResponse) ProtoMessage()

func (*UpdatePlaylistByGroupResponse) Reset

func (m *UpdatePlaylistByGroupResponse) Reset()

func (*UpdatePlaylistByGroupResponse) Size

func (m *UpdatePlaylistByGroupResponse) Size() (n int)

func (*UpdatePlaylistByGroupResponse) String

func (*UpdatePlaylistByGroupResponse) Unmarshal

func (m *UpdatePlaylistByGroupResponse) Unmarshal(dAtA []byte) error

func (*UpdatePlaylistByGroupResponse) XXX_DiscardUnknown

func (m *UpdatePlaylistByGroupResponse) XXX_DiscardUnknown()

func (*UpdatePlaylistByGroupResponse) XXX_Marshal

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

func (*UpdatePlaylistByGroupResponse) XXX_Merge

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

func (*UpdatePlaylistByGroupResponse) XXX_Size

func (m *UpdatePlaylistByGroupResponse) XXX_Size() int

func (*UpdatePlaylistByGroupResponse) XXX_Unmarshal

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

type UpdatePlaylistRequest

type UpdatePlaylistRequest struct {
	Id       string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Playlist *Playlist `protobuf:"bytes,2,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

PUT /v1/devices/{id}/playlist

func (*UpdatePlaylistRequest) Descriptor

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

func (*UpdatePlaylistRequest) GetId

func (m *UpdatePlaylistRequest) GetId() string

func (*UpdatePlaylistRequest) GetPlaylist

func (m *UpdatePlaylistRequest) GetPlaylist() *Playlist

func (*UpdatePlaylistRequest) Marshal

func (m *UpdatePlaylistRequest) Marshal() (dAtA []byte, err error)

func (*UpdatePlaylistRequest) MarshalTo

func (m *UpdatePlaylistRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdatePlaylistRequest) ProtoMessage

func (*UpdatePlaylistRequest) ProtoMessage()

func (*UpdatePlaylistRequest) Reset

func (m *UpdatePlaylistRequest) Reset()

func (*UpdatePlaylistRequest) Size

func (m *UpdatePlaylistRequest) Size() (n int)

func (*UpdatePlaylistRequest) String

func (m *UpdatePlaylistRequest) String() string

func (*UpdatePlaylistRequest) Unmarshal

func (m *UpdatePlaylistRequest) Unmarshal(dAtA []byte) error

func (*UpdatePlaylistRequest) XXX_DiscardUnknown

func (m *UpdatePlaylistRequest) XXX_DiscardUnknown()

func (*UpdatePlaylistRequest) XXX_Marshal

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

func (*UpdatePlaylistRequest) XXX_Merge

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

func (*UpdatePlaylistRequest) XXX_Size

func (m *UpdatePlaylistRequest) XXX_Size() int

func (*UpdatePlaylistRequest) XXX_Unmarshal

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

type UpdatePlaylistResponse

type UpdatePlaylistResponse struct {
	Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}

func (*UpdatePlaylistResponse) Descriptor

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

func (*UpdatePlaylistResponse) GetPlaylist

func (m *UpdatePlaylistResponse) GetPlaylist() *Playlist

func (*UpdatePlaylistResponse) Marshal

func (m *UpdatePlaylistResponse) Marshal() (dAtA []byte, err error)

func (*UpdatePlaylistResponse) MarshalTo

func (m *UpdatePlaylistResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpdatePlaylistResponse) ProtoMessage

func (*UpdatePlaylistResponse) ProtoMessage()

func (*UpdatePlaylistResponse) Reset

func (m *UpdatePlaylistResponse) Reset()

func (*UpdatePlaylistResponse) Size

func (m *UpdatePlaylistResponse) Size() (n int)

func (*UpdatePlaylistResponse) String

func (m *UpdatePlaylistResponse) String() string

func (*UpdatePlaylistResponse) Unmarshal

func (m *UpdatePlaylistResponse) Unmarshal(dAtA []byte) error

func (*UpdatePlaylistResponse) XXX_DiscardUnknown

func (m *UpdatePlaylistResponse) XXX_DiscardUnknown()

func (*UpdatePlaylistResponse) XXX_Marshal

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

func (*UpdatePlaylistResponse) XXX_Merge

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

func (*UpdatePlaylistResponse) XXX_Size

func (m *UpdatePlaylistResponse) XXX_Size() int

func (*UpdatePlaylistResponse) XXX_Unmarshal

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

type User

type User struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email    string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
}

func (*User) Descriptor

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

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetPassword

func (m *User) GetPassword() string

func (*User) Marshal

func (m *User) Marshal() (dAtA []byte, err error)

func (*User) MarshalTo

func (m *User) MarshalTo(dAtA []byte) (int, error)

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) Size

func (m *User) Size() (n int)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

func (m *User) Unmarshal(dAtA []byte) error

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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