@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonChunkServiceStub extends ChunkServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonChunkServiceStub(ChunkServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonChunkServiceStub, using the given settings.
|
protected |
HttpJsonChunkServiceStub(ChunkServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonChunkServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonChunkServiceStub |
create(ChunkServiceStubSettings settings) |
static HttpJsonChunkServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonChunkServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<GetChunkRequest,Chunk> |
getChunkCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListChunksRequest,ListChunksResponse> |
listChunksCallable() |
com.google.api.gax.rpc.UnaryCallable<ListChunksRequest,ChunkServiceClient.ListChunksPagedResponse> |
listChunksPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonChunkServiceStub(ChunkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonChunkServiceStub(ChunkServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonChunkServiceStub create(ChunkServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonChunkServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonChunkServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<GetChunkRequest,Chunk> getChunkCallable()
getChunkCallable in class ChunkServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListChunksRequest,ListChunksResponse> listChunksCallable()
listChunksCallable in class ChunkServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListChunksRequest,ChunkServiceClient.ListChunksPagedResponse> listChunksPagedCallable()
listChunksPagedCallable in class ChunkServiceStubpublic final void close()
close in interface AutoCloseableclose in class ChunkServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.