Documentation
¶
Overview ¶
Package ui provides all ui related types compiled from protobuf.
Index ¶
- Variables
- func RegisterAudioServiceServer(s *grpc.Server, srv AudioServiceServer)
- func RegisterAutomationServiceServer(s *grpc.Server, srv AutomationServiceServer)
- func RegisterCheckVirtualKeyboardServiceServer(s *grpc.Server, srv CheckVirtualKeyboardServiceServer)
- func RegisterChromeServiceServer(s *grpc.Server, srv ChromeServiceServer)
- func RegisterChromeUIServiceServer(s *grpc.Server, srv ChromeUIServiceServer)
- func RegisterConferenceServiceServer(s *grpc.Server, srv ConferenceServiceServer)
- func RegisterPowerMenuServiceServer(s *grpc.Server, srv PowerMenuServiceServer)
- func RegisterScreenLockServiceServer(s *grpc.Server, srv ScreenLockServiceServer)
- func RegisterScreenRecorderServiceServer(s *grpc.Server, srv ScreenRecorderServiceServer)
- type AudioServiceClient
- type AudioServiceRequest
- func (*AudioServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AudioServiceRequest) GetDirectoryName() string
- func (x *AudioServiceRequest) GetDurationInSecs() int32
- func (x *AudioServiceRequest) GetExpr() string
- func (x *AudioServiceRequest) GetFileName() string
- func (x *AudioServiceRequest) GetFilePath() string
- func (*AudioServiceRequest) ProtoMessage()
- func (x *AudioServiceRequest) ProtoReflect() protoreflect.Message
- func (x *AudioServiceRequest) Reset()
- func (x *AudioServiceRequest) String() string
- type AudioServiceResponse
- func (*AudioServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AudioServiceResponse) GetDeviceName() string
- func (x *AudioServiceResponse) GetDeviceType() string
- func (*AudioServiceResponse) ProtoMessage()
- func (x *AudioServiceResponse) ProtoReflect() protoreflect.Message
- func (x *AudioServiceResponse) Reset()
- func (x *AudioServiceResponse) String() string
- type AudioServiceServer
- type AutomationServiceClient
- type AutomationServiceServer
- type CheckVirtualKeyboardRequest
- func (*CheckVirtualKeyboardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckVirtualKeyboardRequest) GetIsDutTabletMode() bool
- func (*CheckVirtualKeyboardRequest) ProtoMessage()
- func (x *CheckVirtualKeyboardRequest) ProtoReflect() protoreflect.Message
- func (x *CheckVirtualKeyboardRequest) Reset()
- func (x *CheckVirtualKeyboardRequest) String() string
- type CheckVirtualKeyboardResponse
- func (*CheckVirtualKeyboardResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckVirtualKeyboardResponse) GetIsVirtualKeyboardPresent() bool
- func (*CheckVirtualKeyboardResponse) ProtoMessage()
- func (x *CheckVirtualKeyboardResponse) ProtoReflect() protoreflect.Message
- func (x *CheckVirtualKeyboardResponse) Reset()
- func (x *CheckVirtualKeyboardResponse) String() string
- type CheckVirtualKeyboardServiceClient
- type CheckVirtualKeyboardServiceServer
- type Checked
- type ChromeServiceClient
- type ChromeServiceServer
- type ChromeUIServiceClient
- type ChromeUIServiceServer
- type ClickType
- type ConferenceServiceClient
- type ConferenceServiceServer
- type DoubleClickRequest
- func (*DoubleClickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleClickRequest) GetFinder() *Finder
- func (*DoubleClickRequest) ProtoMessage()
- func (x *DoubleClickRequest) ProtoReflect() protoreflect.Message
- func (x *DoubleClickRequest) Reset()
- func (x *DoubleClickRequest) String() string
- type Finder
- type InfoRequest
- type InfoResponse
- type IsNodeFoundRequest
- func (*IsNodeFoundRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsNodeFoundRequest) GetFinder() *Finder
- func (*IsNodeFoundRequest) ProtoMessage()
- func (x *IsNodeFoundRequest) ProtoReflect() protoreflect.Message
- func (x *IsNodeFoundRequest) Reset()
- func (x *IsNodeFoundRequest) String() string
- type IsNodeFoundResponse
- func (*IsNodeFoundResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsNodeFoundResponse) GetFound() bool
- func (*IsNodeFoundResponse) ProtoMessage()
- func (x *IsNodeFoundResponse) ProtoReflect() protoreflect.Message
- func (x *IsNodeFoundResponse) Reset()
- func (x *IsNodeFoundResponse) String() string
- type LeftClickRequest
- type LoginMode
- type MeetScenarioRequest
- func (*MeetScenarioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MeetScenarioRequest) GetCameraVideoPath() string
- func (x *MeetScenarioRequest) GetExtendedDisplay() bool
- func (x *MeetScenarioRequest) GetIsLacros() bool
- func (x *MeetScenarioRequest) GetRoomSize() int64
- func (x *MeetScenarioRequest) GetTier() string
- func (*MeetScenarioRequest) ProtoMessage()
- func (x *MeetScenarioRequest) ProtoReflect() protoreflect.Message
- func (x *MeetScenarioRequest) Reset()
- func (x *MeetScenarioRequest) String() string
- type MouseClickAtLocationRequest
- func (*MouseClickAtLocationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MouseClickAtLocationRequest) GetClickType() ClickType
- func (x *MouseClickAtLocationRequest) GetPoint() *Point
- func (*MouseClickAtLocationRequest) ProtoMessage()
- func (x *MouseClickAtLocationRequest) ProtoReflect() protoreflect.Message
- func (x *MouseClickAtLocationRequest) Reset()
- func (x *MouseClickAtLocationRequest) String() string
- type NewChromeRequest
- func (*NewChromeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewChromeRequest) GetKey() string
- func (x *NewChromeRequest) GetLogin() bool
- func (*NewChromeRequest) ProtoMessage()
- func (x *NewChromeRequest) ProtoReflect() protoreflect.Message
- func (x *NewChromeRequest) Reset()
- func (x *NewChromeRequest) String() string
- type NewRequest
- func (*NewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewRequest) GetCredentials() *NewRequest_Credentials
- func (x *NewRequest) GetDisableFeatures() []string
- func (x *NewRequest) GetEnableFeatures() []string
- func (x *NewRequest) GetExtraArgs() []string
- func (x *NewRequest) GetKeepState() bool
- func (x *NewRequest) GetLoginMode() LoginMode
- func (x *NewRequest) GetTryReuseSession() bool
- func (*NewRequest) ProtoMessage()
- func (x *NewRequest) ProtoReflect() protoreflect.Message
- func (x *NewRequest) Reset()
- func (x *NewRequest) String() string
- type NewRequest_Credentials
- func (*NewRequest_Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *NewRequest_Credentials) GetContact() string
- func (x *NewRequest_Credentials) GetGaiaId() string
- func (x *NewRequest_Credentials) GetParentPassword() string
- func (x *NewRequest_Credentials) GetParentUsername() string
- func (x *NewRequest_Credentials) GetPassword() string
- func (x *NewRequest_Credentials) GetUsername() string
- func (*NewRequest_Credentials) ProtoMessage()
- func (x *NewRequest_Credentials) ProtoReflect() protoreflect.Message
- func (x *NewRequest_Credentials) Reset()
- func (x *NewRequest_Credentials) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetChecked() Checked
- func (x *NodeInfo) GetClassName() string
- func (x *NodeInfo) GetHtmlAttributes() map[string]string
- func (x *NodeInfo) GetLocation() *Rect
- func (x *NodeInfo) GetName() string
- func (x *NodeInfo) GetRestriction() Restriction
- func (x *NodeInfo) GetRole() Role
- func (x *NodeInfo) GetState() map[string]bool
- func (x *NodeInfo) GetValue() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeWith
- func (*NodeWith) Descriptor() ([]byte, []int)deprecated
- func (x *NodeWith) GetAncestor() *Finder
- func (x *NodeWith) GetAutofillAvailable() bool
- func (x *NodeWith) GetCollapsed() bool
- func (x *NodeWith) GetEditable() bool
- func (x *NodeWith) GetExpanded() bool
- func (x *NodeWith) GetFirst() bool
- func (x *NodeWith) GetFocusable() bool
- func (x *NodeWith) GetFocused() bool
- func (x *NodeWith) GetHasClass() string
- func (x *NodeWith) GetHorizontal() bool
- func (x *NodeWith) GetHovered() bool
- func (x *NodeWith) GetIgnored() bool
- func (x *NodeWith) GetInvisible() bool
- func (x *NodeWith) GetIsDefault() bool
- func (x *NodeWith) GetIsProtected() bool
- func (x *NodeWith) GetLinked() bool
- func (x *NodeWith) GetMultiline() bool
- func (x *NodeWith) GetMultiselectable() bool
- func (x *NodeWith) GetName() string
- func (x *NodeWith) GetNameContaining() string
- func (x *NodeWith) GetNameRegex() string
- func (x *NodeWith) GetNameStartingWith() string
- func (x *NodeWith) GetNth() int32
- func (x *NodeWith) GetOffscreen() bool
- func (x *NodeWith) GetOnscreen() bool
- func (x *NodeWith) GetRequired() bool
- func (x *NodeWith) GetRichlyEditable() bool
- func (x *NodeWith) GetRole() Role
- func (x *NodeWith) GetRoot() bool
- func (x *NodeWith) GetState() *NodeWith_StateValue
- func (m *NodeWith) GetValue() isNodeWith_Value
- func (x *NodeWith) GetVertical() bool
- func (x *NodeWith) GetVisible() bool
- func (x *NodeWith) GetVisited() bool
- func (*NodeWith) ProtoMessage()
- func (x *NodeWith) ProtoReflect() protoreflect.Message
- func (x *NodeWith) Reset()
- func (x *NodeWith) String() string
- type NodeWith_Ancestor
- type NodeWith_AutofillAvailable
- type NodeWith_Collapsed
- type NodeWith_Editable
- type NodeWith_Expanded
- type NodeWith_First
- type NodeWith_Focusable
- type NodeWith_Focused
- type NodeWith_HasClass
- type NodeWith_Horizontal
- type NodeWith_Hovered
- type NodeWith_Ignored
- type NodeWith_Invisible
- type NodeWith_IsDefault
- type NodeWith_IsProtected
- type NodeWith_Linked
- type NodeWith_Multiline
- type NodeWith_Multiselectable
- type NodeWith_Name
- type NodeWith_NameContaining
- type NodeWith_NameRegex
- type NodeWith_NameStartingWith
- type NodeWith_Nth
- type NodeWith_Offscreen
- type NodeWith_Onscreen
- type NodeWith_Required
- type NodeWith_RichlyEditable
- type NodeWith_Role
- type NodeWith_Root
- type NodeWith_State
- type NodeWith_StateValue
- func (*NodeWith_StateValue) Descriptor() ([]byte, []int)deprecated
- func (x *NodeWith_StateValue) GetState() State
- func (x *NodeWith_StateValue) GetValue() bool
- func (*NodeWith_StateValue) ProtoMessage()
- func (x *NodeWith_StateValue) ProtoReflect() protoreflect.Message
- func (x *NodeWith_StateValue) Reset()
- func (x *NodeWith_StateValue) String() string
- type NodeWith_Vertical
- type NodeWith_Visible
- type NodeWith_Visited
- type Point
- type PowerMenuItemResponse
- func (*PowerMenuItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PowerMenuItemResponse) GetMenuItems() []string
- func (*PowerMenuItemResponse) ProtoMessage()
- func (x *PowerMenuItemResponse) ProtoReflect() protoreflect.Message
- func (x *PowerMenuItemResponse) Reset()
- func (x *PowerMenuItemResponse) String() string
- type PowerMenuPresentResponse
- func (*PowerMenuPresentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PowerMenuPresentResponse) GetIsMenuPresent() bool
- func (*PowerMenuPresentResponse) ProtoMessage()
- func (x *PowerMenuPresentResponse) ProtoReflect() protoreflect.Message
- func (x *PowerMenuPresentResponse) Reset()
- func (x *PowerMenuPresentResponse) String() string
- type PowerMenuServiceClient
- type PowerMenuServiceServer
- type Rect
- func (*Rect) Descriptor() ([]byte, []int)deprecated
- func (x *Rect) GetHeight() int32
- func (x *Rect) GetLeft() int32
- func (x *Rect) GetTop() int32
- func (x *Rect) GetWidth() int32
- func (*Rect) ProtoMessage()
- func (x *Rect) ProtoReflect() protoreflect.Message
- func (x *Rect) Reset()
- func (x *Rect) String() string
- type Restriction
- func (Restriction) Descriptor() protoreflect.EnumDescriptor
- func (x Restriction) Enum() *Restriction
- func (Restriction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Restriction) Number() protoreflect.EnumNumber
- func (x Restriction) String() string
- func (Restriction) Type() protoreflect.EnumType
- type RightClickRequest
- type Role
- type ScreenLockServiceClient
- type ScreenLockServiceServer
- type ScreenRecorderServiceClient
- type ScreenRecorderServiceServer
- type StartRequest
- type State
- type StopResponse
- type UnimplementedAudioServiceServer
- func (*UnimplementedAudioServiceServer) AudioCrasSelectedOutputDevice(context.Context, *empty.Empty) (*AudioServiceResponse, error)
- func (*UnimplementedAudioServiceServer) Close(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) ConvertRawToWav(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) GenerateTestRawData(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) KeyboardAccel(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) New(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) OpenDirectoryAndFile(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) SetActiveNodeByType(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- func (*UnimplementedAudioServiceServer) VerifyFirstRunningDevice(context.Context, *AudioServiceRequest) (*empty.Empty, error)
- type UnimplementedAutomationServiceServer
- func (*UnimplementedAutomationServiceServer) DoubleClick(context.Context, *DoubleClickRequest) (*empty.Empty, error)
- func (*UnimplementedAutomationServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error)
- func (*UnimplementedAutomationServiceServer) IsNodeFound(context.Context, *IsNodeFoundRequest) (*IsNodeFoundResponse, error)
- func (*UnimplementedAutomationServiceServer) LeftClick(context.Context, *LeftClickRequest) (*empty.Empty, error)
- func (*UnimplementedAutomationServiceServer) MouseClickAtLocation(context.Context, *MouseClickAtLocationRequest) (*empty.Empty, error)
- func (*UnimplementedAutomationServiceServer) RightClick(context.Context, *RightClickRequest) (*empty.Empty, error)
- func (*UnimplementedAutomationServiceServer) WaitUntilExists(context.Context, *WaitUntilExistsRequest) (*empty.Empty, error)
- type UnimplementedCheckVirtualKeyboardServiceServer
- func (*UnimplementedCheckVirtualKeyboardServiceServer) CheckVirtualKeyboardIsPresent(context.Context, *CheckVirtualKeyboardRequest) (*CheckVirtualKeyboardResponse, error)
- func (*UnimplementedCheckVirtualKeyboardServiceServer) ClickChromeAddressBar(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedCheckVirtualKeyboardServiceServer) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedCheckVirtualKeyboardServiceServer) NewChromeLoggedIn(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedCheckVirtualKeyboardServiceServer) OpenChromePage(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedCheckVirtualKeyboardServiceServer) TouchChromeAddressBar(context.Context, *empty.Empty) (*empty.Empty, error)
- type UnimplementedChromeServiceServer
- type UnimplementedChromeUIServiceServer
- type UnimplementedConferenceServiceServer
- type UnimplementedPowerMenuServiceServer
- func (*UnimplementedPowerMenuServiceServer) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPowerMenuServiceServer) NewChrome(context.Context, *NewChromeRequest) (*empty.Empty, error)
- func (*UnimplementedPowerMenuServiceServer) PowerMenuItem(context.Context, *empty.Empty) (*PowerMenuItemResponse, error)
- func (*UnimplementedPowerMenuServiceServer) PowerMenuPresent(context.Context, *empty.Empty) (*PowerMenuPresentResponse, error)
- type UnimplementedScreenLockServiceServer
- func (*UnimplementedScreenLockServiceServer) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedScreenLockServiceServer) Lock(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedScreenLockServiceServer) NewChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedScreenLockServiceServer) ReuseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- type UnimplementedScreenRecorderServiceServer
- type WaitUntilExistsRequest
- func (*WaitUntilExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitUntilExistsRequest) GetFinder() *Finder
- func (*WaitUntilExistsRequest) ProtoMessage()
- func (x *WaitUntilExistsRequest) ProtoReflect() protoreflect.Message
- func (x *WaitUntilExistsRequest) Reset()
- func (x *WaitUntilExistsRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ClickType_name = map[int32]string{ 0: "CLICK_TYPE_UNSPECIFIED", 1: "CLICK_TYPE_LEFT_CLICK", 2: "CLICK_TYPE_RIGHT_CLICK", 3: "CLICK_TYPE_DOUBLE_CLICK", } ClickType_value = map[string]int32{ "CLICK_TYPE_UNSPECIFIED": 0, "CLICK_TYPE_LEFT_CLICK": 1, "CLICK_TYPE_RIGHT_CLICK": 2, "CLICK_TYPE_DOUBLE_CLICK": 3, } )
Enum value maps for ClickType.
var ( Checked_name = map[int32]string{ 0: "CHECKED_UNSPECIFIED", 1: "CHECKED_TRUE", 2: "CHECKED_FALSE", 3: "CHECKED_MIXED", } Checked_value = map[string]int32{ "CHECKED_UNSPECIFIED": 0, "CHECKED_TRUE": 1, "CHECKED_FALSE": 2, "CHECKED_MIXED": 3, } )
Enum value maps for Checked.
var ( Restriction_name = map[int32]string{ 0: "RESTRICTION_UNSPECIFIED", 1: "RESTRICTION_DISABLED", 2: "RESTRICTION_READ_ONLY", 3: "RESTRICTION_NONE", } Restriction_value = map[string]int32{ "RESTRICTION_UNSPECIFIED": 0, "RESTRICTION_DISABLED": 1, "RESTRICTION_READ_ONLY": 2, "RESTRICTION_NONE": 3, } )
Enum value maps for Restriction.
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_AUTOFILL_AVAILABLE", 2: "STATE_COLLAPSED", 3: "STATE_DEFAULT", 4: "STATE_EDITABLE", 5: "STATE_EXPANDED", 6: "STATE_FOCUSABLE", 7: "STATE_FOCUSED", 8: "STATE_HORIZONTAL", 9: "STATE_HOVERED", 10: "STATE_IGNORED", 11: "STATE_INVISIBLE", 12: "STATE_LINKED", 13: "STATE_MULTILINE", 14: "STATE_MULTISELECTABLE", 15: "STATE_OFFSCREEN", 16: "STATE_PROTECTED", 17: "STATE_REQUIRED", 18: "STATE_RICHLY_EDITABLE", 19: "STATE_VERTICAL", 20: "STATE_VISITED", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_AUTOFILL_AVAILABLE": 1, "STATE_COLLAPSED": 2, "STATE_DEFAULT": 3, "STATE_EDITABLE": 4, "STATE_EXPANDED": 5, "STATE_FOCUSABLE": 6, "STATE_FOCUSED": 7, "STATE_HORIZONTAL": 8, "STATE_HOVERED": 9, "STATE_IGNORED": 10, "STATE_INVISIBLE": 11, "STATE_LINKED": 12, "STATE_MULTILINE": 13, "STATE_MULTISELECTABLE": 14, "STATE_OFFSCREEN": 15, "STATE_PROTECTED": 16, "STATE_REQUIRED": 17, "STATE_RICHLY_EDITABLE": 18, "STATE_VERTICAL": 19, "STATE_VISITED": 20, } )
Enum value maps for State.
var ( Role_name = map[int32]string{}/* 190 elements not displayed */ Role_value = map[string]int32{}/* 190 elements not displayed */ )
Enum value maps for Role.
var ( LoginMode_name = map[int32]string{ 0: "LOGIN_MODE_UNSPECIFIED", 1: "LOGIN_MODE_NO_LOGIN", 2: "LOGIN_MODE_FAKE_LOGIN", 3: "LOGIN_MODE_GAIA_LOGIN", 4: "LOGIN_MODE_GUEST_LOGIN", } LoginMode_value = map[string]int32{ "LOGIN_MODE_UNSPECIFIED": 0, "LOGIN_MODE_NO_LOGIN": 1, "LOGIN_MODE_FAKE_LOGIN": 2, "LOGIN_MODE_GAIA_LOGIN": 3, "LOGIN_MODE_GUEST_LOGIN": 4, } )
Enum value maps for LoginMode.
var File_audio_service_proto protoreflect.FileDescriptor
var File_automation_service_proto protoreflect.FileDescriptor
var File_check_virtual_keyboard_service_proto protoreflect.FileDescriptor
var File_chrome_service_proto protoreflect.FileDescriptor
var File_chrome_ui_service_proto protoreflect.FileDescriptor
var File_conference_service_proto protoreflect.FileDescriptor
var File_screen_recorder_service_proto protoreflect.FileDescriptor
var File_screenlock_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAudioServiceServer ¶
func RegisterAudioServiceServer(s *grpc.Server, srv AudioServiceServer)
func RegisterAutomationServiceServer ¶
func RegisterAutomationServiceServer(s *grpc.Server, srv AutomationServiceServer)
func RegisterCheckVirtualKeyboardServiceServer ¶
func RegisterCheckVirtualKeyboardServiceServer(s *grpc.Server, srv CheckVirtualKeyboardServiceServer)
func RegisterChromeServiceServer ¶
func RegisterChromeServiceServer(s *grpc.Server, srv ChromeServiceServer)
func RegisterChromeUIServiceServer ¶
func RegisterChromeUIServiceServer(s *grpc.Server, srv ChromeUIServiceServer)
func RegisterConferenceServiceServer ¶
func RegisterConferenceServiceServer(s *grpc.Server, srv ConferenceServiceServer)
func RegisterPowerMenuServiceServer ¶
func RegisterPowerMenuServiceServer(s *grpc.Server, srv PowerMenuServiceServer)
func RegisterScreenLockServiceServer ¶
func RegisterScreenLockServiceServer(s *grpc.Server, srv ScreenLockServiceServer)
func RegisterScreenRecorderServiceServer ¶
func RegisterScreenRecorderServiceServer(s *grpc.Server, srv ScreenRecorderServiceServer)
Types ¶
type AudioServiceClient ¶
type AudioServiceClient interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the resources obtained by New. Close(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // OpenDirectoryAndFile performs launching filesapp and opening particular file // in given directory. OpenDirectoryAndFile(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // GenerateTestRawData generates test raw data file. GenerateTestRawData(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // ConvertRawToWav will convert raw data file to wav file format. ConvertRawToWav(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // KeyboardAccel will create keyboard event and performs keyboard // key press with Accel(). KeyboardAccel(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // AudioCrasSelectedOutputDevice will return selected audio device name // and audio device type. AudioCrasSelectedOutputDevice(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*AudioServiceResponse, error) // VerifyFirstRunningDevice will check for audio routing device. VerifyFirstRunningDevice(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) // SetActiveNodeByType will set the provided audio node as Active audio node. SetActiveNodeByType(ctx context.Context, in *AudioServiceRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
AudioServiceClient is the client API for AudioService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAudioServiceClient ¶
func NewAudioServiceClient(cc grpc.ClientConnInterface) AudioServiceClient
type AudioServiceRequest ¶
type AudioServiceRequest struct { Expr string `protobuf:"bytes,1,opt,name=Expr,proto3" json:"Expr,omitempty"` DirectoryName string `protobuf:"bytes,2,opt,name=DirectoryName,proto3" json:"DirectoryName,omitempty"` FileName string `protobuf:"bytes,3,opt,name=FileName,proto3" json:"FileName,omitempty"` DurationInSecs int32 `protobuf:"varint,4,opt,name=DurationInSecs,proto3" json:"DurationInSecs,omitempty"` FilePath string `protobuf:"bytes,5,opt,name=FilePath,proto3" json:"FilePath,omitempty"` // contains filtered or unexported fields }
func (*AudioServiceRequest) Descriptor
deprecated
func (*AudioServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AudioServiceRequest.ProtoReflect.Descriptor instead.
func (*AudioServiceRequest) GetDirectoryName ¶
func (x *AudioServiceRequest) GetDirectoryName() string
func (*AudioServiceRequest) GetDurationInSecs ¶
func (x *AudioServiceRequest) GetDurationInSecs() int32
func (*AudioServiceRequest) GetExpr ¶
func (x *AudioServiceRequest) GetExpr() string
func (*AudioServiceRequest) GetFileName ¶
func (x *AudioServiceRequest) GetFileName() string
func (*AudioServiceRequest) GetFilePath ¶
func (x *AudioServiceRequest) GetFilePath() string
func (*AudioServiceRequest) ProtoMessage ¶
func (*AudioServiceRequest) ProtoMessage()
func (*AudioServiceRequest) ProtoReflect ¶
func (x *AudioServiceRequest) ProtoReflect() protoreflect.Message
func (*AudioServiceRequest) Reset ¶
func (x *AudioServiceRequest) Reset()
func (*AudioServiceRequest) String ¶
func (x *AudioServiceRequest) String() string
type AudioServiceResponse ¶
type AudioServiceResponse struct { DeviceName string `protobuf:"bytes,1,opt,name=DeviceName,proto3" json:"DeviceName,omitempty"` DeviceType string `protobuf:"bytes,2,opt,name=DeviceType,proto3" json:"DeviceType,omitempty"` // contains filtered or unexported fields }
func (*AudioServiceResponse) Descriptor
deprecated
func (*AudioServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AudioServiceResponse.ProtoReflect.Descriptor instead.
func (*AudioServiceResponse) GetDeviceName ¶
func (x *AudioServiceResponse) GetDeviceName() string
func (*AudioServiceResponse) GetDeviceType ¶
func (x *AudioServiceResponse) GetDeviceType() string
func (*AudioServiceResponse) ProtoMessage ¶
func (*AudioServiceResponse) ProtoMessage()
func (*AudioServiceResponse) ProtoReflect ¶
func (x *AudioServiceResponse) ProtoReflect() protoreflect.Message
func (*AudioServiceResponse) Reset ¶
func (x *AudioServiceResponse) Reset()
func (*AudioServiceResponse) String ¶
func (x *AudioServiceResponse) String() string
type AudioServiceServer ¶
type AudioServiceServer interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(context.Context, *empty.Empty) (*empty.Empty, error) // Close releases the resources obtained by New. Close(context.Context, *empty.Empty) (*empty.Empty, error) // OpenDirectoryAndFile performs launching filesapp and opening particular file // in given directory. OpenDirectoryAndFile(context.Context, *AudioServiceRequest) (*empty.Empty, error) // GenerateTestRawData generates test raw data file. GenerateTestRawData(context.Context, *AudioServiceRequest) (*empty.Empty, error) // ConvertRawToWav will convert raw data file to wav file format. ConvertRawToWav(context.Context, *AudioServiceRequest) (*empty.Empty, error) // KeyboardAccel will create keyboard event and performs keyboard // key press with Accel(). KeyboardAccel(context.Context, *AudioServiceRequest) (*empty.Empty, error) // AudioCrasSelectedOutputDevice will return selected audio device name // and audio device type. AudioCrasSelectedOutputDevice(context.Context, *empty.Empty) (*AudioServiceResponse, error) // VerifyFirstRunningDevice will check for audio routing device. VerifyFirstRunningDevice(context.Context, *AudioServiceRequest) (*empty.Empty, error) // SetActiveNodeByType will set the provided audio node as Active audio node. SetActiveNodeByType(context.Context, *AudioServiceRequest) (*empty.Empty, error) }
AudioServiceServer is the server API for AudioService service.
type AutomationServiceClient ¶
type AutomationServiceClient interface { // Info returns the information for the node found by the input finder. Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) // LeftClick left clicks on the location of the node found by the input // finder. LeftClick(ctx context.Context, in *LeftClickRequest, opts ...grpc.CallOption) (*empty.Empty, error) // RightClick right clicks on the location of the node found by the input // finder. RightClick(ctx context.Context, in *RightClickRequest, opts ...grpc.CallOption) (*empty.Empty, error) // DoubleClick double clicks on the location of the node found by the input // finder. DoubleClick(ctx context.Context, in *DoubleClickRequest, opts ...grpc.CallOption) (*empty.Empty, error) // IsNodeFound immediately checks if any nodes found with given finder. // It returns true if found otherwise false. IsNodeFound(ctx context.Context, in *IsNodeFoundRequest, opts ...grpc.CallOption) (*IsNodeFoundResponse, error) // MouseClickAtLocation clicks on the specified location. MouseClickAtLocation(ctx context.Context, in *MouseClickAtLocationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // WaitUntilExists waits until the node found by the input finder exists. WaitUntilExists(ctx context.Context, in *WaitUntilExistsRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
AutomationServiceClient is the client API for AutomationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAutomationServiceClient ¶
func NewAutomationServiceClient(cc grpc.ClientConnInterface) AutomationServiceClient
type AutomationServiceServer ¶
type AutomationServiceServer interface { // Info returns the information for the node found by the input finder. Info(context.Context, *InfoRequest) (*InfoResponse, error) // LeftClick left clicks on the location of the node found by the input // finder. LeftClick(context.Context, *LeftClickRequest) (*empty.Empty, error) // RightClick right clicks on the location of the node found by the input // finder. RightClick(context.Context, *RightClickRequest) (*empty.Empty, error) // DoubleClick double clicks on the location of the node found by the input // finder. DoubleClick(context.Context, *DoubleClickRequest) (*empty.Empty, error) // IsNodeFound immediately checks if any nodes found with given finder. // It returns true if found otherwise false. IsNodeFound(context.Context, *IsNodeFoundRequest) (*IsNodeFoundResponse, error) // MouseClickAtLocation clicks on the specified location. MouseClickAtLocation(context.Context, *MouseClickAtLocationRequest) (*empty.Empty, error) // WaitUntilExists waits until the node found by the input finder exists. WaitUntilExists(context.Context, *WaitUntilExistsRequest) (*empty.Empty, error) }
AutomationServiceServer is the server API for AutomationService service.
type CheckVirtualKeyboardRequest ¶
type CheckVirtualKeyboardRequest struct { IsDutTabletMode bool `protobuf:"varint,1,opt,name=is_dut_tablet_mode,json=isDutTabletMode,proto3" json:"is_dut_tablet_mode,omitempty"` // contains filtered or unexported fields }
func (*CheckVirtualKeyboardRequest) Descriptor
deprecated
func (*CheckVirtualKeyboardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckVirtualKeyboardRequest.ProtoReflect.Descriptor instead.
func (*CheckVirtualKeyboardRequest) GetIsDutTabletMode ¶
func (x *CheckVirtualKeyboardRequest) GetIsDutTabletMode() bool
func (*CheckVirtualKeyboardRequest) ProtoMessage ¶
func (*CheckVirtualKeyboardRequest) ProtoMessage()
func (*CheckVirtualKeyboardRequest) ProtoReflect ¶
func (x *CheckVirtualKeyboardRequest) ProtoReflect() protoreflect.Message
func (*CheckVirtualKeyboardRequest) Reset ¶
func (x *CheckVirtualKeyboardRequest) Reset()
func (*CheckVirtualKeyboardRequest) String ¶
func (x *CheckVirtualKeyboardRequest) String() string
type CheckVirtualKeyboardResponse ¶
type CheckVirtualKeyboardResponse struct { IsVirtualKeyboardPresent bool `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckVirtualKeyboardResponse) Descriptor
deprecated
func (*CheckVirtualKeyboardResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckVirtualKeyboardResponse.ProtoReflect.Descriptor instead.
func (*CheckVirtualKeyboardResponse) GetIsVirtualKeyboardPresent ¶
func (x *CheckVirtualKeyboardResponse) GetIsVirtualKeyboardPresent() bool
func (*CheckVirtualKeyboardResponse) ProtoMessage ¶
func (*CheckVirtualKeyboardResponse) ProtoMessage()
func (*CheckVirtualKeyboardResponse) ProtoReflect ¶
func (x *CheckVirtualKeyboardResponse) ProtoReflect() protoreflect.Message
func (*CheckVirtualKeyboardResponse) Reset ¶
func (x *CheckVirtualKeyboardResponse) Reset()
func (*CheckVirtualKeyboardResponse) String ¶
func (x *CheckVirtualKeyboardResponse) String() string
type CheckVirtualKeyboardServiceClient ¶
type CheckVirtualKeyboardServiceClient interface { // NewChromeLoggedIn Logs into a user session. NewChromeLoggedIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // CloseChrome releases the resources obtained by NewChrome. CloseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // OpenChromePage opens a chrome page. OpenChromePage(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // ClickChromeAddressBar clicks on the address bar. ClickChromeAddressBar(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // TouchChromeAddressBar sends a tap on the touch screen to touch on the address bar. TouchChromeAddressBar(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // CheckVirtualKeyboardIsPresent checks whether the virtual keyboard is present. CheckVirtualKeyboardIsPresent(ctx context.Context, in *CheckVirtualKeyboardRequest, opts ...grpc.CallOption) (*CheckVirtualKeyboardResponse, error) }
CheckVirtualKeyboardServiceClient is the client API for CheckVirtualKeyboardService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCheckVirtualKeyboardServiceClient ¶
func NewCheckVirtualKeyboardServiceClient(cc grpc.ClientConnInterface) CheckVirtualKeyboardServiceClient
type CheckVirtualKeyboardServiceServer ¶
type CheckVirtualKeyboardServiceServer interface { // NewChromeLoggedIn Logs into a user session. NewChromeLoggedIn(context.Context, *empty.Empty) (*empty.Empty, error) // CloseChrome releases the resources obtained by NewChrome. CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error) // OpenChromePage opens a chrome page. OpenChromePage(context.Context, *empty.Empty) (*empty.Empty, error) // ClickChromeAddressBar clicks on the address bar. ClickChromeAddressBar(context.Context, *empty.Empty) (*empty.Empty, error) // TouchChromeAddressBar sends a tap on the touch screen to touch on the address bar. TouchChromeAddressBar(context.Context, *empty.Empty) (*empty.Empty, error) // CheckVirtualKeyboardIsPresent checks whether the virtual keyboard is present. CheckVirtualKeyboardIsPresent(context.Context, *CheckVirtualKeyboardRequest) (*CheckVirtualKeyboardResponse, error) }
CheckVirtualKeyboardServiceServer is the server API for CheckVirtualKeyboardService service.
type Checked ¶
type Checked int32
Checked describes tri-state values of a checkbox or radio button. As defined in https://chromium.googlesource.com/chromium/src/+/refs/heads/main/extensions/common/api/automation.idl
func (Checked) Descriptor ¶
func (Checked) Descriptor() protoreflect.EnumDescriptor
func (Checked) EnumDescriptor
deprecated
func (Checked) Number ¶
func (x Checked) Number() protoreflect.EnumNumber
func (Checked) Type ¶
func (Checked) Type() protoreflect.EnumType
type ChromeServiceClient ¶
type ChromeServiceClient interface { // New enables testing for Chrome and logs into a Chrome session. // When try_reuse_session is set to true, service tries to reuse existing // chrome session if the reuse criteria is met. // Close must be called later to clean up the associated resources. New(ctx context.Context, in *NewRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the chrome session obtained by New. // When there is no chrome session, calling Close returns an error. Close(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
ChromeServiceClient is the client API for ChromeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChromeServiceClient ¶
func NewChromeServiceClient(cc grpc.ClientConnInterface) ChromeServiceClient
type ChromeServiceServer ¶
type ChromeServiceServer interface { // New enables testing for Chrome and logs into a Chrome session. // When try_reuse_session is set to true, service tries to reuse existing // chrome session if the reuse criteria is met. // Close must be called later to clean up the associated resources. New(context.Context, *NewRequest) (*empty.Empty, error) // Close releases the chrome session obtained by New. // When there is no chrome session, calling Close returns an error. Close(context.Context, *empty.Empty) (*empty.Empty, error) }
ChromeServiceServer is the server API for ChromeService service.
type ChromeUIServiceClient ¶
type ChromeUIServiceClient interface { // EnsureLoginScreen restarts ui job to ensure starting from logout state, i.e. at login. EnsureLoginScreen(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
ChromeUIServiceClient is the client API for ChromeUIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChromeUIServiceClient ¶
func NewChromeUIServiceClient(cc grpc.ClientConnInterface) ChromeUIServiceClient
type ChromeUIServiceServer ¶
type ChromeUIServiceServer interface { // EnsureLoginScreen restarts ui job to ensure starting from logout state, i.e. at login. EnsureLoginScreen(context.Context, *empty.Empty) (*empty.Empty, error) }
ChromeUIServiceServer is the server API for ChromeUIService service.
type ClickType ¶
type ClickType int32
func (ClickType) Descriptor ¶
func (ClickType) Descriptor() protoreflect.EnumDescriptor
func (ClickType) EnumDescriptor
deprecated
func (ClickType) Number ¶
func (x ClickType) Number() protoreflect.EnumNumber
func (ClickType) Type ¶
func (ClickType) Type() protoreflect.EnumType
type ConferenceServiceClient ¶
type ConferenceServiceClient interface { RunGoogleMeetScenario(ctx context.Context, in *MeetScenarioRequest, opts ...grpc.CallOption) (*empty.Empty, error) RunZoomScenario(ctx context.Context, in *MeetScenarioRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ConferenceServiceClient is the client API for ConferenceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConferenceServiceClient ¶
func NewConferenceServiceClient(cc grpc.ClientConnInterface) ConferenceServiceClient
type ConferenceServiceServer ¶
type ConferenceServiceServer interface { RunGoogleMeetScenario(context.Context, *MeetScenarioRequest) (*empty.Empty, error) RunZoomScenario(context.Context, *MeetScenarioRequest) (*empty.Empty, error) }
ConferenceServiceServer is the server API for ConferenceService service.
type DoubleClickRequest ¶
type DoubleClickRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*DoubleClickRequest) Descriptor
deprecated
func (*DoubleClickRequest) Descriptor() ([]byte, []int)
Deprecated: Use DoubleClickRequest.ProtoReflect.Descriptor instead.
func (*DoubleClickRequest) GetFinder ¶
func (x *DoubleClickRequest) GetFinder() *Finder
func (*DoubleClickRequest) ProtoMessage ¶
func (*DoubleClickRequest) ProtoMessage()
func (*DoubleClickRequest) ProtoReflect ¶
func (x *DoubleClickRequest) ProtoReflect() protoreflect.Message
func (*DoubleClickRequest) Reset ¶
func (x *DoubleClickRequest) Reset()
func (*DoubleClickRequest) String ¶
func (x *DoubleClickRequest) String() string
type Finder ¶
type Finder struct { // NodeWiths contain the conditions of the finder NodeWiths []*NodeWith `protobuf:"bytes,1,rep,name=node_withs,json=nodeWiths,proto3" json:"node_withs,omitempty"` // contains filtered or unexported fields }
Finder is a wrapper around chrome.automation.FindParams to Golang with a nicer API. As defined in https://chromium.googlesource.com/chromium/src/+/refs/heads/main/extensions/common/api/automation.idl
func (*Finder) Descriptor
deprecated
func (*Finder) GetNodeWiths ¶
func (*Finder) ProtoMessage ¶
func (*Finder) ProtoMessage()
func (*Finder) ProtoReflect ¶
func (x *Finder) ProtoReflect() protoreflect.Message
type InfoRequest ¶
type InfoRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*InfoRequest) Descriptor
deprecated
func (*InfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.
func (*InfoRequest) GetFinder ¶
func (x *InfoRequest) GetFinder() *Finder
func (*InfoRequest) ProtoMessage ¶
func (*InfoRequest) ProtoMessage()
func (*InfoRequest) ProtoReflect ¶
func (x *InfoRequest) ProtoReflect() protoreflect.Message
func (*InfoRequest) Reset ¶
func (x *InfoRequest) Reset()
func (*InfoRequest) String ¶
func (x *InfoRequest) String() string
type InfoResponse ¶
type InfoResponse struct { NodeInfo *NodeInfo `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` // contains filtered or unexported fields }
func (*InfoResponse) Descriptor
deprecated
func (*InfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
func (*InfoResponse) GetNodeInfo ¶
func (x *InfoResponse) GetNodeInfo() *NodeInfo
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) ProtoReflect ¶
func (x *InfoResponse) ProtoReflect() protoreflect.Message
func (*InfoResponse) Reset ¶
func (x *InfoResponse) Reset()
func (*InfoResponse) String ¶
func (x *InfoResponse) String() string
type IsNodeFoundRequest ¶
type IsNodeFoundRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*IsNodeFoundRequest) Descriptor
deprecated
func (*IsNodeFoundRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsNodeFoundRequest.ProtoReflect.Descriptor instead.
func (*IsNodeFoundRequest) GetFinder ¶
func (x *IsNodeFoundRequest) GetFinder() *Finder
func (*IsNodeFoundRequest) ProtoMessage ¶
func (*IsNodeFoundRequest) ProtoMessage()
func (*IsNodeFoundRequest) ProtoReflect ¶
func (x *IsNodeFoundRequest) ProtoReflect() protoreflect.Message
func (*IsNodeFoundRequest) Reset ¶
func (x *IsNodeFoundRequest) Reset()
func (*IsNodeFoundRequest) String ¶
func (x *IsNodeFoundRequest) String() string
type IsNodeFoundResponse ¶
type IsNodeFoundResponse struct { Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"` // contains filtered or unexported fields }
func (*IsNodeFoundResponse) Descriptor
deprecated
func (*IsNodeFoundResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsNodeFoundResponse.ProtoReflect.Descriptor instead.
func (*IsNodeFoundResponse) GetFound ¶
func (x *IsNodeFoundResponse) GetFound() bool
func (*IsNodeFoundResponse) ProtoMessage ¶
func (*IsNodeFoundResponse) ProtoMessage()
func (*IsNodeFoundResponse) ProtoReflect ¶
func (x *IsNodeFoundResponse) ProtoReflect() protoreflect.Message
func (*IsNodeFoundResponse) Reset ¶
func (x *IsNodeFoundResponse) Reset()
func (*IsNodeFoundResponse) String ¶
func (x *IsNodeFoundResponse) String() string
type LeftClickRequest ¶
type LeftClickRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*LeftClickRequest) Descriptor
deprecated
func (*LeftClickRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeftClickRequest.ProtoReflect.Descriptor instead.
func (*LeftClickRequest) GetFinder ¶
func (x *LeftClickRequest) GetFinder() *Finder
func (*LeftClickRequest) ProtoMessage ¶
func (*LeftClickRequest) ProtoMessage()
func (*LeftClickRequest) ProtoReflect ¶
func (x *LeftClickRequest) ProtoReflect() protoreflect.Message
func (*LeftClickRequest) Reset ¶
func (x *LeftClickRequest) Reset()
func (*LeftClickRequest) String ¶
func (x *LeftClickRequest) String() string
type LoginMode ¶
type LoginMode int32
LoginMode describes the user mode for the login.
const ( LoginMode_LOGIN_MODE_UNSPECIFIED LoginMode = 0 LoginMode_LOGIN_MODE_NO_LOGIN LoginMode = 1 // restart Chrome but don't log in LoginMode_LOGIN_MODE_FAKE_LOGIN LoginMode = 2 // fake login with no authentication LoginMode_LOGIN_MODE_GAIA_LOGIN LoginMode = 3 // real network-based login using GAIA backend LoginMode_LOGIN_MODE_GUEST_LOGIN LoginMode = 4 // sign in as ephemeral guest user )
func (LoginMode) Descriptor ¶
func (LoginMode) Descriptor() protoreflect.EnumDescriptor
func (LoginMode) EnumDescriptor
deprecated
func (LoginMode) Number ¶
func (x LoginMode) Number() protoreflect.EnumNumber
func (LoginMode) Type ¶
func (LoginMode) Type() protoreflect.EnumType
type MeetScenarioRequest ¶
type MeetScenarioRequest struct { Tier string `protobuf:"bytes,1,opt,name=tier,proto3" json:"tier,omitempty"` RoomSize int64 `protobuf:"varint,2,opt,name=room_size,json=roomSize,proto3" json:"room_size,omitempty"` ExtendedDisplay bool `protobuf:"varint,3,opt,name=extended_display,json=extendedDisplay,proto3" json:"extended_display,omitempty"` CameraVideoPath string `protobuf:"bytes,4,opt,name=camera_video_path,json=cameraVideoPath,proto3" json:"camera_video_path,omitempty"` IsLacros bool `protobuf:"varint,5,opt,name=isLacros,proto3" json:"isLacros,omitempty"` // contains filtered or unexported fields }
func (*MeetScenarioRequest) Descriptor
deprecated
func (*MeetScenarioRequest) Descriptor() ([]byte, []int)
Deprecated: Use MeetScenarioRequest.ProtoReflect.Descriptor instead.
func (*MeetScenarioRequest) GetCameraVideoPath ¶
func (x *MeetScenarioRequest) GetCameraVideoPath() string
func (*MeetScenarioRequest) GetExtendedDisplay ¶
func (x *MeetScenarioRequest) GetExtendedDisplay() bool
func (*MeetScenarioRequest) GetIsLacros ¶
func (x *MeetScenarioRequest) GetIsLacros() bool
func (*MeetScenarioRequest) GetRoomSize ¶
func (x *MeetScenarioRequest) GetRoomSize() int64
func (*MeetScenarioRequest) GetTier ¶
func (x *MeetScenarioRequest) GetTier() string
func (*MeetScenarioRequest) ProtoMessage ¶
func (*MeetScenarioRequest) ProtoMessage()
func (*MeetScenarioRequest) ProtoReflect ¶
func (x *MeetScenarioRequest) ProtoReflect() protoreflect.Message
func (*MeetScenarioRequest) Reset ¶
func (x *MeetScenarioRequest) Reset()
func (*MeetScenarioRequest) String ¶
func (x *MeetScenarioRequest) String() string
type MouseClickAtLocationRequest ¶
type MouseClickAtLocationRequest struct { // ClickType describes how user clicks mouse. ClickType ClickType `protobuf:"varint,1,opt,name=click_type,json=clickType,proto3,enum=tast.cros.ui.ClickType" json:"click_type,omitempty"` // Point is the coordinates for the click. Point *Point `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"` // contains filtered or unexported fields }
func (*MouseClickAtLocationRequest) Descriptor
deprecated
func (*MouseClickAtLocationRequest) Descriptor() ([]byte, []int)
Deprecated: Use MouseClickAtLocationRequest.ProtoReflect.Descriptor instead.
func (*MouseClickAtLocationRequest) GetClickType ¶
func (x *MouseClickAtLocationRequest) GetClickType() ClickType
func (*MouseClickAtLocationRequest) GetPoint ¶
func (x *MouseClickAtLocationRequest) GetPoint() *Point
func (*MouseClickAtLocationRequest) ProtoMessage ¶
func (*MouseClickAtLocationRequest) ProtoMessage()
func (*MouseClickAtLocationRequest) ProtoReflect ¶
func (x *MouseClickAtLocationRequest) ProtoReflect() protoreflect.Message
func (*MouseClickAtLocationRequest) Reset ¶
func (x *MouseClickAtLocationRequest) Reset()
func (*MouseClickAtLocationRequest) String ¶
func (x *MouseClickAtLocationRequest) String() string
type NewChromeRequest ¶
type NewChromeRequest struct { // If login is false, a session starts without logging in. Login bool `protobuf:"varint,1,opt,name=login,proto3" json:"login,omitempty"` // If non-empty, the key is used to load sign-in profile extension. // Namely, to show the login screen, but without logging in, login would // be set to false, and the key would be supplied with the // signinProfileTestExtensionManifestKey. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*NewChromeRequest) Descriptor
deprecated
func (*NewChromeRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewChromeRequest.ProtoReflect.Descriptor instead.
func (*NewChromeRequest) GetKey ¶
func (x *NewChromeRequest) GetKey() string
func (*NewChromeRequest) GetLogin ¶
func (x *NewChromeRequest) GetLogin() bool
func (*NewChromeRequest) ProtoMessage ¶
func (*NewChromeRequest) ProtoMessage()
func (*NewChromeRequest) ProtoReflect ¶
func (x *NewChromeRequest) ProtoReflect() protoreflect.Message
func (*NewChromeRequest) Reset ¶
func (x *NewChromeRequest) Reset()
func (*NewChromeRequest) String ¶
func (x *NewChromeRequest) String() string
type NewRequest ¶
type NewRequest struct { LoginMode LoginMode `protobuf:"varint,1,opt,name=login_mode,json=loginMode,proto3,enum=tast.cros.browser.LoginMode" json:"login_mode,omitempty"` // Credentials is login credentials. Credentials *NewRequest_Credentials `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"` // EnableFeatures contains extra Chrome features to enable. EnableFeatures []string `protobuf:"bytes,3,rep,name=enable_features,json=enableFeatures,proto3" json:"enable_features,omitempty"` // DisableFeatures contains extra Chrome features to disable. DisableFeatures []string `protobuf:"bytes,4,rep,name=disable_features,json=disableFeatures,proto3" json:"disable_features,omitempty"` // ExtraArgs returns extra arguments to pass to Chrome. ExtraArgs []string `protobuf:"bytes,5,rep,name=extra_args,json=extraArgs,proto3" json:"extra_args,omitempty"` // KeepState controls whether to keep existing user profiles. KeepState bool `protobuf:"varint,6,opt,name=keep_state,json=keepState,proto3" json:"keep_state,omitempty"` // TryReuseSession controls whether to try reusing a current user session. TryReuseSession bool `protobuf:"varint,7,opt,name=try_reuse_session,json=tryReuseSession,proto3" json:"try_reuse_session,omitempty"` // contains filtered or unexported fields }
NewRequest to login to Chrome with configurable features, arguments and GAIA credentials.
func (*NewRequest) Descriptor
deprecated
func (*NewRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewRequest.ProtoReflect.Descriptor instead.
func (*NewRequest) GetCredentials ¶
func (x *NewRequest) GetCredentials() *NewRequest_Credentials
func (*NewRequest) GetDisableFeatures ¶
func (x *NewRequest) GetDisableFeatures() []string
func (*NewRequest) GetEnableFeatures ¶
func (x *NewRequest) GetEnableFeatures() []string
func (*NewRequest) GetExtraArgs ¶
func (x *NewRequest) GetExtraArgs() []string
func (*NewRequest) GetKeepState ¶
func (x *NewRequest) GetKeepState() bool
func (*NewRequest) GetLoginMode ¶
func (x *NewRequest) GetLoginMode() LoginMode
func (*NewRequest) GetTryReuseSession ¶
func (x *NewRequest) GetTryReuseSession() bool
func (*NewRequest) ProtoMessage ¶
func (*NewRequest) ProtoMessage()
func (*NewRequest) ProtoReflect ¶
func (x *NewRequest) ProtoReflect() protoreflect.Message
func (*NewRequest) Reset ¶
func (x *NewRequest) Reset()
func (*NewRequest) String ¶
func (x *NewRequest) String() string
type NewRequest_Credentials ¶
type NewRequest_Credentials struct { // Username is the user name of a user account. It is typically an email // address (e.g. example@gmail.com). Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // Password is the password of a user account. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // GaiaId is a GAIA ID used on fake logins. If it is empty, an ID is // generated from the user name. The field is ignored on other type of // logins. GaiaId string `protobuf:"bytes,3,opt,name=gaia_id,json=gaiaId,proto3" json:"gaia_id,omitempty"` // Contact is an email address of a user who owns a test account. // When logging in with a test account, its contact user may be // notified of a login attempt and asked for approval. Contact string `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"` // ParentUsername is the user name of a parent account. It is used to // approve a login attempt when a child account is supervised by a // parent account. ParentUsername string `protobuf:"bytes,5,opt,name=parent_username,json=parentUsername,proto3" json:"parent_username,omitempty"` // ParentPassword is the pass of a parent account. It is used to approve // a login attempt when a child account is supervised by a parent // account. ParentPassword string `protobuf:"bytes,6,opt,name=parent_password,json=parentPassword,proto3" json:"parent_password,omitempty"` // contains filtered or unexported fields }
func (*NewRequest_Credentials) Descriptor
deprecated
func (*NewRequest_Credentials) Descriptor() ([]byte, []int)
Deprecated: Use NewRequest_Credentials.ProtoReflect.Descriptor instead.
func (*NewRequest_Credentials) GetContact ¶
func (x *NewRequest_Credentials) GetContact() string
func (*NewRequest_Credentials) GetGaiaId ¶
func (x *NewRequest_Credentials) GetGaiaId() string
func (*NewRequest_Credentials) GetParentPassword ¶
func (x *NewRequest_Credentials) GetParentPassword() string
func (*NewRequest_Credentials) GetParentUsername ¶
func (x *NewRequest_Credentials) GetParentUsername() string
func (*NewRequest_Credentials) GetPassword ¶
func (x *NewRequest_Credentials) GetPassword() string
func (*NewRequest_Credentials) GetUsername ¶
func (x *NewRequest_Credentials) GetUsername() string
func (*NewRequest_Credentials) ProtoMessage ¶
func (*NewRequest_Credentials) ProtoMessage()
func (*NewRequest_Credentials) ProtoReflect ¶
func (x *NewRequest_Credentials) ProtoReflect() protoreflect.Message
func (*NewRequest_Credentials) Reset ¶
func (x *NewRequest_Credentials) Reset()
func (*NewRequest_Credentials) String ¶
func (x *NewRequest_Credentials) String() string
type NodeInfo ¶
type NodeInfo struct { // Checked contains Tri-state value describing checkbox or radio button: // 'false' | 'true' | 'mixed'. Checked Checked `protobuf:"varint,1,opt,name=checked,proto3,enum=tast.cros.ui.Checked" json:"checked,omitempty"` // ClassName is the name of the programmatic backing object. ClassName string `protobuf:"bytes,2,opt,name=class_name,json=className,proto3" json:"class_name,omitempty"` // HtmlAttribute is a map containing all HTML attributes and their values. HtmlAttributes map[string]string `` /* 191-byte string literal not displayed */ // Location is the rendered location of the bounding of the node in global // screen coordinates. Location *Rect `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Name is the accessible name for the node Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Restriction controls input restriction Restriction Restriction `protobuf:"varint,6,opt,name=restriction,proto3,enum=tast.cros.ui.Restriction" json:"restriction,omitempty"` // Role describes the purpose of the node Role Role `protobuf:"varint,7,opt,name=role,proto3,enum=tast.cros.ui.Role" json:"role,omitempty"` // State describes the characteristics of the node // As defined in // https://developer.chrome.com/docs/extensions/reference/automation/#type-StateType State map[string]bool `` /* 152-byte string literal not displayed */ // Value for this node: for example the value attribute of an <input> element. Value string `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
NodeInfo is a wrapper around chrome.automation API AutomationNode. As defined in https://chromium.googlesource.com/chromium/src/+/refs/heads/main/extensions/common/api/automation.idl
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetChecked ¶
func (*NodeInfo) GetClassName ¶
func (*NodeInfo) GetHtmlAttributes ¶
func (*NodeInfo) GetLocation ¶
func (*NodeInfo) GetRestriction ¶
func (x *NodeInfo) GetRestriction() Restriction
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeWith ¶
type NodeWith struct { // Types that are assignable to Value: // *NodeWith_HasClass // *NodeWith_Name // *NodeWith_Role // *NodeWith_Nth // *NodeWith_AutofillAvailable // *NodeWith_Collapsed // *NodeWith_IsDefault // *NodeWith_Editable // *NodeWith_Expanded // *NodeWith_Focusable // *NodeWith_Focused // *NodeWith_Horizontal // *NodeWith_Hovered // *NodeWith_Ignored // *NodeWith_Invisible // *NodeWith_Linked // *NodeWith_Multiline // *NodeWith_Multiselectable // *NodeWith_Offscreen // *NodeWith_IsProtected // *NodeWith_Required // *NodeWith_RichlyEditable // *NodeWith_Vertical // *NodeWith_Visited // *NodeWith_Visible // *NodeWith_Onscreen // *NodeWith_First // *NodeWith_Root // *NodeWith_NameRegex // *NodeWith_NameStartingWith // *NodeWith_NameContaining // *NodeWith_State // *NodeWith_Ancestor Value isNodeWith_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
NodeInfo specifies a condition for finding nodes
func (*NodeWith) Descriptor
deprecated
func (*NodeWith) GetAncestor ¶
func (*NodeWith) GetAutofillAvailable ¶
func (*NodeWith) GetCollapsed ¶
func (*NodeWith) GetEditable ¶
func (*NodeWith) GetExpanded ¶
func (*NodeWith) GetFocusable ¶
func (*NodeWith) GetFocused ¶
func (*NodeWith) GetHasClass ¶
func (*NodeWith) GetHorizontal ¶
func (*NodeWith) GetHovered ¶
func (*NodeWith) GetIgnored ¶
func (*NodeWith) GetInvisible ¶
func (*NodeWith) GetIsDefault ¶
func (*NodeWith) GetIsProtected ¶
func (*NodeWith) GetMultiline ¶
func (*NodeWith) GetMultiselectable ¶
func (*NodeWith) GetNameContaining ¶
func (*NodeWith) GetNameRegex ¶
func (*NodeWith) GetNameStartingWith ¶
func (*NodeWith) GetOffscreen ¶
func (*NodeWith) GetOnscreen ¶
func (*NodeWith) GetRequired ¶
func (*NodeWith) GetRichlyEditable ¶
func (*NodeWith) GetState ¶
func (x *NodeWith) GetState() *NodeWith_StateValue
func (*NodeWith) GetVertical ¶
func (*NodeWith) GetVisible ¶
func (*NodeWith) GetVisited ¶
func (*NodeWith) ProtoMessage ¶
func (*NodeWith) ProtoMessage()
func (*NodeWith) ProtoReflect ¶
func (x *NodeWith) ProtoReflect() protoreflect.Message
type NodeWith_Ancestor ¶
type NodeWith_Ancestor struct { // creates a condition with the specified Finder as the ancestor of the node Ancestor *Finder `protobuf:"bytes,33,opt,name=ancestor,proto3,oneof"` }
type NodeWith_AutofillAvailable ¶
type NodeWith_AutofillAvailable struct { // creates a condition with AutofillAvailable set to true. AutofillAvailable bool `protobuf:"varint,5,opt,name=autofill_available,json=autofillAvailable,proto3,oneof"` }
type NodeWith_Collapsed ¶
type NodeWith_Collapsed struct { // creates a condition with Collapsed set to true. Collapsed bool `protobuf:"varint,6,opt,name=collapsed,proto3,oneof"` }
type NodeWith_Editable ¶
type NodeWith_Editable struct { // creates a condition with Editable set to true. Editable bool `protobuf:"varint,8,opt,name=editable,proto3,oneof"` }
type NodeWith_Expanded ¶
type NodeWith_Expanded struct { // creates a condition with Expanded set to true. Expanded bool `protobuf:"varint,9,opt,name=expanded,proto3,oneof"` }
type NodeWith_First ¶
type NodeWith_First struct { // creates a condition that will find the first node instead of requiring // uniqueness. First bool `protobuf:"varint,27,opt,name=first,proto3,oneof"` }
type NodeWith_Focusable ¶
type NodeWith_Focusable struct { // creates a condition with Focusable set to true. Focusable bool `protobuf:"varint,10,opt,name=focusable,proto3,oneof"` }
type NodeWith_Focused ¶
type NodeWith_Focused struct { // creates a condition with Focused set to true. Focused bool `protobuf:"varint,11,opt,name=focused,proto3,oneof"` }
type NodeWith_HasClass ¶
type NodeWith_HasClass struct { // creates a condition with ClassName containing the specified value. HasClass string `protobuf:"bytes,1,opt,name=has_class,json=hasClass,proto3,oneof"` }
type NodeWith_Horizontal ¶
type NodeWith_Horizontal struct { // creates a condition with Horizontal set to true. Horizontal bool `protobuf:"varint,12,opt,name=horizontal,proto3,oneof"` }
type NodeWith_Hovered ¶
type NodeWith_Hovered struct { // creates a condition with Hovered set to true. Hovered bool `protobuf:"varint,13,opt,name=hovered,proto3,oneof"` }
type NodeWith_Ignored ¶
type NodeWith_Ignored struct { // creates a condition with Ignored set to true. Ignored bool `protobuf:"varint,14,opt,name=ignored,proto3,oneof"` }
type NodeWith_Invisible ¶
type NodeWith_Invisible struct { // creates a condition with Invisible set to true. Invisible bool `protobuf:"varint,15,opt,name=invisible,proto3,oneof"` }
type NodeWith_IsDefault ¶
type NodeWith_IsDefault struct { // creates a condition with Default set to true. // Note that the underlying field is "default". It is deemed to be unsafe // by proto static analysis for potential keyword conflict with programming // languages, so the field is renamed "is_default". IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3,oneof"` }
type NodeWith_IsProtected ¶
type NodeWith_IsProtected struct { // creates a condition with Protected set to true. // Note that the underlying field is "protected". It is deemed to be unsafe // by proto static analysis for potential keyword conflict with programming // languages, so the field is renamed "is_protected". IsProtected bool `protobuf:"varint,20,opt,name=is_protected,json=isProtected,proto3,oneof"` }
type NodeWith_Linked ¶
type NodeWith_Linked struct { // creates a condition with Linked set to true. Linked bool `protobuf:"varint,16,opt,name=linked,proto3,oneof"` }
type NodeWith_Multiline ¶
type NodeWith_Multiline struct { // creates a condition with Multiline set to true. Multiline bool `protobuf:"varint,17,opt,name=multiline,proto3,oneof"` }
type NodeWith_Multiselectable ¶
type NodeWith_Multiselectable struct { // creates a condition with Multiselectable set to true. Multiselectable bool `protobuf:"varint,18,opt,name=multiselectable,proto3,oneof"` }
type NodeWith_Name ¶
type NodeWith_Name struct { // creates a condition with the specified name. Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type NodeWith_NameContaining ¶
type NodeWith_NameContaining struct { // creates a condition with a name containing the specified string. NameContaining string `protobuf:"bytes,31,opt,name=name_containing,json=nameContaining,proto3,oneof"` }
type NodeWith_NameRegex ¶
type NodeWith_NameRegex struct { // creates a condition with a name containing the specified regexp. NameRegex string `protobuf:"bytes,29,opt,name=name_regex,json=nameRegex,proto3,oneof"` }
type NodeWith_NameStartingWith ¶
type NodeWith_NameStartingWith struct { // creates a condition with a name starting with the specified string. NameStartingWith string `protobuf:"bytes,30,opt,name=name_starting_with,json=nameStartingWith,proto3,oneof"` }
type NodeWith_Nth ¶
type NodeWith_Nth struct { // creates a condition that will find the n-th node in the matched nodes of // the Finder, instead of requiring uniqueness. Nth int32 `protobuf:"varint,4,opt,name=nth,proto3,oneof"` }
type NodeWith_Offscreen ¶
type NodeWith_Offscreen struct { // creates a condition with Offscreen set to true. Offscreen bool `protobuf:"varint,19,opt,name=offscreen,proto3,oneof"` }
type NodeWith_Onscreen ¶
type NodeWith_Onscreen struct { // creates a condition with Offscreen set to false. Onscreen bool `protobuf:"varint,26,opt,name=onscreen,proto3,oneof"` }
type NodeWith_Required ¶
type NodeWith_Required struct { // creates a condition with Required set to true. Required bool `protobuf:"varint,21,opt,name=required,proto3,oneof"` }
type NodeWith_RichlyEditable ¶
type NodeWith_RichlyEditable struct { // creates a condition with RichlyEditable set to true. RichlyEditable bool `protobuf:"varint,22,opt,name=richly_editable,json=richlyEditable,proto3,oneof"` }
type NodeWith_Role ¶
type NodeWith_Role struct { // creates a condition with the specified role. Role Role `protobuf:"varint,3,opt,name=role,proto3,enum=tast.cros.ui.Role,oneof"` }
type NodeWith_Root ¶
type NodeWith_Root struct { // creates a condition that will find the root node. Root bool `protobuf:"varint,28,opt,name=root,proto3,oneof"` }
type NodeWith_State ¶
type NodeWith_State struct { // creates a condition with the specified state. State *NodeWith_StateValue `protobuf:"bytes,32,opt,name=state,proto3,oneof"` }
type NodeWith_StateValue ¶
type NodeWith_StateValue struct { // State describes the characteristics of the node // See // https://developer.chrome.com/docs/extensions/reference/automation/#type-StateType State State `protobuf:"varint,1,opt,name=state,proto3,enum=tast.cros.ui.State" json:"state,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*NodeWith_StateValue) Descriptor
deprecated
func (*NodeWith_StateValue) Descriptor() ([]byte, []int)
Deprecated: Use NodeWith_StateValue.ProtoReflect.Descriptor instead.
func (*NodeWith_StateValue) GetState ¶
func (x *NodeWith_StateValue) GetState() State
func (*NodeWith_StateValue) GetValue ¶
func (x *NodeWith_StateValue) GetValue() bool
func (*NodeWith_StateValue) ProtoMessage ¶
func (*NodeWith_StateValue) ProtoMessage()
func (*NodeWith_StateValue) ProtoReflect ¶
func (x *NodeWith_StateValue) ProtoReflect() protoreflect.Message
func (*NodeWith_StateValue) Reset ¶
func (x *NodeWith_StateValue) Reset()
func (*NodeWith_StateValue) String ¶
func (x *NodeWith_StateValue) String() string
type NodeWith_Vertical ¶
type NodeWith_Vertical struct { // creates a condition with Vertical set to true. Vertical bool `protobuf:"varint,23,opt,name=vertical,proto3,oneof"` }
type NodeWith_Visible ¶
type NodeWith_Visible struct { // creates a condition with Invisible set to false. Visible bool `protobuf:"varint,25,opt,name=visible,proto3,oneof"` }
type NodeWith_Visited ¶
type NodeWith_Visited struct { // creates a condition with Visited set to true. Visited bool `protobuf:"varint,24,opt,name=visited,proto3,oneof"` }
type Point ¶
type Point struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*Point) Descriptor
deprecated
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) ProtoReflect ¶
func (x *Point) ProtoReflect() protoreflect.Message
type PowerMenuItemResponse ¶
type PowerMenuItemResponse struct { MenuItems []string `protobuf:"bytes,1,rep,name=menu_items,json=menuItems,proto3" json:"menu_items,omitempty"` // contains filtered or unexported fields }
func (*PowerMenuItemResponse) Descriptor
deprecated
func (*PowerMenuItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use PowerMenuItemResponse.ProtoReflect.Descriptor instead.
func (*PowerMenuItemResponse) GetMenuItems ¶
func (x *PowerMenuItemResponse) GetMenuItems() []string
func (*PowerMenuItemResponse) ProtoMessage ¶
func (*PowerMenuItemResponse) ProtoMessage()
func (*PowerMenuItemResponse) ProtoReflect ¶
func (x *PowerMenuItemResponse) ProtoReflect() protoreflect.Message
func (*PowerMenuItemResponse) Reset ¶
func (x *PowerMenuItemResponse) Reset()
func (*PowerMenuItemResponse) String ¶
func (x *PowerMenuItemResponse) String() string
type PowerMenuPresentResponse ¶
type PowerMenuPresentResponse struct { IsMenuPresent bool `protobuf:"varint,1,opt,name=is_menu_present,json=isMenuPresent,proto3" json:"is_menu_present,omitempty"` // contains filtered or unexported fields }
func (*PowerMenuPresentResponse) Descriptor
deprecated
func (*PowerMenuPresentResponse) Descriptor() ([]byte, []int)
Deprecated: Use PowerMenuPresentResponse.ProtoReflect.Descriptor instead.
func (*PowerMenuPresentResponse) GetIsMenuPresent ¶
func (x *PowerMenuPresentResponse) GetIsMenuPresent() bool
func (*PowerMenuPresentResponse) ProtoMessage ¶
func (*PowerMenuPresentResponse) ProtoMessage()
func (*PowerMenuPresentResponse) ProtoReflect ¶
func (x *PowerMenuPresentResponse) ProtoReflect() protoreflect.Message
func (*PowerMenuPresentResponse) Reset ¶
func (x *PowerMenuPresentResponse) Reset()
func (*PowerMenuPresentResponse) String ¶
func (x *PowerMenuPresentResponse) String() string
type PowerMenuServiceClient ¶
type PowerMenuServiceClient interface { // NewChrome starts a Chrome session and processes the sign-in request. // CloseChrome must be called later to clean up the associated resources. NewChrome(ctx context.Context, in *NewChromeRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the resources obtained by NewChrome. CloseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // PowerMenuPresent returns a bool to indicate whether the presence of a power menu // is true. Chrome instance is necessary prior to the deployment. For this reason, // NewChrome must be called in prior, but not CloseChrome. PowerMenuPresent(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PowerMenuPresentResponse, error) // PowerMenuItem returns a slice which contains names of power menu items. PowerMenuItem(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PowerMenuItemResponse, error) }
PowerMenuServiceClient is the client API for PowerMenuService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPowerMenuServiceClient ¶
func NewPowerMenuServiceClient(cc grpc.ClientConnInterface) PowerMenuServiceClient
type PowerMenuServiceServer ¶
type PowerMenuServiceServer interface { // NewChrome starts a Chrome session and processes the sign-in request. // CloseChrome must be called later to clean up the associated resources. NewChrome(context.Context, *NewChromeRequest) (*empty.Empty, error) // Close releases the resources obtained by NewChrome. CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error) // PowerMenuPresent returns a bool to indicate whether the presence of a power menu // is true. Chrome instance is necessary prior to the deployment. For this reason, // NewChrome must be called in prior, but not CloseChrome. PowerMenuPresent(context.Context, *empty.Empty) (*PowerMenuPresentResponse, error) // PowerMenuItem returns a slice which contains names of power menu items. PowerMenuItem(context.Context, *empty.Empty) (*PowerMenuItemResponse, error) }
PowerMenuServiceServer is the server API for PowerMenuService service.
type Rect ¶
type Rect struct { Left int32 `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"` Top int32 `protobuf:"varint,2,opt,name=top,proto3" json:"top,omitempty"` Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
Rect defines a bounding box See https://developer.chrome.com/docs/extensions/reference/automation/#type-Rect
func (*Rect) Descriptor
deprecated
func (*Rect) ProtoMessage ¶
func (*Rect) ProtoMessage()
func (*Rect) ProtoReflect ¶
func (x *Rect) ProtoReflect() protoreflect.Message
type Restriction ¶
type Restriction int32
Restriction describes the restriction state of a chrome.automation AutomationNode. As defined in https://developer.chrome.com/docs/extensions/reference/automation/#type-Restriction
const ( Restriction_RESTRICTION_UNSPECIFIED Restriction = 0 Restriction_RESTRICTION_DISABLED Restriction = 1 // disallows input in itself + any descendants Restriction_RESTRICTION_READ_ONLY Restriction = 2 // allow focus/selection but not input Restriction_RESTRICTION_NONE Restriction = 3 // enable control or other object that is not disabled )
func (Restriction) Descriptor ¶
func (Restriction) Descriptor() protoreflect.EnumDescriptor
func (Restriction) Enum ¶
func (x Restriction) Enum() *Restriction
func (Restriction) EnumDescriptor
deprecated
func (Restriction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Restriction.Descriptor instead.
func (Restriction) Number ¶
func (x Restriction) Number() protoreflect.EnumNumber
func (Restriction) String ¶
func (x Restriction) String() string
func (Restriction) Type ¶
func (Restriction) Type() protoreflect.EnumType
type RightClickRequest ¶
type RightClickRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*RightClickRequest) Descriptor
deprecated
func (*RightClickRequest) Descriptor() ([]byte, []int)
Deprecated: Use RightClickRequest.ProtoReflect.Descriptor instead.
func (*RightClickRequest) GetFinder ¶
func (x *RightClickRequest) GetFinder() *Finder
func (*RightClickRequest) ProtoMessage ¶
func (*RightClickRequest) ProtoMessage()
func (*RightClickRequest) ProtoReflect ¶
func (x *RightClickRequest) ProtoReflect() protoreflect.Message
func (*RightClickRequest) Reset ¶
func (x *RightClickRequest) Reset()
func (*RightClickRequest) String ¶
func (x *RightClickRequest) String() string
type Role ¶
type Role int32
Role describes the purpose of the node See https://developer.chrome.com/docs/extensions/reference/automation/#type-RoleType
const ( Role_ROLE_UNSPECIFIED Role = 0 Role_ROLE_ABBR Role = 1 Role_ROLE_ALERT Role = 2 Role_ROLE_ALERT_DIALOG Role = 3 Role_ROLE_ANCHOR Role = 4 Role_ROLE_APPLICATION Role = 5 Role_ROLE_ARTICLE Role = 6 Role_ROLE_AUDIO Role = 7 Role_ROLE_BANNER Role = 8 Role_ROLE_BLOCKQUOTE Role = 9 Role_ROLE_BUTTON Role = 10 Role_ROLE_CANVAS Role = 11 Role_ROLE_CAPTION Role = 12 Role_ROLE_CARET Role = 13 Role_ROLE_CELL Role = 14 Role_ROLE_CHECK_BOX Role = 15 Role_ROLE_CLIENT Role = 16 Role_ROLE_CODE Role = 17 Role_ROLE_COLOR_WELL Role = 18 Role_ROLE_COLUMN Role = 19 Role_ROLE_COLUMN_HEADER Role = 20 Role_ROLE_COMBO_BOX_GROUPING Role = 21 Role_ROLE_COMBO_BOX_MENU_BUTTON Role = 22 Role_ROLE_COMMENT Role = 23 Role_ROLE_COMPLEMENTARY Role = 24 Role_ROLE_CONTENT_DELETION Role = 25 Role_ROLE_CONTENT_INSERTION Role = 26 Role_ROLE_CONTENT_INFO Role = 27 Role_ROLE_DATE Role = 28 Role_ROLE_DATE_TIME Role = 29 Role_ROLE_DEFINITION Role = 30 Role_ROLE_DESCRIPTION_LIST Role = 31 Role_ROLE_DESCRIPTION_LIST_DETAIL Role = 32 Role_ROLE_DESCRIPTION_LIST_TERM Role = 33 Role_ROLE_DESKTOP Role = 34 Role_ROLE_DETAILS Role = 35 Role_ROLE_DIALOG Role = 36 Role_ROLE_DIRECTORY Role = 37 Role_ROLE_DISCLOSURE_TRIANGLE Role = 38 Role_ROLE_DOC_ABSTRACT Role = 39 Role_ROLE_DOC_ACKNOWLEDGMENTS Role = 40 Role_ROLE_DOC_AFTERWORD Role = 41 Role_ROLE_DOC_APPENDIX Role = 42 Role_ROLE_DOC_BACK_LINK Role = 43 Role_ROLE_DOC_BIBLIO_ENTRY Role = 44 Role_ROLE_DOC_BIBLIOGRAPHY Role = 45 Role_ROLE_DOC_BIBLIO_REF Role = 46 Role_ROLE_DOC_CHAPTER Role = 47 Role_ROLE_DOC_COLOPHON Role = 48 Role_ROLE_DOC_CONCLUSION Role = 49 Role_ROLE_DOC_COVER Role = 50 Role_ROLE_DOC_CREDIT Role = 51 Role_ROLE_DOC_CREDITS Role = 52 Role_ROLE_DOC_DEDICATION Role = 53 Role_ROLE_DOC_ENDNOTE Role = 54 Role_ROLE_DOC_ENDNOTES Role = 55 Role_ROLE_DOC_EPIGRAPH Role = 56 Role_ROLE_DOC_EPILOGUE Role = 57 Role_ROLE_DOC_ERRATA Role = 58 Role_ROLE_DOC_EXAMPLE Role = 59 Role_ROLE_DOC_FOOTNOTE Role = 60 Role_ROLE_DOC_FOREWORD Role = 61 Role_ROLE_DOC_GLOSSARY Role = 62 Role_ROLE_DOC_GLOSS_REF Role = 63 Role_ROLE_DOC_INDEX Role = 64 Role_ROLE_DOC_INTRODUCTION Role = 65 Role_ROLE_DOC_NOTE_REF Role = 66 Role_ROLE_DOC_NOTICE Role = 67 Role_ROLE_DOC_PAGE_BREAK Role = 68 Role_ROLE_DOC_PAGE_FOOTER Role = 69 Role_ROLE_DOC_PAGE_HEADER Role = 70 Role_ROLE_DOC_PAGE_LIST Role = 71 Role_ROLE_DOC_PART Role = 72 Role_ROLE_DOC_PREFACE Role = 73 Role_ROLE_DOC_PROLOGUE Role = 74 Role_ROLE_DOC_PULLQUOTE Role = 75 Role_ROLE_DOC_QNA Role = 76 Role_ROLE_DOC_SUBTITLE Role = 77 Role_ROLE_DOC_TIP Role = 78 Role_ROLE_DOC_TOC Role = 79 Role_ROLE_DOCUMENT Role = 80 Role_ROLE_EMBEDDED_OBJECT Role = 81 Role_ROLE_EMPHASIS Role = 82 Role_ROLE_FEED Role = 83 Role_ROLE_FIGCAPTION Role = 84 Role_ROLE_FIGURE Role = 85 Role_ROLE_FOOTER Role = 86 Role_ROLE_FOOTER_AS_NON_LANDMARK Role = 87 Role_ROLE_FORM Role = 88 Role_ROLE_GENERIC_CONTAINER Role = 89 Role_ROLE_GRAPHICS_DOCUMENT Role = 90 Role_ROLE_GRAPHICS_OBJECT Role = 91 Role_ROLE_GRAPHICS_SYMBOL Role = 92 Role_ROLE_GRID Role = 93 Role_ROLE_GROUP Role = 94 Role_ROLE_HEADER Role = 95 Role_ROLE_HEADER_AS_NON_LANDMARK Role = 96 Role_ROLE_HEADING Role = 97 Role_ROLE_IFRAME Role = 98 Role_ROLE_IFRAME_PRESENTATIONAL Role = 99 Role_ROLE_IGNORED Role = 100 Role_ROLE_IMAGE Role = 101 Role_ROLE_IMAGE_MAP Role = 102 Role_ROLE_IME_CANDIDATE Role = 103 Role_ROLE_INLINE_TEXT_BOX Role = 104 Role_ROLE_INPUT_TIME Role = 105 Role_ROLE_KEYBOARD Role = 106 Role_ROLE_LABEL_TEXT Role = 107 Role_ROLE_LAYOUT_TABLE Role = 108 Role_ROLE_LAYOUT_TABLE_CELL Role = 109 Role_ROLE_LAYOUT_TABLE_ROW Role = 110 Role_ROLE_LEGEND Role = 111 Role_ROLE_LINE_BREAK Role = 112 Role_ROLE_LINK Role = 113 Role_ROLE_LIST Role = 114 Role_ROLE_LIST_BOX Role = 115 Role_ROLE_LIST_BOX_OPTION Role = 116 Role_ROLE_LIST_GRID Role = 117 Role_ROLE_LIST_ITEM Role = 118 Role_ROLE_LIST_MARKER Role = 119 Role_ROLE_LOG Role = 120 Role_ROLE_MAIN Role = 121 Role_ROLE_MARK Role = 122 Role_ROLE_MARQUEE Role = 123 Role_ROLE_MATH Role = 124 Role_ROLE_MENU Role = 125 Role_ROLE_MENU_BAR Role = 126 Role_ROLE_MENU_ITEM Role = 127 Role_ROLE_MENU_ITEM_CHECK_BOX Role = 128 Role_ROLE_MENU_ITEM_RADIO Role = 129 Role_ROLE_MENU_LIST_OPTION Role = 130 Role_ROLE_MENU_LIST_POPUP Role = 131 Role_ROLE_METER Role = 132 Role_ROLE_NAVIGATION Role = 133 Role_ROLE_NOTE Role = 134 Role_ROLE_PANE Role = 135 Role_ROLE_PARAGRAPH Role = 136 Role_ROLE_PDF_ACTIONABLE_HIGHLIGHT Role = 137 Role_ROLE_PLUGIN_OBJECT Role = 138 Role_ROLE_POP_UP_BUTTON Role = 139 Role_ROLE_PORTAL Role = 140 Role_ROLE_PRE Role = 141 Role_ROLE_PRESENTATIONAL Role = 142 Role_ROLE_PROGRESS_INDICATOR Role = 143 Role_ROLE_RADIO_BUTTON Role = 144 Role_ROLE_RADIO_GROUP Role = 145 Role_ROLE_REGION Role = 146 Role_ROLE_ROOT_WEB_AREA Role = 147 Role_ROLE_ROW Role = 148 Role_ROLE_ROW_GROUP Role = 149 Role_ROLE_ROW_HEADER Role = 150 Role_ROLE_RUBY Role = 151 Role_ROLE_RUBY_ANNOTATION Role = 152 Role_ROLE_SCROLL_BAR Role = 153 Role_ROLE_SCROLL_VIEW Role = 154 Role_ROLE_SEARCH Role = 155 Role_ROLE_SEARCH_BOX Role = 156 Role_ROLE_SECTION Role = 157 Role_ROLE_SLIDER Role = 158 Role_ROLE_SLIDER_THUMB Role = 159 Role_ROLE_SPIN_BUTTON Role = 160 Role_ROLE_SPLITTER Role = 161 Role_ROLE_STATIC_TEXT Role = 162 Role_ROLE_STATUS Role = 163 Role_ROLE_STRONG Role = 164 Role_ROLE_SUGGESTION Role = 165 Role_ROLE_SVG_ROOT Role = 166 Role_ROLE_SWITCH Role = 167 Role_ROLE_TAB Role = 168 Role_ROLE_TAB_LIST Role = 169 Role_ROLE_TAB_PANEL Role = 170 Role_ROLE_TABLE Role = 171 Role_ROLE_TABLE_HEADER_CONTAINER Role = 172 Role_ROLE_TERM Role = 173 Role_ROLE_TEXT_FIELD Role = 174 Role_ROLE_TEXT_FIELD_WITH_COMBO_BOX Role = 175 Role_ROLE_TIME Role = 176 Role_ROLE_TIMER Role = 177 Role_ROLE_TITLE_BAR Role = 178 Role_ROLE_TOGGLE_BUTTON Role = 179 Role_ROLE_TOOLBAR Role = 180 Role_ROLE_TOOLTIP Role = 181 Role_ROLE_TREE Role = 182 Role_ROLE_TREE_GRID Role = 183 Role_ROLE_TREE_ITEM Role = 184 Role_ROLE_UNKNOWN Role = 185 Role_ROLE_VIDEO Role = 186 Role_ROLE_WEB_AREA Role = 187 Role_ROLE_WEB_VIEW Role = 188 Role_ROLE_WINDOW Role = 189 )
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type ScreenLockServiceClient ¶
type ScreenLockServiceClient interface { // ReuseChrome passes an Option to New to make Chrome reuse the existing login session // from same user. Session will be re-used when Chrome configurations are compatible // between two sessions. For noLogin and deferLogin modes, session will not be re-used. // If the existing session cannot be re-used, a new Chrome session will be restarted. // CloseChrome must be called later to clean up the associated resources. ReuseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // NewChrome logs into a Chrome session as a fake user. CloseChrome must be called later // to clean up the associated resources. NewChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // CloseChrome releases the resources obtained by NewChrome. CloseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Lock performs the operation to lock the screen. Implementing Lock // would be equivalent to pressing "Search+L" at a login session. // Note, NewChrome or ReuseChrome needs to be called in prior, but not // CloseChrome. Lock(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
ScreenLockServiceClient is the client API for ScreenLockService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewScreenLockServiceClient ¶
func NewScreenLockServiceClient(cc grpc.ClientConnInterface) ScreenLockServiceClient
type ScreenLockServiceServer ¶
type ScreenLockServiceServer interface { // ReuseChrome passes an Option to New to make Chrome reuse the existing login session // from same user. Session will be re-used when Chrome configurations are compatible // between two sessions. For noLogin and deferLogin modes, session will not be re-used. // If the existing session cannot be re-used, a new Chrome session will be restarted. // CloseChrome must be called later to clean up the associated resources. ReuseChrome(context.Context, *empty.Empty) (*empty.Empty, error) // NewChrome logs into a Chrome session as a fake user. CloseChrome must be called later // to clean up the associated resources. NewChrome(context.Context, *empty.Empty) (*empty.Empty, error) // CloseChrome releases the resources obtained by NewChrome. CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error) // Lock performs the operation to lock the screen. Implementing Lock // would be equivalent to pressing "Search+L" at a login session. // Note, NewChrome or ReuseChrome needs to be called in prior, but not // CloseChrome. Lock(context.Context, *empty.Empty) (*empty.Empty, error) }
ScreenLockServiceServer is the server API for ScreenLockService service.
type ScreenRecorderServiceClient ¶
type ScreenRecorderServiceClient interface { // Start creates a new media recorder and starts to record the screen. // There can be only a single recording in progress at a time. // If user does not specify the file name, the service will generate a // temporary location for the recording and return that to the user in Stop(). Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Stop stops and saves the recording to the specified location. Stop(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StopResponse, error) }
ScreenRecorderServiceClient is the client API for ScreenRecorderService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewScreenRecorderServiceClient ¶
func NewScreenRecorderServiceClient(cc grpc.ClientConnInterface) ScreenRecorderServiceClient
type ScreenRecorderServiceServer ¶
type ScreenRecorderServiceServer interface { // Start creates a new media recorder and starts to record the screen. // There can be only a single recording in progress at a time. // If user does not specify the file name, the service will generate a // temporary location for the recording and return that to the user in Stop(). Start(context.Context, *StartRequest) (*empty.Empty, error) // Stop stops and saves the recording to the specified location. Stop(context.Context, *empty.Empty) (*StopResponse, error) }
ScreenRecorderServiceServer is the server API for ScreenRecorderService service.
type StartRequest ¶
type StartRequest struct { // FileName specified the location in the file system where the recording will // be saved. The field is optional. If user does not specify the file name, // the service will generate a temporary location for the recording and return // that to the user in Stop(). FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetFileName ¶
func (x *StartRequest) GetFileName() string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type State ¶
type State int32
State describes the characteristics of the node See https://developer.chrome.com/docs/extensions/reference/automation/#type-StateType
const ( State_STATE_UNSPECIFIED State = 0 State_STATE_AUTOFILL_AVAILABLE State = 1 State_STATE_COLLAPSED State = 2 State_STATE_DEFAULT State = 3 State_STATE_EDITABLE State = 4 State_STATE_EXPANDED State = 5 State_STATE_FOCUSABLE State = 6 State_STATE_FOCUSED State = 7 State_STATE_HORIZONTAL State = 8 State_STATE_HOVERED State = 9 State_STATE_IGNORED State = 10 State_STATE_INVISIBLE State = 11 State_STATE_LINKED State = 12 State_STATE_MULTILINE State = 13 State_STATE_MULTISELECTABLE State = 14 State_STATE_OFFSCREEN State = 15 State_STATE_PROTECTED State = 16 State_STATE_REQUIRED State = 17 State_STATE_RICHLY_EDITABLE State = 18 State_STATE_VERTICAL State = 19 State_STATE_VISITED State = 20 )
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type StopResponse ¶
type StopResponse struct { // FileName specified the location in the file system where the recording was // saved. FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) GetFileName ¶
func (x *StopResponse) GetFileName() string
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type UnimplementedAudioServiceServer ¶
type UnimplementedAudioServiceServer struct { }
UnimplementedAudioServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAudioServiceServer) AudioCrasSelectedOutputDevice ¶
func (*UnimplementedAudioServiceServer) AudioCrasSelectedOutputDevice(context.Context, *empty.Empty) (*AudioServiceResponse, error)
func (*UnimplementedAudioServiceServer) ConvertRawToWav ¶
func (*UnimplementedAudioServiceServer) ConvertRawToWav(context.Context, *AudioServiceRequest) (*empty.Empty, error)
func (*UnimplementedAudioServiceServer) GenerateTestRawData ¶
func (*UnimplementedAudioServiceServer) GenerateTestRawData(context.Context, *AudioServiceRequest) (*empty.Empty, error)
func (*UnimplementedAudioServiceServer) KeyboardAccel ¶
func (*UnimplementedAudioServiceServer) KeyboardAccel(context.Context, *AudioServiceRequest) (*empty.Empty, error)
func (*UnimplementedAudioServiceServer) OpenDirectoryAndFile ¶
func (*UnimplementedAudioServiceServer) OpenDirectoryAndFile(context.Context, *AudioServiceRequest) (*empty.Empty, error)
func (*UnimplementedAudioServiceServer) SetActiveNodeByType ¶
func (*UnimplementedAudioServiceServer) SetActiveNodeByType(context.Context, *AudioServiceRequest) (*empty.Empty, error)
func (*UnimplementedAudioServiceServer) VerifyFirstRunningDevice ¶
func (*UnimplementedAudioServiceServer) VerifyFirstRunningDevice(context.Context, *AudioServiceRequest) (*empty.Empty, error)
type UnimplementedAutomationServiceServer ¶
type UnimplementedAutomationServiceServer struct { }
UnimplementedAutomationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAutomationServiceServer) DoubleClick ¶
func (*UnimplementedAutomationServiceServer) DoubleClick(context.Context, *DoubleClickRequest) (*empty.Empty, error)
func (*UnimplementedAutomationServiceServer) Info ¶
func (*UnimplementedAutomationServiceServer) Info(context.Context, *InfoRequest) (*InfoResponse, error)
func (*UnimplementedAutomationServiceServer) IsNodeFound ¶
func (*UnimplementedAutomationServiceServer) IsNodeFound(context.Context, *IsNodeFoundRequest) (*IsNodeFoundResponse, error)
func (*UnimplementedAutomationServiceServer) LeftClick ¶
func (*UnimplementedAutomationServiceServer) LeftClick(context.Context, *LeftClickRequest) (*empty.Empty, error)
func (*UnimplementedAutomationServiceServer) MouseClickAtLocation ¶
func (*UnimplementedAutomationServiceServer) MouseClickAtLocation(context.Context, *MouseClickAtLocationRequest) (*empty.Empty, error)
func (*UnimplementedAutomationServiceServer) RightClick ¶
func (*UnimplementedAutomationServiceServer) RightClick(context.Context, *RightClickRequest) (*empty.Empty, error)
func (*UnimplementedAutomationServiceServer) WaitUntilExists ¶
func (*UnimplementedAutomationServiceServer) WaitUntilExists(context.Context, *WaitUntilExistsRequest) (*empty.Empty, error)
type UnimplementedCheckVirtualKeyboardServiceServer ¶
type UnimplementedCheckVirtualKeyboardServiceServer struct { }
UnimplementedCheckVirtualKeyboardServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCheckVirtualKeyboardServiceServer) CheckVirtualKeyboardIsPresent ¶
func (*UnimplementedCheckVirtualKeyboardServiceServer) CheckVirtualKeyboardIsPresent(context.Context, *CheckVirtualKeyboardRequest) (*CheckVirtualKeyboardResponse, error)
func (*UnimplementedCheckVirtualKeyboardServiceServer) ClickChromeAddressBar ¶
func (*UnimplementedCheckVirtualKeyboardServiceServer) CloseChrome ¶
func (*UnimplementedCheckVirtualKeyboardServiceServer) NewChromeLoggedIn ¶
func (*UnimplementedCheckVirtualKeyboardServiceServer) OpenChromePage ¶
func (*UnimplementedCheckVirtualKeyboardServiceServer) TouchChromeAddressBar ¶
type UnimplementedChromeServiceServer ¶
type UnimplementedChromeServiceServer struct { }
UnimplementedChromeServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedChromeServiceServer) New ¶
func (*UnimplementedChromeServiceServer) New(context.Context, *NewRequest) (*empty.Empty, error)
type UnimplementedChromeUIServiceServer ¶
type UnimplementedChromeUIServiceServer struct { }
UnimplementedChromeUIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedChromeUIServiceServer) EnsureLoginScreen ¶
type UnimplementedConferenceServiceServer ¶
type UnimplementedConferenceServiceServer struct { }
UnimplementedConferenceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedConferenceServiceServer) RunGoogleMeetScenario ¶
func (*UnimplementedConferenceServiceServer) RunGoogleMeetScenario(context.Context, *MeetScenarioRequest) (*empty.Empty, error)
func (*UnimplementedConferenceServiceServer) RunZoomScenario ¶
func (*UnimplementedConferenceServiceServer) RunZoomScenario(context.Context, *MeetScenarioRequest) (*empty.Empty, error)
type UnimplementedPowerMenuServiceServer ¶
type UnimplementedPowerMenuServiceServer struct { }
UnimplementedPowerMenuServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPowerMenuServiceServer) CloseChrome ¶
func (*UnimplementedPowerMenuServiceServer) NewChrome ¶
func (*UnimplementedPowerMenuServiceServer) NewChrome(context.Context, *NewChromeRequest) (*empty.Empty, error)
func (*UnimplementedPowerMenuServiceServer) PowerMenuItem ¶
func (*UnimplementedPowerMenuServiceServer) PowerMenuItem(context.Context, *empty.Empty) (*PowerMenuItemResponse, error)
func (*UnimplementedPowerMenuServiceServer) PowerMenuPresent ¶
func (*UnimplementedPowerMenuServiceServer) PowerMenuPresent(context.Context, *empty.Empty) (*PowerMenuPresentResponse, error)
type UnimplementedScreenLockServiceServer ¶
type UnimplementedScreenLockServiceServer struct { }
UnimplementedScreenLockServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedScreenLockServiceServer) CloseChrome ¶
func (*UnimplementedScreenLockServiceServer) ReuseChrome ¶
type UnimplementedScreenRecorderServiceServer ¶
type UnimplementedScreenRecorderServiceServer struct { }
UnimplementedScreenRecorderServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedScreenRecorderServiceServer) Start ¶
func (*UnimplementedScreenRecorderServiceServer) Start(context.Context, *StartRequest) (*empty.Empty, error)
func (*UnimplementedScreenRecorderServiceServer) Stop ¶
func (*UnimplementedScreenRecorderServiceServer) Stop(context.Context, *empty.Empty) (*StopResponse, error)
type WaitUntilExistsRequest ¶
type WaitUntilExistsRequest struct { Finder *Finder `protobuf:"bytes,1,opt,name=finder,proto3" json:"finder,omitempty"` // contains filtered or unexported fields }
func (*WaitUntilExistsRequest) Descriptor
deprecated
func (*WaitUntilExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitUntilExistsRequest.ProtoReflect.Descriptor instead.
func (*WaitUntilExistsRequest) GetFinder ¶
func (x *WaitUntilExistsRequest) GetFinder() *Finder
func (*WaitUntilExistsRequest) ProtoMessage ¶
func (*WaitUntilExistsRequest) ProtoMessage()
func (*WaitUntilExistsRequest) ProtoReflect ¶
func (x *WaitUntilExistsRequest) ProtoReflect() protoreflect.Message
func (*WaitUntilExistsRequest) Reset ¶
func (x *WaitUntilExistsRequest) Reset()
func (*WaitUntilExistsRequest) String ¶
func (x *WaitUntilExistsRequest) String() string