/*
 * 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/vmmigration/v1/vmmigration.proto

package com.google.cloud.vmmigration.v1;

public interface AwsSourceDetailsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.AwsSourceDetails)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * AWS Credentials using access key id and secret.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
   * </code>
   *
   * @return Whether the accessKeyCreds field is set.
   */
  boolean hasAccessKeyCreds();
  /**
   *
   *
   * <pre>
   * AWS Credentials using access key id and secret.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
   * </code>
   *
   * @return The accessKeyCreds.
   */
  com.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials getAccessKeyCreds();
  /**
   *
   *
   * <pre>
   * AWS Credentials using access key id and secret.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials access_key_creds = 11;
   * </code>
   */
  com.google.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentialsOrBuilder
      getAccessKeyCredsOrBuilder();

  /**
   *
   *
   * <pre>
   * Immutable. The AWS region that the source VMs will be migrated from.
   * </pre>
   *
   * <code>string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];</code>
   *
   * @return The awsRegion.
   */
  java.lang.String getAwsRegion();
  /**
   *
   *
   * <pre>
   * Immutable. The AWS region that the source VMs will be migrated from.
   * </pre>
   *
   * <code>string aws_region = 3 [(.google.api.field_behavior) = IMMUTABLE];</code>
   *
   * @return The bytes for awsRegion.
   */
  com.google.protobuf.ByteString getAwsRegionBytes();

  /**
   *
   *
   * <pre>
   * Output only. State of the source as determined by the health check.
   * </pre>
   *
   * <code>
   * .google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. State of the source as determined by the health check.
   * </pre>
   *
   * <code>
   * .google.cloud.vmmigration.v1.AwsSourceDetails.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.vmmigration.v1.AwsSourceDetails.State getState();

  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the Source in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return Whether the error field is set.
   */
  boolean hasError();
  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the Source in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The error.
   */
  com.google.rpc.Status getError();
  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the Source in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * AWS resource tags to limit the scope of the source inventory.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
   * </code>
   */
  java.util.List<com.google.cloud.vmmigration.v1.AwsSourceDetails.Tag> getInventoryTagListList();
  /**
   *
   *
   * <pre>
   * AWS resource tags to limit the scope of the source inventory.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
   * </code>
   */
  com.google.cloud.vmmigration.v1.AwsSourceDetails.Tag getInventoryTagList(int index);
  /**
   *
   *
   * <pre>
   * AWS resource tags to limit the scope of the source inventory.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
   * </code>
   */
  int getInventoryTagListCount();
  /**
   *
   *
   * <pre>
   * AWS resource tags to limit the scope of the source inventory.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
   * </code>
   */
  java.util.List<? extends com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder>
      getInventoryTagListOrBuilderList();
  /**
   *
   *
   * <pre>
   * AWS resource tags to limit the scope of the source inventory.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.AwsSourceDetails.Tag inventory_tag_list = 10;
   * </code>
   */
  com.google.cloud.vmmigration.v1.AwsSourceDetails.TagOrBuilder getInventoryTagListOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * AWS security group names to limit the scope of the source
   * inventory.
   * </pre>
   *
   * <code>repeated string inventory_security_group_names = 7;</code>
   *
   * @return A list containing the inventorySecurityGroupNames.
   */
  java.util.List<java.lang.String> getInventorySecurityGroupNamesList();
  /**
   *
   *
   * <pre>
   * AWS security group names to limit the scope of the source
   * inventory.
   * </pre>
   *
   * <code>repeated string inventory_security_group_names = 7;</code>
   *
   * @return The count of inventorySecurityGroupNames.
   */
  int getInventorySecurityGroupNamesCount();
  /**
   *
   *
   * <pre>
   * AWS security group names to limit the scope of the source
   * inventory.
   * </pre>
   *
   * <code>repeated string inventory_security_group_names = 7;</code>
   *
   * @param index The index of the element to return.
   * @return The inventorySecurityGroupNames at the given index.
   */
  java.lang.String getInventorySecurityGroupNames(int index);
  /**
   *
   *
   * <pre>
   * AWS security group names to limit the scope of the source
   * inventory.
   * </pre>
   *
   * <code>repeated string inventory_security_group_names = 7;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the inventorySecurityGroupNames at the given index.
   */
  com.google.protobuf.ByteString getInventorySecurityGroupNamesBytes(int index);

  /**
   *
   *
   * <pre>
   * User specified tags to add to every M2VM generated resource in AWS.
   * These tags will be set in addition to the default tags that are set as part
   * of the migration process. The tags must not begin with the reserved prefix
   * `m2vm`.
   * </pre>
   *
   * <code>map&lt;string, string&gt; migration_resources_user_tags = 8;</code>
   */
  int getMigrationResourcesUserTagsCount();
  /**
   *
   *
   * <pre>
   * User specified tags to add to every M2VM generated resource in AWS.
   * These tags will be set in addition to the default tags that are set as part
   * of the migration process. The tags must not begin with the reserved prefix
   * `m2vm`.
   * </pre>
   *
   * <code>map&lt;string, string&gt; migration_resources_user_tags = 8;</code>
   */
  boolean containsMigrationResourcesUserTags(java.lang.String key);
  /** Use {@link #getMigrationResourcesUserTagsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getMigrationResourcesUserTags();
  /**
   *
   *
   * <pre>
   * User specified tags to add to every M2VM generated resource in AWS.
   * These tags will be set in addition to the default tags that are set as part
   * of the migration process. The tags must not begin with the reserved prefix
   * `m2vm`.
   * </pre>
   *
   * <code>map&lt;string, string&gt; migration_resources_user_tags = 8;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getMigrationResourcesUserTagsMap();
  /**
   *
   *
   * <pre>
   * User specified tags to add to every M2VM generated resource in AWS.
   * These tags will be set in addition to the default tags that are set as part
   * of the migration process. The tags must not begin with the reserved prefix
   * `m2vm`.
   * </pre>
   *
   * <code>map&lt;string, string&gt; migration_resources_user_tags = 8;</code>
   */
  /* nullable */
  java.lang.String getMigrationResourcesUserTagsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * User specified tags to add to every M2VM generated resource in AWS.
   * These tags will be set in addition to the default tags that are set as part
   * of the migration process. The tags must not begin with the reserved prefix
   * `m2vm`.
   * </pre>
   *
   * <code>map&lt;string, string&gt; migration_resources_user_tags = 8;</code>
   */
  java.lang.String getMigrationResourcesUserTagsOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * Output only. The source's public IP. All communication initiated by this
   * source will originate from this IP.
   * </pre>
   *
   * <code>string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The publicIp.
   */
  java.lang.String getPublicIp();
  /**
   *
   *
   * <pre>
   * Output only. The source's public IP. All communication initiated by this
   * source will originate from this IP.
   * </pre>
   *
   * <code>string public_ip = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for publicIp.
   */
  com.google.protobuf.ByteString getPublicIpBytes();

  public com.google.cloud.vmmigration.v1.AwsSourceDetails.CredentialsTypeCase
      getCredentialsTypeCase();
}
