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.
Static Methods
create(ClientContext clientContext)
public static final GrpcConversationProfilesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcConversationProfilesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ConversationProfilesStubSettings settings)
public static final GrpcConversationProfilesStub create(ConversationProfilesStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
clearSuggestionFeatureConfigCallable()
public UnaryCallable<ClearSuggestionFeatureConfigRequest,Operation> clearSuggestionFeatureConfigCallable()
Returns
Overrides
clearSuggestionFeatureConfigOperationCallable()
public OperationCallable<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata> clearSuggestionFeatureConfigOperationCallable()
Returns
Overrides
close()
public final void close()
Overrides
createConversationProfileCallable()
public UnaryCallable<CreateConversationProfileRequest,ConversationProfile> createConversationProfileCallable()
Returns
Overrides
deleteConversationProfileCallable()
public UnaryCallable<DeleteConversationProfileRequest,Empty> deleteConversationProfileCallable()
Returns
Overrides
getConversationProfileCallable()
public UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
Returns
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConversationProfilesCallable()
public UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse> listConversationProfilesCallable()
Returns
Overrides
listConversationProfilesPagedCallable()
public UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
Returns
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ConversationProfilesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
setSuggestionFeatureConfigCallable()
public UnaryCallable<SetSuggestionFeatureConfigRequest,Operation> setSuggestionFeatureConfigCallable()
Returns
Overrides
setSuggestionFeatureConfigOperationCallable()
public OperationCallable<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata> setSuggestionFeatureConfigOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateConversationProfileCallable()
public UnaryCallable<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileCallable()
Returns
Overrides