public static final class Binding.Builder extends GeneratedMessageV3.Builder<Binding.Builder> implements BindingOrBuilder
Associates `members` with a `role`.Protobuf type
google.iam.v1.Binding
Modifier and Type | Method and Description |
---|---|
Binding.Builder |
addAllMembers(java.lang.Iterable<java.lang.String> values)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
addMembers(java.lang.String value)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
addMembersBytes(ByteString value)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Binding |
build() |
Binding |
buildPartial() |
Binding.Builder |
clear() |
Binding.Builder |
clearCondition()
The condition that is associated with this binding.
|
Binding.Builder |
clearField(Descriptors.FieldDescriptor field) |
Binding.Builder |
clearMembers()
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Binding.Builder |
clearRole()
Role that is assigned to `members`.
|
Binding.Builder |
clone() |
Expr |
getCondition()
The condition that is associated with this binding.
|
Expr.Builder |
getConditionBuilder()
The condition that is associated with this binding.
|
ExprOrBuilder |
getConditionOrBuilder()
The condition that is associated with this binding.
|
Binding |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
java.lang.String |
getRole()
Role that is assigned to `members`.
|
ByteString |
getRoleBytes()
Role that is assigned to `members`.
|
boolean |
hasCondition()
The condition that is associated with this binding.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Binding.Builder |
mergeCondition(Expr value)
The condition that is associated with this binding.
|
Binding.Builder |
mergeFrom(Binding other) |
Binding.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Binding.Builder |
mergeFrom(Message other) |
Binding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Binding.Builder |
setCondition(Expr.Builder builderForValue)
The condition that is associated with this binding.
|
Binding.Builder |
setCondition(Expr value)
The condition that is associated with this binding.
|
Binding.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Binding.Builder |
setMembers(int index,
java.lang.String value)
Specifies the identities requesting access for a Cloud Platform resource.
|
Binding.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Binding.Builder |
setRole(java.lang.String value)
Role that is assigned to `members`.
|
Binding.Builder |
setRoleBytes(ByteString value)
Role that is assigned to `members`.
|
Binding.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Binding.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Binding build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Binding buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Binding.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Binding.Builder>
public Binding.Builder mergeFrom(Binding other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Binding.Builder>
public Binding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Binding.Builder>
java.io.IOException
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 Binding.Builder setRole(java.lang.String value)
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;
public Binding.Builder clearRole()
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;
public Binding.Builder setRoleBytes(ByteString value)
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;
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 Binding.Builder setMembers(int index, java.lang.String value)
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;
public Binding.Builder addMembers(java.lang.String value)
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;
public Binding.Builder addAllMembers(java.lang.Iterable<java.lang.String> values)
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;
public Binding.Builder clearMembers()
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;
public Binding.Builder addMembersBytes(ByteString value)
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;
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 Binding.Builder setCondition(Expr value)
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;
public Binding.Builder setCondition(Expr.Builder builderForValue)
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;
public Binding.Builder mergeCondition(Expr value)
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;
public Binding.Builder clearCondition()
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;
public Expr.Builder getConditionBuilder()
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;
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 Binding.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Binding.Builder>
public final Binding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Binding.Builder>