Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcNotebookServiceStub extends NotebookServiceStub
gRPC stub implementation for the NotebookService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcNotebookServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(NotebookServiceStubSettings settings)
public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings)
Constructors
GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcNotebookServiceStub, 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.
GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcNotebookServiceStub, 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
createEnvironmentCallable()
public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Overrides
createEnvironmentOperationCallable()
public OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
Overrides
createInstanceCallable()
public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Overrides
createInstanceOperationCallable()
public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Overrides
deleteEnvironmentCallable()
public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Overrides
deleteEnvironmentOperationCallable()
public OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationCallable()
Overrides
deleteInstanceCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Overrides
deleteInstanceOperationCallable()
public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Overrides
getEnvironmentCallable()
public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
getInstanceCallable()
public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
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
isInstanceUpgradeableCallable()
public UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listEnvironmentsCallable()
public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
Overrides
listEnvironmentsPagedCallable()
public UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides
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,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
registerInstanceCallable()
public UnaryCallable<RegisterInstanceRequest,Operation> registerInstanceCallable()
Overrides
registerInstanceOperationCallable()
public OperationCallable<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationCallable()
Overrides
reportInstanceInfoCallable()
public UnaryCallable<ReportInstanceInfoRequest,Operation> reportInstanceInfoCallable()
Overrides
reportInstanceInfoOperationCallable()
public OperationCallable<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationCallable()
Overrides
resetInstanceCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetInstanceCallable()
Overrides
resetInstanceOperationCallable()
public OperationCallable<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
Overrides
setInstanceAcceleratorCallable()
public UnaryCallable<SetInstanceAcceleratorRequest,Operation> setInstanceAcceleratorCallable()
Overrides
setInstanceAcceleratorOperationCallable()
public OperationCallable<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationCallable()
Overrides
setInstanceLabelsCallable()
public UnaryCallable<SetInstanceLabelsRequest,Operation> setInstanceLabelsCallable()
Overrides
setInstanceLabelsOperationCallable()
public OperationCallable<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationCallable()
Overrides
setInstanceMachineTypeCallable()
public UnaryCallable<SetInstanceMachineTypeRequest,Operation> setInstanceMachineTypeCallable()
Overrides
setInstanceMachineTypeOperationCallable()
public OperationCallable<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startInstanceCallable()
public UnaryCallable<StartInstanceRequest,Operation> startInstanceCallable()
Overrides
startInstanceOperationCallable()
public OperationCallable<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationCallable()
Overrides
stopInstanceCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopInstanceCallable()
Overrides
stopInstanceOperationCallable()
public OperationCallable<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationCallable()
Overrides
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type
Description
UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
Overrides
upgradeInstanceCallable()
public UnaryCallable<UpgradeInstanceRequest,Operation> upgradeInstanceCallable()
Overrides
upgradeInstanceInternalCallable()
public UnaryCallable<UpgradeInstanceInternalRequest,Operation> upgradeInstanceInternalCallable()
Overrides
upgradeInstanceInternalOperationCallable()
public OperationCallable<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationCallable()
Overrides
upgradeInstanceOperationCallable()
public OperationCallable<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationCallable()
Overrides