@Generated(value="by gapic-generator-java") public class GrpcIntentsStub extends IntentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcIntentsStub(IntentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
protected |
GrpcIntentsStub(IntentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIntentsStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcIntentsStub(IntentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcIntentsStub create(IntentsStubSettings settings) throws IOException
IOException
public static final GrpcIntentsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcIntentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
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.