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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuditData.PermissionDelta.Builder newBuilder()
newBuilder(AuditData.PermissionDelta prototype)
public static AuditData.PermissionDelta.Builder newBuilder(AuditData.PermissionDelta prototype)
public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input)
public static AuditData.PermissionDelta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuditData.PermissionDelta parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuditData.PermissionDelta parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(CodedInputStream input)
public static AuditData.PermissionDelta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(InputStream input)
public static AuditData.PermissionDelta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuditData.PermissionDelta parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditData.PermissionDelta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuditData.PermissionDelta> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getDefaultInstanceForType()
public AuditData.PermissionDelta getDefaultInstanceForType()
getParserForType()
public Parser<AuditData.PermissionDelta> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuditData.PermissionDelta.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuditData.PermissionDelta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AuditData.PermissionDelta.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides