Package viam.app.packages.v1
Class PackageServiceGrpc.PackageServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
viam.app.packages.v1.PackageServiceGrpc.PackageServiceFutureStub
- Enclosing class:
- PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PackageService.
-
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<Packages.DeletePackageResponse>
DeletePackage removes the given package versionscom.google.common.util.concurrent.ListenableFuture<Packages.GetPackageResponse>
getPackage
(Packages.GetPackageRequest request) GetPackage returns the metadata for a requested package version.com.google.common.util.concurrent.ListenableFuture<Packages.ListPackagesResponse>
listPackages
(Packages.ListPackagesRequest request) ListPackages gets the metadata for the requested packages.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 PackageServiceGrpc.PackageServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
-
deletePackage
public com.google.common.util.concurrent.ListenableFuture<Packages.DeletePackageResponse> deletePackage(Packages.DeletePackageRequest request) DeletePackage removes the given package versions
-
getPackage
public com.google.common.util.concurrent.ListenableFuture<Packages.GetPackageResponse> getPackage(Packages.GetPackageRequest request) GetPackage returns the metadata for a requested package version. It also returns a URL for downloading the package if one is requested.
-
listPackages
public com.google.common.util.concurrent.ListenableFuture<Packages.ListPackagesResponse> listPackages(Packages.ListPackagesRequest request) ListPackages gets the metadata for the requested packages. Includes package name, version, and/or type to filter beyond the required organization_id. ListPackages also returns URLs for downloading each package if they are requested.
-