Interface UsnJournalOrBuilder (0.3.0)

public interface UsnJournalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocated()

public abstract boolean getAllocated()

Indicates whether the file is allocated in the Master File Table (MFT).

bool allocated = 3;

Returns
Type Description
boolean

The allocated.

getAttributes() (deprecated)

public abstract UsnJournal.Attribute getAttributes()

Deprecated. google.backstory.UsnJournal.attributes is deprecated. See backstory/udm.proto;l=3650

Deprecated: Use file_attributes instead. File attributes from the USN record.

.google.backstory.UsnJournal.Attribute attributes = 2 [deprecated = true];

Returns
Type Description
UsnJournal.Attribute

The attributes.

getAttributesFlag()

public abstract String getAttributesFlag()

File attributes flags from the USN record (e.g., "0x20").

string attributes_flag = 1;

Returns
Type Description
String

The attributesFlag.

getAttributesFlagBytes()

public abstract ByteString getAttributesFlagBytes()

File attributes flags from the USN record (e.g., "0x20").

string attributes_flag = 1;

Returns
Type Description
ByteString

The bytes for attributesFlag.

getAttributesValue() (deprecated)

public abstract int getAttributesValue()

Deprecated. google.backstory.UsnJournal.attributes is deprecated. See backstory/udm.proto;l=3650

Deprecated: Use file_attributes instead. File attributes from the USN record.

.google.backstory.UsnJournal.Attribute attributes = 2 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for attributes.

getFileAttributes(int index)

public abstract UsnJournal.Attribute getFileAttributes(int index)

File attributes from the USN record.

repeated .google.backstory.UsnJournal.Attribute file_attributes = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
UsnJournal.Attribute

The fileAttributes at the given index.

getFileAttributesCount()

public abstract int getFileAttributesCount()

File attributes from the USN record.

repeated .google.backstory.UsnJournal.Attribute file_attributes = 5;

Returns
Type Description
int

The count of fileAttributes.

getFileAttributesList()

public abstract List<UsnJournal.Attribute> getFileAttributesList()

File attributes from the USN record.

repeated .google.backstory.UsnJournal.Attribute file_attributes = 5;

Returns
Type Description
List<Attribute>

A list containing the fileAttributes.

getFileAttributesValue(int index)

public abstract int getFileAttributesValue(int index)

File attributes from the USN record.

repeated .google.backstory.UsnJournal.Attribute file_attributes = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of fileAttributes at the given index.

getFileAttributesValueList()

public abstract List<Integer> getFileAttributesValueList()

File attributes from the USN record.

repeated .google.backstory.UsnJournal.Attribute file_attributes = 5;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for fileAttributes.

getReason() (deprecated)

public abstract UsnJournal.Reason getReason()

Deprecated. google.backstory.UsnJournal.reason is deprecated. See backstory/udm.proto;l=3661

Deprecated: Use reasons instead. Human-readable string describing the reason for the USN journal entry. (e.g., "USN_REASON_FILE_CREATE").

.google.backstory.UsnJournal.Reason reason = 4 [deprecated = true];

Returns
Type Description
UsnJournal.Reason

The reason.

getReasonValue() (deprecated)

public abstract int getReasonValue()

Deprecated. google.backstory.UsnJournal.reason is deprecated. See backstory/udm.proto;l=3661

Deprecated: Use reasons instead. Human-readable string describing the reason for the USN journal entry. (e.g., "USN_REASON_FILE_CREATE").

.google.backstory.UsnJournal.Reason reason = 4 [deprecated = true];

Returns
Type Description
int

The enum numeric value on the wire for reason.

getReasons(int index)

public abstract UsnJournal.Reason getReasons(int index)

Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").

repeated .google.backstory.UsnJournal.Reason reasons = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
UsnJournal.Reason

The reasons at the given index.

getReasonsCount()

public abstract int getReasonsCount()

Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").

repeated .google.backstory.UsnJournal.Reason reasons = 6;

Returns
Type Description
int

The count of reasons.

getReasonsList()

public abstract List<UsnJournal.Reason> getReasonsList()

Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").

repeated .google.backstory.UsnJournal.Reason reasons = 6;

Returns
Type Description
List<Reason>

A list containing the reasons.

getReasonsValue(int index)

public abstract int getReasonsValue(int index)

Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").

repeated .google.backstory.UsnJournal.Reason reasons = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of reasons at the given index.

getReasonsValueList()

public abstract List<Integer> getReasonsValueList()

Human-readable string describing the reasons for the USN journal entry (e.g., "USN_REASON_FILE_CREATE").

repeated .google.backstory.UsnJournal.Reason reasons = 6;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for reasons.