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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ManagedNotebookServiceStubSettings settings)
public static final GrpcManagedNotebookServiceStub create(ManagedNotebookServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createRuntimeCallable()
public UnaryCallable<CreateRuntimeRequest,Operation> createRuntimeCallable()
Overrides
createRuntimeOperationCallable()
public OperationCallable<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationCallable()
Overrides
deleteRuntimeCallable()
public UnaryCallable<DeleteRuntimeRequest,Operation> deleteRuntimeCallable()
Overrides
deleteRuntimeOperationCallable()
public OperationCallable<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationCallable()
Overrides
diagnoseRuntimeCallable()
public UnaryCallable<DiagnoseRuntimeRequest,Operation> diagnoseRuntimeCallable()
Overrides
diagnoseRuntimeOperationCallable()
public OperationCallable<DiagnoseRuntimeRequest,Runtime,OperationMetadata> diagnoseRuntimeOperationCallable()
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()
Overrides
getRuntimeCallable()
public UnaryCallable<GetRuntimeRequest,Runtime> getRuntimeCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
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()
Overrides
listRuntimesCallable()
public UnaryCallable<ListRuntimesRequest,ListRuntimesResponse> listRuntimesCallable()
Overrides
listRuntimesPagedCallable()
public UnaryCallable<ListRuntimesRequest,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesPagedCallable()
Overrides
refreshRuntimeTokenInternalCallable()
public UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalCallable()
Overrides
reportRuntimeEventCallable()
public UnaryCallable<ReportRuntimeEventRequest,Operation> reportRuntimeEventCallable()
Overrides
reportRuntimeEventOperationCallable()
public OperationCallable<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationCallable()
Overrides
resetRuntimeCallable()
public UnaryCallable<ResetRuntimeRequest,Operation> resetRuntimeCallable()
Overrides
resetRuntimeOperationCallable()
public OperationCallable<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationCallable()
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()
Overrides
startRuntimeOperationCallable()
public OperationCallable<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationCallable()
Overrides
stopRuntimeCallable()
public UnaryCallable<StopRuntimeRequest,Operation> stopRuntimeCallable()
Overrides
stopRuntimeOperationCallable()
public OperationCallable<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationCallable()
Overrides
switchRuntimeCallable()
public UnaryCallable<SwitchRuntimeRequest,Operation> switchRuntimeCallable()
Overrides
switchRuntimeOperationCallable()
public OperationCallable<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationCallable()
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()
Overrides
updateRuntimeOperationCallable()
public OperationCallable<UpdateRuntimeRequest,Runtime,OperationMetadata> updateRuntimeOperationCallable()
Overrides
upgradeRuntimeCallable()
public UnaryCallable<UpgradeRuntimeRequest,Operation> upgradeRuntimeCallable()
Overrides
upgradeRuntimeOperationCallable()
public OperationCallable<UpgradeRuntimeRequest,Runtime,OperationMetadata> upgradeRuntimeOperationCallable()
Overrides