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/beyondcorp/appgateways/v1/app_gateways_service.proto 18 19 package com.google.cloud.beyondcorp.appgateways.v1; 20 21 public interface AppGatewayOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.beyondcorp.appgateways.v1.AppGateway) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Unique resource name of the AppGateway. 31 * The name is ignored when creating an AppGateway. 32 * </pre> 33 * 34 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * Required. Unique resource name of the AppGateway. 44 * The name is ignored when creating an AppGateway. 45 * </pre> 46 * 47 * <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Output only. Timestamp when the resource was created. 58 * </pre> 59 * 60 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 61 * </code> 62 * 63 * @return Whether the createTime field is set. 64 */ hasCreateTime()65 boolean hasCreateTime(); 66 /** 67 * 68 * 69 * <pre> 70 * Output only. Timestamp when the resource was created. 71 * </pre> 72 * 73 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 74 * </code> 75 * 76 * @return The createTime. 77 */ getCreateTime()78 com.google.protobuf.Timestamp getCreateTime(); 79 /** 80 * 81 * 82 * <pre> 83 * Output only. Timestamp when the resource was created. 84 * </pre> 85 * 86 * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; 87 * </code> 88 */ getCreateTimeOrBuilder()89 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 90 91 /** 92 * 93 * 94 * <pre> 95 * Output only. Timestamp when the resource was last modified. 96 * </pre> 97 * 98 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 99 * </code> 100 * 101 * @return Whether the updateTime field is set. 102 */ hasUpdateTime()103 boolean hasUpdateTime(); 104 /** 105 * 106 * 107 * <pre> 108 * Output only. Timestamp when the resource was last modified. 109 * </pre> 110 * 111 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 112 * </code> 113 * 114 * @return The updateTime. 115 */ getUpdateTime()116 com.google.protobuf.Timestamp getUpdateTime(); 117 /** 118 * 119 * 120 * <pre> 121 * Output only. Timestamp when the resource was last modified. 122 * </pre> 123 * 124 * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; 125 * </code> 126 */ getUpdateTimeOrBuilder()127 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 128 129 /** 130 * 131 * 132 * <pre> 133 * Optional. Resource labels to represent user provided metadata. 134 * </pre> 135 * 136 * <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 137 */ getLabelsCount()138 int getLabelsCount(); 139 /** 140 * 141 * 142 * <pre> 143 * Optional. Resource labels to represent user provided metadata. 144 * </pre> 145 * 146 * <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 147 */ containsLabels(java.lang.String key)148 boolean containsLabels(java.lang.String key); 149 /** Use {@link #getLabelsMap()} instead. */ 150 @java.lang.Deprecated getLabels()151 java.util.Map<java.lang.String, java.lang.String> getLabels(); 152 /** 153 * 154 * 155 * <pre> 156 * Optional. Resource labels to represent user provided metadata. 157 * </pre> 158 * 159 * <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 160 */ getLabelsMap()161 java.util.Map<java.lang.String, java.lang.String> getLabelsMap(); 162 /** 163 * 164 * 165 * <pre> 166 * Optional. Resource labels to represent user provided metadata. 167 * </pre> 168 * 169 * <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 170 */ 171 /* nullable */ getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)172 java.lang.String getLabelsOrDefault( 173 java.lang.String key, 174 /* nullable */ 175 java.lang.String defaultValue); 176 /** 177 * 178 * 179 * <pre> 180 * Optional. Resource labels to represent user provided metadata. 181 * </pre> 182 * 183 * <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 184 */ getLabelsOrThrow(java.lang.String key)185 java.lang.String getLabelsOrThrow(java.lang.String key); 186 187 /** 188 * 189 * 190 * <pre> 191 * Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 192 * 64 characters. 193 * </pre> 194 * 195 * <code>string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];</code> 196 * 197 * @return The displayName. 198 */ getDisplayName()199 java.lang.String getDisplayName(); 200 /** 201 * 202 * 203 * <pre> 204 * Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 205 * 64 characters. 206 * </pre> 207 * 208 * <code>string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];</code> 209 * 210 * @return The bytes for displayName. 211 */ getDisplayNameBytes()212 com.google.protobuf.ByteString getDisplayNameBytes(); 213 214 /** 215 * 216 * 217 * <pre> 218 * Output only. A unique identifier for the instance generated by the 219 * system. 220 * </pre> 221 * 222 * <code>string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 223 * 224 * @return The uid. 225 */ getUid()226 java.lang.String getUid(); 227 /** 228 * 229 * 230 * <pre> 231 * Output only. A unique identifier for the instance generated by the 232 * system. 233 * </pre> 234 * 235 * <code>string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 236 * 237 * @return The bytes for uid. 238 */ getUidBytes()239 com.google.protobuf.ByteString getUidBytes(); 240 241 /** 242 * 243 * 244 * <pre> 245 * Required. The type of network connectivity used by the AppGateway. 246 * </pre> 247 * 248 * <code> 249 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.Type type = 7 [(.google.api.field_behavior) = REQUIRED]; 250 * </code> 251 * 252 * @return The enum numeric value on the wire for type. 253 */ getTypeValue()254 int getTypeValue(); 255 /** 256 * 257 * 258 * <pre> 259 * Required. The type of network connectivity used by the AppGateway. 260 * </pre> 261 * 262 * <code> 263 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.Type type = 7 [(.google.api.field_behavior) = REQUIRED]; 264 * </code> 265 * 266 * @return The type. 267 */ getType()268 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.Type getType(); 269 270 /** 271 * 272 * 273 * <pre> 274 * Output only. The current state of the AppGateway. 275 * </pre> 276 * 277 * <code> 278 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; 279 * </code> 280 * 281 * @return The enum numeric value on the wire for state. 282 */ getStateValue()283 int getStateValue(); 284 /** 285 * 286 * 287 * <pre> 288 * Output only. The current state of the AppGateway. 289 * </pre> 290 * 291 * <code> 292 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; 293 * </code> 294 * 295 * @return The state. 296 */ getState()297 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.State getState(); 298 299 /** 300 * 301 * 302 * <pre> 303 * Output only. Server-defined URI for this resource. 304 * </pre> 305 * 306 * <code>string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 307 * 308 * @return The uri. 309 */ getUri()310 java.lang.String getUri(); 311 /** 312 * 313 * 314 * <pre> 315 * Output only. Server-defined URI for this resource. 316 * </pre> 317 * 318 * <code>string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 319 * 320 * @return The bytes for uri. 321 */ getUriBytes()322 com.google.protobuf.ByteString getUriBytes(); 323 324 /** 325 * 326 * 327 * <pre> 328 * Output only. A list of connections allocated for the Gateway 329 * </pre> 330 * 331 * <code> 332 * repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 333 * </code> 334 */ 335 java.util.List<com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection> getAllocatedConnectionsList()336 getAllocatedConnectionsList(); 337 /** 338 * 339 * 340 * <pre> 341 * Output only. A list of connections allocated for the Gateway 342 * </pre> 343 * 344 * <code> 345 * repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 346 * </code> 347 */ getAllocatedConnections( int index)348 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection getAllocatedConnections( 349 int index); 350 /** 351 * 352 * 353 * <pre> 354 * Output only. A list of connections allocated for the Gateway 355 * </pre> 356 * 357 * <code> 358 * repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 359 * </code> 360 */ getAllocatedConnectionsCount()361 int getAllocatedConnectionsCount(); 362 /** 363 * 364 * 365 * <pre> 366 * Output only. A list of connections allocated for the Gateway 367 * </pre> 368 * 369 * <code> 370 * repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 371 * </code> 372 */ 373 java.util.List< 374 ? extends 375 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnectionOrBuilder> getAllocatedConnectionsOrBuilderList()376 getAllocatedConnectionsOrBuilderList(); 377 /** 378 * 379 * 380 * <pre> 381 * Output only. A list of connections allocated for the Gateway 382 * </pre> 383 * 384 * <code> 385 * repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; 386 * </code> 387 */ 388 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnectionOrBuilder getAllocatedConnectionsOrBuilder(int index)389 getAllocatedConnectionsOrBuilder(int index); 390 391 /** 392 * 393 * 394 * <pre> 395 * Required. The type of hosting used by the AppGateway. 396 * </pre> 397 * 398 * <code> 399 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED]; 400 * </code> 401 * 402 * @return The enum numeric value on the wire for hostType. 403 */ getHostTypeValue()404 int getHostTypeValue(); 405 /** 406 * 407 * 408 * <pre> 409 * Required. The type of hosting used by the AppGateway. 410 * </pre> 411 * 412 * <code> 413 * .google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED]; 414 * </code> 415 * 416 * @return The hostType. 417 */ getHostType()418 com.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType getHostType(); 419 } 420