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