public final class UsnJournal extends GeneratedMessage implements UsnJournalOrBuilder
Information from the NTFS USN Journal.
Protobuf type google.backstory.UsnJournal
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALLOCATED_FIELD_NUMBER
public static final int ALLOCATED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ATTRIBUTES_FLAG_FIELD_NUMBER
public static final int ATTRIBUTES_FLAG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_ATTRIBUTES_FIELD_NUMBER
public static final int FILE_ATTRIBUTES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REASONS_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UsnJournal getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UsnJournal.Builder newBuilder()
newBuilder(UsnJournal prototype)
public static UsnJournal.Builder newBuilder(UsnJournal prototype)
parseDelimitedFrom(InputStream input)
public static UsnJournal parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UsnJournal parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UsnJournal parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static UsnJournal parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static UsnJournal parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UsnJournal parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UsnJournal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UsnJournal> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllocated()
public 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 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];
getAttributesFlag()
public String getAttributesFlag()
File attributes flags from the USN record (e.g., "0x20").
string attributes_flag = 1;
| Returns |
| Type |
Description |
String |
The attributesFlag.
|
getAttributesFlagBytes()
public 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 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.
|
getDefaultInstanceForType()
public UsnJournal getDefaultInstanceForType()
getFileAttributes(int index)
public 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.
|
getFileAttributesCount()
public 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 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 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 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.
|
getParserForType()
public Parser<UsnJournal> getParserForType()
Overrides
getReason() (deprecated)
public 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];
getReasonValue() (deprecated)
public 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 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.
|
getReasonsCount()
public 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 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 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 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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UsnJournal.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UsnJournal.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public UsnJournal.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides