Class GrpcManagedNotebookServiceStub
java.lang.Object
com.google.cloud.notebooks.v1.stub.ManagedNotebookServiceStub
com.google.cloud.notebooks.v1.stub.GrpcManagedNotebookServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcManagedNotebookServiceStub
extends ManagedNotebookServiceStub
gRPC stub implementation for the ManagedNotebookService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcManagedNotebookServiceStub, using the given settings.protectedGrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcManagedNotebookServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcManagedNotebookServiceStubcreate(ClientContext clientContext) static final GrpcManagedNotebookServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcManagedNotebookServiceStubcreate(ManagedNotebookServiceStubSettings settings) OperationCallable<DeleteRuntimeRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcManagedNotebookServiceStub
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcManagedNotebookServiceStub, 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
-
GrpcManagedNotebookServiceStub
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcManagedNotebookServiceStub, 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 GrpcManagedNotebookServiceStub create(ManagedNotebookServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classManagedNotebookServiceStub
-
listRuntimesCallable
- Overrides:
listRuntimesCallablein classManagedNotebookServiceStub
-
listRuntimesPagedCallable
public UnaryCallable<ListRuntimesRequest,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesPagedCallable()- Overrides:
listRuntimesPagedCallablein classManagedNotebookServiceStub
-
getRuntimeCallable
- Overrides:
getRuntimeCallablein classManagedNotebookServiceStub
-
createRuntimeCallable
- Overrides:
createRuntimeCallablein classManagedNotebookServiceStub
-
createRuntimeOperationCallable
public OperationCallable<CreateRuntimeRequest,Runtime, createRuntimeOperationCallable()OperationMetadata> - Overrides:
createRuntimeOperationCallablein classManagedNotebookServiceStub
-
updateRuntimeCallable
- Overrides:
updateRuntimeCallablein classManagedNotebookServiceStub
-
updateRuntimeOperationCallable
public OperationCallable<UpdateRuntimeRequest,Runtime, updateRuntimeOperationCallable()OperationMetadata> - Overrides:
updateRuntimeOperationCallablein classManagedNotebookServiceStub
-
deleteRuntimeCallable
- Overrides:
deleteRuntimeCallablein classManagedNotebookServiceStub
-
deleteRuntimeOperationCallable
public OperationCallable<DeleteRuntimeRequest,com.google.protobuf.Empty, deleteRuntimeOperationCallable()OperationMetadata> - Overrides:
deleteRuntimeOperationCallablein classManagedNotebookServiceStub
-
startRuntimeCallable
- Overrides:
startRuntimeCallablein classManagedNotebookServiceStub
-
startRuntimeOperationCallable
public OperationCallable<StartRuntimeRequest,Runtime, startRuntimeOperationCallable()OperationMetadata> - Overrides:
startRuntimeOperationCallablein classManagedNotebookServiceStub
-
stopRuntimeCallable
- Overrides:
stopRuntimeCallablein classManagedNotebookServiceStub
-
stopRuntimeOperationCallable
public OperationCallable<StopRuntimeRequest,Runtime, stopRuntimeOperationCallable()OperationMetadata> - Overrides:
stopRuntimeOperationCallablein classManagedNotebookServiceStub
-
switchRuntimeCallable
- Overrides:
switchRuntimeCallablein classManagedNotebookServiceStub
-
switchRuntimeOperationCallable
public OperationCallable<SwitchRuntimeRequest,Runtime, switchRuntimeOperationCallable()OperationMetadata> - Overrides:
switchRuntimeOperationCallablein classManagedNotebookServiceStub
-
resetRuntimeCallable
- Overrides:
resetRuntimeCallablein classManagedNotebookServiceStub
-
resetRuntimeOperationCallable
public OperationCallable<ResetRuntimeRequest,Runtime, resetRuntimeOperationCallable()OperationMetadata> - Overrides:
resetRuntimeOperationCallablein classManagedNotebookServiceStub
-
upgradeRuntimeCallable
- Overrides:
upgradeRuntimeCallablein classManagedNotebookServiceStub
-
upgradeRuntimeOperationCallable
public OperationCallable<UpgradeRuntimeRequest,Runtime, upgradeRuntimeOperationCallable()OperationMetadata> - Overrides:
upgradeRuntimeOperationCallablein classManagedNotebookServiceStub
-
reportRuntimeEventCallable
- Overrides:
reportRuntimeEventCallablein classManagedNotebookServiceStub
-
reportRuntimeEventOperationCallable
public OperationCallable<ReportRuntimeEventRequest,Runtime, reportRuntimeEventOperationCallable()OperationMetadata> - Overrides:
reportRuntimeEventOperationCallablein classManagedNotebookServiceStub
-
refreshRuntimeTokenInternalCallable
public UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalCallable()- Overrides:
refreshRuntimeTokenInternalCallablein classManagedNotebookServiceStub
-
diagnoseRuntimeCallable
- Overrides:
diagnoseRuntimeCallablein classManagedNotebookServiceStub
-
diagnoseRuntimeOperationCallable
public OperationCallable<DiagnoseRuntimeRequest,Runtime, diagnoseRuntimeOperationCallable()OperationMetadata> - Overrides:
diagnoseRuntimeOperationCallablein classManagedNotebookServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classManagedNotebookServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classManagedNotebookServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classManagedNotebookServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classManagedNotebookServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classManagedNotebookServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classManagedNotebookServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classManagedNotebookServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-