Class GrpcConversationProfilesStub (4.5.11)

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

Static Methods

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

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

clearSuggestionFeatureConfigCallable()

public UnaryCallable<ClearSuggestionFeatureConfigRequest,Operation> clearSuggestionFeatureConfigCallable()
Returns
TypeDescription
UnaryCallable<ClearSuggestionFeatureConfigRequest,Operation>
Overrides

clearSuggestionFeatureConfigOperationCallable()

public OperationCallable<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata> clearSuggestionFeatureConfigOperationCallable()
Returns
TypeDescription
OperationCallable<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata>
Overrides

close()

public final void close()
Overrides

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
Overrides

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

setSuggestionFeatureConfigCallable()

public UnaryCallable<SetSuggestionFeatureConfigRequest,Operation> setSuggestionFeatureConfigCallable()
Returns
TypeDescription
UnaryCallable<SetSuggestionFeatureConfigRequest,Operation>
Overrides

setSuggestionFeatureConfigOperationCallable()

public OperationCallable<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata> setSuggestionFeatureConfigOperationCallable()
Returns
TypeDescription
OperationCallable<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateConversationProfileCallable()

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