Class GrpcConversationProfilesStub (4.3.1)

public class GrpcConversationProfilesStub extends ConversationProfilesStub

gRPC stub implementation for the ConversationProfiles service API.

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

Inheritance

java.lang.Object > ConversationProfilesStub > GrpcConversationProfilesStub

Constructors

GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)

protected GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcConversationProfilesStub, 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
settingsConversationProfilesStubSettings
clientContextClientContext

GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ConversationProfilesStubSettings settings)

public static final GrpcConversationProfilesStub create(ConversationProfilesStubSettings settings)
Parameter
NameDescription
settingsConversationProfilesStubSettings
Returns
TypeDescription
GrpcConversationProfilesStub
Exceptions
TypeDescription
IOException

createConversationProfileCallable()

public UnaryCallable<CreateConversationProfileRequest,ConversationProfile> createConversationProfileCallable()
Returns
TypeDescription
UnaryCallable<CreateConversationProfileRequest,ConversationProfile>
Overrides

deleteConversationProfileCallable()

public UnaryCallable<DeleteConversationProfileRequest,Empty> deleteConversationProfileCallable()
Returns
TypeDescription
UnaryCallable<DeleteConversationProfileRequest,Empty>
Overrides

getConversationProfileCallable()

public UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
Returns
TypeDescription
UnaryCallable<GetConversationProfileRequest,ConversationProfile>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listConversationProfilesCallable()

public UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse> listConversationProfilesCallable()
Returns
TypeDescription
UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse>
Overrides

listConversationProfilesPagedCallable()

public UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateConversationProfileCallable()

public UnaryCallable<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileCallable()
Returns
TypeDescription
UnaryCallable<UpdateConversationProfileRequest,ConversationProfile>
Overrides