Class HttpJsonSessionEntityTypesStub (4.7.3)

public class HttpJsonSessionEntityTypesStub extends SessionEntityTypesStub

REST stub implementation for the SessionEntityTypes service API.

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

Inheritance

java.lang.Object > SessionEntityTypesStub > HttpJsonSessionEntityTypesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(SessionEntityTypesStubSettings settings)

public static final HttpJsonSessionEntityTypesStub create(SessionEntityTypesStubSettings settings)
Parameter
NameDescription
settingsSessionEntityTypesStubSettings
Returns
TypeDescription
HttpJsonSessionEntityTypesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext)

protected HttpJsonSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonSessionEntityTypesStub, 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
settingsSessionEntityTypesStubSettings
clientContextClientContext

HttpJsonSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createSessionEntityTypeCallable()

public UnaryCallable<CreateSessionEntityTypeRequest,SessionEntityType> createSessionEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<CreateSessionEntityTypeRequest,SessionEntityType>
Overrides

deleteSessionEntityTypeCallable()

public UnaryCallable<DeleteSessionEntityTypeRequest,Empty> deleteSessionEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<DeleteSessionEntityTypeRequest,Empty>
Overrides

getSessionEntityTypeCallable()

public UnaryCallable<GetSessionEntityTypeRequest,SessionEntityType> getSessionEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<GetSessionEntityTypeRequest,SessionEntityType>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listSessionEntityTypesCallable()

public UnaryCallable<ListSessionEntityTypesRequest,ListSessionEntityTypesResponse> listSessionEntityTypesCallable()
Returns
TypeDescription
UnaryCallable<ListSessionEntityTypesRequest,ListSessionEntityTypesResponse>
Overrides

listSessionEntityTypesPagedCallable()

public UnaryCallable<ListSessionEntityTypesRequest,SessionEntityTypesClient.ListSessionEntityTypesPagedResponse> listSessionEntityTypesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSessionEntityTypesRequest,ListSessionEntityTypesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSessionEntityTypeCallable()

public UnaryCallable<UpdateSessionEntityTypeRequest,SessionEntityType> updateSessionEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<UpdateSessionEntityTypeRequest,SessionEntityType>
Overrides