| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package notebooks aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/notebooks/apiv1beta1/notebookspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package notebooks |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/notebooks/apiv1beta1/notebookspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 31 |
const ( |
| 32 |
Instance_ACCELERATOR_TYPE_UNSPECIFIED = src.Instance_ACCELERATOR_TYPE_UNSPECIFIED |
| 33 |
Instance_ACTIVE = src.Instance_ACTIVE |
| 34 |
Instance_CMEK = src.Instance_CMEK |
| 35 |
Instance_DELETED = src.Instance_DELETED |
| 36 |
Instance_DISK_ENCRYPTION_UNSPECIFIED = src.Instance_DISK_ENCRYPTION_UNSPECIFIED |
| 37 |
Instance_DISK_TYPE_UNSPECIFIED = src.Instance_DISK_TYPE_UNSPECIFIED |
| 38 |
Instance_GMEK = src.Instance_GMEK |
| 39 |
Instance_INITIALIZING = src.Instance_INITIALIZING |
| 40 |
Instance_NVIDIA_TESLA_K80 = src.Instance_NVIDIA_TESLA_K80 |
| 41 |
Instance_NVIDIA_TESLA_P100 = src.Instance_NVIDIA_TESLA_P100 |
| 42 |
Instance_NVIDIA_TESLA_P100_VWS = src.Instance_NVIDIA_TESLA_P100_VWS |
| 43 |
Instance_NVIDIA_TESLA_P4 = src.Instance_NVIDIA_TESLA_P4 |
| 44 |
Instance_NVIDIA_TESLA_P4_VWS = src.Instance_NVIDIA_TESLA_P4_VWS |
| 45 |
Instance_NVIDIA_TESLA_T4 = src.Instance_NVIDIA_TESLA_T4 |
| 46 |
Instance_NVIDIA_TESLA_T4_VWS = src.Instance_NVIDIA_TESLA_T4_VWS |
| 47 |
Instance_NVIDIA_TESLA_V100 = src.Instance_NVIDIA_TESLA_V100 |
| 48 |
Instance_PD_BALANCED = src.Instance_PD_BALANCED |
| 49 |
Instance_PD_SSD = src.Instance_PD_SSD |
| 50 |
Instance_PD_STANDARD = src.Instance_PD_STANDARD |
| 51 |
Instance_PROVISIONING = src.Instance_PROVISIONING |
| 52 |
Instance_REGISTERING = src.Instance_REGISTERING |
| 53 |
Instance_STARTING = src.Instance_STARTING |
| 54 |
Instance_STATE_UNSPECIFIED = src.Instance_STATE_UNSPECIFIED |
| 55 |
Instance_STOPPED = src.Instance_STOPPED |
| 56 |
Instance_STOPPING = src.Instance_STOPPING |
| 57 |
Instance_TPU_V2 = src.Instance_TPU_V2 |
| 58 |
Instance_TPU_V3 = src.Instance_TPU_V3 |
| 59 |
Instance_UPGRADING = src.Instance_UPGRADING |
| 60 |
) |
| 61 |
|
| 62 |
// Deprecated: Please use vars in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 63 |
var ( |
| 64 |
File_google_cloud_notebooks_v1beta1_environment_proto = src.File_google_cloud_notebooks_v1beta1_environment_proto |
| 65 |
File_google_cloud_notebooks_v1beta1_instance_proto = src.File_google_cloud_notebooks_v1beta1_instance_proto |
| 66 |
File_google_cloud_notebooks_v1beta1_service_proto = src.File_google_cloud_notebooks_v1beta1_service_proto |
| 67 |
Instance_AcceleratorType_name = src.Instance_AcceleratorType_name |
| 68 |
Instance_AcceleratorType_value = src.Instance_AcceleratorType_value |
| 69 |
Instance_DiskEncryption_name = src.Instance_DiskEncryption_name |
| 70 |
Instance_DiskEncryption_value = src.Instance_DiskEncryption_value |
| 71 |
Instance_DiskType_name = src.Instance_DiskType_name |
| 72 |
Instance_DiskType_value = src.Instance_DiskType_value |
| 73 |
Instance_State_name = src.Instance_State_name |
| 74 |
Instance_State_value = src.Instance_State_value |
| 75 |
) |
| 76 |
|
| 77 |
// Definition of a container image for starting a notebook instance with the |
| 78 |
// environment installed in a container. |
| 79 |
// |
| 80 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 81 |
type ContainerImage = src.ContainerImage |
| 82 |
|
| 83 |
// Request for creating a notebook environment. |
| 84 |
// |
| 85 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 86 |
type CreateEnvironmentRequest = src.CreateEnvironmentRequest |
| 87 |
|
| 88 |
// Request for creating a notebook instance. |
| 89 |
// |
| 90 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 91 |
type CreateInstanceRequest = src.CreateInstanceRequest |
| 92 |
|
| 93 |
// Request for deleting a notebook environment. |
| 94 |
// |
| 95 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 96 |
type DeleteEnvironmentRequest = src.DeleteEnvironmentRequest |
| 97 |
|
| 98 |
// Request for deleting a notebook instance. |
| 99 |
// |
| 100 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 101 |
type DeleteInstanceRequest = src.DeleteInstanceRequest |
| 102 |
|
| 103 |
// Definition of a software environment that is used to start a notebook |
| 104 |
// instance. |
| 105 |
// |
| 106 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 107 |
type Environment = src.Environment |
| 108 |
type Environment_ContainerImage = src.Environment_ContainerImage |
| 109 |
type Environment_VmImage = src.Environment_VmImage |
| 110 |
|
| 111 |
// Request for getting a notebook environment. |
| 112 |
// |
| 113 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 114 |
type GetEnvironmentRequest = src.GetEnvironmentRequest |
| 115 |
|
| 116 |
// Request for getting a notebook instance. |
| 117 |
// |
| 118 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 119 |
type GetInstanceRequest = src.GetInstanceRequest |
| 120 |
|
| 121 |
// The definition of a notebook instance. |
| 122 |
// |
| 123 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 124 |
type Instance = src.Instance |
| 125 |
|
| 126 |
// Definition of a hardware accelerator. Note that not all combinations of |
| 127 |
// `type` and `core_count` are valid. Check [GPUs on Compute |
| 128 |
// Engine](/compute/docs/gpus/#gpus-list) to find a valid combination. TPUs are |
| 129 |
// not supported. |
| 130 |
// |
| 131 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 132 |
type Instance_AcceleratorConfig = src.Instance_AcceleratorConfig |
| 133 |
|
| 134 |
// Definition of the types of hardware accelerators that can be used on this |
| 135 |
// instance. |
| 136 |
// |
| 137 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 138 |
type Instance_AcceleratorType = src.Instance_AcceleratorType |
| 139 |
type Instance_ContainerImage = src.Instance_ContainerImage |
| 140 |
|
| 141 |
// Definition of the disk encryption options. |
| 142 |
// |
| 143 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 144 |
type Instance_DiskEncryption = src.Instance_DiskEncryption |
| 145 |
|
| 146 |
// Possible disk types for notebook instances. |
| 147 |
// |
| 148 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 149 |
type Instance_DiskType = src.Instance_DiskType |
| 150 |
|
| 151 |
// The definition of the states of this instance. |
| 152 |
// |
| 153 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 154 |
type Instance_State = src.Instance_State |
| 155 |
type Instance_VmImage = src.Instance_VmImage |
| 156 |
|
| 157 |
// Request for checking if a notebook instance is upgradeable. |
| 158 |
// |
| 159 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 160 |
type IsInstanceUpgradeableRequest = src.IsInstanceUpgradeableRequest |
| 161 |
|
| 162 |
// Response for checking if a notebook instance is upgradeable. |
| 163 |
// |
| 164 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 165 |
type IsInstanceUpgradeableResponse = src.IsInstanceUpgradeableResponse |
| 166 |
|
| 167 |
// Request for listing environments. |
| 168 |
// |
| 169 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 170 |
type ListEnvironmentsRequest = src.ListEnvironmentsRequest |
| 171 |
|
| 172 |
// Response for listing environments. |
| 173 |
// |
| 174 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 175 |
type ListEnvironmentsResponse = src.ListEnvironmentsResponse |
| 176 |
|
| 177 |
// Request for listing notebook instances. |
| 178 |
// |
| 179 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 180 |
type ListInstancesRequest = src.ListInstancesRequest |
| 181 |
|
| 182 |
// Response for listing notebook instances. |
| 183 |
// |
| 184 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 185 |
type ListInstancesResponse = src.ListInstancesResponse |
| 186 |
|
| 187 |
// NotebookServiceClient is the client API for NotebookService service. For |
| 188 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 189 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 190 |
// |
| 191 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 192 |
type NotebookServiceClient = src.NotebookServiceClient |
| 193 |
|
| 194 |
// NotebookServiceServer is the server API for NotebookService service. |
| 195 |
// |
| 196 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 197 |
type NotebookServiceServer = src.NotebookServiceServer |
| 198 |
|
| 199 |
// Represents the metadata of the long-running operation. |
| 200 |
// |
| 201 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 202 |
type OperationMetadata = src.OperationMetadata |
| 203 |
|
| 204 |
// Request for registering a notebook instance. |
| 205 |
// |
| 206 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 207 |
type RegisterInstanceRequest = src.RegisterInstanceRequest |
| 208 |
|
| 209 |
// Request for notebook instances to report information to Notebooks API. |
| 210 |
// |
| 211 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 212 |
type ReportInstanceInfoRequest = src.ReportInstanceInfoRequest |
| 213 |
|
| 214 |
// Request for reseting a notebook instance |
| 215 |
// |
| 216 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 217 |
type ResetInstanceRequest = src.ResetInstanceRequest |
| 218 |
|
| 219 |
// Request for setting instance accelerator. |
| 220 |
// |
| 221 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 222 |
type SetInstanceAcceleratorRequest = src.SetInstanceAcceleratorRequest |
| 223 |
|
| 224 |
// Request for setting instance labels. |
| 225 |
// |
| 226 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 227 |
type SetInstanceLabelsRequest = src.SetInstanceLabelsRequest |
| 228 |
|
| 229 |
// Request for setting instance machine type. |
| 230 |
// |
| 231 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 232 |
type SetInstanceMachineTypeRequest = src.SetInstanceMachineTypeRequest |
| 233 |
|
| 234 |
// Request for starting a notebook instance |
| 235 |
// |
| 236 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 237 |
type StartInstanceRequest = src.StartInstanceRequest |
| 238 |
|
| 239 |
// Request for stopping a notebook instance |
| 240 |
// |
| 241 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 242 |
type StopInstanceRequest = src.StopInstanceRequest |
| 243 |
|
| 244 |
// UnimplementedNotebookServiceServer can be embedded to have forward |
| 245 |
// compatible implementations. |
| 246 |
// |
| 247 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 248 |
type UnimplementedNotebookServiceServer = src.UnimplementedNotebookServiceServer |
| 249 |
|
| 250 |
// Request for upgrading a notebook instance from within the VM |
| 251 |
// |
| 252 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 253 |
type UpgradeInstanceInternalRequest = src.UpgradeInstanceInternalRequest |
| 254 |
|
| 255 |
// Request for upgrading a notebook instance |
| 256 |
// |
| 257 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 258 |
type UpgradeInstanceRequest = src.UpgradeInstanceRequest |
| 259 |
|
| 260 |
// Definition of a custom Compute Engine virtual machine image for starting a |
| 261 |
// notebook instance with the environment installed directly on the VM. |
| 262 |
// |
| 263 |
// Deprecated: Please use types in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 264 |
type VmImage = src.VmImage |
| 265 |
type VmImage_ImageFamily = src.VmImage_ImageFamily |
| 266 |
type VmImage_ImageName = src.VmImage_ImageName |
| 267 |
|
| 268 |
// Deprecated: Please use funcs in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 269 |
func NewNotebookServiceClient(cc grpc.ClientConnInterface) NotebookServiceClient { |
| 270 |
return src.NewNotebookServiceClient(cc) |
| 271 |
} |
| 272 |
|
| 273 |
// Deprecated: Please use funcs in: cloud.google.com/go/notebooks/apiv1beta1/notebookspb |
| 274 |
func RegisterNotebookServiceServer(s *grpc.Server, srv NotebookServiceServer) { |
| 275 |
src.RegisterNotebookServiceServer(s, srv) |
| 276 |
} |