/*
 * 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/identity/accesscontextmanager/v1/gcp_user_access_binding.proto

package com.google.identity.accesscontextmanager.v1;

public interface GcpUserAccessBindingOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.identity.accesscontextmanager.v1.GcpUserAccessBinding)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Immutable. Assigned by the server during creation. The last segment has an arbitrary
   * length and has only URI unreserved characters (as defined by
   * [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)).
   * Should not be specified by the client during creation.
   * Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Immutable. Assigned by the server during creation. The last segment has an arbitrary
   * length and has only URI unreserved characters (as defined by
   * [RFC 3986 Section 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)).
   * Should not be specified by the client during creation.
   * Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
   * See "id" in the [G Suite Directory API's Groups resource]
   * (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource).
   * If a group's email address/alias is changed, this resource will continue
   * to point at the changed group. This field does not accept group email
   * addresses or aliases.
   * Example: "01d520gv4vjcrht"
   * </pre>
   *
   * <code>
   * string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The groupKey.
   */
  java.lang.String getGroupKey();
  /**
   *
   *
   * <pre>
   * Required. Immutable. Google Group id whose members are subject to this binding's restrictions.
   * See "id" in the [G Suite Directory API's Groups resource]
   * (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource).
   * If a group's email address/alias is changed, this resource will continue
   * to point at the changed group. This field does not accept group email
   * addresses or aliases.
   * Example: "01d520gv4vjcrht"
   * </pre>
   *
   * <code>
   * string group_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The bytes for groupKey.
   */
  com.google.protobuf.ByteString getGroupKeyBytes();

  /**
   *
   *
   * <pre>
   * Required. Access level that a user must have to be granted access. Only one access
   * level is supported, not multiple. This repeated field must have exactly
   * one element.
   * Example: "accessPolicies/9522/accessLevels/device_trusted"
   * </pre>
   *
   * <code>
   * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return A list containing the accessLevels.
   */
  java.util.List<java.lang.String> getAccessLevelsList();
  /**
   *
   *
   * <pre>
   * Required. Access level that a user must have to be granted access. Only one access
   * level is supported, not multiple. This repeated field must have exactly
   * one element.
   * Example: "accessPolicies/9522/accessLevels/device_trusted"
   * </pre>
   *
   * <code>
   * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The count of accessLevels.
   */
  int getAccessLevelsCount();
  /**
   *
   *
   * <pre>
   * Required. Access level that a user must have to be granted access. Only one access
   * level is supported, not multiple. This repeated field must have exactly
   * one element.
   * Example: "accessPolicies/9522/accessLevels/device_trusted"
   * </pre>
   *
   * <code>
   * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @param index The index of the element to return.
   * @return The accessLevels at the given index.
   */
  java.lang.String getAccessLevels(int index);
  /**
   *
   *
   * <pre>
   * Required. Access level that a user must have to be granted access. Only one access
   * level is supported, not multiple. This repeated field must have exactly
   * one element.
   * Example: "accessPolicies/9522/accessLevels/device_trusted"
   * </pre>
   *
   * <code>
   * repeated string access_levels = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the accessLevels at the given index.
   */
  com.google.protobuf.ByteString getAccessLevelsBytes(int index);
}
