Class GrpcConversationProfilesStub (4.18.0)

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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcConversationProfilesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcConversationProfilesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcConversationProfilesStub
Exceptions
Type Description
IOException

create(ConversationProfilesStubSettings settings)

public static final GrpcConversationProfilesStub create(ConversationProfilesStubSettings settings)
Parameter
Name Description
settings ConversationProfilesStubSettings
Returns
Type Description
GrpcConversationProfilesStub
Exceptions
Type Description
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
Name Description
settings ConversationProfilesStubSettings
clientContext ClientContext

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
Name Description
settings ConversationProfilesStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

clearSuggestionFeatureConfigCallable()

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

clearSuggestionFeatureConfigOperationCallable()

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

close()

public final void close()
Overrides

createConversationProfileCallable()

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

deleteConversationProfileCallable()

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

getConversationProfileCallable()

public UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
Returns
Type Description
UnaryCallable<GetConversationProfileRequest,ConversationProfile>
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
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConversationProfilesCallable()

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

listConversationProfilesPagedCallable()

public UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
Returns
Type Description
UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesPagedResponse>
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
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setSuggestionFeatureConfigCallable()

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

setSuggestionFeatureConfigOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateConversationProfileCallable()

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