- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
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 | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcManagedNotebookServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcManagedNotebookServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ManagedNotebookServiceStubSettings settings)
public static final GrpcManagedNotebookServiceStub create(ManagedNotebookServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
ManagedNotebookServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcManagedNotebookServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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 | |
---|---|
Name | Description |
settings |
ManagedNotebookServiceStubSettings |
clientContext |
ClientContext |
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 | |
---|---|
Name | Description |
settings |
ManagedNotebookServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createRuntimeCallable()
public UnaryCallable<CreateRuntimeRequest,Operation> createRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRuntimeRequest,Operation> |
createRuntimeOperationCallable()
public OperationCallable<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRuntimeRequest,Runtime,OperationMetadata> |
deleteRuntimeCallable()
public UnaryCallable<DeleteRuntimeRequest,Operation> deleteRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRuntimeRequest,Operation> |
deleteRuntimeOperationCallable()
public OperationCallable<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRuntimeRequest,Empty,OperationMetadata> |
diagnoseRuntimeCallable()
public UnaryCallable<DiagnoseRuntimeRequest,Operation> diagnoseRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DiagnoseRuntimeRequest,Operation> |
diagnoseRuntimeOperationCallable()
public OperationCallable<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DiagnoseRuntimeRequest,Runtime,OperationMetadata> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getRuntimeCallable()
public UnaryCallable<GetRuntimeRequest,Runtime> getRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRuntimeRequest,Runtime> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,ManagedNotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listRuntimesCallable()
public UnaryCallable<ListRuntimesRequest,ListRuntimesResponse> listRuntimesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRuntimesRequest,ListRuntimesResponse> |
listRuntimesPagedCallable()
public UnaryCallable<ListRuntimesRequest,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRuntimesRequest,ListRuntimesPagedResponse> |
refreshRuntimeTokenInternalCallable()
public UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> |
reportRuntimeEventCallable()
public UnaryCallable<ReportRuntimeEventRequest,Operation> reportRuntimeEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ReportRuntimeEventRequest,Operation> |
reportRuntimeEventOperationCallable()
public OperationCallable<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ReportRuntimeEventRequest,Runtime,OperationMetadata> |
resetRuntimeCallable()
public UnaryCallable<ResetRuntimeRequest,Operation> resetRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResetRuntimeRequest,Operation> |
resetRuntimeOperationCallable()
public OperationCallable<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResetRuntimeRequest,Runtime,OperationMetadata> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startRuntimeCallable()
public UnaryCallable<StartRuntimeRequest,Operation> startRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartRuntimeRequest,Operation> |
startRuntimeOperationCallable()
public OperationCallable<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StartRuntimeRequest,Runtime,OperationMetadata> |
stopRuntimeCallable()
public UnaryCallable<StopRuntimeRequest,Operation> stopRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopRuntimeRequest,Operation> |
stopRuntimeOperationCallable()
public OperationCallable<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopRuntimeRequest,Runtime,OperationMetadata> |
switchRuntimeCallable()
public UnaryCallable<SwitchRuntimeRequest,Operation> switchRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SwitchRuntimeRequest,Operation> |
switchRuntimeOperationCallable()
public OperationCallable<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<SwitchRuntimeRequest,Runtime,OperationMetadata> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateRuntimeCallable()
public UnaryCallable<UpdateRuntimeRequest,Operation> updateRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRuntimeRequest,Operation> |
updateRuntimeOperationCallable()
public OperationCallable<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateRuntimeRequest,Runtime,OperationMetadata> |
upgradeRuntimeCallable()
public UnaryCallable<UpgradeRuntimeRequest,Operation> upgradeRuntimeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpgradeRuntimeRequest,Operation> |
upgradeRuntimeOperationCallable()
public OperationCallable<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpgradeRuntimeRequest,Runtime,OperationMetadata> |