Class GrpcPersistentResourceServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.PersistentResourceServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcPersistentResourceServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcPersistentResourceServiceStub
extends PersistentResourceServiceStub
gRPC stub implementation for the PersistentResourceService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcPersistentResourceServiceStub, using the given settings.protectedGrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcPersistentResourceServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcPersistentResourceServiceStubcreate(ClientContext clientContext) static final GrpcPersistentResourceServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcPersistentResourceServiceStubcreate(PersistentResourceServiceStubSettings settings) OperationCallable<CreatePersistentResourceRequest,PersistentResource, CreatePersistentResourceOperationMetadata> OperationCallable<DeletePersistentResourceRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanUnaryCallable<ListPersistentResourcesRequest,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> OperationCallable<RebootPersistentResourceRequest,PersistentResource, RebootPersistentResourceOperationMetadata> voidshutdown()voidOperationCallable<UpdatePersistentResourceRequest,PersistentResource, UpdatePersistentResourceOperationMetadata>
-
Constructor Details
-
GrpcPersistentResourceServiceStub
protected GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcPersistentResourceServiceStub, 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
-
GrpcPersistentResourceServiceStub
protected GrpcPersistentResourceServiceStub(PersistentResourceServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcPersistentResourceServiceStub, 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 GrpcPersistentResourceServiceStub create(PersistentResourceServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcPersistentResourceServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcPersistentResourceServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classPersistentResourceServiceStub
-
createPersistentResourceCallable
- Overrides:
createPersistentResourceCallablein classPersistentResourceServiceStub
-
createPersistentResourceOperationCallable
public OperationCallable<CreatePersistentResourceRequest,PersistentResource, createPersistentResourceOperationCallable()CreatePersistentResourceOperationMetadata> - Overrides:
createPersistentResourceOperationCallablein classPersistentResourceServiceStub
-
getPersistentResourceCallable
public UnaryCallable<GetPersistentResourceRequest,PersistentResource> getPersistentResourceCallable()- Overrides:
getPersistentResourceCallablein classPersistentResourceServiceStub
-
listPersistentResourcesCallable
public UnaryCallable<ListPersistentResourcesRequest,ListPersistentResourcesResponse> listPersistentResourcesCallable()- Overrides:
listPersistentResourcesCallablein classPersistentResourceServiceStub
-
listPersistentResourcesPagedCallable
public UnaryCallable<ListPersistentResourcesRequest,PersistentResourceServiceClient.ListPersistentResourcesPagedResponse> listPersistentResourcesPagedCallable()- Overrides:
listPersistentResourcesPagedCallablein classPersistentResourceServiceStub
-
deletePersistentResourceCallable
- Overrides:
deletePersistentResourceCallablein classPersistentResourceServiceStub
-
deletePersistentResourceOperationCallable
public OperationCallable<DeletePersistentResourceRequest,com.google.protobuf.Empty, deletePersistentResourceOperationCallable()DeleteOperationMetadata> - Overrides:
deletePersistentResourceOperationCallablein classPersistentResourceServiceStub
-
updatePersistentResourceCallable
- Overrides:
updatePersistentResourceCallablein classPersistentResourceServiceStub
-
updatePersistentResourceOperationCallable
public OperationCallable<UpdatePersistentResourceRequest,PersistentResource, updatePersistentResourceOperationCallable()UpdatePersistentResourceOperationMetadata> - Overrides:
updatePersistentResourceOperationCallablein classPersistentResourceServiceStub
-
rebootPersistentResourceCallable
- Overrides:
rebootPersistentResourceCallablein classPersistentResourceServiceStub
-
rebootPersistentResourceOperationCallable
public OperationCallable<RebootPersistentResourceRequest,PersistentResource, rebootPersistentResourceOperationCallable()RebootPersistentResourceOperationMetadata> - Overrides:
rebootPersistentResourceOperationCallablein classPersistentResourceServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classPersistentResourceServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,PersistentResourceServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classPersistentResourceServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classPersistentResourceServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classPersistentResourceServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classPersistentResourceServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classPersistentResourceServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classPersistentResourceServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-