Class HttpJsonConversationProfilesStub (4.7.3)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonConversationProfilesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonConversationProfilesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonConversationProfilesStub
Exceptions
TypeDescription
IOException

create(ConversationProfilesStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsConversationProfilesStubSettings
clientContextClientContext

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
NameDescription
settingsConversationProfilesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
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