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 InsertNodeGroupRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertNodeGroupRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Initial count of nodes in the node group. 31 * </pre> 32 * 33 * <code>int32 initial_node_count = 71951469 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The initialNodeCount. 36 */ getInitialNodeCount()37 int getInitialNodeCount(); 38 39 /** 40 * 41 * 42 * <pre> 43 * The body resource for this request 44 * </pre> 45 * 46 * <code> 47 * .google.cloud.compute.v1.NodeGroup node_group_resource = 505321899 [(.google.api.field_behavior) = REQUIRED]; 48 * </code> 49 * 50 * @return Whether the nodeGroupResource field is set. 51 */ hasNodeGroupResource()52 boolean hasNodeGroupResource(); 53 /** 54 * 55 * 56 * <pre> 57 * The body resource for this request 58 * </pre> 59 * 60 * <code> 61 * .google.cloud.compute.v1.NodeGroup node_group_resource = 505321899 [(.google.api.field_behavior) = REQUIRED]; 62 * </code> 63 * 64 * @return The nodeGroupResource. 65 */ getNodeGroupResource()66 com.google.cloud.compute.v1.NodeGroup getNodeGroupResource(); 67 /** 68 * 69 * 70 * <pre> 71 * The body resource for this request 72 * </pre> 73 * 74 * <code> 75 * .google.cloud.compute.v1.NodeGroup node_group_resource = 505321899 [(.google.api.field_behavior) = REQUIRED]; 76 * </code> 77 */ getNodeGroupResourceOrBuilder()78 com.google.cloud.compute.v1.NodeGroupOrBuilder getNodeGroupResourceOrBuilder(); 79 80 /** 81 * 82 * 83 * <pre> 84 * Project ID for this request. 85 * </pre> 86 * 87 * <code> 88 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 89 * </code> 90 * 91 * @return The project. 92 */ getProject()93 java.lang.String getProject(); 94 /** 95 * 96 * 97 * <pre> 98 * Project ID for this request. 99 * </pre> 100 * 101 * <code> 102 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 103 * </code> 104 * 105 * @return The bytes for project. 106 */ getProjectBytes()107 com.google.protobuf.ByteString getProjectBytes(); 108 109 /** 110 * 111 * 112 * <pre> 113 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 114 * </pre> 115 * 116 * <code>optional string request_id = 37109963;</code> 117 * 118 * @return Whether the requestId field is set. 119 */ hasRequestId()120 boolean hasRequestId(); 121 /** 122 * 123 * 124 * <pre> 125 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 126 * </pre> 127 * 128 * <code>optional string request_id = 37109963;</code> 129 * 130 * @return The requestId. 131 */ getRequestId()132 java.lang.String getRequestId(); 133 /** 134 * 135 * 136 * <pre> 137 * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). 138 * </pre> 139 * 140 * <code>optional string request_id = 37109963;</code> 141 * 142 * @return The bytes for requestId. 143 */ getRequestIdBytes()144 com.google.protobuf.ByteString getRequestIdBytes(); 145 146 /** 147 * 148 * 149 * <pre> 150 * The name of the zone for this request. 151 * </pre> 152 * 153 * <code> 154 * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; 155 * </code> 156 * 157 * @return The zone. 158 */ getZone()159 java.lang.String getZone(); 160 /** 161 * 162 * 163 * <pre> 164 * The name of the zone for this request. 165 * </pre> 166 * 167 * <code> 168 * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; 169 * </code> 170 * 171 * @return The bytes for zone. 172 */ getZoneBytes()173 com.google.protobuf.ByteString getZoneBytes(); 174 } 175