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 InsertImageRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertImageRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Force image creation if true. 31 * </pre> 32 * 33 * <code>optional bool force_create = 197723344;</code> 34 * 35 * @return Whether the forceCreate field is set. 36 */ hasForceCreate()37 boolean hasForceCreate(); 38 /** 39 * 40 * 41 * <pre> 42 * Force image creation if true. 43 * </pre> 44 * 45 * <code>optional bool force_create = 197723344;</code> 46 * 47 * @return The forceCreate. 48 */ getForceCreate()49 boolean getForceCreate(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The body resource for this request 56 * </pre> 57 * 58 * <code> 59 * .google.cloud.compute.v1.Image image_resource = 371171954 [(.google.api.field_behavior) = REQUIRED]; 60 * </code> 61 * 62 * @return Whether the imageResource field is set. 63 */ hasImageResource()64 boolean hasImageResource(); 65 /** 66 * 67 * 68 * <pre> 69 * The body resource for this request 70 * </pre> 71 * 72 * <code> 73 * .google.cloud.compute.v1.Image image_resource = 371171954 [(.google.api.field_behavior) = REQUIRED]; 74 * </code> 75 * 76 * @return The imageResource. 77 */ getImageResource()78 com.google.cloud.compute.v1.Image getImageResource(); 79 /** 80 * 81 * 82 * <pre> 83 * The body resource for this request 84 * </pre> 85 * 86 * <code> 87 * .google.cloud.compute.v1.Image image_resource = 371171954 [(.google.api.field_behavior) = REQUIRED]; 88 * </code> 89 */ getImageResourceOrBuilder()90 com.google.cloud.compute.v1.ImageOrBuilder getImageResourceOrBuilder(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Project ID for this request. 97 * </pre> 98 * 99 * <code> 100 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 101 * </code> 102 * 103 * @return The project. 104 */ getProject()105 java.lang.String getProject(); 106 /** 107 * 108 * 109 * <pre> 110 * Project ID for this request. 111 * </pre> 112 * 113 * <code> 114 * string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"]; 115 * </code> 116 * 117 * @return The bytes for project. 118 */ getProjectBytes()119 com.google.protobuf.ByteString getProjectBytes(); 120 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 Whether the requestId field is set. 131 */ hasRequestId()132 boolean hasRequestId(); 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 requestId. 143 */ getRequestId()144 java.lang.String getRequestId(); 145 /** 146 * 147 * 148 * <pre> 149 * 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). 150 * </pre> 151 * 152 * <code>optional string request_id = 37109963;</code> 153 * 154 * @return The bytes for requestId. 155 */ getRequestIdBytes()156 com.google.protobuf.ByteString getRequestIdBytes(); 157 } 158