Debian Codegraph @

googleapis/cloud/tpu/v1/alias.go

raw
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 tpu aliases all exported identifiers in package
18 // "cloud.google.com/go/tpu/apiv1/tpupb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package tpu
24
25 import (
26 src "cloud.google.com/go/tpu/apiv1/tpupb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/tpu/apiv1/tpupb
31 const (
32 Node_API_VERSION_UNSPECIFIED = src.Node_API_VERSION_UNSPECIFIED
33 Node_CREATING = src.Node_CREATING
34 Node_DELETING = src.Node_DELETING
35 Node_DEPRECATED_UNHEALTHY = src.Node_DEPRECATED_UNHEALTHY
36 Node_HEALTHY = src.Node_HEALTHY
37 Node_HEALTH_UNSPECIFIED = src.Node_HEALTH_UNSPECIFIED
38 Node_HIDDEN = src.Node_HIDDEN
39 Node_HIDING = src.Node_HIDING
40 Node_PREEMPTED = src.Node_PREEMPTED
41 Node_READY = src.Node_READY
42 Node_REIMAGING = src.Node_REIMAGING
43 Node_REPAIRING = src.Node_REPAIRING
44 Node_RESTARTING = src.Node_RESTARTING
45 Node_STARTING = src.Node_STARTING
46 Node_STATE_UNSPECIFIED = src.Node_STATE_UNSPECIFIED
47 Node_STOPPED = src.Node_STOPPED
48 Node_STOPPING = src.Node_STOPPING
49 Node_TERMINATED = src.Node_TERMINATED
50 Node_TIMEOUT = src.Node_TIMEOUT
51 Node_UNHEALTHY_MAINTENANCE = src.Node_UNHEALTHY_MAINTENANCE
52 Node_UNHEALTHY_TENSORFLOW = src.Node_UNHEALTHY_TENSORFLOW
53 Node_UNHIDING = src.Node_UNHIDING
54 Node_V1 = src.Node_V1
55 Node_V1_ALPHA1 = src.Node_V1_ALPHA1
56 Node_V2_ALPHA1 = src.Node_V2_ALPHA1
57 Symptom_EXECUTE_TIMED_OUT = src.Symptom_EXECUTE_TIMED_OUT
58 Symptom_HBM_OUT_OF_MEMORY = src.Symptom_HBM_OUT_OF_MEMORY
59 Symptom_LOW_MEMORY = src.Symptom_LOW_MEMORY
60 Symptom_MESH_BUILD_FAIL = src.Symptom_MESH_BUILD_FAIL
61 Symptom_OUT_OF_MEMORY = src.Symptom_OUT_OF_MEMORY
62 Symptom_PROJECT_ABUSE = src.Symptom_PROJECT_ABUSE
63 Symptom_SYMPTOM_TYPE_UNSPECIFIED = src.Symptom_SYMPTOM_TYPE_UNSPECIFIED
64 )
65
66 // Deprecated: Please use vars in: cloud.google.com/go/tpu/apiv1/tpupb
67 var (
68 File_google_cloud_tpu_v1_cloud_tpu_proto = src.File_google_cloud_tpu_v1_cloud_tpu_proto
69 Node_ApiVersion_name = src.Node_ApiVersion_name
70 Node_ApiVersion_value = src.Node_ApiVersion_value
71 Node_Health_name = src.Node_Health_name
72 Node_Health_value = src.Node_Health_value
73 Node_State_name = src.Node_State_name
74 Node_State_value = src.Node_State_value
75 Symptom_SymptomType_name = src.Symptom_SymptomType_name
76 Symptom_SymptomType_value = src.Symptom_SymptomType_value
77 )
78
79 // A accelerator type that a Node can be configured with.
80 //
81 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
82 type AcceleratorType = src.AcceleratorType
83
84 // Request for [CreateNode][google.cloud.tpu.v1.Tpu.CreateNode].
85 //
86 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
87 type CreateNodeRequest = src.CreateNodeRequest
88
89 // Request for [DeleteNode][google.cloud.tpu.v1.Tpu.DeleteNode].
90 //
91 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
92 type DeleteNodeRequest = src.DeleteNodeRequest
93
94 // Request for
95 // [GetAcceleratorType][google.cloud.tpu.v1.Tpu.GetAcceleratorType].
96 //
97 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
98 type GetAcceleratorTypeRequest = src.GetAcceleratorTypeRequest
99
100 // Request for [GetNode][google.cloud.tpu.v1.Tpu.GetNode].
101 //
102 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
103 type GetNodeRequest = src.GetNodeRequest
104
105 // Request for
106 // [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
107 //
108 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
109 type GetTensorFlowVersionRequest = src.GetTensorFlowVersionRequest
110
111 // Request for
112 // [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
113 //
114 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
115 type ListAcceleratorTypesRequest = src.ListAcceleratorTypesRequest
116
117 // Response for
118 // [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
119 //
120 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
121 type ListAcceleratorTypesResponse = src.ListAcceleratorTypesResponse
122
123 // Request for [ListNodes][google.cloud.tpu.v1.Tpu.ListNodes].
124 //
125 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
126 type ListNodesRequest = src.ListNodesRequest
127
128 // Response for [ListNodes][google.cloud.tpu.v1.Tpu.ListNodes].
129 //
130 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
131 type ListNodesResponse = src.ListNodesResponse
132
133 // Request for
134 // [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
135 //
136 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
137 type ListTensorFlowVersionsRequest = src.ListTensorFlowVersionsRequest
138
139 // Response for
140 // [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
143 type ListTensorFlowVersionsResponse = src.ListTensorFlowVersionsResponse
144
145 // A network endpoint over which a TPU worker can be reached.
146 //
147 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
148 type NetworkEndpoint = src.NetworkEndpoint
149
150 // A TPU instance.
151 //
152 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
153 type Node = src.Node
154
155 // TPU API Version.
156 //
157 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
158 type Node_ApiVersion = src.Node_ApiVersion
159
160 // Health defines the status of a TPU node as reported by Health Monitor.
161 //
162 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
163 type Node_Health = src.Node_Health
164
165 // Represents the different states of a TPU node during its lifecycle.
166 //
167 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
168 type Node_State = src.Node_State
169
170 // Metadata describing an [Operation][google.longrunning.Operation]
171 //
172 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
173 type OperationMetadata = src.OperationMetadata
174
175 // Request for [ReimageNode][google.cloud.tpu.v1.Tpu.ReimageNode].
176 //
177 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
178 type ReimageNodeRequest = src.ReimageNodeRequest
179
180 // Sets the scheduling options for this node.
181 //
182 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
183 type SchedulingConfig = src.SchedulingConfig
184
185 // Request for [StartNode][google.cloud.tpu.v1.Tpu.StartNode].
186 //
187 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
188 type StartNodeRequest = src.StartNodeRequest
189
190 // Request for [StopNode][google.cloud.tpu.v1.Tpu.StopNode].
191 //
192 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
193 type StopNodeRequest = src.StopNodeRequest
194
195 // A Symptom instance.
196 //
197 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
198 type Symptom = src.Symptom
199
200 // SymptomType represents the different types of Symptoms that a TPU can be
201 // at.
202 //
203 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
204 type Symptom_SymptomType = src.Symptom_SymptomType
205
206 // A tensorflow version that a Node can be configured with.
207 //
208 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
209 type TensorFlowVersion = src.TensorFlowVersion
210
211 // TpuClient is the client API for Tpu service. For semantics around ctx use
212 // and closing/ending streaming RPCs, please refer to
213 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
214 //
215 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
216 type TpuClient = src.TpuClient
217
218 // TpuServer is the server API for Tpu service.
219 //
220 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
221 type TpuServer = src.TpuServer
222
223 // UnimplementedTpuServer can be embedded to have forward compatible
224 // implementations.
225 //
226 // Deprecated: Please use types in: cloud.google.com/go/tpu/apiv1/tpupb
227 type UnimplementedTpuServer = src.UnimplementedTpuServer
228
229 // Deprecated: Please use funcs in: cloud.google.com/go/tpu/apiv1/tpupb
230 func NewTpuClient(cc grpc.ClientConnInterface) TpuClient { return src.NewTpuClient(cc) }
231
232 // Deprecated: Please use funcs in: cloud.google.com/go/tpu/apiv1/tpupb
233 func RegisterTpuServer(s *grpc.Server, srv TpuServer) { src.RegisterTpuServer(s, srv) }