Class gNMIGrpc.gNMIFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<gNMIGrpc.gNMIFutureStub>
-
- org.opennms.features.openconfig.proto.gnmi.gNMIGrpc.gNMIFutureStub
-
- Enclosing class:
- gNMIGrpc
public static final class gNMIGrpc.gNMIFutureStub extends io.grpc.stub.AbstractStub<gNMIGrpc.gNMIFutureStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected gNMIGrpc.gNMIFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Gnmi.CapabilityResponse>
capabilities(Gnmi.CapabilityRequest request)
Capabilities allows the client to retrieve the set of capabilities that is supported by the target.com.google.common.util.concurrent.ListenableFuture<Gnmi.GetResponse>
get(Gnmi.GetRequest request)
Retrieve a snapshot of data from the target.com.google.common.util.concurrent.ListenableFuture<Gnmi.SetResponse>
set(Gnmi.SetRequest request)
Set allows the client to modify the state of data on the target.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected gNMIGrpc.gNMIFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<gNMIGrpc.gNMIFutureStub>
-
capabilities
public com.google.common.util.concurrent.ListenableFuture<Gnmi.CapabilityResponse> capabilities(Gnmi.CapabilityRequest request)
Capabilities allows the client to retrieve the set of capabilities that is supported by the target. This allows the target to validate the service version that is implemented and retrieve the set of models that the target supports. The models can then be specified in subsequent RPCs to restrict the set of data that is utilized. Reference: gNMI Specification Section 3.2
-
get
public com.google.common.util.concurrent.ListenableFuture<Gnmi.GetResponse> get(Gnmi.GetRequest request)
Retrieve a snapshot of data from the target. A Get RPC requests that the target snapshots a subset of the data tree as specified by the paths included in the message and serializes this to be returned to the client using the specified encoding. Reference: gNMI Specification Section 3.3
-
set
public com.google.common.util.concurrent.ListenableFuture<Gnmi.SetResponse> set(Gnmi.SetRequest request)
Set allows the client to modify the state of data on the target. The paths to modified along with the new values that the client wishes to set the value to. Reference: gNMI Specification Section 3.4
-
-