protocol

package
v0.0.0-...-3ed38a9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AgentState_EmulatorState_name = map[int32]string{
		0: "ERROR",
		1: "OFF",
		2: "STARTING",
		3: "RUNNING",
	}
	AgentState_EmulatorState_value = map[string]int32{
		"ERROR":    0,
		"OFF":      1,
		"STARTING": 2,
		"RUNNING":  3,
	}
)

Enum value maps for AgentState_EmulatorState.

View Source
var (
	StreamDisplayRequest_FrameFormat_name = map[int32]string{
		0: "RGB888",
		1: "VP8",
	}
	StreamDisplayRequest_FrameFormat_value = map[string]int32{
		"RGB888": 0,
		"VP8":    1,
	}
)

Enum value maps for StreamDisplayRequest_FrameFormat.

View Source
var (
	ShellStartRequest_ShellType_name = map[int32]string{
		0: "RAW",
		1: "PTY",
	}
	ShellStartRequest_ShellType_value = map[string]int32{
		"RAW": 0,
		"PTY": 1,
	}
)

Enum value maps for ShellStartRequest_ShellType.

View Source
var (
	ShellOutputResponse_ShellOutputChannel_name = map[int32]string{
		0: "OUT",
		1: "ERR",
	}
	ShellOutputResponse_ShellOutputChannel_value = map[string]int32{
		"OUT": 0,
		"ERR": 1,
	}
)

Enum value maps for ShellOutputResponse_ShellOutputChannel.

View Source
var AgentController_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "AgentController",
	HandlerType: (*AgentControllerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "startEmulator",
			Handler:    _AgentController_StartEmulator_Handler,
		},
		{
			MethodName: "stopEmulator",
			Handler:    _AgentController_StopEmulator_Handler,
		},
		{
			MethodName: "sendInput",
			Handler:    _AgentController_SendInput_Handler,
		},
		{
			MethodName: "listDirectory",
			Handler:    _AgentController_ListDirectory_Handler,
		},
		{
			MethodName: "statFile",
			Handler:    _AgentController_StatFile_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "streamState",
			Handler:       _AgentController_StreamState_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "streamDisplay",
			Handler:       _AgentController_StreamDisplay_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "streamSysLog",
			Handler:       _AgentController_StreamSysLog_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "openShell",
			Handler:       _AgentController_OpenShell_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "pullFile",
			Handler:       _AgentController_PullFile_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "pushFile",
			Handler:       _AgentController_PushFile_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "agent.proto",
}

AgentController_ServiceDesc is the grpc.ServiceDesc for AgentController service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_agent_proto protoreflect.FileDescriptor

Functions

func RegisterAgentControllerServer

func RegisterAgentControllerServer(s grpc.ServiceRegistrar, srv AgentControllerServer)

Types

type AgentControllerClient

type AgentControllerClient interface {
	// Streams the state of the agent process.
	// An initial value will be immediately produced with the current agent state. Subsequent values may indicate a change
	// in the agent state, however this is not guaranteed and the same state can be delivered multiple times.
	StreamState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (AgentController_StreamStateClient, error)
	// Requests the emulator starts. An error will be returned if the emulator is already running.
	StartEmulator(ctx context.Context, in *StartEmulatorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Requests the emulator exits. An error will be returned if the emulator is not running.
	StopEmulator(ctx context.Context, in *StopEmulatorRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Streams the display in the requested format.
	// An initial value will be immediately produced with the current display content. This stream can and should be
	// started before the emulator is started to ensure no frames are missed. The stream will is persistent between
	// emulator restarts.
	StreamDisplay(ctx context.Context, in *StreamDisplayRequest, opts ...grpc.CallOption) (AgentController_StreamDisplayClient, error)
	// Streams the system log (kernel messages).
	// Previous messages are not returned. This stream can and should be started before the emulator is started to ensure
	// no messages are missed. The stream will is persistent between emulator restarts.
	StreamSysLog(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (AgentController_StreamSysLogClient, error)
	// Forward an input event to the emulator.
	SendInput(ctx context.Context, in *InputRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Opens an ADB shell to the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	// The request stream must start with a single ShellStartRequest message.
	OpenShell(ctx context.Context, opts ...grpc.CallOption) (AgentController_OpenShellClient, error)
	// List all files in a directory.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	ListDirectory(ctx context.Context, in *ListDirectoryRequest, opts ...grpc.CallOption) (*ListDirectoryResponse, error)
	// Stat a given file.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	StatFile(ctx context.Context, in *StatFileRequest, opts ...grpc.CallOption) (*StatFileResponse, error)
	// Pull a file from the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	PullFile(ctx context.Context, in *PullFileRequest, opts ...grpc.CallOption) (AgentController_PullFileClient, error)
	// Push a file to the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	// The request stream must start with a single PushFileStartRequest message.
	PushFile(ctx context.Context, opts ...grpc.CallOption) (AgentController_PushFileClient, error)
}

AgentControllerClient is the client API for AgentController service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AgentControllerServer

type AgentControllerServer interface {
	// Streams the state of the agent process.
	// An initial value will be immediately produced with the current agent state. Subsequent values may indicate a change
	// in the agent state, however this is not guaranteed and the same state can be delivered multiple times.
	StreamState(*empty.Empty, AgentController_StreamStateServer) error
	// Requests the emulator starts. An error will be returned if the emulator is already running.
	StartEmulator(context.Context, *StartEmulatorRequest) (*empty.Empty, error)
	// Requests the emulator exits. An error will be returned if the emulator is not running.
	StopEmulator(context.Context, *StopEmulatorRequest) (*empty.Empty, error)
	// Streams the display in the requested format.
	// An initial value will be immediately produced with the current display content. This stream can and should be
	// started before the emulator is started to ensure no frames are missed. The stream will is persistent between
	// emulator restarts.
	StreamDisplay(*StreamDisplayRequest, AgentController_StreamDisplayServer) error
	// Streams the system log (kernel messages).
	// Previous messages are not returned. This stream can and should be started before the emulator is started to ensure
	// no messages are missed. The stream will is persistent between emulator restarts.
	StreamSysLog(*empty.Empty, AgentController_StreamSysLogServer) error
	// Forward an input event to the emulator.
	SendInput(context.Context, *InputRequest) (*empty.Empty, error)
	// Opens an ADB shell to the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	// The request stream must start with a single ShellStartRequest message.
	OpenShell(AgentController_OpenShellServer) error
	// List all files in a directory.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	ListDirectory(context.Context, *ListDirectoryRequest) (*ListDirectoryResponse, error)
	// Stat a given file.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
	// Pull a file from the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	PullFile(*PullFileRequest, AgentController_PullFileServer) error
	// Push a file to the emulator.
	// Requires that the emulator has reached the "running" state, otherwise an error will be returned.
	// The request stream must start with a single PushFileStartRequest message.
	PushFile(AgentController_PushFileServer) error
	// contains filtered or unexported methods
}

AgentControllerServer is the server API for AgentController service. All implementations must embed UnimplementedAgentControllerServer for forward compatibility

type AgentController_OpenShellClient

type AgentController_OpenShellClient interface {
	Send(*ShellRequest) error
	Recv() (*ShellResponse, error)
	grpc.ClientStream
}

type AgentController_OpenShellServer

type AgentController_OpenShellServer interface {
	Send(*ShellResponse) error
	Recv() (*ShellRequest, error)
	grpc.ServerStream
}

type AgentController_PullFileClient

type AgentController_PullFileClient interface {
	Recv() (*PullFileResponse, error)
	grpc.ClientStream
}

type AgentController_PullFileServer

type AgentController_PullFileServer interface {
	Send(*PullFileResponse) error
	grpc.ServerStream
}

type AgentController_PushFileClient

type AgentController_PushFileClient interface {
	Send(*PushFileRequest) error
	CloseAndRecv() (*empty.Empty, error)
	grpc.ClientStream
}

type AgentController_PushFileServer

type AgentController_PushFileServer interface {
	SendAndClose(*empty.Empty) error
	Recv() (*PushFileRequest, error)
	grpc.ServerStream
}

type AgentController_StreamDisplayClient

type AgentController_StreamDisplayClient interface {
	Recv() (*DisplayFrame, error)
	grpc.ClientStream
}

type AgentController_StreamDisplayServer

type AgentController_StreamDisplayServer interface {
	Send(*DisplayFrame) error
	grpc.ServerStream
}

type AgentController_StreamStateClient

type AgentController_StreamStateClient interface {
	Recv() (*AgentState, error)
	grpc.ClientStream
}

type AgentController_StreamStateServer

type AgentController_StreamStateServer interface {
	Send(*AgentState) error
	grpc.ServerStream
}

type AgentController_StreamSysLogClient

type AgentController_StreamSysLogClient interface {
	Recv() (*SysLogEntry, error)
	grpc.ClientStream
}

type AgentController_StreamSysLogServer

type AgentController_StreamSysLogServer interface {
	Send(*SysLogEntry) error
	grpc.ServerStream
}

type AgentState

type AgentState struct {

	// The state of the emulator.
	EmulatorState AgentState_EmulatorState `` /* 131-byte string literal not displayed */
	// The error message associated with the error state.
	EmulatorError *string `protobuf:"bytes,2,opt,name=emulator_error,json=emulatorError,proto3,oneof" json:"emulator_error,omitempty"`
	// contains filtered or unexported fields
}

AgentState describes the current state of the agent process and the virtual machine being controlled.

func (*AgentState) Descriptor deprecated

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

Deprecated: Use AgentState.ProtoReflect.Descriptor instead.

func (*AgentState) GetEmulatorError

func (x *AgentState) GetEmulatorError() string

func (*AgentState) GetEmulatorState

func (x *AgentState) GetEmulatorState() AgentState_EmulatorState

func (*AgentState) ProtoMessage

func (*AgentState) ProtoMessage()

func (*AgentState) ProtoReflect

func (x *AgentState) ProtoReflect() protoreflect.Message

func (*AgentState) Reset

func (x *AgentState) Reset()

func (*AgentState) String

func (x *AgentState) String() string

type AgentState_EmulatorState

type AgentState_EmulatorState int32
const (
	// The emulator failed to start.
	AgentState_ERROR AgentState_EmulatorState = 0
	// The emulator is off.
	AgentState_OFF AgentState_EmulatorState = 1
	// The emulator is booting.
	AgentState_STARTING AgentState_EmulatorState = 2
	// The emulator is running and adb has connected.
	AgentState_RUNNING AgentState_EmulatorState = 3
)

func (AgentState_EmulatorState) Descriptor

func (AgentState_EmulatorState) Enum

func (AgentState_EmulatorState) EnumDescriptor deprecated

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

Deprecated: Use AgentState_EmulatorState.Descriptor instead.

func (AgentState_EmulatorState) Number

func (AgentState_EmulatorState) String

func (x AgentState_EmulatorState) String() string

func (AgentState_EmulatorState) Type

type DisplayFrame

type DisplayFrame struct {

	// Whether this is a key frame. For some formats, this will always be true.
	Keyframe bool `protobuf:"varint,1,opt,name=keyframe,proto3" json:"keyframe,omitempty"`
	// The width of the frame.
	Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	// The height of the frame.
	Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// The raw frame data.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A single display frame. Based on the format requested, this may not be a keyframe. A frame with zero width and height signifies the display is off. Clients should display a blank screen. The width and height can change on a keyframe, which can occur if the emulator is restarted with a different configuration.

func (*DisplayFrame) Descriptor deprecated

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

Deprecated: Use DisplayFrame.ProtoReflect.Descriptor instead.

func (*DisplayFrame) GetData

func (x *DisplayFrame) GetData() []byte

func (*DisplayFrame) GetHeight

func (x *DisplayFrame) GetHeight() uint32

func (*DisplayFrame) GetKeyframe

func (x *DisplayFrame) GetKeyframe() bool

func (*DisplayFrame) GetWidth

func (x *DisplayFrame) GetWidth() uint32

func (*DisplayFrame) ProtoMessage

func (*DisplayFrame) ProtoMessage()

func (*DisplayFrame) ProtoReflect

func (x *DisplayFrame) ProtoReflect() protoreflect.Message

func (*DisplayFrame) Reset

func (x *DisplayFrame) Reset()

func (*DisplayFrame) String

func (x *DisplayFrame) String() string

type FileStat

type FileStat struct {
	Dev   uint64 `protobuf:"varint,1,opt,name=dev,proto3" json:"dev,omitempty"`
	Ino   uint64 `protobuf:"varint,2,opt,name=ino,proto3" json:"ino,omitempty"`
	Mode  uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Nlink uint32 `protobuf:"varint,4,opt,name=nlink,proto3" json:"nlink,omitempty"`
	Uid   uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid   uint32 `protobuf:"varint,6,opt,name=gid,proto3" json:"gid,omitempty"`
	Size  uint64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Atime int64  `protobuf:"varint,8,opt,name=atime,proto3" json:"atime,omitempty"`
	Mtime int64  `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Ctime int64  `protobuf:"varint,10,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// contains filtered or unexported fields
}

func (*FileStat) Descriptor deprecated

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

Deprecated: Use FileStat.ProtoReflect.Descriptor instead.

func (*FileStat) GetAtime

func (x *FileStat) GetAtime() int64

func (*FileStat) GetCtime

func (x *FileStat) GetCtime() int64

func (*FileStat) GetDev

func (x *FileStat) GetDev() uint64

func (*FileStat) GetGid

func (x *FileStat) GetGid() uint32

func (*FileStat) GetIno

func (x *FileStat) GetIno() uint64

func (*FileStat) GetMode

func (x *FileStat) GetMode() uint32

func (*FileStat) GetMtime

func (x *FileStat) GetMtime() int64
func (x *FileStat) GetNlink() uint32

func (*FileStat) GetSize

func (x *FileStat) GetSize() uint64

func (*FileStat) GetUid

func (x *FileStat) GetUid() uint32

func (*FileStat) ProtoMessage

func (*FileStat) ProtoMessage()

func (*FileStat) ProtoReflect

func (x *FileStat) ProtoReflect() protoreflect.Message

func (*FileStat) Reset

func (x *FileStat) Reset()

func (*FileStat) String

func (x *FileStat) String() string

type InputRequest

type InputRequest struct {

	// Types that are assignable to Event:
	//
	//	*InputRequest_Touch
	Event isInputRequest_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

A input event

func (*InputRequest) Descriptor deprecated

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

Deprecated: Use InputRequest.ProtoReflect.Descriptor instead.

func (*InputRequest) GetEvent

func (m *InputRequest) GetEvent() isInputRequest_Event

func (*InputRequest) GetTouch

func (x *InputRequest) GetTouch() *TouchEvent

func (*InputRequest) ProtoMessage

func (*InputRequest) ProtoMessage()

func (*InputRequest) ProtoReflect

func (x *InputRequest) ProtoReflect() protoreflect.Message

func (*InputRequest) Reset

func (x *InputRequest) Reset()

func (*InputRequest) String

func (x *InputRequest) String() string

type InputRequest_Touch

type InputRequest_Touch struct {
	Touch *TouchEvent `protobuf:"bytes,1,opt,name=touch,proto3,oneof"`
}

type ListDirectoryEntry

type ListDirectoryEntry struct {

	// The entry name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Stat of the file.
	//
	// Types that are assignable to Stat:
	//
	//	*ListDirectoryEntry_StatError
	//	*ListDirectoryEntry_StatValue
	Stat isListDirectoryEntry_Stat `protobuf_oneof:"stat"`
	// contains filtered or unexported fields
}

A entry in a directory listing.

func (*ListDirectoryEntry) Descriptor deprecated

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

Deprecated: Use ListDirectoryEntry.ProtoReflect.Descriptor instead.

func (*ListDirectoryEntry) GetName

func (x *ListDirectoryEntry) GetName() string

func (*ListDirectoryEntry) GetStat

func (m *ListDirectoryEntry) GetStat() isListDirectoryEntry_Stat

func (*ListDirectoryEntry) GetStatError

func (x *ListDirectoryEntry) GetStatError() uint32

func (*ListDirectoryEntry) GetStatValue

func (x *ListDirectoryEntry) GetStatValue() *FileStat

func (*ListDirectoryEntry) ProtoMessage

func (*ListDirectoryEntry) ProtoMessage()

func (*ListDirectoryEntry) ProtoReflect

func (x *ListDirectoryEntry) ProtoReflect() protoreflect.Message

func (*ListDirectoryEntry) Reset

func (x *ListDirectoryEntry) Reset()

func (*ListDirectoryEntry) String

func (x *ListDirectoryEntry) String() string

type ListDirectoryEntry_StatError

type ListDirectoryEntry_StatError struct {
	StatError uint32 `protobuf:"varint,2,opt,name=stat_error,json=statError,proto3,oneof"`
}

type ListDirectoryEntry_StatValue

type ListDirectoryEntry_StatValue struct {
	StatValue *FileStat `protobuf:"bytes,3,opt,name=stat_value,json=statValue,proto3,oneof"`
}

type ListDirectoryRequest

type ListDirectoryRequest struct {

	// The directory path to list files in.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

A directory listing request

func (*ListDirectoryRequest) Descriptor deprecated

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

Deprecated: Use ListDirectoryRequest.ProtoReflect.Descriptor instead.

func (*ListDirectoryRequest) GetPath

func (x *ListDirectoryRequest) GetPath() string

func (*ListDirectoryRequest) ProtoMessage

func (*ListDirectoryRequest) ProtoMessage()

func (*ListDirectoryRequest) ProtoReflect

func (x *ListDirectoryRequest) ProtoReflect() protoreflect.Message

func (*ListDirectoryRequest) Reset

func (x *ListDirectoryRequest) Reset()

func (*ListDirectoryRequest) String

func (x *ListDirectoryRequest) String() string

type ListDirectoryResponse

type ListDirectoryResponse struct {
	Entries []*ListDirectoryEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

A directory listing response.

func (*ListDirectoryResponse) Descriptor deprecated

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

Deprecated: Use ListDirectoryResponse.ProtoReflect.Descriptor instead.

func (*ListDirectoryResponse) GetEntries

func (x *ListDirectoryResponse) GetEntries() []*ListDirectoryEntry

func (*ListDirectoryResponse) ProtoMessage

func (*ListDirectoryResponse) ProtoMessage()

func (*ListDirectoryResponse) ProtoReflect

func (x *ListDirectoryResponse) ProtoReflect() protoreflect.Message

func (*ListDirectoryResponse) Reset

func (x *ListDirectoryResponse) Reset()

func (*ListDirectoryResponse) String

func (x *ListDirectoryResponse) String() string

type PullFileRequest

type PullFileRequest struct {

	// The file path to pull.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

A file pull request.

func (*PullFileRequest) Descriptor deprecated

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

Deprecated: Use PullFileRequest.ProtoReflect.Descriptor instead.

func (*PullFileRequest) GetPath

func (x *PullFileRequest) GetPath() string

func (*PullFileRequest) ProtoMessage

func (*PullFileRequest) ProtoMessage()

func (*PullFileRequest) ProtoReflect

func (x *PullFileRequest) ProtoReflect() protoreflect.Message

func (*PullFileRequest) Reset

func (x *PullFileRequest) Reset()

func (*PullFileRequest) String

func (x *PullFileRequest) String() string

type PullFileResponse

type PullFileResponse struct {

	// Raw bytes from the file.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Whether the end oof the file has been reached.
	Last bool `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"`
	// contains filtered or unexported fields
}

A file pull response.

func (*PullFileResponse) Descriptor deprecated

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

Deprecated: Use PullFileResponse.ProtoReflect.Descriptor instead.

func (*PullFileResponse) GetData

func (x *PullFileResponse) GetData() []byte

func (*PullFileResponse) GetLast

func (x *PullFileResponse) GetLast() bool

func (*PullFileResponse) ProtoMessage

func (*PullFileResponse) ProtoMessage()

func (*PullFileResponse) ProtoReflect

func (x *PullFileResponse) ProtoReflect() protoreflect.Message

func (*PullFileResponse) Reset

func (x *PullFileResponse) Reset()

func (*PullFileResponse) String

func (x *PullFileResponse) String() string

type PushFileDataRequest

type PushFileDataRequest struct {

	// Data to write to the file.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A file push data request.

func (*PushFileDataRequest) Descriptor deprecated

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

Deprecated: Use PushFileDataRequest.ProtoReflect.Descriptor instead.

func (*PushFileDataRequest) GetData

func (x *PushFileDataRequest) GetData() []byte

func (*PushFileDataRequest) ProtoMessage

func (*PushFileDataRequest) ProtoMessage()

func (*PushFileDataRequest) ProtoReflect

func (x *PushFileDataRequest) ProtoReflect() protoreflect.Message

func (*PushFileDataRequest) Reset

func (x *PushFileDataRequest) Reset()

func (*PushFileDataRequest) String

func (x *PushFileDataRequest) String() string

type PushFileEndRequest

type PushFileEndRequest struct {

	// The modified time to set.
	Mtime uint32 `protobuf:"varint,1,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// contains filtered or unexported fields
}

A file push end request.

func (*PushFileEndRequest) Descriptor deprecated

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

Deprecated: Use PushFileEndRequest.ProtoReflect.Descriptor instead.

func (*PushFileEndRequest) GetMtime

func (x *PushFileEndRequest) GetMtime() uint32

func (*PushFileEndRequest) ProtoMessage

func (*PushFileEndRequest) ProtoMessage()

func (*PushFileEndRequest) ProtoReflect

func (x *PushFileEndRequest) ProtoReflect() protoreflect.Message

func (*PushFileEndRequest) Reset

func (x *PushFileEndRequest) Reset()

func (*PushFileEndRequest) String

func (x *PushFileEndRequest) String() string

type PushFileRequest

type PushFileRequest struct {

	// Types that are assignable to Message:
	//
	//	*PushFileRequest_Start
	//	*PushFileRequest_Data
	//	*PushFileRequest_End
	Message isPushFileRequest_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

A file push request.

func (*PushFileRequest) Descriptor deprecated

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

Deprecated: Use PushFileRequest.ProtoReflect.Descriptor instead.

func (*PushFileRequest) GetData

func (x *PushFileRequest) GetData() *PushFileDataRequest

func (*PushFileRequest) GetEnd

func (x *PushFileRequest) GetEnd() *PushFileEndRequest

func (*PushFileRequest) GetMessage

func (m *PushFileRequest) GetMessage() isPushFileRequest_Message

func (*PushFileRequest) GetStart

func (x *PushFileRequest) GetStart() *PushFileStartRequest

func (*PushFileRequest) ProtoMessage

func (*PushFileRequest) ProtoMessage()

func (*PushFileRequest) ProtoReflect

func (x *PushFileRequest) ProtoReflect() protoreflect.Message

func (*PushFileRequest) Reset

func (x *PushFileRequest) Reset()

func (*PushFileRequest) String

func (x *PushFileRequest) String() string

type PushFileRequest_Data

type PushFileRequest_Data struct {
	Data *PushFileDataRequest `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}

type PushFileRequest_End

type PushFileRequest_End struct {
	End *PushFileEndRequest `protobuf:"bytes,3,opt,name=end,proto3,oneof"`
}

type PushFileRequest_Start

type PushFileRequest_Start struct {
	Start *PushFileStartRequest `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type PushFileStartRequest

type PushFileStartRequest struct {

	// The file path to write to.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The mode to create the file with.
	Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

A file push start request.

func (*PushFileStartRequest) Descriptor deprecated

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

Deprecated: Use PushFileStartRequest.ProtoReflect.Descriptor instead.

func (*PushFileStartRequest) GetMode

func (x *PushFileStartRequest) GetMode() uint32

func (*PushFileStartRequest) GetPath

func (x *PushFileStartRequest) GetPath() string

func (*PushFileStartRequest) ProtoMessage

func (*PushFileStartRequest) ProtoMessage()

func (*PushFileStartRequest) ProtoReflect

func (x *PushFileStartRequest) ProtoReflect() protoreflect.Message

func (*PushFileStartRequest) Reset

func (x *PushFileStartRequest) Reset()

func (*PushFileStartRequest) String

func (x *PushFileStartRequest) String() string

type ShellExitResponse

type ShellExitResponse struct {

	// The exit code.
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

A notification that the shell has terminated.

func (*ShellExitResponse) Descriptor deprecated

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

Deprecated: Use ShellExitResponse.ProtoReflect.Descriptor instead.

func (*ShellExitResponse) GetCode

func (x *ShellExitResponse) GetCode() uint32

func (*ShellExitResponse) ProtoMessage

func (*ShellExitResponse) ProtoMessage()

func (*ShellExitResponse) ProtoReflect

func (x *ShellExitResponse) ProtoReflect() protoreflect.Message

func (*ShellExitResponse) Reset

func (x *ShellExitResponse) Reset()

func (*ShellExitResponse) String

func (x *ShellExitResponse) String() string

type ShellOutputResponse

type ShellOutputResponse struct {

	// The channel.
	Channel ShellOutputResponse_ShellOutputChannel `protobuf:"varint,1,opt,name=channel,proto3,enum=ShellOutputResponse_ShellOutputChannel" json:"channel,omitempty"`
	// The raw blob.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The output from a shell.

func (*ShellOutputResponse) Descriptor deprecated

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

Deprecated: Use ShellOutputResponse.ProtoReflect.Descriptor instead.

func (*ShellOutputResponse) GetChannel

func (*ShellOutputResponse) GetData

func (x *ShellOutputResponse) GetData() []byte

func (*ShellOutputResponse) ProtoMessage

func (*ShellOutputResponse) ProtoMessage()

func (*ShellOutputResponse) ProtoReflect

func (x *ShellOutputResponse) ProtoReflect() protoreflect.Message

func (*ShellOutputResponse) Reset

func (x *ShellOutputResponse) Reset()

func (*ShellOutputResponse) String

func (x *ShellOutputResponse) String() string

type ShellOutputResponse_ShellOutputChannel

type ShellOutputResponse_ShellOutputChannel int32
const (
	// Stdout
	ShellOutputResponse_OUT ShellOutputResponse_ShellOutputChannel = 0
	// Stderr
	ShellOutputResponse_ERR ShellOutputResponse_ShellOutputChannel = 1
)

func (ShellOutputResponse_ShellOutputChannel) Descriptor

func (ShellOutputResponse_ShellOutputChannel) Enum

func (ShellOutputResponse_ShellOutputChannel) EnumDescriptor deprecated

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

Deprecated: Use ShellOutputResponse_ShellOutputChannel.Descriptor instead.

func (ShellOutputResponse_ShellOutputChannel) Number

func (ShellOutputResponse_ShellOutputChannel) String

func (ShellOutputResponse_ShellOutputChannel) Type

type ShellRequest

type ShellRequest struct {

	// Types that are assignable to Message:
	//
	//	*ShellRequest_Start
	//	*ShellRequest_Stdin
	//	*ShellRequest_Resize
	Message isShellRequest_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

An input message to the shell.

func (*ShellRequest) Descriptor deprecated

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

Deprecated: Use ShellRequest.ProtoReflect.Descriptor instead.

func (*ShellRequest) GetMessage

func (m *ShellRequest) GetMessage() isShellRequest_Message

func (*ShellRequest) GetResize

func (x *ShellRequest) GetResize() *ShellResizeRequest

func (*ShellRequest) GetStart

func (x *ShellRequest) GetStart() *ShellStartRequest

func (*ShellRequest) GetStdin

func (x *ShellRequest) GetStdin() *ShellStdInRequest

func (*ShellRequest) ProtoMessage

func (*ShellRequest) ProtoMessage()

func (*ShellRequest) ProtoReflect

func (x *ShellRequest) ProtoReflect() protoreflect.Message

func (*ShellRequest) Reset

func (x *ShellRequest) Reset()

func (*ShellRequest) String

func (x *ShellRequest) String() string

type ShellRequest_Resize

type ShellRequest_Resize struct {
	Resize *ShellResizeRequest `protobuf:"bytes,3,opt,name=resize,proto3,oneof"`
}

type ShellRequest_Start

type ShellRequest_Start struct {
	Start *ShellStartRequest `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}

type ShellRequest_Stdin

type ShellRequest_Stdin struct {
	Stdin *ShellStdInRequest `protobuf:"bytes,2,opt,name=stdin,proto3,oneof"`
}

type ShellResizeRequest

type ShellResizeRequest struct {

	// Characters
	Rows uint32 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"`
	Cols uint32 `protobuf:"varint,2,opt,name=cols,proto3" json:"cols,omitempty"`
	// Pixels
	Width  uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

Notifies the shell that the screen has changed size.

func (*ShellResizeRequest) Descriptor deprecated

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

Deprecated: Use ShellResizeRequest.ProtoReflect.Descriptor instead.

func (*ShellResizeRequest) GetCols

func (x *ShellResizeRequest) GetCols() uint32

func (*ShellResizeRequest) GetHeight

func (x *ShellResizeRequest) GetHeight() uint32

func (*ShellResizeRequest) GetRows

func (x *ShellResizeRequest) GetRows() uint32

func (*ShellResizeRequest) GetWidth

func (x *ShellResizeRequest) GetWidth() uint32

func (*ShellResizeRequest) ProtoMessage

func (*ShellResizeRequest) ProtoMessage()

func (*ShellResizeRequest) ProtoReflect

func (x *ShellResizeRequest) ProtoReflect() protoreflect.Message

func (*ShellResizeRequest) Reset

func (x *ShellResizeRequest) Reset()

func (*ShellResizeRequest) String

func (x *ShellResizeRequest) String() string

type ShellResponse

type ShellResponse struct {

	// Types that are assignable to Message:
	//
	//	*ShellResponse_Output
	//	*ShellResponse_Exit
	Message isShellResponse_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

An output message from the shell.

func (*ShellResponse) Descriptor deprecated

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

Deprecated: Use ShellResponse.ProtoReflect.Descriptor instead.

func (*ShellResponse) GetExit

func (x *ShellResponse) GetExit() *ShellExitResponse

func (*ShellResponse) GetMessage

func (m *ShellResponse) GetMessage() isShellResponse_Message

func (*ShellResponse) GetOutput

func (x *ShellResponse) GetOutput() *ShellOutputResponse

func (*ShellResponse) ProtoMessage

func (*ShellResponse) ProtoMessage()

func (*ShellResponse) ProtoReflect

func (x *ShellResponse) ProtoReflect() protoreflect.Message

func (*ShellResponse) Reset

func (x *ShellResponse) Reset()

func (*ShellResponse) String

func (x *ShellResponse) String() string

type ShellResponse_Exit

type ShellResponse_Exit struct {
	Exit *ShellExitResponse `protobuf:"bytes,2,opt,name=exit,proto3,oneof"`
}

type ShellResponse_Output

type ShellResponse_Output struct {
	Output *ShellOutputResponse `protobuf:"bytes,1,opt,name=output,proto3,oneof"`
}

type ShellStartRequest

type ShellStartRequest struct {

	// Shell type
	ShellType ShellStartRequest_ShellType `protobuf:"varint,1,opt,name=shell_type,json=shellType,proto3,enum=ShellStartRequest_ShellType" json:"shell_type,omitempty"`
	// The command to execute.
	// Specify no command to spawn an interactive shell.
	Command *string `protobuf:"bytes,2,opt,name=command,proto3,oneof" json:"command,omitempty"`
	// The "TERM=" environment value.
	TermType *string `protobuf:"bytes,3,opt,name=term_type,json=termType,proto3,oneof" json:"term_type,omitempty"`
	// contains filtered or unexported fields
}

Requests the given command is spawned.

func (*ShellStartRequest) Descriptor deprecated

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

Deprecated: Use ShellStartRequest.ProtoReflect.Descriptor instead.

func (*ShellStartRequest) GetCommand

func (x *ShellStartRequest) GetCommand() string

func (*ShellStartRequest) GetShellType

func (*ShellStartRequest) GetTermType

func (x *ShellStartRequest) GetTermType() string

func (*ShellStartRequest) ProtoMessage

func (*ShellStartRequest) ProtoMessage()

func (*ShellStartRequest) ProtoReflect

func (x *ShellStartRequest) ProtoReflect() protoreflect.Message

func (*ShellStartRequest) Reset

func (x *ShellStartRequest) Reset()

func (*ShellStartRequest) String

func (x *ShellStartRequest) String() string

type ShellStartRequest_ShellType

type ShellStartRequest_ShellType int32
const (
	// Do not spawn a PTY
	ShellStartRequest_RAW ShellStartRequest_ShellType = 0
	// Spawn a PTY
	ShellStartRequest_PTY ShellStartRequest_ShellType = 1
)

func (ShellStartRequest_ShellType) Descriptor

func (ShellStartRequest_ShellType) Enum

func (ShellStartRequest_ShellType) EnumDescriptor deprecated

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

Deprecated: Use ShellStartRequest_ShellType.Descriptor instead.

func (ShellStartRequest_ShellType) Number

func (ShellStartRequest_ShellType) String

func (ShellStartRequest_ShellType) Type

type ShellStdInRequest

type ShellStdInRequest struct {

	// The raw blob to feed in.
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Whether to close the stdin after this blob.
	Close bool `protobuf:"varint,2,opt,name=close,proto3" json:"close,omitempty"`
	// contains filtered or unexported fields
}

Feeds data into the stdin stream of the shell.

func (*ShellStdInRequest) Descriptor deprecated

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

Deprecated: Use ShellStdInRequest.ProtoReflect.Descriptor instead.

func (*ShellStdInRequest) GetClose

func (x *ShellStdInRequest) GetClose() bool

func (*ShellStdInRequest) GetData

func (x *ShellStdInRequest) GetData() []byte

func (*ShellStdInRequest) ProtoMessage

func (*ShellStdInRequest) ProtoMessage()

func (*ShellStdInRequest) ProtoReflect

func (x *ShellStdInRequest) ProtoReflect() protoreflect.Message

func (*ShellStdInRequest) Reset

func (x *ShellStdInRequest) Reset()

func (*ShellStdInRequest) String

func (x *ShellStdInRequest) String() string

type StartEmulatorRequest

type StartEmulatorRequest struct {

	// Memory in MBs
	RamSize uint32 `protobuf:"varint,1,opt,name=ram_size,json=ramSize,proto3" json:"ram_size,omitempty"`
	// Number of cores.
	CoreCount uint32 `protobuf:"varint,2,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"`
	// The DPI of the main display.
	LcdDensity uint32 `protobuf:"varint,3,opt,name=lcd_density,json=lcdDensity,proto3" json:"lcd_density,omitempty"`
	// The width of the main display.
	LcdWidth uint32 `protobuf:"varint,4,opt,name=lcd_width,json=lcdWidth,proto3" json:"lcd_width,omitempty"`
	// The height of the main display.
	LcdHeight uint32 `protobuf:"varint,5,opt,name=lcd_height,json=lcdHeight,proto3" json:"lcd_height,omitempty"`
	// Whether to root the adb session on start
	RootAdb bool `protobuf:"varint,6,opt,name=root_adb,json=rootAdb,proto3" json:"root_adb,omitempty"`
	// contains filtered or unexported fields
}

Requests the emulator boots with the given configuration. Example Settings:

Ram: 2048 Cores: 1
Display 720x1280 320dpi

func (*StartEmulatorRequest) Descriptor deprecated

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

Deprecated: Use StartEmulatorRequest.ProtoReflect.Descriptor instead.

func (*StartEmulatorRequest) GetCoreCount

func (x *StartEmulatorRequest) GetCoreCount() uint32

func (*StartEmulatorRequest) GetLcdDensity

func (x *StartEmulatorRequest) GetLcdDensity() uint32

func (*StartEmulatorRequest) GetLcdHeight

func (x *StartEmulatorRequest) GetLcdHeight() uint32

func (*StartEmulatorRequest) GetLcdWidth

func (x *StartEmulatorRequest) GetLcdWidth() uint32

func (*StartEmulatorRequest) GetRamSize

func (x *StartEmulatorRequest) GetRamSize() uint32

func (*StartEmulatorRequest) GetRootAdb

func (x *StartEmulatorRequest) GetRootAdb() bool

func (*StartEmulatorRequest) ProtoMessage

func (*StartEmulatorRequest) ProtoMessage()

func (*StartEmulatorRequest) ProtoReflect

func (x *StartEmulatorRequest) ProtoReflect() protoreflect.Message

func (*StartEmulatorRequest) Reset

func (x *StartEmulatorRequest) Reset()

func (*StartEmulatorRequest) String

func (x *StartEmulatorRequest) String() string

type StatFileRequest

type StatFileRequest struct {

	// The file to stat.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Whether to follow links.
	FollowLinks bool `protobuf:"varint,2,opt,name=follow_links,json=followLinks,proto3" json:"follow_links,omitempty"`
	// contains filtered or unexported fields
}

A file stat request.

func (*StatFileRequest) Descriptor deprecated

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

Deprecated: Use StatFileRequest.ProtoReflect.Descriptor instead.

func (x *StatFileRequest) GetFollowLinks() bool

func (*StatFileRequest) GetPath

func (x *StatFileRequest) GetPath() string

func (*StatFileRequest) ProtoMessage

func (*StatFileRequest) ProtoMessage()

func (*StatFileRequest) ProtoReflect

func (x *StatFileRequest) ProtoReflect() protoreflect.Message

func (*StatFileRequest) Reset

func (x *StatFileRequest) Reset()

func (*StatFileRequest) String

func (x *StatFileRequest) String() string

type StatFileResponse

type StatFileResponse struct {

	// Types that are assignable to Stat:
	//
	//	*StatFileResponse_StatError
	//	*StatFileResponse_StatValue
	Stat isStatFileResponse_Stat `protobuf_oneof:"stat"`
	// contains filtered or unexported fields
}

A file stat response.

func (*StatFileResponse) Descriptor deprecated

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

Deprecated: Use StatFileResponse.ProtoReflect.Descriptor instead.

func (*StatFileResponse) GetStat

func (m *StatFileResponse) GetStat() isStatFileResponse_Stat

func (*StatFileResponse) GetStatError

func (x *StatFileResponse) GetStatError() uint32

func (*StatFileResponse) GetStatValue

func (x *StatFileResponse) GetStatValue() *FileStat

func (*StatFileResponse) ProtoMessage

func (*StatFileResponse) ProtoMessage()

func (*StatFileResponse) ProtoReflect

func (x *StatFileResponse) ProtoReflect() protoreflect.Message

func (*StatFileResponse) Reset

func (x *StatFileResponse) Reset()

func (*StatFileResponse) String

func (x *StatFileResponse) String() string

type StatFileResponse_StatError

type StatFileResponse_StatError struct {
	StatError uint32 `protobuf:"varint,1,opt,name=stat_error,json=statError,proto3,oneof"`
}

type StatFileResponse_StatValue

type StatFileResponse_StatValue struct {
	StatValue *FileStat `protobuf:"bytes,2,opt,name=stat_value,json=statValue,proto3,oneof"`
}

type StopEmulatorRequest

type StopEmulatorRequest struct {

	// Kills the emulator without waiting.
	ForceExit bool `protobuf:"varint,1,opt,name=force_exit,json=forceExit,proto3" json:"force_exit,omitempty"`
	// contains filtered or unexported fields
}

Requests the emulator exits.

func (*StopEmulatorRequest) Descriptor deprecated

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

Deprecated: Use StopEmulatorRequest.ProtoReflect.Descriptor instead.

func (*StopEmulatorRequest) GetForceExit

func (x *StopEmulatorRequest) GetForceExit() bool

func (*StopEmulatorRequest) ProtoMessage

func (*StopEmulatorRequest) ProtoMessage()

func (*StopEmulatorRequest) ProtoReflect

func (x *StopEmulatorRequest) ProtoReflect() protoreflect.Message

func (*StopEmulatorRequest) Reset

func (x *StopEmulatorRequest) Reset()

func (*StopEmulatorRequest) String

func (x *StopEmulatorRequest) String() string

type StreamDisplayRequest

type StreamDisplayRequest struct {

	// The frame encoding format.
	Format StreamDisplayRequest_FrameFormat `protobuf:"varint,1,opt,name=format,proto3,enum=StreamDisplayRequest_FrameFormat" json:"format,omitempty"`
	// The maximum number of frames to encode per second.
	// Extra frames will be dropped, with the most recent frame encoded every 1/max_fps seconds.
	// Set to 0 to disable limit.
	MaxFps uint32 `protobuf:"varint,2,opt,name=max_fps,json=maxFps,proto3" json:"max_fps,omitempty"`
	// How often in milliseconds to encode a keyframe.
	// Set to 0 to only send when required. Not all formats use intermediate frames.
	KeyframeInterval uint32 `protobuf:"varint,3,opt,name=keyframe_interval,json=keyframeInterval,proto3" json:"keyframe_interval,omitempty"`
	// contains filtered or unexported fields
}

Requests the display is streamed with the given configuration.

func (*StreamDisplayRequest) Descriptor deprecated

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

Deprecated: Use StreamDisplayRequest.ProtoReflect.Descriptor instead.

func (*StreamDisplayRequest) GetFormat

func (*StreamDisplayRequest) GetKeyframeInterval

func (x *StreamDisplayRequest) GetKeyframeInterval() uint32

func (*StreamDisplayRequest) GetMaxFps

func (x *StreamDisplayRequest) GetMaxFps() uint32

func (*StreamDisplayRequest) ProtoMessage

func (*StreamDisplayRequest) ProtoMessage()

func (*StreamDisplayRequest) ProtoReflect

func (x *StreamDisplayRequest) ProtoReflect() protoreflect.Message

func (*StreamDisplayRequest) Reset

func (x *StreamDisplayRequest) Reset()

func (*StreamDisplayRequest) String

func (x *StreamDisplayRequest) String() string

type StreamDisplayRequest_FrameFormat

type StreamDisplayRequest_FrameFormat int32
const (
	// 3 bytes per pixel.
	StreamDisplayRequest_RGB888 StreamDisplayRequest_FrameFormat = 0
	// VP8 codec. Uses intermediate frames.
	StreamDisplayRequest_VP8 StreamDisplayRequest_FrameFormat = 1
)

func (StreamDisplayRequest_FrameFormat) Descriptor

func (StreamDisplayRequest_FrameFormat) Enum

func (StreamDisplayRequest_FrameFormat) EnumDescriptor deprecated

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

Deprecated: Use StreamDisplayRequest_FrameFormat.Descriptor instead.

func (StreamDisplayRequest_FrameFormat) Number

func (StreamDisplayRequest_FrameFormat) String

func (StreamDisplayRequest_FrameFormat) Type

type SysLogEntry

type SysLogEntry struct {

	// The raw line.
	Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
	// contains filtered or unexported fields
}

A single line in the syslog.

func (*SysLogEntry) Descriptor deprecated

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

Deprecated: Use SysLogEntry.ProtoReflect.Descriptor instead.

func (*SysLogEntry) GetLine

func (x *SysLogEntry) GetLine() string

func (*SysLogEntry) ProtoMessage

func (*SysLogEntry) ProtoMessage()

func (*SysLogEntry) ProtoReflect

func (x *SysLogEntry) ProtoReflect() protoreflect.Message

func (*SysLogEntry) Reset

func (x *SysLogEntry) Reset()

func (*SysLogEntry) String

func (x *SysLogEntry) String() string

type TouchEvent

type TouchEvent struct {

	// A unique id to represent a pointer. Ids can be reused. Ids are shared amongst all connections.
	Identifier uint32 `protobuf:"varint,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Coords
	X uint32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"`
	Y uint32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"`
	// Pointer device. A pressure of 0 must be sent to signal the event of the touch.
	Pressure   uint32 `protobuf:"varint,4,opt,name=pressure,proto3" json:"pressure,omitempty"`
	TouchMajor int32  `protobuf:"varint,5,opt,name=touch_major,json=touchMajor,proto3" json:"touch_major,omitempty"`
	TouchMinor int32  `protobuf:"varint,6,opt,name=touch_minor,json=touchMinor,proto3" json:"touch_minor,omitempty"`
	// contains filtered or unexported fields
}

A touch event

func (*TouchEvent) Descriptor deprecated

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

Deprecated: Use TouchEvent.ProtoReflect.Descriptor instead.

func (*TouchEvent) GetIdentifier

func (x *TouchEvent) GetIdentifier() uint32

func (*TouchEvent) GetPressure

func (x *TouchEvent) GetPressure() uint32

func (*TouchEvent) GetTouchMajor

func (x *TouchEvent) GetTouchMajor() int32

func (*TouchEvent) GetTouchMinor

func (x *TouchEvent) GetTouchMinor() int32

func (*TouchEvent) GetX

func (x *TouchEvent) GetX() uint32

func (*TouchEvent) GetY

func (x *TouchEvent) GetY() uint32

func (*TouchEvent) ProtoMessage

func (*TouchEvent) ProtoMessage()

func (*TouchEvent) ProtoReflect

func (x *TouchEvent) ProtoReflect() protoreflect.Message

func (*TouchEvent) Reset

func (x *TouchEvent) Reset()

func (*TouchEvent) String

func (x *TouchEvent) String() string

type UnimplementedAgentControllerServer

type UnimplementedAgentControllerServer struct {
}

UnimplementedAgentControllerServer must be embedded to have forward compatible implementations.

func (UnimplementedAgentControllerServer) ListDirectory

func (UnimplementedAgentControllerServer) OpenShell

func (UnimplementedAgentControllerServer) PullFile

func (UnimplementedAgentControllerServer) PushFile

func (UnimplementedAgentControllerServer) SendInput

func (UnimplementedAgentControllerServer) StartEmulator

func (UnimplementedAgentControllerServer) StatFile

func (UnimplementedAgentControllerServer) StopEmulator

func (UnimplementedAgentControllerServer) StreamDisplay

func (UnimplementedAgentControllerServer) StreamState

func (UnimplementedAgentControllerServer) StreamSysLog

type UnsafeAgentControllerServer

type UnsafeAgentControllerServer interface {
	// contains filtered or unexported methods
}

UnsafeAgentControllerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentControllerServer will result in compilation errors.

Jump to

Keyboard shortcuts

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