@BetaApi @Generated(value="by gapic-generator-java") public class GrpcNotebookServiceStub extends NotebookServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcNotebookServiceStub(NotebookServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcNotebookServiceStub, using the given settings.
|
protected |
GrpcNotebookServiceStub(NotebookServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcNotebookServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcNotebookServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcNotebookServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcNotebookServiceStub |
create(NotebookServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateEnvironmentRequest,com.google.longrunning.Operation> |
createEnvironmentCallable() |
com.google.api.gax.rpc.OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> |
createEnvironmentOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<CreateInstanceRequest,com.google.longrunning.Operation> |
createInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> |
createInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteEnvironmentRequest,com.google.longrunning.Operation> |
deleteEnvironmentCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteEnvironmentOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteInstanceRequest,com.google.longrunning.Operation> |
deleteInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<GetEnvironmentRequest,Environment> |
getEnvironmentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetInstanceRequest,Instance> |
getInstanceCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> |
isInstanceUpgradeableCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> |
listEnvironmentsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> |
listEnvironmentsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,ListInstancesResponse> |
listInstancesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> |
listInstancesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<RegisterInstanceRequest,com.google.longrunning.Operation> |
registerInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<RegisterInstanceRequest,Instance,OperationMetadata> |
registerInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<ReportInstanceInfoRequest,com.google.longrunning.Operation> |
reportInstanceInfoCallable() |
com.google.api.gax.rpc.OperationCallable<ReportInstanceInfoRequest,Instance,OperationMetadata> |
reportInstanceInfoOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<ResetInstanceRequest,com.google.longrunning.Operation> |
resetInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<ResetInstanceRequest,Instance,OperationMetadata> |
resetInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<SetInstanceAcceleratorRequest,com.google.longrunning.Operation> |
setInstanceAcceleratorCallable() |
com.google.api.gax.rpc.OperationCallable<SetInstanceAcceleratorRequest,Instance,OperationMetadata> |
setInstanceAcceleratorOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<SetInstanceLabelsRequest,com.google.longrunning.Operation> |
setInstanceLabelsCallable() |
com.google.api.gax.rpc.OperationCallable<SetInstanceLabelsRequest,Instance,OperationMetadata> |
setInstanceLabelsOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<SetInstanceMachineTypeRequest,com.google.longrunning.Operation> |
setInstanceMachineTypeCallable() |
com.google.api.gax.rpc.OperationCallable<SetInstanceMachineTypeRequest,Instance,OperationMetadata> |
setInstanceMachineTypeOperationCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<StartInstanceRequest,com.google.longrunning.Operation> |
startInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<StartInstanceRequest,Instance,OperationMetadata> |
startInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<StopInstanceRequest,com.google.longrunning.Operation> |
stopInstanceCallable() |
com.google.api.gax.rpc.OperationCallable<StopInstanceRequest,Instance,OperationMetadata> |
stopInstanceOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpgradeInstanceRequest,com.google.longrunning.Operation> |
upgradeInstanceCallable() |
com.google.api.gax.rpc.UnaryCallable<UpgradeInstanceInternalRequest,com.google.longrunning.Operation> |
upgradeInstanceInternalCallable() |
com.google.api.gax.rpc.OperationCallable<UpgradeInstanceInternalRequest,Instance,OperationMetadata> |
upgradeInstanceInternalOperationCallable() |
com.google.api.gax.rpc.OperationCallable<UpgradeInstanceRequest,Instance,OperationMetadata> |
upgradeInstanceOperationCallable() |
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcNotebookServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcNotebookServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
listInstancesCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListInstancesRequest,NotebookServiceClient.ListInstancesPagedResponse> listInstancesPagedCallable()
listInstancesPagedCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
getInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceCallable()
createInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationCallable()
createInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<RegisterInstanceRequest,com.google.longrunning.Operation> registerInstanceCallable()
registerInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<RegisterInstanceRequest,Instance,OperationMetadata> registerInstanceOperationCallable()
registerInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SetInstanceAcceleratorRequest,com.google.longrunning.Operation> setInstanceAcceleratorCallable()
setInstanceAcceleratorCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<SetInstanceAcceleratorRequest,Instance,OperationMetadata> setInstanceAcceleratorOperationCallable()
setInstanceAcceleratorOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SetInstanceMachineTypeRequest,com.google.longrunning.Operation> setInstanceMachineTypeCallable()
setInstanceMachineTypeCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<SetInstanceMachineTypeRequest,Instance,OperationMetadata> setInstanceMachineTypeOperationCallable()
setInstanceMachineTypeOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SetInstanceLabelsRequest,com.google.longrunning.Operation> setInstanceLabelsCallable()
setInstanceLabelsCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<SetInstanceLabelsRequest,Instance,OperationMetadata> setInstanceLabelsOperationCallable()
setInstanceLabelsOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceCallable()
deleteInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteInstanceRequest,com.google.protobuf.Empty,OperationMetadata> deleteInstanceOperationCallable()
deleteInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<StartInstanceRequest,com.google.longrunning.Operation> startInstanceCallable()
startInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<StartInstanceRequest,Instance,OperationMetadata> startInstanceOperationCallable()
startInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<StopInstanceRequest,com.google.longrunning.Operation> stopInstanceCallable()
stopInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<StopInstanceRequest,Instance,OperationMetadata> stopInstanceOperationCallable()
stopInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ResetInstanceRequest,com.google.longrunning.Operation> resetInstanceCallable()
resetInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<ResetInstanceRequest,Instance,OperationMetadata> resetInstanceOperationCallable()
resetInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ReportInstanceInfoRequest,com.google.longrunning.Operation> reportInstanceInfoCallable()
reportInstanceInfoCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<ReportInstanceInfoRequest,Instance,OperationMetadata> reportInstanceInfoOperationCallable()
reportInstanceInfoOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<IsInstanceUpgradeableRequest,IsInstanceUpgradeableResponse> isInstanceUpgradeableCallable()
isInstanceUpgradeableCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpgradeInstanceRequest,com.google.longrunning.Operation> upgradeInstanceCallable()
upgradeInstanceCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<UpgradeInstanceRequest,Instance,OperationMetadata> upgradeInstanceOperationCallable()
upgradeInstanceOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpgradeInstanceInternalRequest,com.google.longrunning.Operation> upgradeInstanceInternalCallable()
upgradeInstanceInternalCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<UpgradeInstanceInternalRequest,Instance,OperationMetadata> upgradeInstanceInternalOperationCallable()
upgradeInstanceInternalOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
listEnvironmentsCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListEnvironmentsRequest,NotebookServiceClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
listEnvironmentsPagedCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
getEnvironmentCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateEnvironmentRequest,com.google.longrunning.Operation> createEnvironmentCallable()
createEnvironmentCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<CreateEnvironmentRequest,Environment,OperationMetadata> createEnvironmentOperationCallable()
createEnvironmentOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteEnvironmentRequest,com.google.longrunning.Operation> deleteEnvironmentCallable()
deleteEnvironmentCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty,OperationMetadata> deleteEnvironmentOperationCallable()
deleteEnvironmentOperationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class NotebookServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class NotebookServiceStubpublic final void close()
close in interface AutoCloseableclose in class NotebookServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.