Documentation
¶
Overview ¶
Package nearbyservice provides the NearbyShareService.
Index ¶
- Variables
- func RegisterNearbyShareServiceServer(s *grpc.Server, srv NearbyShareServiceServer)
- type CrOSAcceptFastInitiationNotificationRequest
- func (*CrOSAcceptFastInitiationNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSAcceptFastInitiationNotificationRequest) GetIsSetupComplete() bool
- func (*CrOSAcceptFastInitiationNotificationRequest) ProtoMessage()
- func (x *CrOSAcceptFastInitiationNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSAcceptFastInitiationNotificationRequest) Reset()
- func (x *CrOSAcceptFastInitiationNotificationRequest) String() string
- type CrOSAttributesResponse
- func (*CrOSAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSAttributesResponse) GetAttributes() string
- func (*CrOSAttributesResponse) ProtoMessage()
- func (x *CrOSAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *CrOSAttributesResponse) Reset()
- func (x *CrOSAttributesResponse) String() string
- type CrOSFileHashRequest
- func (*CrOSFileHashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSFileHashRequest) GetFileDir() string
- func (x *CrOSFileHashRequest) GetFileNames() []string
- func (*CrOSFileHashRequest) ProtoMessage()
- func (x *CrOSFileHashRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSFileHashRequest) Reset()
- func (x *CrOSFileHashRequest) String() string
- type CrOSFileHashResponse
- func (*CrOSFileHashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSFileHashResponse) GetHashes() []string
- func (*CrOSFileHashResponse) ProtoMessage()
- func (x *CrOSFileHashResponse) ProtoReflect() protoreflect.Message
- func (x *CrOSFileHashResponse) Reset()
- func (x *CrOSFileHashResponse) String() string
- type CrOSLoginRequest
- func (*CrOSLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSLoginRequest) GetDisabledFlags() []string
- func (x *CrOSLoginRequest) GetEnabledFlags() []string
- func (x *CrOSLoginRequest) GetKeepState() bool
- func (x *CrOSLoginRequest) GetPassword() string
- func (x *CrOSLoginRequest) GetUsername() string
- func (*CrOSLoginRequest) ProtoMessage()
- func (x *CrOSLoginRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSLoginRequest) Reset()
- func (x *CrOSLoginRequest) String() string
- type CrOSPrepareFileRequest
- func (*CrOSPrepareFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSPrepareFileRequest) GetFileName() string
- func (*CrOSPrepareFileRequest) ProtoMessage()
- func (x *CrOSPrepareFileRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSPrepareFileRequest) Reset()
- func (x *CrOSPrepareFileRequest) String() string
- type CrOSPrepareFileResponse
- func (*CrOSPrepareFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSPrepareFileResponse) GetFileNames() []string
- func (*CrOSPrepareFileResponse) ProtoMessage()
- func (x *CrOSPrepareFileResponse) ProtoReflect() protoreflect.Message
- func (x *CrOSPrepareFileResponse) Reset()
- func (x *CrOSPrepareFileResponse) String() string
- type CrOSReceiveFilesRequest
- func (*CrOSReceiveFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSReceiveFilesRequest) GetSenderName() string
- func (x *CrOSReceiveFilesRequest) GetTransferTimeoutSeconds() int32
- func (*CrOSReceiveFilesRequest) ProtoMessage()
- func (x *CrOSReceiveFilesRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSReceiveFilesRequest) Reset()
- func (x *CrOSReceiveFilesRequest) String() string
- type CrOSSelectShareTargetRequest
- func (*CrOSSelectShareTargetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSSelectShareTargetRequest) GetCollectShareToken() bool
- func (x *CrOSSelectShareTargetRequest) GetReceiverName() string
- func (*CrOSSelectShareTargetRequest) ProtoMessage()
- func (x *CrOSSelectShareTargetRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSSelectShareTargetRequest) Reset()
- func (x *CrOSSelectShareTargetRequest) String() string
- type CrOSSendFilesRequest
- func (*CrOSSendFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSSendFilesRequest) GetFileNames() []string
- func (*CrOSSendFilesRequest) ProtoMessage()
- func (x *CrOSSendFilesRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSSendFilesRequest) Reset()
- func (x *CrOSSendFilesRequest) String() string
- type CrOSSetupRequest
- func (*CrOSSetupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSSetupRequest) GetDataUsage() int32
- func (x *CrOSSetupRequest) GetDeviceName() string
- func (x *CrOSSetupRequest) GetSenderUsername() string
- func (x *CrOSSetupRequest) GetVisibility() int32
- func (*CrOSSetupRequest) ProtoMessage()
- func (x *CrOSSetupRequest) ProtoReflect() protoreflect.Message
- func (x *CrOSSetupRequest) Reset()
- func (x *CrOSSetupRequest) String() string
- type CrOSShareTokenResponse
- func (*CrOSShareTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CrOSShareTokenResponse) GetShareToken() string
- func (*CrOSShareTokenResponse) ProtoMessage()
- func (x *CrOSShareTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CrOSShareTokenResponse) Reset()
- func (x *CrOSShareTokenResponse) String() string
- type NearbyShareServiceClient
- type NearbyShareServiceServer
- type SaveLogsRequest
- type UnimplementedNearbyShareServiceServer
- func (*UnimplementedNearbyShareServiceServer) AcceptFastInitiationNotification(context.Context, *CrOSAcceptFastInitiationNotificationRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) AcceptIncomingShareNotificationAndWaitForCompletion(context.Context, *CrOSReceiveFilesRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) ClearTransferredFiles(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) CrOSAttributes(context.Context, *empty.Empty) (*CrOSAttributesResponse, error)
- func (*UnimplementedNearbyShareServiceServer) CrOSSetup(context.Context, *CrOSSetupRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) FilesHashes(context.Context, *CrOSFileHashRequest) (*CrOSFileHashResponse, error)
- func (*UnimplementedNearbyShareServiceServer) NewChromeLogin(context.Context, *CrOSLoginRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) PrepareFiles(context.Context, *CrOSPrepareFileRequest) (*CrOSPrepareFileResponse, error)
- func (*UnimplementedNearbyShareServiceServer) SaveLogs(context.Context, *SaveLogsRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) SelectShareTarget(context.Context, *CrOSSelectShareTargetRequest) (*CrOSShareTokenResponse, error)
- func (*UnimplementedNearbyShareServiceServer) StartHighVisibilityMode(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) StartLogging(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) StartReceiving(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) StartSend(context.Context, *CrOSSendFilesRequest) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) WaitForOnboardingFlow(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedNearbyShareServiceServer) WaitForSenderAndAcceptShare(context.Context, *CrOSReceiveFilesRequest) (*CrOSShareTokenResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterNearbyShareServiceServer ¶
func RegisterNearbyShareServiceServer(s *grpc.Server, srv NearbyShareServiceServer)
Types ¶
type CrOSAcceptFastInitiationNotificationRequest ¶
type CrOSAcceptFastInitiationNotificationRequest struct { IsSetupComplete bool `protobuf:"varint,1,opt,name=is_setup_complete,json=isSetupComplete,proto3" json:"is_setup_complete,omitempty"` // contains filtered or unexported fields }
CrOSAcceptFastInitiationNotificationRequest is a request to accept a background scanning notification which differs depending on whether onboarding is complete.
func (*CrOSAcceptFastInitiationNotificationRequest) Descriptor
deprecated
func (*CrOSAcceptFastInitiationNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSAcceptFastInitiationNotificationRequest.ProtoReflect.Descriptor instead.
func (*CrOSAcceptFastInitiationNotificationRequest) GetIsSetupComplete ¶
func (x *CrOSAcceptFastInitiationNotificationRequest) GetIsSetupComplete() bool
func (*CrOSAcceptFastInitiationNotificationRequest) ProtoMessage ¶
func (*CrOSAcceptFastInitiationNotificationRequest) ProtoMessage()
func (*CrOSAcceptFastInitiationNotificationRequest) ProtoReflect ¶
func (x *CrOSAcceptFastInitiationNotificationRequest) ProtoReflect() protoreflect.Message
func (*CrOSAcceptFastInitiationNotificationRequest) Reset ¶
func (x *CrOSAcceptFastInitiationNotificationRequest) Reset()
func (*CrOSAcceptFastInitiationNotificationRequest) String ¶
func (x *CrOSAcceptFastInitiationNotificationRequest) String() string
type CrOSAttributesResponse ¶
type CrOSAttributesResponse struct { Attributes string `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
CrOSAttributesResponse contains the attributes for a chromeos DUT.
func (*CrOSAttributesResponse) Descriptor
deprecated
func (*CrOSAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrOSAttributesResponse.ProtoReflect.Descriptor instead.
func (*CrOSAttributesResponse) GetAttributes ¶
func (x *CrOSAttributesResponse) GetAttributes() string
func (*CrOSAttributesResponse) ProtoMessage ¶
func (*CrOSAttributesResponse) ProtoMessage()
func (*CrOSAttributesResponse) ProtoReflect ¶
func (x *CrOSAttributesResponse) ProtoReflect() protoreflect.Message
func (*CrOSAttributesResponse) Reset ¶
func (x *CrOSAttributesResponse) Reset()
func (*CrOSAttributesResponse) String ¶
func (x *CrOSAttributesResponse) String() string
type CrOSFileHashRequest ¶
type CrOSFileHashRequest struct { FileNames []string `protobuf:"bytes,1,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` FileDir string `protobuf:"bytes,2,opt,name=file_dir,json=fileDir,proto3" json:"file_dir,omitempty"` // contains filtered or unexported fields }
CrOSFileHashRequest contains the list of files we want to hash.
func (*CrOSFileHashRequest) Descriptor
deprecated
func (*CrOSFileHashRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSFileHashRequest.ProtoReflect.Descriptor instead.
func (*CrOSFileHashRequest) GetFileDir ¶
func (x *CrOSFileHashRequest) GetFileDir() string
func (*CrOSFileHashRequest) GetFileNames ¶
func (x *CrOSFileHashRequest) GetFileNames() []string
func (*CrOSFileHashRequest) ProtoMessage ¶
func (*CrOSFileHashRequest) ProtoMessage()
func (*CrOSFileHashRequest) ProtoReflect ¶
func (x *CrOSFileHashRequest) ProtoReflect() protoreflect.Message
func (*CrOSFileHashRequest) Reset ¶
func (x *CrOSFileHashRequest) Reset()
func (*CrOSFileHashRequest) String ¶
func (x *CrOSFileHashRequest) String() string
type CrOSFileHashResponse ¶
type CrOSFileHashResponse struct { Hashes []string `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"` // contains filtered or unexported fields }
CrOSFileHashResponse contains the list of hashes generated for a list of files.
func (*CrOSFileHashResponse) Descriptor
deprecated
func (*CrOSFileHashResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrOSFileHashResponse.ProtoReflect.Descriptor instead.
func (*CrOSFileHashResponse) GetHashes ¶
func (x *CrOSFileHashResponse) GetHashes() []string
func (*CrOSFileHashResponse) ProtoMessage ¶
func (*CrOSFileHashResponse) ProtoMessage()
func (*CrOSFileHashResponse) ProtoReflect ¶
func (x *CrOSFileHashResponse) ProtoReflect() protoreflect.Message
func (*CrOSFileHashResponse) Reset ¶
func (x *CrOSFileHashResponse) Reset()
func (*CrOSFileHashResponse) String ¶
func (x *CrOSFileHashResponse) String() string
type CrOSLoginRequest ¶
type CrOSLoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` KeepState bool `protobuf:"varint,3,opt,name=keep_state,json=keepState,proto3" json:"keep_state,omitempty"` EnabledFlags []string `protobuf:"bytes,4,rep,name=enabled_flags,json=enabledFlags,proto3" json:"enabled_flags,omitempty"` DisabledFlags []string `protobuf:"bytes,5,rep,name=disabled_flags,json=disabledFlags,proto3" json:"disabled_flags,omitempty"` // contains filtered or unexported fields }
CrOSLoginRequest to login to Chrome with configurable GAIA credentials.
func (*CrOSLoginRequest) Descriptor
deprecated
func (*CrOSLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSLoginRequest.ProtoReflect.Descriptor instead.
func (*CrOSLoginRequest) GetDisabledFlags ¶
func (x *CrOSLoginRequest) GetDisabledFlags() []string
func (*CrOSLoginRequest) GetEnabledFlags ¶
func (x *CrOSLoginRequest) GetEnabledFlags() []string
func (*CrOSLoginRequest) GetKeepState ¶
func (x *CrOSLoginRequest) GetKeepState() bool
func (*CrOSLoginRequest) GetPassword ¶
func (x *CrOSLoginRequest) GetPassword() string
func (*CrOSLoginRequest) GetUsername ¶
func (x *CrOSLoginRequest) GetUsername() string
func (*CrOSLoginRequest) ProtoMessage ¶
func (*CrOSLoginRequest) ProtoMessage()
func (*CrOSLoginRequest) ProtoReflect ¶
func (x *CrOSLoginRequest) ProtoReflect() protoreflect.Message
func (*CrOSLoginRequest) Reset ¶
func (x *CrOSLoginRequest) Reset()
func (*CrOSLoginRequest) String ¶
func (x *CrOSLoginRequest) String() string
type CrOSPrepareFileRequest ¶
type CrOSPrepareFileRequest struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
CrOSPrepareFileRequest contains the archive of files to be sent by Nearby Share.
func (*CrOSPrepareFileRequest) Descriptor
deprecated
func (*CrOSPrepareFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSPrepareFileRequest.ProtoReflect.Descriptor instead.
func (*CrOSPrepareFileRequest) GetFileName ¶
func (x *CrOSPrepareFileRequest) GetFileName() string
func (*CrOSPrepareFileRequest) ProtoMessage ¶
func (*CrOSPrepareFileRequest) ProtoMessage()
func (*CrOSPrepareFileRequest) ProtoReflect ¶
func (x *CrOSPrepareFileRequest) ProtoReflect() protoreflect.Message
func (*CrOSPrepareFileRequest) Reset ¶
func (x *CrOSPrepareFileRequest) Reset()
func (*CrOSPrepareFileRequest) String ¶
func (x *CrOSPrepareFileRequest) String() string
type CrOSPrepareFileResponse ¶
type CrOSPrepareFileResponse struct { FileNames []string `protobuf:"bytes,1,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // contains filtered or unexported fields }
CrOSPrepareFileResponse is the individual file names that were extracted that will be sent.
func (*CrOSPrepareFileResponse) Descriptor
deprecated
func (*CrOSPrepareFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrOSPrepareFileResponse.ProtoReflect.Descriptor instead.
func (*CrOSPrepareFileResponse) GetFileNames ¶
func (x *CrOSPrepareFileResponse) GetFileNames() []string
func (*CrOSPrepareFileResponse) ProtoMessage ¶
func (*CrOSPrepareFileResponse) ProtoMessage()
func (*CrOSPrepareFileResponse) ProtoReflect ¶
func (x *CrOSPrepareFileResponse) ProtoReflect() protoreflect.Message
func (*CrOSPrepareFileResponse) Reset ¶
func (x *CrOSPrepareFileResponse) Reset()
func (*CrOSPrepareFileResponse) String ¶
func (x *CrOSPrepareFileResponse) String() string
type CrOSReceiveFilesRequest ¶
type CrOSReceiveFilesRequest struct { SenderName string `protobuf:"bytes,1,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"` TransferTimeoutSeconds int32 `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
CrOSReceiveFilesRequest contains the sender name that we want to receive files from and the file transfer timeout in seconds.
func (*CrOSReceiveFilesRequest) Descriptor
deprecated
func (*CrOSReceiveFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSReceiveFilesRequest.ProtoReflect.Descriptor instead.
func (*CrOSReceiveFilesRequest) GetSenderName ¶
func (x *CrOSReceiveFilesRequest) GetSenderName() string
func (*CrOSReceiveFilesRequest) GetTransferTimeoutSeconds ¶
func (x *CrOSReceiveFilesRequest) GetTransferTimeoutSeconds() int32
func (*CrOSReceiveFilesRequest) ProtoMessage ¶
func (*CrOSReceiveFilesRequest) ProtoMessage()
func (*CrOSReceiveFilesRequest) ProtoReflect ¶
func (x *CrOSReceiveFilesRequest) ProtoReflect() protoreflect.Message
func (*CrOSReceiveFilesRequest) Reset ¶
func (x *CrOSReceiveFilesRequest) Reset()
func (*CrOSReceiveFilesRequest) String ¶
func (x *CrOSReceiveFilesRequest) String() string
type CrOSSelectShareTargetRequest ¶
type CrOSSelectShareTargetRequest struct { // contains filtered or unexported fields }
CrOSSelectShareTargetRequest contains the receiver to send files to.
func (*CrOSSelectShareTargetRequest) Descriptor
deprecated
func (*CrOSSelectShareTargetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSSelectShareTargetRequest.ProtoReflect.Descriptor instead.
func (*CrOSSelectShareTargetRequest) GetCollectShareToken ¶
func (x *CrOSSelectShareTargetRequest) GetCollectShareToken() bool
func (*CrOSSelectShareTargetRequest) GetReceiverName ¶
func (x *CrOSSelectShareTargetRequest) GetReceiverName() string
func (*CrOSSelectShareTargetRequest) ProtoMessage ¶
func (*CrOSSelectShareTargetRequest) ProtoMessage()
func (*CrOSSelectShareTargetRequest) ProtoReflect ¶
func (x *CrOSSelectShareTargetRequest) ProtoReflect() protoreflect.Message
func (*CrOSSelectShareTargetRequest) Reset ¶
func (x *CrOSSelectShareTargetRequest) Reset()
func (*CrOSSelectShareTargetRequest) String ¶
func (x *CrOSSelectShareTargetRequest) String() string
type CrOSSendFilesRequest ¶
type CrOSSendFilesRequest struct { FileNames []string `protobuf:"bytes,1,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"` // contains filtered or unexported fields }
CrOSSendFilesRequest contains the files to be sent by Nearby Share.
func (*CrOSSendFilesRequest) Descriptor
deprecated
func (*CrOSSendFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSSendFilesRequest.ProtoReflect.Descriptor instead.
func (*CrOSSendFilesRequest) GetFileNames ¶
func (x *CrOSSendFilesRequest) GetFileNames() []string
func (*CrOSSendFilesRequest) ProtoMessage ¶
func (*CrOSSendFilesRequest) ProtoMessage()
func (*CrOSSendFilesRequest) ProtoReflect ¶
func (x *CrOSSendFilesRequest) ProtoReflect() protoreflect.Message
func (*CrOSSendFilesRequest) Reset ¶
func (x *CrOSSendFilesRequest) Reset()
func (*CrOSSendFilesRequest) String ¶
func (x *CrOSSendFilesRequest) String() string
type CrOSSetupRequest ¶
type CrOSSetupRequest struct { DataUsage int32 `protobuf:"varint,1,opt,name=data_usage,json=dataUsage,proto3" json:"data_usage,omitempty"` Visibility int32 `protobuf:"varint,2,opt,name=visibility,proto3" json:"visibility,omitempty"` DeviceName string `protobuf:"bytes,3,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` SenderUsername string `protobuf:"bytes,4,opt,name=sender_username,json=senderUsername,proto3" json:"sender_username,omitempty"` // contains filtered or unexported fields }
CrOSSetupRequest is a request to setup and configure Nearby Share on a ChromeOS device.
func (*CrOSSetupRequest) Descriptor
deprecated
func (*CrOSSetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CrOSSetupRequest.ProtoReflect.Descriptor instead.
func (*CrOSSetupRequest) GetDataUsage ¶
func (x *CrOSSetupRequest) GetDataUsage() int32
func (*CrOSSetupRequest) GetDeviceName ¶
func (x *CrOSSetupRequest) GetDeviceName() string
func (*CrOSSetupRequest) GetSenderUsername ¶
func (x *CrOSSetupRequest) GetSenderUsername() string
func (*CrOSSetupRequest) GetVisibility ¶
func (x *CrOSSetupRequest) GetVisibility() int32
func (*CrOSSetupRequest) ProtoMessage ¶
func (*CrOSSetupRequest) ProtoMessage()
func (*CrOSSetupRequest) ProtoReflect ¶
func (x *CrOSSetupRequest) ProtoReflect() protoreflect.Message
func (*CrOSSetupRequest) Reset ¶
func (x *CrOSSetupRequest) Reset()
func (*CrOSSetupRequest) String ¶
func (x *CrOSSetupRequest) String() string
type CrOSShareTokenResponse ¶
type CrOSShareTokenResponse struct { // contains filtered or unexported fields }
CrOSShareTokenResponse contains the share token from the receiver.
func (*CrOSShareTokenResponse) Descriptor
deprecated
func (*CrOSShareTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CrOSShareTokenResponse.ProtoReflect.Descriptor instead.
func (*CrOSShareTokenResponse) GetShareToken ¶
func (x *CrOSShareTokenResponse) GetShareToken() string
func (*CrOSShareTokenResponse) ProtoMessage ¶
func (*CrOSShareTokenResponse) ProtoMessage()
func (*CrOSShareTokenResponse) ProtoReflect ¶
func (x *CrOSShareTokenResponse) ProtoReflect() protoreflect.Message
func (*CrOSShareTokenResponse) Reset ¶
func (x *CrOSShareTokenResponse) Reset()
func (*CrOSShareTokenResponse) String ¶
func (x *CrOSShareTokenResponse) String() string
type NearbyShareServiceClient ¶
type NearbyShareServiceClient interface { // Share flags enabled. Close must be called later to clean up the associated // resources. NewChromeLogin(ctx context.Context, in *CrOSLoginRequest, opts ...grpc.CallOption) (*empty.Empty, error) CloseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) CrOSSetup(ctx context.Context, in *CrOSSetupRequest, opts ...grpc.CallOption) (*empty.Empty, error) FilesHashes(ctx context.Context, in *CrOSFileHashRequest, opts ...grpc.CallOption) (*CrOSFileHashResponse, error) PrepareFiles(ctx context.Context, in *CrOSPrepareFileRequest, opts ...grpc.CallOption) (*CrOSPrepareFileResponse, error) StartSend(ctx context.Context, in *CrOSSendFilesRequest, opts ...grpc.CallOption) (*empty.Empty, error) SelectShareTarget(ctx context.Context, in *CrOSSelectShareTargetRequest, opts ...grpc.CallOption) (*CrOSShareTokenResponse, error) // quick settings. StartHighVisibilityMode(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) WaitForOnboardingFlow(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartReceiving(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // sender. WaitForSenderAndAcceptShare(ctx context.Context, in *CrOSReceiveFilesRequest, opts ...grpc.CallOption) (*CrOSShareTokenResponse, error) // transfers where the Chromebook accepts the transfer via a notification and // waits for a followup notification to see the transfer is complete. AcceptIncomingShareNotificationAndWaitForCompletion(ctx context.Context, in *CrOSReceiveFilesRequest, opts ...grpc.CallOption) (*empty.Empty, error) // discover a share target. This puts the user into high visibility mode. AcceptFastInitiationNotification(ctx context.Context, in *CrOSAcceptFastInitiationNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) StartLogging(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) SaveLogs(ctx context.Context, in *SaveLogsRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Downloads folder. ClearTransferredFiles(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) CrOSAttributes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*CrOSAttributesResponse, error) }
NearbyShareServiceClient is the client API for NearbyShareService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNearbyShareServiceClient ¶
func NewNearbyShareServiceClient(cc grpc.ClientConnInterface) NearbyShareServiceClient
type NearbyShareServiceServer ¶
type NearbyShareServiceServer interface { // Share flags enabled. Close must be called later to clean up the associated // resources. NewChromeLogin(context.Context, *CrOSLoginRequest) (*empty.Empty, error) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error) CrOSSetup(context.Context, *CrOSSetupRequest) (*empty.Empty, error) FilesHashes(context.Context, *CrOSFileHashRequest) (*CrOSFileHashResponse, error) PrepareFiles(context.Context, *CrOSPrepareFileRequest) (*CrOSPrepareFileResponse, error) StartSend(context.Context, *CrOSSendFilesRequest) (*empty.Empty, error) SelectShareTarget(context.Context, *CrOSSelectShareTargetRequest) (*CrOSShareTokenResponse, error) // quick settings. StartHighVisibilityMode(context.Context, *empty.Empty) (*empty.Empty, error) WaitForOnboardingFlow(context.Context, *empty.Empty) (*empty.Empty, error) StartReceiving(context.Context, *empty.Empty) (*empty.Empty, error) // sender. WaitForSenderAndAcceptShare(context.Context, *CrOSReceiveFilesRequest) (*CrOSShareTokenResponse, error) // transfers where the Chromebook accepts the transfer via a notification and // waits for a followup notification to see the transfer is complete. AcceptIncomingShareNotificationAndWaitForCompletion(context.Context, *CrOSReceiveFilesRequest) (*empty.Empty, error) // discover a share target. This puts the user into high visibility mode. AcceptFastInitiationNotification(context.Context, *CrOSAcceptFastInitiationNotificationRequest) (*empty.Empty, error) StartLogging(context.Context, *empty.Empty) (*empty.Empty, error) SaveLogs(context.Context, *SaveLogsRequest) (*empty.Empty, error) // Downloads folder. ClearTransferredFiles(context.Context, *empty.Empty) (*empty.Empty, error) CrOSAttributes(context.Context, *empty.Empty) (*CrOSAttributesResponse, error) }
NearbyShareServiceServer is the server API for NearbyShareService service.
type SaveLogsRequest ¶
type SaveLogsRequest struct { SaveUiLogs bool `protobuf:"varint,1,opt,name=save_ui_logs,json=saveUiLogs,proto3" json:"save_ui_logs,omitempty"` // contains filtered or unexported fields }
SaveLogsRequest contains whether or not to save a screenshot and a UI tree dump.
func (*SaveLogsRequest) Descriptor
deprecated
func (*SaveLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveLogsRequest.ProtoReflect.Descriptor instead.
func (*SaveLogsRequest) GetSaveUiLogs ¶
func (x *SaveLogsRequest) GetSaveUiLogs() bool
func (*SaveLogsRequest) ProtoMessage ¶
func (*SaveLogsRequest) ProtoMessage()
func (*SaveLogsRequest) ProtoReflect ¶
func (x *SaveLogsRequest) ProtoReflect() protoreflect.Message
func (*SaveLogsRequest) Reset ¶
func (x *SaveLogsRequest) Reset()
func (*SaveLogsRequest) String ¶
func (x *SaveLogsRequest) String() string
type UnimplementedNearbyShareServiceServer ¶
type UnimplementedNearbyShareServiceServer struct { }
UnimplementedNearbyShareServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNearbyShareServiceServer) AcceptFastInitiationNotification ¶
func (*UnimplementedNearbyShareServiceServer) AcceptFastInitiationNotification(context.Context, *CrOSAcceptFastInitiationNotificationRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) AcceptIncomingShareNotificationAndWaitForCompletion ¶
func (*UnimplementedNearbyShareServiceServer) AcceptIncomingShareNotificationAndWaitForCompletion(context.Context, *CrOSReceiveFilesRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) ClearTransferredFiles ¶
func (*UnimplementedNearbyShareServiceServer) CloseChrome ¶
func (*UnimplementedNearbyShareServiceServer) CrOSAttributes ¶
func (*UnimplementedNearbyShareServiceServer) CrOSAttributes(context.Context, *empty.Empty) (*CrOSAttributesResponse, error)
func (*UnimplementedNearbyShareServiceServer) CrOSSetup ¶
func (*UnimplementedNearbyShareServiceServer) CrOSSetup(context.Context, *CrOSSetupRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) FilesHashes ¶
func (*UnimplementedNearbyShareServiceServer) FilesHashes(context.Context, *CrOSFileHashRequest) (*CrOSFileHashResponse, error)
func (*UnimplementedNearbyShareServiceServer) NewChromeLogin ¶
func (*UnimplementedNearbyShareServiceServer) NewChromeLogin(context.Context, *CrOSLoginRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) PrepareFiles ¶
func (*UnimplementedNearbyShareServiceServer) PrepareFiles(context.Context, *CrOSPrepareFileRequest) (*CrOSPrepareFileResponse, error)
func (*UnimplementedNearbyShareServiceServer) SaveLogs ¶
func (*UnimplementedNearbyShareServiceServer) SaveLogs(context.Context, *SaveLogsRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) SelectShareTarget ¶
func (*UnimplementedNearbyShareServiceServer) SelectShareTarget(context.Context, *CrOSSelectShareTargetRequest) (*CrOSShareTokenResponse, error)
func (*UnimplementedNearbyShareServiceServer) StartHighVisibilityMode ¶
func (*UnimplementedNearbyShareServiceServer) StartLogging ¶
func (*UnimplementedNearbyShareServiceServer) StartReceiving ¶
func (*UnimplementedNearbyShareServiceServer) StartSend ¶
func (*UnimplementedNearbyShareServiceServer) StartSend(context.Context, *CrOSSendFilesRequest) (*empty.Empty, error)
func (*UnimplementedNearbyShareServiceServer) WaitForOnboardingFlow ¶
func (*UnimplementedNearbyShareServiceServer) WaitForSenderAndAcceptShare ¶
func (*UnimplementedNearbyShareServiceServer) WaitForSenderAndAcceptShare(context.Context, *CrOSReceiveFilesRequest) (*CrOSShareTokenResponse, error)