Class HttpJsonConversationProfilesStub (4.20.0)

public class HttpJsonConversationProfilesStub extends ConversationProfilesStub

REST stub implementation for the ConversationProfiles service API.

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

Inheritance

java.lang.Object > ConversationProfilesStub > HttpJsonConversationProfilesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonConversationProfilesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonConversationProfilesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(ConversationProfilesStubSettings settings)

public static final HttpJsonConversationProfilesStub create(ConversationProfilesStubSettings settings)
Parameter
Name Description
settings ConversationProfilesStubSettings
Returns
Type Description
HttpJsonConversationProfilesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)

protected HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)

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

HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
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