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/clouddms/v1/clouddms.proto 18 19 package com.google.cloud.clouddms.v1; 20 21 public interface CreateMigrationJobRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.clouddms.v1.CreateMigrationJobRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The parent, which owns this collection of migration jobs. 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 parent, which owns this collection of migration jobs. 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 ID of the instance to create. 60 * </pre> 61 * 62 * <code>string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 63 * 64 * @return The migrationJobId. 65 */ getMigrationJobId()66 java.lang.String getMigrationJobId(); 67 /** 68 * 69 * 70 * <pre> 71 * Required. The ID of the instance to create. 72 * </pre> 73 * 74 * <code>string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 75 * 76 * @return The bytes for migrationJobId. 77 */ getMigrationJobIdBytes()78 com.google.protobuf.ByteString getMigrationJobIdBytes(); 79 80 /** 81 * 82 * 83 * <pre> 84 * Required. Represents a [migration 85 * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) 86 * object. 87 * </pre> 88 * 89 * <code> 90 * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED]; 91 * </code> 92 * 93 * @return Whether the migrationJob field is set. 94 */ hasMigrationJob()95 boolean hasMigrationJob(); 96 /** 97 * 98 * 99 * <pre> 100 * Required. Represents a [migration 101 * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) 102 * object. 103 * </pre> 104 * 105 * <code> 106 * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED]; 107 * </code> 108 * 109 * @return The migrationJob. 110 */ getMigrationJob()111 com.google.cloud.clouddms.v1.MigrationJob getMigrationJob(); 112 /** 113 * 114 * 115 * <pre> 116 * Required. Represents a [migration 117 * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs) 118 * object. 119 * </pre> 120 * 121 * <code> 122 * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED]; 123 * </code> 124 */ getMigrationJobOrBuilder()125 com.google.cloud.clouddms.v1.MigrationJobOrBuilder getMigrationJobOrBuilder(); 126 127 /** 128 * 129 * 130 * <pre> 131 * A unique id used to identify the request. If the server receives two 132 * requests with the same id, then the second request will be ignored. 133 * It is recommended to always set this value to a UUID. 134 * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores 135 * (_), and hyphens (-). The maximum length is 40 characters. 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 unique id used to identify the request. If the server receives two 148 * requests with the same id, then the second request will be ignored. 149 * It is recommended to always set this value to a UUID. 150 * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores 151 * (_), and hyphens (-). The maximum length is 40 characters. 152 * </pre> 153 * 154 * <code>string request_id = 4;</code> 155 * 156 * @return The bytes for requestId. 157 */ getRequestIdBytes()158 com.google.protobuf.ByteString getRequestIdBytes(); 159 } 160