Class GrpcSessionEntityTypesStub (4.7.5)

public class GrpcSessionEntityTypesStub extends SessionEntityTypesStub

gRPC stub implementation for the SessionEntityTypes service API.

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

Inheritance

java.lang.Object > SessionEntityTypesStub > GrpcSessionEntityTypesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(SessionEntityTypesStubSettings settings)

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

Constructors

GrpcSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext)

protected GrpcSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext)

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

GrpcSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcSessionEntityTypesStub(SessionEntityTypesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createSessionEntityTypeCallable()

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

deleteSessionEntityTypeCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

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