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/policy.proto 18 19 package com.google.iam.v1; 20 21 public interface BindingDeltaOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.iam.v1.BindingDelta) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The action that was performed on a Binding. 31 * Required 32 * </pre> 33 * 34 * <code>.google.iam.v1.BindingDelta.Action action = 1;</code> 35 * 36 * @return The enum numeric value on the wire for action. 37 */ getActionValue()38 int getActionValue(); 39 /** 40 * 41 * 42 * <pre> 43 * The action that was performed on a Binding. 44 * Required 45 * </pre> 46 * 47 * <code>.google.iam.v1.BindingDelta.Action action = 1;</code> 48 * 49 * @return The action. 50 */ getAction()51 com.google.iam.v1.BindingDelta.Action getAction(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Role that is assigned to `members`. 58 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. 59 * Required 60 * </pre> 61 * 62 * <code>string role = 2;</code> 63 * 64 * @return The role. 65 */ getRole()66 java.lang.String getRole(); 67 /** 68 * 69 * 70 * <pre> 71 * Role that is assigned to `members`. 72 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`. 73 * Required 74 * </pre> 75 * 76 * <code>string role = 2;</code> 77 * 78 * @return The bytes for role. 79 */ getRoleBytes()80 com.google.protobuf.ByteString getRoleBytes(); 81 82 /** 83 * 84 * 85 * <pre> 86 * A single identity requesting access for a Cloud Platform resource. 87 * Follows the same format of Binding.members. 88 * Required 89 * </pre> 90 * 91 * <code>string member = 3;</code> 92 * 93 * @return The member. 94 */ getMember()95 java.lang.String getMember(); 96 /** 97 * 98 * 99 * <pre> 100 * A single identity requesting access for a Cloud Platform resource. 101 * Follows the same format of Binding.members. 102 * Required 103 * </pre> 104 * 105 * <code>string member = 3;</code> 106 * 107 * @return The bytes for member. 108 */ getMemberBytes()109 com.google.protobuf.ByteString getMemberBytes(); 110 111 /** 112 * 113 * 114 * <pre> 115 * The condition that is associated with this binding. 116 * </pre> 117 * 118 * <code>.google.type.Expr condition = 4;</code> 119 * 120 * @return Whether the condition field is set. 121 */ hasCondition()122 boolean hasCondition(); 123 /** 124 * 125 * 126 * <pre> 127 * The condition that is associated with this binding. 128 * </pre> 129 * 130 * <code>.google.type.Expr condition = 4;</code> 131 * 132 * @return The condition. 133 */ getCondition()134 com.google.type.Expr getCondition(); 135 /** 136 * 137 * 138 * <pre> 139 * The condition that is associated with this binding. 140 * </pre> 141 * 142 * <code>.google.type.Expr condition = 4;</code> 143 */ getConditionOrBuilder()144 com.google.type.ExprOrBuilder getConditionOrBuilder(); 145 } 146