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 AccessLevelOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.identity.accesscontextmanager.v1.AccessLevel) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. Resource name for the Access Level. The `short_name` component 31 * must begin with a letter and only include alphanumeric and '_'. Format: 32 * `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum 33 * length of the `access_level` component is 50 characters. 34 * </pre> 35 * 36 * <code>string name = 1;</code> 37 * 38 * @return The name. 39 */ getName()40 java.lang.String getName(); 41 /** 42 * 43 * 44 * <pre> 45 * Required. Resource name for the Access Level. The `short_name` component 46 * must begin with a letter and only include alphanumeric and '_'. Format: 47 * `accessPolicies/{access_policy}/accessLevels/{access_level}`. The maximum 48 * length of the `access_level` component is 50 characters. 49 * </pre> 50 * 51 * <code>string name = 1;</code> 52 * 53 * @return The bytes for name. 54 */ getNameBytes()55 com.google.protobuf.ByteString getNameBytes(); 56 57 /** 58 * 59 * 60 * <pre> 61 * Human readable title. Must be unique within the Policy. 62 * </pre> 63 * 64 * <code>string title = 2;</code> 65 * 66 * @return The title. 67 */ getTitle()68 java.lang.String getTitle(); 69 /** 70 * 71 * 72 * <pre> 73 * Human readable title. Must be unique within the Policy. 74 * </pre> 75 * 76 * <code>string title = 2;</code> 77 * 78 * @return The bytes for title. 79 */ getTitleBytes()80 com.google.protobuf.ByteString getTitleBytes(); 81 82 /** 83 * 84 * 85 * <pre> 86 * Description of the `AccessLevel` and its use. Does not affect behavior. 87 * </pre> 88 * 89 * <code>string description = 3;</code> 90 * 91 * @return The description. 92 */ getDescription()93 java.lang.String getDescription(); 94 /** 95 * 96 * 97 * <pre> 98 * Description of the `AccessLevel` and its use. Does not affect behavior. 99 * </pre> 100 * 101 * <code>string description = 3;</code> 102 * 103 * @return The bytes for description. 104 */ getDescriptionBytes()105 com.google.protobuf.ByteString getDescriptionBytes(); 106 107 /** 108 * 109 * 110 * <pre> 111 * A `BasicLevel` composed of `Conditions`. 112 * </pre> 113 * 114 * <code>.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;</code> 115 * 116 * @return Whether the basic field is set. 117 */ hasBasic()118 boolean hasBasic(); 119 /** 120 * 121 * 122 * <pre> 123 * A `BasicLevel` composed of `Conditions`. 124 * </pre> 125 * 126 * <code>.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;</code> 127 * 128 * @return The basic. 129 */ getBasic()130 com.google.identity.accesscontextmanager.v1.BasicLevel getBasic(); 131 /** 132 * 133 * 134 * <pre> 135 * A `BasicLevel` composed of `Conditions`. 136 * </pre> 137 * 138 * <code>.google.identity.accesscontextmanager.v1.BasicLevel basic = 4;</code> 139 */ getBasicOrBuilder()140 com.google.identity.accesscontextmanager.v1.BasicLevelOrBuilder getBasicOrBuilder(); 141 142 /** 143 * 144 * 145 * <pre> 146 * A `CustomLevel` written in the Common Expression Language. 147 * </pre> 148 * 149 * <code>.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;</code> 150 * 151 * @return Whether the custom field is set. 152 */ hasCustom()153 boolean hasCustom(); 154 /** 155 * 156 * 157 * <pre> 158 * A `CustomLevel` written in the Common Expression Language. 159 * </pre> 160 * 161 * <code>.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;</code> 162 * 163 * @return The custom. 164 */ getCustom()165 com.google.identity.accesscontextmanager.v1.CustomLevel getCustom(); 166 /** 167 * 168 * 169 * <pre> 170 * A `CustomLevel` written in the Common Expression Language. 171 * </pre> 172 * 173 * <code>.google.identity.accesscontextmanager.v1.CustomLevel custom = 5;</code> 174 */ getCustomOrBuilder()175 com.google.identity.accesscontextmanager.v1.CustomLevelOrBuilder getCustomOrBuilder(); 176 177 /** 178 * 179 * 180 * <pre> 181 * Output only. Time the `AccessLevel` was created in UTC. 182 * </pre> 183 * 184 * <code>.google.protobuf.Timestamp create_time = 6;</code> 185 * 186 * @return Whether the createTime field is set. 187 */ hasCreateTime()188 boolean hasCreateTime(); 189 /** 190 * 191 * 192 * <pre> 193 * Output only. Time the `AccessLevel` was created in UTC. 194 * </pre> 195 * 196 * <code>.google.protobuf.Timestamp create_time = 6;</code> 197 * 198 * @return The createTime. 199 */ getCreateTime()200 com.google.protobuf.Timestamp getCreateTime(); 201 /** 202 * 203 * 204 * <pre> 205 * Output only. Time the `AccessLevel` was created in UTC. 206 * </pre> 207 * 208 * <code>.google.protobuf.Timestamp create_time = 6;</code> 209 */ getCreateTimeOrBuilder()210 com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); 211 212 /** 213 * 214 * 215 * <pre> 216 * Output only. Time the `AccessLevel` was updated in UTC. 217 * </pre> 218 * 219 * <code>.google.protobuf.Timestamp update_time = 7;</code> 220 * 221 * @return Whether the updateTime field is set. 222 */ hasUpdateTime()223 boolean hasUpdateTime(); 224 /** 225 * 226 * 227 * <pre> 228 * Output only. Time the `AccessLevel` was updated in UTC. 229 * </pre> 230 * 231 * <code>.google.protobuf.Timestamp update_time = 7;</code> 232 * 233 * @return The updateTime. 234 */ getUpdateTime()235 com.google.protobuf.Timestamp getUpdateTime(); 236 /** 237 * 238 * 239 * <pre> 240 * Output only. Time the `AccessLevel` was updated in UTC. 241 * </pre> 242 * 243 * <code>.google.protobuf.Timestamp update_time = 7;</code> 244 */ getUpdateTimeOrBuilder()245 com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); 246 getLevelCase()247 public com.google.identity.accesscontextmanager.v1.AccessLevel.LevelCase getLevelCase(); 248 } 249