@Generated(value="by gapic-generator-java") public class GrpcEnvironmentsStub extends EnvironmentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcEnvironmentsStub, using the given settings.
|
protected |
GrpcEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcEnvironmentsStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcEnvironmentsStub |
create(ClientContext clientContext) |
static GrpcEnvironmentsStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcEnvironmentsStub |
create(EnvironmentsStubSettings settings) |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> |
listEnvironmentsCallable() |
UnaryCallable<ListEnvironmentsRequest,EnvironmentsClient.ListEnvironmentsPagedResponse> |
listEnvironmentsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcEnvironmentsStub create(EnvironmentsStubSettings settings) throws IOException
IOException
public static final GrpcEnvironmentsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcEnvironmentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
listEnvironmentsCallable
in class EnvironmentsStub
public UnaryCallable<ListEnvironmentsRequest,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
listEnvironmentsPagedCallable
in class EnvironmentsStub
public final void close()
close
in interface AutoCloseable
close
in class EnvironmentsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2021 Google LLC. All rights reserved.