/*
 * 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/tpu/v2alpha1/cloud_tpu.proto

package com.google.cloud.tpu.v2alpha1;

public interface ServiceAccountOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.tpu.v2alpha1.ServiceAccount)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Email address of the service account. If empty, default Compute service
   * account will be used.
   * </pre>
   *
   * <code>string email = 1;</code>
   *
   * @return The email.
   */
  java.lang.String getEmail();
  /**
   *
   *
   * <pre>
   * Email address of the service account. If empty, default Compute service
   * account will be used.
   * </pre>
   *
   * <code>string email = 1;</code>
   *
   * @return The bytes for email.
   */
  com.google.protobuf.ByteString getEmailBytes();

  /**
   *
   *
   * <pre>
   * The list of scopes to be made available for this service account. If empty,
   * access to all Cloud APIs will be allowed.
   * </pre>
   *
   * <code>repeated string scope = 2;</code>
   *
   * @return A list containing the scope.
   */
  java.util.List<java.lang.String> getScopeList();
  /**
   *
   *
   * <pre>
   * The list of scopes to be made available for this service account. If empty,
   * access to all Cloud APIs will be allowed.
   * </pre>
   *
   * <code>repeated string scope = 2;</code>
   *
   * @return The count of scope.
   */
  int getScopeCount();
  /**
   *
   *
   * <pre>
   * The list of scopes to be made available for this service account. If empty,
   * access to all Cloud APIs will be allowed.
   * </pre>
   *
   * <code>repeated string scope = 2;</code>
   *
   * @param index The index of the element to return.
   * @return The scope at the given index.
   */
  java.lang.String getScope(int index);
  /**
   *
   *
   * <pre>
   * The list of scopes to be made available for this service account. If empty,
   * access to all Cloud APIs will be allowed.
   * </pre>
   *
   * <code>repeated string scope = 2;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the scope at the given index.
   */
  com.google.protobuf.ByteString getScopeBytes(int index);
}
