Class AuditData.PermissionDelta (3.48.0)

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
Type Description
int

REMOVED_PERMISSIONS_FIELD_NUMBER

public static final int REMOVED_PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AuditData.PermissionDelta getDefaultInstance()
Returns
Type Description
AuditData.PermissionDelta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AuditData.PermissionDelta.Builder newBuilder()
Returns
Type Description
AuditData.PermissionDelta.Builder

newBuilder(AuditData.PermissionDelta prototype)

public static AuditData.PermissionDelta.Builder newBuilder(AuditData.PermissionDelta prototype)
Parameter
Name Description
prototype AuditData.PermissionDelta
Returns
Type Description
AuditData.PermissionDelta.Builder

parseDelimitedFrom(InputStream input)

public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AuditData.PermissionDelta parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuditData.PermissionDelta parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuditData.PermissionDelta parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AuditData.PermissionDelta parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AuditData.PermissionDelta parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.PermissionDelta
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AuditData.PermissionDelta> parser()
Returns
Type Description
Parser<PermissionDelta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
ProtocolStringList

A list containing the addedPermissions.

getDefaultInstanceForType()

public AuditData.PermissionDelta getDefaultInstanceForType()
Returns
Type Description
AuditData.PermissionDelta

getParserForType()

public Parser<AuditData.PermissionDelta> getParserForType()
Returns
Type Description
Parser<PermissionDelta>
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
Type Description
ProtocolStringList

A list containing the removedPermissions.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AuditData.PermissionDelta.Builder newBuilderForType()
Returns
Type Description
AuditData.PermissionDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuditData.PermissionDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AuditData.PermissionDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AuditData.PermissionDelta.Builder toBuilder()
Returns
Type Description
AuditData.PermissionDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException