@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcErrorGroupServiceStub extends ErrorGroupServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcErrorGroupServiceStub, using the given settings.
|
protected |
GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcErrorGroupServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcErrorGroupServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcErrorGroupServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcErrorGroupServiceStub |
create(ErrorGroupServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetGroupRequest,ErrorGroup> |
getGroupCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateGroupRequest,ErrorGroup> |
updateGroupCallable() |
protected GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcErrorGroupServiceStub create(ErrorGroupServiceStubSettings settings) throws IOException
IOException
public static final GrpcErrorGroupServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcErrorGroupServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<GetGroupRequest,ErrorGroup> getGroupCallable()
getGroupCallable
in class ErrorGroupServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateGroupRequest,ErrorGroup> updateGroupCallable()
updateGroupCallable
in class ErrorGroupServiceStub
public final void close()
close
in interface AutoCloseable
close
in class ErrorGroupServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.