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/iam/v1/iam_policy.proto 18 19 package com.google.iam.v1; 20 21 public interface TestIamPermissionsResponseOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.iam.v1.TestIamPermissionsResponse) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A subset of `TestPermissionsRequest.permissions` that the caller is 31 * allowed. 32 * </pre> 33 * 34 * <code>repeated string permissions = 1;</code> 35 * 36 * @return A list containing the permissions. 37 */ getPermissionsList()38 java.util.List<java.lang.String> getPermissionsList(); 39 /** 40 * 41 * 42 * <pre> 43 * A subset of `TestPermissionsRequest.permissions` that the caller is 44 * allowed. 45 * </pre> 46 * 47 * <code>repeated string permissions = 1;</code> 48 * 49 * @return The count of permissions. 50 */ getPermissionsCount()51 int getPermissionsCount(); 52 /** 53 * 54 * 55 * <pre> 56 * A subset of `TestPermissionsRequest.permissions` that the caller is 57 * allowed. 58 * </pre> 59 * 60 * <code>repeated string permissions = 1;</code> 61 * 62 * @param index The index of the element to return. 63 * @return The permissions at the given index. 64 */ getPermissions(int index)65 java.lang.String getPermissions(int index); 66 /** 67 * 68 * 69 * <pre> 70 * A subset of `TestPermissionsRequest.permissions` that the caller is 71 * allowed. 72 * </pre> 73 * 74 * <code>repeated string permissions = 1;</code> 75 * 76 * @param index The index of the value to return. 77 * @return The bytes of the permissions at the given index. 78 */ getPermissionsBytes(int index)79 com.google.protobuf.ByteString getPermissionsBytes(int index); 80 } 81