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.
Static Methods
create(ClientContext clientContext)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ManagedNotebookServiceStubSettings settings)
public static final GrpcManagedNotebookServiceStub create(ManagedNotebookServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext)
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext)
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.
Parameters
GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createRuntimeCallable()
public UnaryCallable<CreateRuntimeRequest,Operation> createRuntimeCallable()
Returns
Overrides
createRuntimeOperationCallable()
public OperationCallable<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationCallable()
Returns
Overrides
deleteRuntimeCallable()
public UnaryCallable<DeleteRuntimeRequest,Operation> deleteRuntimeCallable()
Returns
Overrides
deleteRuntimeOperationCallable()
public OperationCallable<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationCallable()
Returns
Overrides
diagnoseRuntimeCallable()
public UnaryCallable<DiagnoseRuntimeRequest,Operation> diagnoseRuntimeCallable()
Returns
Overrides
diagnoseRuntimeOperationCallable()
public OperationCallable<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getRuntimeCallable()
public UnaryCallable<GetRuntimeRequest,Runtime> getRuntimeCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> | |
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
listRuntimesCallable()
public UnaryCallable<ListRuntimesRequest,ListRuntimesResponse> listRuntimesCallable()
Returns
Overrides
listRuntimesPagedCallable()
public UnaryCallable<ListRuntimesRequest,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesPagedCallable()
Returns
Overrides
refreshRuntimeTokenInternalCallable()
public UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalCallable()
Returns
Overrides
reportRuntimeEventCallable()
public UnaryCallable<ReportRuntimeEventRequest,Operation> reportRuntimeEventCallable()
Returns
Overrides
reportRuntimeEventOperationCallable()
public OperationCallable<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationCallable()
Returns
Overrides
resetRuntimeCallable()
public UnaryCallable<ResetRuntimeRequest,Operation> resetRuntimeCallable()
Returns
Overrides
resetRuntimeOperationCallable()
public OperationCallable<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startRuntimeCallable()
public UnaryCallable<StartRuntimeRequest,Operation> startRuntimeCallable()
Returns
Overrides
startRuntimeOperationCallable()
public OperationCallable<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationCallable()
Returns
Overrides
stopRuntimeCallable()
public UnaryCallable<StopRuntimeRequest,Operation> stopRuntimeCallable()
Returns
Overrides
stopRuntimeOperationCallable()
public OperationCallable<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationCallable()
Returns
Overrides
switchRuntimeCallable()
public UnaryCallable<SwitchRuntimeRequest,Operation> switchRuntimeCallable()
Returns
Overrides
switchRuntimeOperationCallable()
public OperationCallable<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationCallable()
Returns
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
updateRuntimeCallable()
public UnaryCallable<UpdateRuntimeRequest,Operation> updateRuntimeCallable()
Returns
Overrides
updateRuntimeOperationCallable()
public OperationCallable<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationCallable()
Returns
Overrides
upgradeRuntimeCallable()
public UnaryCallable<UpgradeRuntimeRequest,Operation> upgradeRuntimeCallable()
Returns
Overrides
upgradeRuntimeOperationCallable()
public OperationCallable<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationCallable()
Returns
Overrides