Class GrpcNotebookServiceStub (1.15.0)

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.

Inheritance

java.lang.Object > NotebookServiceStub > GrpcNotebookServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcNotebookServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcNotebookServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcNotebookServiceStub
Exceptions
TypeDescription
IOException

create(NotebookServiceStubSettings settings)

public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings)
Parameter
NameDescription
settingsNotebookServiceStubSettings
Returns
TypeDescription
GrpcNotebookServiceStub
Exceptions
TypeDescription
IOException

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.

Parameters
NameDescription
settingsNotebookServiceStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsNotebookServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createEnvironmentCallable()

public UnaryCallable<CreateEnvironmentRequest,Operation> createEnvironmentCallable()
Overrides

createEnvironmentOperationCallable()

public OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
Overrides

createExecutionCallable()

public UnaryCallable<CreateExecutionRequest,Operation> createExecutionCallable()
Overrides

createExecutionOperationCallable()

public OperationCallable<CreateExecutionRequest,Execution,OperationMetadata> createExecutionOperationCallable()
Overrides

createInstanceCallable()

public UnaryCallable<CreateInstanceRequest,Operation> createInstanceCallable()
Overrides

createInstanceOperationCallable()

public OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
Overrides

createScheduleCallable()

public UnaryCallable<CreateScheduleRequest,Operation> createScheduleCallable()
Overrides

createScheduleOperationCallable()

public OperationCallable<CreateScheduleRequest,Schedule,OperationMetadata> createScheduleOperationCallable()
Overrides

deleteEnvironmentCallable()

public UnaryCallable<DeleteEnvironmentRequest,Operation> deleteEnvironmentCallable()
Overrides

deleteEnvironmentOperationCallable()

public OperationCallable<DeleteEnvironmentRequest,Empty,OperationMetadata> deleteEnvironmentOperationCallable()
Overrides

deleteExecutionCallable()

public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Overrides

deleteExecutionOperationCallable()

public OperationCallable<DeleteExecutionRequest,Empty,OperationMetadata> deleteExecutionOperationCallable()
Overrides

deleteInstanceCallable()

public UnaryCallable<DeleteInstanceRequest,Operation> deleteInstanceCallable()
Overrides

deleteInstanceOperationCallable()

public OperationCallable<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationCallable()
Overrides

deleteScheduleCallable()

public UnaryCallable<DeleteScheduleRequest,Operation> deleteScheduleCallable()
Overrides

deleteScheduleOperationCallable()

public OperationCallable<DeleteScheduleRequest,Empty,OperationMetadata> deleteScheduleOperationCallable()
Overrides

diagnoseInstanceCallable()

public UnaryCallable<DiagnoseInstanceRequest,Operation> diagnoseInstanceCallable()
Overrides

diagnoseInstanceOperationCallable()

public OperationCallable<DiagnoseInstanceRequest,Instance,OperationMetadata> diagnoseInstanceOperationCallable()
Overrides

getEnvironmentCallable()

public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
Overrides

getExecutionCallable()

public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Overrides

getInstanceHealthCallable()

public UnaryCallable<GetInstanceHealthRequest,GetInstanceHealthResponse> getInstanceHealthCallable()
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getScheduleCallable()

public UnaryCallable<GetScheduleRequest,Schedule> getScheduleCallable()
Overrides

isInstanceUpgradeableCallable()

public UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEnvironmentsCallable()

public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
Overrides

listEnvironmentsPagedCallable()

public UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
Overrides

listExecutionsCallable()

public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Overrides

listExecutionsPagedCallable()

public UnaryCallable<ListExecutionsRequest,NotebookServiceClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Overrides

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listSchedulesCallable()

public UnaryCallable<ListSchedulesRequest,ListSchedulesResponse> listSchedulesCallable()
Overrides

listSchedulesPagedCallable()

public UnaryCallable<ListSchedulesRequest,NotebookServiceClient.ListSchedulesPagedResponse> listSchedulesPagedCallable()
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

rollbackInstanceCallable()

public UnaryCallable<RollbackInstanceRequest,Operation> rollbackInstanceCallable()
Overrides

rollbackInstanceOperationCallable()

public OperationCallable<RollbackInstanceRequest,Instance,OperationMetadata> rollbackInstanceOperationCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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()

public void 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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

triggerScheduleCallable()

public UnaryCallable<TriggerScheduleRequest,Operation> triggerScheduleCallable()
Overrides

triggerScheduleOperationCallable()

public OperationCallable<TriggerScheduleRequest,Schedule,OperationMetadata> triggerScheduleOperationCallable()
Overrides

updateInstanceConfigCallable()

public UnaryCallable<UpdateInstanceConfigRequest,Operation> updateInstanceConfigCallable()
Overrides

updateInstanceConfigOperationCallable()

public OperationCallable<UpdateInstanceConfigRequest,Instance,OperationMetadata> updateInstanceConfigOperationCallable()
Overrides

updateInstanceMetadataItemsCallable()

public UnaryCallable<UpdateInstanceMetadataItemsRequest,UpdateInstanceMetadataItemsResponse> updateInstanceMetadataItemsCallable()
Overrides

updateShieldedInstanceConfigCallable()

public UnaryCallable<UpdateShieldedInstanceConfigRequest,Operation> updateShieldedInstanceConfigCallable()
Overrides

updateShieldedInstanceConfigOperationCallable()

public OperationCallable<UpdateShieldedInstanceConfigRequest,Instance,OperationMetadata> updateShieldedInstanceConfigOperationCallable()
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