1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/tpu/v2alpha1/cloud_tpu.proto 18 19 package com.google.cloud.tpu.v2alpha1; 20 21 public interface QueuedResourceStateOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.QueuedResourceState) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * State of the QueuedResource request. 31 * </pre> 32 * 33 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;</code> 34 * 35 * @return The enum numeric value on the wire for state. 36 */ getStateValue()37 int getStateValue(); 38 /** 39 * 40 * 41 * <pre> 42 * State of the QueuedResource request. 43 * </pre> 44 * 45 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;</code> 46 * 47 * @return The state. 48 */ getState()49 com.google.cloud.tpu.v2alpha1.QueuedResourceState.State getState(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Further data for the creating state. 56 * </pre> 57 * 58 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;</code> 59 * 60 * @return Whether the creatingData field is set. 61 */ hasCreatingData()62 boolean hasCreatingData(); 63 /** 64 * 65 * 66 * <pre> 67 * Further data for the creating state. 68 * </pre> 69 * 70 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;</code> 71 * 72 * @return The creatingData. 73 */ getCreatingData()74 com.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData getCreatingData(); 75 /** 76 * 77 * 78 * <pre> 79 * Further data for the creating state. 80 * </pre> 81 * 82 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;</code> 83 */ 84 com.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()85 getCreatingDataOrBuilder(); 86 87 /** 88 * 89 * 90 * <pre> 91 * Further data for the accepted state. 92 * </pre> 93 * 94 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;</code> 95 * 96 * @return Whether the acceptedData field is set. 97 */ hasAcceptedData()98 boolean hasAcceptedData(); 99 /** 100 * 101 * 102 * <pre> 103 * Further data for the accepted state. 104 * </pre> 105 * 106 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;</code> 107 * 108 * @return The acceptedData. 109 */ getAcceptedData()110 com.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData getAcceptedData(); 111 /** 112 * 113 * 114 * <pre> 115 * Further data for the accepted state. 116 * </pre> 117 * 118 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;</code> 119 */ 120 com.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()121 getAcceptedDataOrBuilder(); 122 123 /** 124 * 125 * 126 * <pre> 127 * Further data for the provisioning state. 128 * </pre> 129 * 130 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4; 131 * </code> 132 * 133 * @return Whether the provisioningData field is set. 134 */ hasProvisioningData()135 boolean hasProvisioningData(); 136 /** 137 * 138 * 139 * <pre> 140 * Further data for the provisioning state. 141 * </pre> 142 * 143 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4; 144 * </code> 145 * 146 * @return The provisioningData. 147 */ getProvisioningData()148 com.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData getProvisioningData(); 149 /** 150 * 151 * 152 * <pre> 153 * Further data for the provisioning state. 154 * </pre> 155 * 156 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4; 157 * </code> 158 */ 159 com.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()160 getProvisioningDataOrBuilder(); 161 162 /** 163 * 164 * 165 * <pre> 166 * Further data for the failed state. 167 * </pre> 168 * 169 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;</code> 170 * 171 * @return Whether the failedData field is set. 172 */ hasFailedData()173 boolean hasFailedData(); 174 /** 175 * 176 * 177 * <pre> 178 * Further data for the failed state. 179 * </pre> 180 * 181 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;</code> 182 * 183 * @return The failedData. 184 */ getFailedData()185 com.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData getFailedData(); 186 /** 187 * 188 * 189 * <pre> 190 * Further data for the failed state. 191 * </pre> 192 * 193 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;</code> 194 */ getFailedDataOrBuilder()195 com.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder(); 196 197 /** 198 * 199 * 200 * <pre> 201 * Further data for the deleting state. 202 * </pre> 203 * 204 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;</code> 205 * 206 * @return Whether the deletingData field is set. 207 */ hasDeletingData()208 boolean hasDeletingData(); 209 /** 210 * 211 * 212 * <pre> 213 * Further data for the deleting state. 214 * </pre> 215 * 216 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;</code> 217 * 218 * @return The deletingData. 219 */ getDeletingData()220 com.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData getDeletingData(); 221 /** 222 * 223 * 224 * <pre> 225 * Further data for the deleting state. 226 * </pre> 227 * 228 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;</code> 229 */ 230 com.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()231 getDeletingDataOrBuilder(); 232 233 /** 234 * 235 * 236 * <pre> 237 * Further data for the active state. 238 * </pre> 239 * 240 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;</code> 241 * 242 * @return Whether the activeData field is set. 243 */ hasActiveData()244 boolean hasActiveData(); 245 /** 246 * 247 * 248 * <pre> 249 * Further data for the active state. 250 * </pre> 251 * 252 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;</code> 253 * 254 * @return The activeData. 255 */ getActiveData()256 com.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData getActiveData(); 257 /** 258 * 259 * 260 * <pre> 261 * Further data for the active state. 262 * </pre> 263 * 264 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;</code> 265 */ getActiveDataOrBuilder()266 com.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder(); 267 268 /** 269 * 270 * 271 * <pre> 272 * Further data for the suspending state. 273 * </pre> 274 * 275 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;</code> 276 * 277 * @return Whether the suspendingData field is set. 278 */ hasSuspendingData()279 boolean hasSuspendingData(); 280 /** 281 * 282 * 283 * <pre> 284 * Further data for the suspending state. 285 * </pre> 286 * 287 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;</code> 288 * 289 * @return The suspendingData. 290 */ getSuspendingData()291 com.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData getSuspendingData(); 292 /** 293 * 294 * 295 * <pre> 296 * Further data for the suspending state. 297 * </pre> 298 * 299 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;</code> 300 */ 301 com.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()302 getSuspendingDataOrBuilder(); 303 304 /** 305 * 306 * 307 * <pre> 308 * Further data for the suspended state. 309 * </pre> 310 * 311 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;</code> 312 * 313 * @return Whether the suspendedData field is set. 314 */ hasSuspendedData()315 boolean hasSuspendedData(); 316 /** 317 * 318 * 319 * <pre> 320 * Further data for the suspended state. 321 * </pre> 322 * 323 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;</code> 324 * 325 * @return The suspendedData. 326 */ getSuspendedData()327 com.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData getSuspendedData(); 328 /** 329 * 330 * 331 * <pre> 332 * Further data for the suspended state. 333 * </pre> 334 * 335 * <code>.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;</code> 336 */ 337 com.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()338 getSuspendedDataOrBuilder(); 339 getStateDataCase()340 public com.google.cloud.tpu.v2alpha1.QueuedResourceState.StateDataCase getStateDataCase(); 341 } 342