@BetaApi @Generated(value="by gapic-generator-java") public class GrpcMemoryBankServiceStub extends MemoryBankServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcMemoryBankServiceStub, using the given settings.
|
protected |
GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcMemoryBankServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcMemoryBankServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcMemoryBankServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcMemoryBankServiceStub |
create(MemoryBankServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateMemoryRequest,com.google.longrunning.Operation> |
createMemoryCallable() |
com.google.api.gax.rpc.OperationCallable<CreateMemoryRequest,Memory,CreateMemoryOperationMetadata> |
createMemoryOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteMemoryRequest,com.google.longrunning.Operation> |
deleteMemoryCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteMemoryRequest,com.google.protobuf.Empty,DeleteMemoryOperationMetadata> |
deleteMemoryOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GenerateMemoriesRequest,com.google.longrunning.Operation> |
generateMemoriesCallable() |
com.google.api.gax.rpc.OperationCallable<GenerateMemoriesRequest,GenerateMemoriesResponse,GenerateMemoriesOperationMetadata> |
generateMemoriesOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetMemoryRequest,Memory> |
getMemoryCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MemoryBankServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListMemoriesRequest,ListMemoriesResponse> |
listMemoriesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListMemoriesRequest,MemoryBankServiceClient.ListMemoriesPagedResponse> |
listMemoriesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RetrieveMemoriesRequest,RetrieveMemoriesResponse> |
retrieveMemoriesCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateMemoryRequest,com.google.longrunning.Operation> |
updateMemoryCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateMemoryRequest,Memory,UpdateMemoryOperationMetadata> |
updateMemoryOperationCallable() |
protected GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcMemoryBankServiceStub(MemoryBankServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcMemoryBankServiceStub create(MemoryBankServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcMemoryBankServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcMemoryBankServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateMemoryRequest,com.google.longrunning.Operation> createMemoryCallable()
createMemoryCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateMemoryRequest,Memory,CreateMemoryOperationMetadata> createMemoryOperationCallable()
createMemoryOperationCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetMemoryRequest,Memory> getMemoryCallable()
getMemoryCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateMemoryRequest,com.google.longrunning.Operation> updateMemoryCallable()
updateMemoryCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.OperationCallable<UpdateMemoryRequest,Memory,UpdateMemoryOperationMetadata> updateMemoryOperationCallable()
updateMemoryOperationCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListMemoriesRequest,ListMemoriesResponse> listMemoriesCallable()
listMemoriesCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListMemoriesRequest,MemoryBankServiceClient.ListMemoriesPagedResponse> listMemoriesPagedCallable()
listMemoriesPagedCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteMemoryRequest,com.google.longrunning.Operation> deleteMemoryCallable()
deleteMemoryCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteMemoryRequest,com.google.protobuf.Empty,DeleteMemoryOperationMetadata> deleteMemoryOperationCallable()
deleteMemoryOperationCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GenerateMemoriesRequest,com.google.longrunning.Operation> generateMemoriesCallable()
generateMemoriesCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.OperationCallable<GenerateMemoriesRequest,GenerateMemoriesResponse,GenerateMemoriesOperationMetadata> generateMemoriesOperationCallable()
generateMemoriesOperationCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RetrieveMemoriesRequest,RetrieveMemoriesResponse> retrieveMemoriesCallable()
retrieveMemoriesCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,MemoryBankServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class MemoryBankServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class MemoryBankServiceStubpublic final void close()
close in interface AutoCloseableclose in class MemoryBankServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.