Class GrpcMemoryBankServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.MemoryBankServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcMemoryBankServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcMemoryBankServiceStub
extends MemoryBankServiceStub
gRPC stub implementation for the MemoryBankService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcMemoryBankServiceStub, using the given settings.protectedGrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMemoryBankServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcMemoryBankServiceStubcreate(ClientContext clientContext) static final GrpcMemoryBankServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcMemoryBankServiceStubcreate(MemoryBankServiceStubSettings settings) OperationCallable<DeleteMemoryRequest,com.google.protobuf.Empty, DeleteMemoryOperationMetadata> OperationCallable<GenerateMemoriesRequest,GenerateMemoriesResponse, GenerateMemoriesOperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcMemoryBankServiceStub
protected GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcMemoryBankServiceStub, 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
-
GrpcMemoryBankServiceStub
protected GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcMemoryBankServiceStub, 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 Details
-
create
public static final GrpcMemoryBankServiceStub create(MemoryBankServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcMemoryBankServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcMemoryBankServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classMemoryBankServiceStub
-
createMemoryCallable
- Overrides:
createMemoryCallablein classMemoryBankServiceStub
-
createMemoryOperationCallable
public OperationCallable<CreateMemoryRequest,Memory, createMemoryOperationCallable()CreateMemoryOperationMetadata> - Overrides:
createMemoryOperationCallablein classMemoryBankServiceStub
-
getMemoryCallable
- Overrides:
getMemoryCallablein classMemoryBankServiceStub
-
updateMemoryCallable
- Overrides:
updateMemoryCallablein classMemoryBankServiceStub
-
updateMemoryOperationCallable
public OperationCallable<UpdateMemoryRequest,Memory, updateMemoryOperationCallable()UpdateMemoryOperationMetadata> - Overrides:
updateMemoryOperationCallablein classMemoryBankServiceStub
-
listMemoriesCallable
- Overrides:
listMemoriesCallablein classMemoryBankServiceStub
-
listMemoriesPagedCallable
public UnaryCallable<ListMemoriesRequest,MemoryBankServiceClient.ListMemoriesPagedResponse> listMemoriesPagedCallable()- Overrides:
listMemoriesPagedCallablein classMemoryBankServiceStub
-
deleteMemoryCallable
- Overrides:
deleteMemoryCallablein classMemoryBankServiceStub
-
deleteMemoryOperationCallable
public OperationCallable<DeleteMemoryRequest,com.google.protobuf.Empty, deleteMemoryOperationCallable()DeleteMemoryOperationMetadata> - Overrides:
deleteMemoryOperationCallablein classMemoryBankServiceStub
-
generateMemoriesCallable
- Overrides:
generateMemoriesCallablein classMemoryBankServiceStub
-
generateMemoriesOperationCallable
public OperationCallable<GenerateMemoriesRequest,GenerateMemoriesResponse, generateMemoriesOperationCallable()GenerateMemoriesOperationMetadata> - Overrides:
generateMemoriesOperationCallablein classMemoryBankServiceStub
-
retrieveMemoriesCallable
- Overrides:
retrieveMemoriesCallablein classMemoryBankServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classMemoryBankServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,MemoryBankServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classMemoryBankServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classMemoryBankServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classMemoryBankServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classMemoryBankServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classMemoryBankServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMemoryBankServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-