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/identity/accesscontextmanager/v1/access_level.proto 18 19 package com.google.identity.accesscontextmanager.v1; 20 21 public interface BasicLevelOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.identity.accesscontextmanager.v1.BasicLevel) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. A list of requirements for the `AccessLevel` to be granted. 31 * </pre> 32 * 33 * <code>repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;</code> 34 */ getConditionsList()35 java.util.List<com.google.identity.accesscontextmanager.v1.Condition> getConditionsList(); 36 /** 37 * 38 * 39 * <pre> 40 * Required. A list of requirements for the `AccessLevel` to be granted. 41 * </pre> 42 * 43 * <code>repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;</code> 44 */ getConditions(int index)45 com.google.identity.accesscontextmanager.v1.Condition getConditions(int index); 46 /** 47 * 48 * 49 * <pre> 50 * Required. A list of requirements for the `AccessLevel` to be granted. 51 * </pre> 52 * 53 * <code>repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;</code> 54 */ getConditionsCount()55 int getConditionsCount(); 56 /** 57 * 58 * 59 * <pre> 60 * Required. A list of requirements for the `AccessLevel` to be granted. 61 * </pre> 62 * 63 * <code>repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;</code> 64 */ 65 java.util.List<? extends com.google.identity.accesscontextmanager.v1.ConditionOrBuilder> getConditionsOrBuilderList()66 getConditionsOrBuilderList(); 67 /** 68 * 69 * 70 * <pre> 71 * Required. A list of requirements for the `AccessLevel` to be granted. 72 * </pre> 73 * 74 * <code>repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;</code> 75 */ getConditionsOrBuilder(int index)76 com.google.identity.accesscontextmanager.v1.ConditionOrBuilder getConditionsOrBuilder(int index); 77 78 /** 79 * 80 * 81 * <pre> 82 * How the `conditions` list should be combined to determine if a request is 83 * granted this `AccessLevel`. If AND is used, each `Condition` in 84 * `conditions` must be satisfied for the `AccessLevel` to be applied. If OR 85 * is used, at least one `Condition` in `conditions` must be satisfied for the 86 * `AccessLevel` to be applied. Default behavior is AND. 87 * </pre> 88 * 89 * <code> 90 * .google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2; 91 * </code> 92 * 93 * @return The enum numeric value on the wire for combiningFunction. 94 */ getCombiningFunctionValue()95 int getCombiningFunctionValue(); 96 /** 97 * 98 * 99 * <pre> 100 * How the `conditions` list should be combined to determine if a request is 101 * granted this `AccessLevel`. If AND is used, each `Condition` in 102 * `conditions` must be satisfied for the `AccessLevel` to be applied. If OR 103 * is used, at least one `Condition` in `conditions` must be satisfied for the 104 * `AccessLevel` to be applied. Default behavior is AND. 105 * </pre> 106 * 107 * <code> 108 * .google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2; 109 * </code> 110 * 111 * @return The combiningFunction. 112 */ 113 com.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction getCombiningFunction()114 getCombiningFunction(); 115 } 116