Class GrpcErrorGroupServiceStub (0.124.13-beta)

Stay organized with collections Save and categorize content based on your preferences.
public class GrpcErrorGroupServiceStub extends ErrorGroupServiceStub

gRPC stub implementation for the ErrorGroupService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ErrorGroupServiceStub > GrpcErrorGroupServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcErrorGroupServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcErrorGroupServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcErrorGroupServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcErrorGroupServiceStub
Exceptions
TypeDescription
IOException

create(ErrorGroupServiceStubSettings settings)

public static final GrpcErrorGroupServiceStub create(ErrorGroupServiceStubSettings settings)
Parameter
NameDescription
settingsErrorGroupServiceStubSettings
Returns
TypeDescription
GrpcErrorGroupServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext)

protected GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcErrorGroupServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsErrorGroupServiceStubSettings
clientContextClientContext

GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcErrorGroupServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsErrorGroupServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

getGroupCallable()

public UnaryCallable<GetGroupRequest,ErrorGroup> getGroupCallable()
Returns
TypeDescription
UnaryCallable<GetGroupRequest,ErrorGroup>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateGroupCallable()

public UnaryCallable<UpdateGroupRequest,ErrorGroup> updateGroupCallable()
Returns
TypeDescription
UnaryCallable<UpdateGroupRequest,ErrorGroup>
Overrides