Package viam.app.packages.v1
Class PackageServiceGrpc.PackageServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<PackageServiceGrpc.PackageServiceStub>
viam.app.packages.v1.PackageServiceGrpc.PackageServiceStub
- Enclosing class:
- PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceStub
extends io.grpc.stub.AbstractAsyncStub<PackageServiceGrpc.PackageServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected PackageServiceGrpc.PackageServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.StreamObserver<Packages.CreatePackageRequest>
createPackage
(io.grpc.stub.StreamObserver<Packages.CreatePackageResponse> responseObserver) CreatePackage uploads a package to the cloudvoid
deletePackage
(Packages.DeletePackageRequest request, io.grpc.stub.StreamObserver<Packages.DeletePackageResponse> responseObserver) DeletePackage removes the given package versionsvoid
getPackage
(Packages.GetPackageRequest request, io.grpc.stub.StreamObserver<Packages.GetPackageResponse> responseObserver) GetPackage returns the metadata for a requested package version.void
listPackages
(Packages.ListPackagesRequest request, io.grpc.stub.StreamObserver<Packages.ListPackagesResponse> responseObserver) ListPackages gets the metadata for the requested packages.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 PackageServiceGrpc.PackageServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceStub>
-
createPackage
public io.grpc.stub.StreamObserver<Packages.CreatePackageRequest> createPackage(io.grpc.stub.StreamObserver<Packages.CreatePackageResponse> responseObserver) CreatePackage uploads a package to the cloud
-
deletePackage
public void deletePackage(Packages.DeletePackageRequest request, io.grpc.stub.StreamObserver<Packages.DeletePackageResponse> responseObserver) DeletePackage removes the given package versions
-
getPackage
public void getPackage(Packages.GetPackageRequest request, io.grpc.stub.StreamObserver<Packages.GetPackageResponse> responseObserver) GetPackage returns the metadata for a requested package version. It also returns a URL for downloading the package if one is requested.
-
listPackages
public void listPackages(Packages.ListPackagesRequest request, io.grpc.stub.StreamObserver<Packages.ListPackagesResponse> responseObserver) 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.
-