Package viam.provisioning.v1
Class ProvisioningServiceGrpc.ProvisioningServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ProvisioningServiceGrpc.ProvisioningServiceStub>
viam.provisioning.v1.ProvisioningServiceGrpc.ProvisioningServiceStub
- Enclosing class:
- ProvisioningServiceGrpc
public static final class ProvisioningServiceGrpc.ProvisioningServiceStub
extends io.grpc.stub.AbstractAsyncStub<ProvisioningServiceGrpc.ProvisioningServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ProvisioningService.
ProvisioningService is used by viam-agent to retrieve the smart machine info.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
getNetworkList
(Provisioning.GetNetworkListRequest request, io.grpc.stub.StreamObserver<Provisioning.GetNetworkListResponse> responseObserver) GetNetworkList is to retrieve the list of networks that are visible to the smart machine.void
getSmartMachineStatus
(Provisioning.GetSmartMachineStatusRequest request, io.grpc.stub.StreamObserver<Provisioning.GetSmartMachineStatusResponse> responseObserver) GetSmartMachineStatus is for retrieving the status of the smart machine including networking.void
setNetworkCredentials
(Provisioning.SetNetworkCredentialsRequest request, io.grpc.stub.StreamObserver<Provisioning.SetNetworkCredentialsResponse> responseObserver) SetNetworkCredentials is to set the wifi credentials.void
setSmartMachineCredentials
(Provisioning.SetSmartMachineCredentialsRequest request, io.grpc.stub.StreamObserver<Provisioning.SetSmartMachineCredentialsResponse> responseObserver) SetSmartMachineCredentials is to set the smart machine credentials.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ProvisioningServiceGrpc.ProvisioningServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ProvisioningServiceGrpc.ProvisioningServiceStub>
-
getSmartMachineStatus
public void getSmartMachineStatus(Provisioning.GetSmartMachineStatusRequest request, io.grpc.stub.StreamObserver<Provisioning.GetSmartMachineStatusResponse> responseObserver) GetSmartMachineStatus is for retrieving the status of the smart machine including networking.
-
setNetworkCredentials
public void setNetworkCredentials(Provisioning.SetNetworkCredentialsRequest request, io.grpc.stub.StreamObserver<Provisioning.SetNetworkCredentialsResponse> responseObserver) SetNetworkCredentials is to set the wifi credentials.
-
setSmartMachineCredentials
public void setSmartMachineCredentials(Provisioning.SetSmartMachineCredentialsRequest request, io.grpc.stub.StreamObserver<Provisioning.SetSmartMachineCredentialsResponse> responseObserver) SetSmartMachineCredentials is to set the smart machine credentials.
-
getNetworkList
public void getNetworkList(Provisioning.GetNetworkListRequest request, io.grpc.stub.StreamObserver<Provisioning.GetNetworkListResponse> responseObserver) GetNetworkList is to retrieve the list of networks that are visible to the smart machine.
-