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 protected
HttpJsonConversationProfilesStub(ConversationProfilesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonConversationProfilesStub, using the given settings.protected
HttpJsonConversationProfilesStub(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:
getHttpJsonOperationsStub
in classConversationProfilesStub
-
listConversationProfilesCallable
public com.google.api.gax.rpc.UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse> listConversationProfilesCallable()
- Overrides:
listConversationProfilesCallable
in classConversationProfilesStub
-
listConversationProfilesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
- Overrides:
listConversationProfilesPagedCallable
in classConversationProfilesStub
-
getConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
- Overrides:
getConversationProfileCallable
in classConversationProfilesStub
-
createConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<CreateConversationProfileRequest,ConversationProfile> createConversationProfileCallable()
- Overrides:
createConversationProfileCallable
in classConversationProfilesStub
-
updateConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileCallable()
- Overrides:
updateConversationProfileCallable
in classConversationProfilesStub
-
deleteConversationProfileCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteConversationProfileRequest,com.google.protobuf.Empty> deleteConversationProfileCallable()
- Overrides:
deleteConversationProfileCallable
in classConversationProfilesStub
-
setSuggestionFeatureConfigCallable
public com.google.api.gax.rpc.UnaryCallable<SetSuggestionFeatureConfigRequest,com.google.longrunning.Operation> setSuggestionFeatureConfigCallable()
- Overrides:
setSuggestionFeatureConfigCallable
in classConversationProfilesStub
-
setSuggestionFeatureConfigOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetSuggestionFeatureConfigRequest,ConversationProfile,SetSuggestionFeatureConfigOperationMetadata> setSuggestionFeatureConfigOperationCallable()
- Overrides:
setSuggestionFeatureConfigOperationCallable
in classConversationProfilesStub
-
clearSuggestionFeatureConfigCallable
public com.google.api.gax.rpc.UnaryCallable<ClearSuggestionFeatureConfigRequest,com.google.longrunning.Operation> clearSuggestionFeatureConfigCallable()
- Overrides:
clearSuggestionFeatureConfigCallable
in classConversationProfilesStub
-
clearSuggestionFeatureConfigOperationCallable
public com.google.api.gax.rpc.OperationCallable<ClearSuggestionFeatureConfigRequest,ConversationProfile,ClearSuggestionFeatureConfigOperationMetadata> clearSuggestionFeatureConfigOperationCallable()
- Overrides:
clearSuggestionFeatureConfigOperationCallable
in classConversationProfilesStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classConversationProfilesStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationProfilesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classConversationProfilesStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classConversationProfilesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-