Class AuditData.PermissionDelta (1.2.5)

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
TypeDescription
int

REMOVED_PERMISSIONS_FIELD_NUMBER

public static final int REMOVED_PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AuditData.PermissionDelta getDefaultInstance()
Returns
TypeDescription
AuditData.PermissionDelta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AuditData.PermissionDelta.Builder newBuilder()
Returns
TypeDescription
AuditData.PermissionDelta.Builder

newBuilder(AuditData.PermissionDelta prototype)

public static AuditData.PermissionDelta.Builder newBuilder(AuditData.PermissionDelta prototype)
Parameter
NameDescription
prototypeAuditData.PermissionDelta
Returns
TypeDescription
AuditData.PermissionDelta.Builder

parseDelimitedFrom(InputStream input)

public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AuditData.PermissionDelta parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AuditData.PermissionDelta parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AuditData.PermissionDelta parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AuditData.PermissionDelta parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AuditData.PermissionDelta parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AuditData.PermissionDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.PermissionDelta
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAddedPermissions(int index)

public String getAddedPermissions(int index)

Added permissions.

repeated string added_permissions = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The addedPermissions at the given index.

getAddedPermissionsBytes(int index)

public ByteString getAddedPermissionsBytes(int index)

Added permissions.

repeated string added_permissions = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the addedPermissions at the given index.

getAddedPermissionsCount()

public int getAddedPermissionsCount()

Added permissions.

repeated string added_permissions = 1;

Returns
TypeDescription
int

The count of addedPermissions.

getAddedPermissionsList()

public ProtocolStringList getAddedPermissionsList()

Added permissions.

repeated string added_permissions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the addedPermissions.

getDefaultInstanceForType()

public AuditData.PermissionDelta getDefaultInstanceForType()
Returns
TypeDescription
AuditData.PermissionDelta

getParserForType()

public Parser<AuditData.PermissionDelta> getParserForType()
Returns
TypeDescription
Parser<PermissionDelta>
Overrides

getRemovedPermissions(int index)

public String getRemovedPermissions(int index)

Removed permissions.

repeated string removed_permissions = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The removedPermissions at the given index.

getRemovedPermissionsBytes(int index)

public ByteString getRemovedPermissionsBytes(int index)

Removed permissions.

repeated string removed_permissions = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the removedPermissions at the given index.

getRemovedPermissionsCount()

public int getRemovedPermissionsCount()

Removed permissions.

repeated string removed_permissions = 2;

Returns
TypeDescription
int

The count of removedPermissions.

getRemovedPermissionsList()

public ProtocolStringList getRemovedPermissionsList()

Removed permissions.

repeated string removed_permissions = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the removedPermissions.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AuditData.PermissionDelta.Builder newBuilderForType()
Returns
TypeDescription
AuditData.PermissionDelta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AuditData.PermissionDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AuditData.PermissionDelta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AuditData.PermissionDelta.Builder toBuilder()
Returns
TypeDescription
AuditData.PermissionDelta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException