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/vmmigration/v1/vmmigration.proto 18 19 package com.google.cloud.vmmigration.v1; 20 21 public interface CreateTargetProjectRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.CreateTargetProjectRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The TargetProject's parent. 31 * </pre> 32 * 33 * <code> 34 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 35 * </code> 36 * 37 * @return The parent. 38 */ getParent()39 java.lang.String getParent(); 40 /** 41 * 42 * 43 * <pre> 44 * Required. The TargetProject's parent. 45 * </pre> 46 * 47 * <code> 48 * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } 49 * </code> 50 * 51 * @return The bytes for parent. 52 */ getParentBytes()53 com.google.protobuf.ByteString getParentBytes(); 54 55 /** 56 * 57 * 58 * <pre> 59 * Required. The target_project identifier. 60 * </pre> 61 * 62 * <code>string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 63 * 64 * @return The targetProjectId. 65 */ getTargetProjectId()66 java.lang.String getTargetProjectId(); 67 /** 68 * 69 * 70 * <pre> 71 * Required. The target_project identifier. 72 * </pre> 73 * 74 * <code>string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 75 * 76 * @return The bytes for targetProjectId. 77 */ getTargetProjectIdBytes()78 com.google.protobuf.ByteString getTargetProjectIdBytes(); 79 80 /** 81 * 82 * 83 * <pre> 84 * Required. The create request body. 85 * </pre> 86 * 87 * <code> 88 * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; 89 * </code> 90 * 91 * @return Whether the targetProject field is set. 92 */ hasTargetProject()93 boolean hasTargetProject(); 94 /** 95 * 96 * 97 * <pre> 98 * Required. The create request body. 99 * </pre> 100 * 101 * <code> 102 * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; 103 * </code> 104 * 105 * @return The targetProject. 106 */ getTargetProject()107 com.google.cloud.vmmigration.v1.TargetProject getTargetProject(); 108 /** 109 * 110 * 111 * <pre> 112 * Required. The create request body. 113 * </pre> 114 * 115 * <code> 116 * .google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED]; 117 * </code> 118 */ getTargetProjectOrBuilder()119 com.google.cloud.vmmigration.v1.TargetProjectOrBuilder getTargetProjectOrBuilder(); 120 121 /** 122 * 123 * 124 * <pre> 125 * A request ID to identify requests. Specify a unique request ID 126 * so that if you must retry your request, the server will know to ignore 127 * the request if it has already been completed. The server will guarantee 128 * that for at least 60 minutes since the first request. 129 * For example, consider a situation where you make an initial request and t 130 * he request times out. If you make the request again with the same request 131 * ID, the server can check if original operation with the same request ID 132 * was received, and if so, will ignore the second request. This prevents 133 * clients from accidentally creating duplicate commitments. 134 * The request ID must be a valid UUID with the exception that zero UUID is 135 * not supported (00000000-0000-0000-0000-000000000000). 136 * </pre> 137 * 138 * <code>string request_id = 4;</code> 139 * 140 * @return The requestId. 141 */ getRequestId()142 java.lang.String getRequestId(); 143 /** 144 * 145 * 146 * <pre> 147 * A request ID to identify requests. Specify a unique request ID 148 * so that if you must retry your request, the server will know to ignore 149 * the request if it has already been completed. The server will guarantee 150 * that for at least 60 minutes since the first request. 151 * For example, consider a situation where you make an initial request and t 152 * he request times out. If you make the request again with the same request 153 * ID, the server can check if original operation with the same request ID 154 * was received, and if so, will ignore the second request. This prevents 155 * clients from accidentally creating duplicate commitments. 156 * The request ID must be a valid UUID with the exception that zero UUID is 157 * not supported (00000000-0000-0000-0000-000000000000). 158 * </pre> 159 * 160 * <code>string request_id = 4;</code> 161 * 162 * @return The bytes for requestId. 163 */ getRequestIdBytes()164 com.google.protobuf.ByteString getRequestIdBytes(); 165 } 166