@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonIntentsStub extends IntentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonIntentsStub(IntentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonIntentsStub, using the given settings.
|
protected |
HttpJsonIntentsStub(IntentsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonIntentsStub, using the given settings.
|
getOperationsStub
protected HttpJsonIntentsStub(IntentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonIntentsStub(IntentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonIntentsStub create(IntentsStubSettings settings) throws IOException
IOException
public static final HttpJsonIntentsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonIntentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
in class IntentsStub
public UnaryCallable<ListIntentsRequest,ListIntentsResponse> listIntentsCallable()
listIntentsCallable
in class IntentsStub
public UnaryCallable<ListIntentsRequest,IntentsClient.ListIntentsPagedResponse> listIntentsPagedCallable()
listIntentsPagedCallable
in class IntentsStub
public UnaryCallable<GetIntentRequest,Intent> getIntentCallable()
getIntentCallable
in class IntentsStub
public UnaryCallable<CreateIntentRequest,Intent> createIntentCallable()
createIntentCallable
in class IntentsStub
public UnaryCallable<UpdateIntentRequest,Intent> updateIntentCallable()
updateIntentCallable
in class IntentsStub
public UnaryCallable<DeleteIntentRequest,Empty> deleteIntentCallable()
deleteIntentCallable
in class IntentsStub
public UnaryCallable<BatchUpdateIntentsRequest,Operation> batchUpdateIntentsCallable()
batchUpdateIntentsCallable
in class IntentsStub
public OperationCallable<BatchUpdateIntentsRequest,BatchUpdateIntentsResponse,Struct> batchUpdateIntentsOperationCallable()
batchUpdateIntentsOperationCallable
in class IntentsStub
public UnaryCallable<BatchDeleteIntentsRequest,Operation> batchDeleteIntentsCallable()
batchDeleteIntentsCallable
in class IntentsStub
public OperationCallable<BatchDeleteIntentsRequest,Empty,Struct> batchDeleteIntentsOperationCallable()
batchDeleteIntentsOperationCallable
in class IntentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class IntentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,IntentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class IntentsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class IntentsStub
public final void close()
close
in interface AutoCloseable
close
in class IntentsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.