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 SetLabelsDiskRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SetLabelsDiskRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Project ID for this request. 31 * </pre> 32 * 33 * <code> 34 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 35 * </code> 36 * 37 * @return The project. 38 */ getProject()39 java.lang.String getProject(); 40 /** 41 * 42 * 43 * <pre> 44 * Project ID for this request. 45 * </pre> 46 * 47 * <code> 48 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 49 * </code> 50 * 51 * @return The bytes for project. 52 */ getProjectBytes()53 com.google.protobuf.ByteString getProjectBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * 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). 60 * </pre> 61 * 62 * <code>optional string request_id = 37109963;</code> 63 * 64 * @return Whether the requestId field is set. 65 */ hasRequestId()66 boolean hasRequestId(); 67 /** 68 * 69 * 70 * <pre> 71 * 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). 72 * </pre> 73 * 74 * <code>optional string request_id = 37109963;</code> 75 * 76 * @return The requestId. 77 */ getRequestId()78 java.lang.String getRequestId(); 79 /** 80 * 81 * 82 * <pre> 83 * 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). 84 * </pre> 85 * 86 * <code>optional string request_id = 37109963;</code> 87 * 88 * @return The bytes for requestId. 89 */ getRequestIdBytes()90 com.google.protobuf.ByteString getRequestIdBytes(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Name or id of the resource for this request. 97 * </pre> 98 * 99 * <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code> 100 * 101 * @return The resource. 102 */ getResource()103 java.lang.String getResource(); 104 /** 105 * 106 * 107 * <pre> 108 * Name or id of the resource for this request. 109 * </pre> 110 * 111 * <code>string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];</code> 112 * 113 * @return The bytes for resource. 114 */ getResourceBytes()115 com.google.protobuf.ByteString getResourceBytes(); 116 117 /** 118 * 119 * 120 * <pre> 121 * The name of the zone for this request. 122 * </pre> 123 * 124 * <code> 125 * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; 126 * </code> 127 * 128 * @return The zone. 129 */ getZone()130 java.lang.String getZone(); 131 /** 132 * 133 * 134 * <pre> 135 * The name of the zone for this request. 136 * </pre> 137 * 138 * <code> 139 * string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"]; 140 * </code> 141 * 142 * @return The bytes for zone. 143 */ getZoneBytes()144 com.google.protobuf.ByteString getZoneBytes(); 145 146 /** 147 * 148 * 149 * <pre> 150 * The body resource for this request 151 * </pre> 152 * 153 * <code> 154 * .google.cloud.compute.v1.ZoneSetLabelsRequest zone_set_labels_request_resource = 364950798 [(.google.api.field_behavior) = REQUIRED]; 155 * </code> 156 * 157 * @return Whether the zoneSetLabelsRequestResource field is set. 158 */ hasZoneSetLabelsRequestResource()159 boolean hasZoneSetLabelsRequestResource(); 160 /** 161 * 162 * 163 * <pre> 164 * The body resource for this request 165 * </pre> 166 * 167 * <code> 168 * .google.cloud.compute.v1.ZoneSetLabelsRequest zone_set_labels_request_resource = 364950798 [(.google.api.field_behavior) = REQUIRED]; 169 * </code> 170 * 171 * @return The zoneSetLabelsRequestResource. 172 */ getZoneSetLabelsRequestResource()173 com.google.cloud.compute.v1.ZoneSetLabelsRequest getZoneSetLabelsRequestResource(); 174 /** 175 * 176 * 177 * <pre> 178 * The body resource for this request 179 * </pre> 180 * 181 * <code> 182 * .google.cloud.compute.v1.ZoneSetLabelsRequest zone_set_labels_request_resource = 364950798 [(.google.api.field_behavior) = REQUIRED]; 183 * </code> 184 */ 185 com.google.cloud.compute.v1.ZoneSetLabelsRequestOrBuilder getZoneSetLabelsRequestResourceOrBuilder()186 getZoneSetLabelsRequestResourceOrBuilder(); 187 } 188