public final class IamBinding extends GeneratedMessageV3 implements IamBindingOrBuilder
Represents a particular IAM binding, which captures a member's role addition,
removal, or state.
Protobuf type google.cloud.securitycenter.v1.IamBinding
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value
MEMBER_FIELD_NUMBER
public static final int MEMBER_FIELD_NUMBER
Field Value
ROLE_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static IamBinding getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IamBinding.Builder newBuilder()
Returns
newBuilder(IamBinding prototype)
public static IamBinding.Builder newBuilder(IamBinding prototype)
Parameter
Returns
public static IamBinding parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IamBinding parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IamBinding parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamBinding parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IamBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IamBinding parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IamBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IamBinding parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IamBinding> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAction()
public IamBinding.Action getAction()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
Returns
getActionValue()
public int getActionValue()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for action.
|
getDefaultInstanceForType()
public IamBinding getDefaultInstanceForType()
Returns
getMember()
public String getMember()
A single identity requesting access for a Cloud Platform resource,
e.g. "foo@google.com".
string member = 3;
Returns
Type | Description |
String | The member.
|
getMemberBytes()
public ByteString getMemberBytes()
A single identity requesting access for a Cloud Platform resource,
e.g. "foo@google.com".
string member = 3;
Returns
getParserForType()
public Parser<IamBinding> getParserForType()
Returns
Overrides
getRole()
Role that is assigned to "members".
For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
Returns
Type | Description |
String | The role.
|
getRoleBytes()
public ByteString getRoleBytes()
Role that is assigned to "members".
For example, "roles/viewer", "roles/editor", or "roles/owner".
string role = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IamBinding.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IamBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IamBinding.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions