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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface LicenseCodeOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.LicenseCode) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Creation timestamp in RFC3339 text format. 31 * </pre> 32 * 33 * <code>optional string creation_timestamp = 30525366;</code> 34 * 35 * @return Whether the creationTimestamp field is set. 36 */ hasCreationTimestamp()37 boolean hasCreationTimestamp(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Creation timestamp in RFC3339 text format. 43 * </pre> 44 * 45 * <code>optional string creation_timestamp = 30525366;</code> 46 * 47 * @return The creationTimestamp. 48 */ getCreationTimestamp()49 java.lang.String getCreationTimestamp(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Creation timestamp in RFC3339 text format. 55 * </pre> 56 * 57 * <code>optional string creation_timestamp = 30525366;</code> 58 * 59 * @return The bytes for creationTimestamp. 60 */ getCreationTimestampBytes()61 com.google.protobuf.ByteString getCreationTimestampBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * [Output Only] Description of this License Code. 68 * </pre> 69 * 70 * <code>optional string description = 422937596;</code> 71 * 72 * @return Whether the description field is set. 73 */ hasDescription()74 boolean hasDescription(); 75 /** 76 * 77 * 78 * <pre> 79 * [Output Only] Description of this License Code. 80 * </pre> 81 * 82 * <code>optional string description = 422937596;</code> 83 * 84 * @return The description. 85 */ getDescription()86 java.lang.String getDescription(); 87 /** 88 * 89 * 90 * <pre> 91 * [Output Only] Description of this License Code. 92 * </pre> 93 * 94 * <code>optional string description = 422937596;</code> 95 * 96 * @return The bytes for description. 97 */ getDescriptionBytes()98 com.google.protobuf.ByteString getDescriptionBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 105 * </pre> 106 * 107 * <code>optional uint64 id = 3355;</code> 108 * 109 * @return Whether the id field is set. 110 */ hasId()111 boolean hasId(); 112 /** 113 * 114 * 115 * <pre> 116 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 117 * </pre> 118 * 119 * <code>optional uint64 id = 3355;</code> 120 * 121 * @return The id. 122 */ getId()123 long getId(); 124 125 /** 126 * 127 * 128 * <pre> 129 * [Output Only] Type of resource. Always compute#licenseCode for licenses. 130 * </pre> 131 * 132 * <code>optional string kind = 3292052;</code> 133 * 134 * @return Whether the kind field is set. 135 */ hasKind()136 boolean hasKind(); 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] Type of resource. Always compute#licenseCode for licenses. 142 * </pre> 143 * 144 * <code>optional string kind = 3292052;</code> 145 * 146 * @return The kind. 147 */ getKind()148 java.lang.String getKind(); 149 /** 150 * 151 * 152 * <pre> 153 * [Output Only] Type of resource. Always compute#licenseCode for licenses. 154 * </pre> 155 * 156 * <code>optional string kind = 3292052;</code> 157 * 158 * @return The bytes for kind. 159 */ getKindBytes()160 com.google.protobuf.ByteString getKindBytes(); 161 162 /** 163 * 164 * 165 * <pre> 166 * [Output Only] URL and description aliases of Licenses with the same License Code. 167 * </pre> 168 * 169 * <code>repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930; 170 * </code> 171 */ getLicenseAliasList()172 java.util.List<com.google.cloud.compute.v1.LicenseCodeLicenseAlias> getLicenseAliasList(); 173 /** 174 * 175 * 176 * <pre> 177 * [Output Only] URL and description aliases of Licenses with the same License Code. 178 * </pre> 179 * 180 * <code>repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930; 181 * </code> 182 */ getLicenseAlias(int index)183 com.google.cloud.compute.v1.LicenseCodeLicenseAlias getLicenseAlias(int index); 184 /** 185 * 186 * 187 * <pre> 188 * [Output Only] URL and description aliases of Licenses with the same License Code. 189 * </pre> 190 * 191 * <code>repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930; 192 * </code> 193 */ getLicenseAliasCount()194 int getLicenseAliasCount(); 195 /** 196 * 197 * 198 * <pre> 199 * [Output Only] URL and description aliases of Licenses with the same License Code. 200 * </pre> 201 * 202 * <code>repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930; 203 * </code> 204 */ 205 java.util.List<? extends com.google.cloud.compute.v1.LicenseCodeLicenseAliasOrBuilder> getLicenseAliasOrBuilderList()206 getLicenseAliasOrBuilderList(); 207 /** 208 * 209 * 210 * <pre> 211 * [Output Only] URL and description aliases of Licenses with the same License Code. 212 * </pre> 213 * 214 * <code>repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930; 215 * </code> 216 */ getLicenseAliasOrBuilder(int index)217 com.google.cloud.compute.v1.LicenseCodeLicenseAliasOrBuilder getLicenseAliasOrBuilder(int index); 218 219 /** 220 * 221 * 222 * <pre> 223 * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. 224 * </pre> 225 * 226 * <code>optional string name = 3373707;</code> 227 * 228 * @return Whether the name field is set. 229 */ hasName()230 boolean hasName(); 231 /** 232 * 233 * 234 * <pre> 235 * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. 236 * </pre> 237 * 238 * <code>optional string name = 3373707;</code> 239 * 240 * @return The name. 241 */ getName()242 java.lang.String getName(); 243 /** 244 * 245 * 246 * <pre> 247 * [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. 248 * </pre> 249 * 250 * <code>optional string name = 3373707;</code> 251 * 252 * @return The bytes for name. 253 */ getNameBytes()254 com.google.protobuf.ByteString getNameBytes(); 255 256 /** 257 * 258 * 259 * <pre> 260 * [Output Only] Server-defined URL for the resource. 261 * </pre> 262 * 263 * <code>optional string self_link = 456214797;</code> 264 * 265 * @return Whether the selfLink field is set. 266 */ hasSelfLink()267 boolean hasSelfLink(); 268 /** 269 * 270 * 271 * <pre> 272 * [Output Only] Server-defined URL for the resource. 273 * </pre> 274 * 275 * <code>optional string self_link = 456214797;</code> 276 * 277 * @return The selfLink. 278 */ getSelfLink()279 java.lang.String getSelfLink(); 280 /** 281 * 282 * 283 * <pre> 284 * [Output Only] Server-defined URL for the resource. 285 * </pre> 286 * 287 * <code>optional string self_link = 456214797;</code> 288 * 289 * @return The bytes for selfLink. 290 */ getSelfLinkBytes()291 com.google.protobuf.ByteString getSelfLinkBytes(); 292 293 /** 294 * 295 * 296 * <pre> 297 * [Output Only] Current state of this License Code. 298 * Check the State enum for the list of possible values. 299 * </pre> 300 * 301 * <code>optional string state = 109757585;</code> 302 * 303 * @return Whether the state field is set. 304 */ hasState()305 boolean hasState(); 306 /** 307 * 308 * 309 * <pre> 310 * [Output Only] Current state of this License Code. 311 * Check the State enum for the list of possible values. 312 * </pre> 313 * 314 * <code>optional string state = 109757585;</code> 315 * 316 * @return The state. 317 */ getState()318 java.lang.String getState(); 319 /** 320 * 321 * 322 * <pre> 323 * [Output Only] Current state of this License Code. 324 * Check the State enum for the list of possible values. 325 * </pre> 326 * 327 * <code>optional string state = 109757585;</code> 328 * 329 * @return The bytes for state. 330 */ getStateBytes()331 com.google.protobuf.ByteString getStateBytes(); 332 333 /** 334 * 335 * 336 * <pre> 337 * [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. 338 * </pre> 339 * 340 * <code>optional bool transferable = 4349893;</code> 341 * 342 * @return Whether the transferable field is set. 343 */ hasTransferable()344 boolean hasTransferable(); 345 /** 346 * 347 * 348 * <pre> 349 * [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. 350 * </pre> 351 * 352 * <code>optional bool transferable = 4349893;</code> 353 * 354 * @return The transferable. 355 */ getTransferable()356 boolean getTransferable(); 357 } 358