Class AuditData.PermissionDelta

  • All Implemented Interfaces:
    AuditData.PermissionDeltaOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    AuditData

    public static final class AuditData.PermissionDelta
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Field Detail

      • ADDED_PERMISSIONS_FIELD_NUMBER

        public static final int ADDED_PERMISSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REMOVED_PERMISSIONS_FIELD_NUMBER

        public static final int REMOVED_PERMISSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getAddedPermissionsList

        public com.google.protobuf.ProtocolStringList getAddedPermissionsList()
         Added permissions.
         
        repeated string added_permissions = 1;
        Specified by:
        getAddedPermissionsList in interface AuditData.PermissionDeltaOrBuilder
        Returns:
        A list containing the addedPermissions.
      • getAddedPermissions

        public String getAddedPermissions​(int index)
         Added permissions.
         
        repeated string added_permissions = 1;
        Specified by:
        getAddedPermissions in interface AuditData.PermissionDeltaOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The addedPermissions at the given index.
      • getAddedPermissionsBytes

        public com.google.protobuf.ByteString getAddedPermissionsBytes​(int index)
         Added permissions.
         
        repeated string added_permissions = 1;
        Specified by:
        getAddedPermissionsBytes in interface AuditData.PermissionDeltaOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the addedPermissions at the given index.
      • getRemovedPermissionsList

        public com.google.protobuf.ProtocolStringList getRemovedPermissionsList()
         Removed permissions.
         
        repeated string removed_permissions = 2;
        Specified by:
        getRemovedPermissionsList in interface AuditData.PermissionDeltaOrBuilder
        Returns:
        A list containing the removedPermissions.
      • getRemovedPermissions

        public String getRemovedPermissions​(int index)
         Removed permissions.
         
        repeated string removed_permissions = 2;
        Specified by:
        getRemovedPermissions in interface AuditData.PermissionDeltaOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The removedPermissions at the given index.
      • getRemovedPermissionsBytes

        public com.google.protobuf.ByteString getRemovedPermissionsBytes​(int index)
         Removed permissions.
         
        repeated string removed_permissions = 2;
        Specified by:
        getRemovedPermissionsBytes in interface AuditData.PermissionDeltaOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the removedPermissions at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AuditData.PermissionDelta parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public AuditData.PermissionDelta.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AuditData.PermissionDelta.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AuditData.PermissionDelta.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AuditData.PermissionDelta> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AuditData.PermissionDelta getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder