public static final class IamBinding.Builder extends GeneratedMessageV3.Builder<IamBinding.Builder> implements IamBindingOrBuilder
Represents a particular IAM binding, which captures a member's role addition, removal, or state.Protobuf type
google.cloud.securitycenter.v1.IamBinding
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public IamBinding build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public IamBinding buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public IamBinding.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<IamBinding.Builder>
public IamBinding.Builder mergeFrom(IamBinding other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public IamBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<IamBinding.Builder>
IOException
public int getActionValue()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
getActionValue
in interface IamBindingOrBuilder
public IamBinding.Builder setActionValue(int value)
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
value
- The enum numeric value on the wire for action to set.public IamBinding.Action getAction()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
getAction
in interface IamBindingOrBuilder
public IamBinding.Builder setAction(IamBinding.Action value)
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
value
- The action to set.public IamBinding.Builder clearAction()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
public String getRole()
Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
getRole
in interface IamBindingOrBuilder
public ByteString getRoleBytes()
Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
getRoleBytes
in interface IamBindingOrBuilder
public IamBinding.Builder setRole(String value)
Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
value
- The role to set.public IamBinding.Builder clearRole()
Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
public IamBinding.Builder setRoleBytes(ByteString value)
Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
value
- The bytes for role to set.public String getMember()
A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
string member = 3;
getMember
in interface IamBindingOrBuilder
public ByteString getMemberBytes()
A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
string member = 3;
getMemberBytes
in interface IamBindingOrBuilder
public IamBinding.Builder setMember(String value)
A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
string member = 3;
value
- The member to set.public IamBinding.Builder clearMember()
A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
string member = 3;
public IamBinding.Builder setMemberBytes(ByteString value)
A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
string member = 3;
value
- The bytes for member to set.public final IamBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<IamBinding.Builder>
public final IamBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<IamBinding.Builder>
Copyright © 2022 Google LLC. All rights reserved.