Package viam.provisioning.v1
Class ProvisioningServiceGrpc.ProvisioningServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ProvisioningServiceGrpc.ProvisioningServiceFutureStub>
viam.provisioning.v1.ProvisioningServiceGrpc.ProvisioningServiceFutureStub
- Enclosing class:
- ProvisioningServiceGrpc
public static final class ProvisioningServiceGrpc.ProvisioningServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ProvisioningServiceGrpc.ProvisioningServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Provisioning.GetNetworkListResponse>
GetNetworkList is to retrieve the list of networks that are visible to the smart machine.com.google.common.util.concurrent.ListenableFuture<Provisioning.GetSmartMachineStatusResponse>
GetSmartMachineStatus is for retrieving the status of the smart machine including networking.com.google.common.util.concurrent.ListenableFuture<Provisioning.SetNetworkCredentialsResponse>
SetNetworkCredentials is to set the wifi credentials.com.google.common.util.concurrent.ListenableFuture<Provisioning.SetSmartMachineCredentialsResponse>
SetSmartMachineCredentials is to set the smart machine credentials.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.ProvisioningServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ProvisioningServiceGrpc.ProvisioningServiceFutureStub>
-
getSmartMachineStatus
public com.google.common.util.concurrent.ListenableFuture<Provisioning.GetSmartMachineStatusResponse> getSmartMachineStatus(Provisioning.GetSmartMachineStatusRequest request) GetSmartMachineStatus is for retrieving the status of the smart machine including networking.
-
setNetworkCredentials
public com.google.common.util.concurrent.ListenableFuture<Provisioning.SetNetworkCredentialsResponse> setNetworkCredentials(Provisioning.SetNetworkCredentialsRequest request) SetNetworkCredentials is to set the wifi credentials.
-
setSmartMachineCredentials
public com.google.common.util.concurrent.ListenableFuture<Provisioning.SetSmartMachineCredentialsResponse> setSmartMachineCredentials(Provisioning.SetSmartMachineCredentialsRequest request) SetSmartMachineCredentials is to set the smart machine credentials.
-
getNetworkList
public com.google.common.util.concurrent.ListenableFuture<Provisioning.GetNetworkListResponse> getNetworkList(Provisioning.GetNetworkListRequest request) GetNetworkList is to retrieve the list of networks that are visible to the smart machine.
-