/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/clouddms/v1/clouddms.proto

package com.google.cloud.clouddms.v1;

public interface CreateMigrationJobRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.clouddms.v1.CreateMigrationJobRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The parent, which owns this collection of migration jobs.
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The parent.
   */
  java.lang.String getParent();
  /**
   *
   *
   * <pre>
   * Required. The parent, which owns this collection of migration jobs.
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for parent.
   */
  com.google.protobuf.ByteString getParentBytes();

  /**
   *
   *
   * <pre>
   * Required. The ID of the instance to create.
   * </pre>
   *
   * <code>string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The migrationJobId.
   */
  java.lang.String getMigrationJobId();
  /**
   *
   *
   * <pre>
   * Required. The ID of the instance to create.
   * </pre>
   *
   * <code>string migration_job_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for migrationJobId.
   */
  com.google.protobuf.ByteString getMigrationJobIdBytes();

  /**
   *
   *
   * <pre>
   * Required. Represents a [migration
   * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
   * object.
   * </pre>
   *
   * <code>
   * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the migrationJob field is set.
   */
  boolean hasMigrationJob();
  /**
   *
   *
   * <pre>
   * Required. Represents a [migration
   * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
   * object.
   * </pre>
   *
   * <code>
   * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The migrationJob.
   */
  com.google.cloud.clouddms.v1.MigrationJob getMigrationJob();
  /**
   *
   *
   * <pre>
   * Required. Represents a [migration
   * job](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs)
   * object.
   * </pre>
   *
   * <code>
   * .google.cloud.clouddms.v1.MigrationJob migration_job = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.clouddms.v1.MigrationJobOrBuilder getMigrationJobOrBuilder();

  /**
   *
   *
   * <pre>
   * A unique id used to identify the request. If the server receives two
   * requests with the same id, then the second request will be ignored.
   * It is recommended to always set this value to a UUID.
   * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
   * (_), and hyphens (-). The maximum length is 40 characters.
   * </pre>
   *
   * <code>string request_id = 4;</code>
   *
   * @return The requestId.
   */
  java.lang.String getRequestId();
  /**
   *
   *
   * <pre>
   * A unique id used to identify the request. If the server receives two
   * requests with the same id, then the second request will be ignored.
   * It is recommended to always set this value to a UUID.
   * The id must contain only letters (a-z, A-Z), numbers (0-9), underscores
   * (_), and hyphens (-). The maximum length is 40 characters.
   * </pre>
   *
   * <code>string request_id = 4;</code>
   *
   * @return The bytes for requestId.
   */
  com.google.protobuf.ByteString getRequestIdBytes();
}
