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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MEMBER_FIELD_NUMBER
public static final int MEMBER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ROLE_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static IamBinding getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IamBinding.Builder newBuilder()
newBuilder(IamBinding prototype)
public static IamBinding.Builder newBuilder(IamBinding prototype)
public static IamBinding parseDelimitedFrom(InputStream input)
public static IamBinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IamBinding parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IamBinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(CodedInputStream input)
public static IamBinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(InputStream input)
public static IamBinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IamBinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IamBinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IamBinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAction()
public IamBinding.Action getAction()
The action that was performed on a Binding.
.google.cloud.securitycenter.v1.IamBinding.Action action = 1;
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()
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 |
---|
Type | Description |
ByteString | The bytes for member.
|
getParserForType()
public Parser<IamBinding> getParserForType()
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 |
---|
Type | Description |
ByteString | The bytes for role.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IamBinding.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IamBinding.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public IamBinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides