public static final class AuditData.PermissionDelta extends GeneratedMessageV3 implements AuditData.PermissionDeltaOrBuilder
A PermissionDelta message to record the added_permissions and
removed_permissions inside a role.
Protobuf type google.iam.admin.v1.AuditData.PermissionDelta
Static Fields
ADDED_PERMISSIONS_FIELD_NUMBER
public static final int ADDED_PERMISSIONS_FIELD_NUMBER
Field Value
REMOVED_PERMISSIONS_FIELD_NUMBER
public static final int REMOVED_PERMISSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AuditData.PermissionDelta getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AuditData.PermissionDelta.Builder newBuilder()
Returns
newBuilder(AuditData.PermissionDelta prototype)
public static AuditData.PermissionDelta.Builder newBuilder(AuditData.PermissionDelta prototype)
Parameter
Returns
public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AuditData.PermissionDelta parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AuditData.PermissionDelta parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuditData.PermissionDelta parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AuditData.PermissionDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuditData.PermissionDelta parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuditData.PermissionDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AuditData.PermissionDelta parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AuditData.PermissionDelta> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAddedPermissions(int index)
public String getAddedPermissions(int index)
Added permissions.
repeated string added_permissions = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The addedPermissions at the given index.
|
getAddedPermissionsBytes(int index)
public ByteString getAddedPermissionsBytes(int index)
Added permissions.
repeated string added_permissions = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the addedPermissions at the given index.
|
getAddedPermissionsCount()
public int getAddedPermissionsCount()
Added permissions.
repeated string added_permissions = 1;
Returns
Type | Description |
int | The count of addedPermissions.
|
getAddedPermissionsList()
public ProtocolStringList getAddedPermissionsList()
Added permissions.
repeated string added_permissions = 1;
Returns
getDefaultInstanceForType()
public AuditData.PermissionDelta getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AuditData.PermissionDelta> getParserForType()
Returns
Overrides
getRemovedPermissions(int index)
public String getRemovedPermissions(int index)
Removed permissions.
repeated string removed_permissions = 2;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The removedPermissions at the given index.
|
getRemovedPermissionsBytes(int index)
public ByteString getRemovedPermissionsBytes(int index)
Removed permissions.
repeated string removed_permissions = 2;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the removedPermissions at the given index.
|
getRemovedPermissionsCount()
public int getRemovedPermissionsCount()
Removed permissions.
repeated string removed_permissions = 2;
Returns
Type | Description |
int | The count of removedPermissions.
|
getRemovedPermissionsList()
public ProtocolStringList getRemovedPermissionsList()
Removed permissions.
repeated string removed_permissions = 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 AuditData.PermissionDelta.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuditData.PermissionDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AuditData.PermissionDelta.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions