Class HttpJsonConversationProfilesStub
- java.lang.Object
-
- com.google.cloud.dialogflow.v2beta1.stub.ConversationProfilesStub
-
- com.google.cloud.dialogflow.v2beta1.stub.HttpJsonConversationProfilesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonConversationProfilesStub, using the given settings.protectedHttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonConversationProfilesStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.dialogflow.v2beta1.stub.ConversationProfilesStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonConversationProfilesStub
protected HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonConversationProfilesStub
protected HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonConversationProfilesStub create(ConversationProfilesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonConversationProfilesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonConversationProfilesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classConversationProfilesStub
-
listConversationProfilesCallable
public com.google.api.gax.rpc.UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse> listConversationProfilesCallable()
- Overrides:
listConversationProfilesCallablein classConversationProfilesStub
-
listConversationProfilesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
- Overrides:
listConversationProfilesPagedCallablein classConversationProfilesStub
-
getConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
- Overrides:
getConversationProfileCallablein classConversationProfilesStub
-
createConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<CreateConversationProfileRequest,ConversationProfile> createConversationProfileCallable()
- Overrides:
createConversationProfileCallablein classConversationProfilesStub
-
updateConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileCallable()
- Overrides:
updateConversationProfileCallablein classConversationProfilesStub
-
deleteConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteConversationProfileRequest,com.google.protobuf.Empty> deleteConversationProfileCallable()
- Overrides:
deleteConversationProfileCallablein classConversationProfilesStub
-
setSuggestionFeatureConfigCallable
public com.google.api.gax.rpc.UnaryCallable<SetSuggestionFeatureConfigRequest,com.google.longrunning.Operation> setSuggestionFeatureConfigCallable()
- Overrides:
setSuggestionFeatureConfigCallablein classConversationProfilesStub
-
setSuggestionFeatureConfigOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata> setSuggestionFeatureConfigOperationCallable()
- Overrides:
setSuggestionFeatureConfigOperationCallablein classConversationProfilesStub
-
clearSuggestionFeatureConfigCallable
public com.google.api.gax.rpc.UnaryCallable<ClearSuggestionFeatureConfigRequest,com.google.longrunning.Operation> clearSuggestionFeatureConfigCallable()
- Overrides:
clearSuggestionFeatureConfigCallablein classConversationProfilesStub
-
clearSuggestionFeatureConfigOperationCallable
public com.google.api.gax.rpc.OperationCallable<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata> clearSuggestionFeatureConfigOperationCallable()
- Overrides:
clearSuggestionFeatureConfigOperationCallablein classConversationProfilesStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classConversationProfilesStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationProfilesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classConversationProfilesStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classConversationProfilesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classConversationProfilesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-