public static final class ArtifactStagingServiceGrpc.ArtifactStagingServiceStub extends io.grpc.stub.AbstractStub<ArtifactStagingServiceGrpc.ArtifactStagingServiceStub>
A service to stage artifacts for use in a Job. RPCs made to an ArtifactStagingService endpoint should include some form of identification for the job as a header.
| Modifier and Type | Method and Description |
|---|---|
protected ArtifactStagingServiceGrpc.ArtifactStagingServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
commitManifest(ArtifactApi.CommitManifestRequest request,
io.grpc.stub.StreamObserver<ArtifactApi.CommitManifestResponse> responseObserver)
Commit the manifest for a Job.
|
io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactRequest> |
putArtifact(io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactResponse> responseObserver)
Stage an artifact to be available during job execution.
|
protected ArtifactStagingServiceGrpc.ArtifactStagingServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ArtifactStagingServiceGrpc.ArtifactStagingServiceStub>public io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactRequest> putArtifact(io.grpc.stub.StreamObserver<ArtifactApi.PutArtifactResponse> responseObserver)
Stage an artifact to be available during job execution. The first request must contain the name of the artifact. All future requests must contain sequential chunks of the content of the artifact.
public void commitManifest(ArtifactApi.CommitManifestRequest request, io.grpc.stub.StreamObserver<ArtifactApi.CommitManifestResponse> responseObserver)
Commit the manifest for a Job. All artifacts must have been successfully uploaded before this call is made. Throws error INVALID_ARGUMENT if not all of the members of the manifest are present
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.