Class HttpJsonErrorGroupServiceStub (0.130.0-beta)

public class HttpJsonErrorGroupServiceStub extends ErrorGroupServiceStub

REST stub implementation for the ErrorGroupService service API.

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

Inheritance

java.lang.Object > ErrorGroupServiceStub > HttpJsonErrorGroupServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonErrorGroupServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonErrorGroupServiceStub
Exceptions
TypeDescription
IOException

create(ErrorGroupServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonErrorGroupServiceStub, 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

HttpJsonErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonErrorGroupServiceStub(ErrorGroupServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonErrorGroupServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

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