public final class Binding extends GeneratedMessageV3 implements BindingOrBuilder
Associates `members` with a `role`.Protobuf type
google.iam.v1.Binding
Modifier and Type | Class and Description |
---|---|
static class |
Binding.Builder
Associates `members` with a `role`.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CONDITION_FIELD_NUMBER |
static int |
MEMBERS_FIELD_NUMBER |
static int |
ROLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Expr |
getCondition()
The condition that is associated with this binding.
|
ExprOrBuilder |
getConditionOrBuilder()
The condition that is associated with this binding.
|
static Binding |
getDefaultInstance() |
Binding |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getMembers(int index)
Specifies the identities requesting access for a Cloud Platform resource.
|
ByteString |
getMembersBytes(int index)
Specifies the identities requesting access for a Cloud Platform resource.
|
int |
getMembersCount()
Specifies the identities requesting access for a Cloud Platform resource.
|
ProtocolStringList |
getMembersList()
Specifies the identities requesting access for a Cloud Platform resource.
|
Parser<Binding> |
getParserForType() |
java.lang.String |
getRole()
Role that is assigned to `members`.
|
ByteString |
getRoleBytes()
Role that is assigned to `members`.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasCondition()
The condition that is associated with this binding.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Binding.Builder |
newBuilder() |
static Binding.Builder |
newBuilder(Binding prototype) |
Binding.Builder |
newBuilderForType() |
protected Binding.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Binding |
parseDelimitedFrom(java.io.InputStream input) |
static Binding |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Binding |
parseFrom(byte[] data) |
static Binding |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Binding |
parseFrom(java.nio.ByteBuffer data) |
static Binding |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Binding |
parseFrom(ByteString data) |
static Binding |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Binding |
parseFrom(CodedInputStream input) |
static Binding |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Binding |
parseFrom(java.io.InputStream input) |
static Binding |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Binding> |
parser() |
Binding.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ROLE_FIELD_NUMBER
public static final int MEMBERS_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getRole()
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;
getRole
in interface BindingOrBuilder
public ByteString getRoleBytes()
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;
getRoleBytes
in interface BindingOrBuilder
public ProtocolStringList getMembersList()
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
repeated string members = 2;
getMembersList
in interface BindingOrBuilder
public int getMembersCount()
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
repeated string members = 2;
getMembersCount
in interface BindingOrBuilder
public java.lang.String getMembers(int index)
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
repeated string members = 2;
getMembers
in interface BindingOrBuilder
public ByteString getMembersBytes(int index)
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
repeated string members = 2;
getMembersBytes
in interface BindingOrBuilder
public boolean hasCondition()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
hasCondition
in interface BindingOrBuilder
public Expr getCondition()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
getCondition
in interface BindingOrBuilder
public ExprOrBuilder getConditionOrBuilder()
The condition that is associated with this binding. NOTE: An unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
.google.type.Expr condition = 3;
getConditionOrBuilder
in interface BindingOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Binding parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Binding parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Binding parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Binding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Binding parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Binding parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Binding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Binding.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Binding.Builder newBuilder()
public static Binding.Builder newBuilder(Binding prototype)
public Binding.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Binding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Binding getDefaultInstance()
public Parser<Binding> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Binding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder