Class WindowsEventLog (0.3.0)

public final class WindowsEventLog extends GeneratedMessage implements WindowsEventLogOrBuilder

The WindowsEventLog extension captures details specific to Windows Event Log events.

Protobuf type google.backstory.WindowsEventLog

Static Fields

ACTIVITY_ID_FIELD_NUMBER

public static final int ACTIVITY_ID_FIELD_NUMBER
Field Value
Type Description
int

CHANNEL_FIELD_NUMBER

public static final int CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

EVENT_ID_FIELD_NUMBER

public static final int EVENT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsEventLog getDefaultInstance()
Returns
Type Description
WindowsEventLog

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WindowsEventLog.Builder newBuilder()
Returns
Type Description
WindowsEventLog.Builder

newBuilder(WindowsEventLog prototype)

public static WindowsEventLog.Builder newBuilder(WindowsEventLog prototype)
Parameter
Name Description
prototype WindowsEventLog
Returns
Type Description
WindowsEventLog.Builder

parseDelimitedFrom(InputStream input)

public static WindowsEventLog parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WindowsEventLog parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsEventLog parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsEventLog parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WindowsEventLog parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WindowsEventLog parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsEventLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WindowsEventLog> parser()
Returns
Type Description
Parser<WindowsEventLog>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActivityId()

public String getActivityId()

A GUID (Globally Unique Identifier) used to link a sequence of related events together.

string activity_id = 3;

Returns
Type Description
String

The activityId.

getActivityIdBytes()

public ByteString getActivityIdBytes()

A GUID (Globally Unique Identifier) used to link a sequence of related events together.

string activity_id = 3;

Returns
Type Description
ByteString

The bytes for activityId.

getChannel()

public WindowsEventLog.Channel getChannel()

The channel of the event.

.google.backstory.WindowsEventLog.Channel channel = 1;

Returns
Type Description
WindowsEventLog.Channel

The channel.

getChannelValue()

public int getChannelValue()

The channel of the event.

.google.backstory.WindowsEventLog.Channel channel = 1;

Returns
Type Description
int

The enum numeric value on the wire for channel.

getDefaultInstanceForType()

public WindowsEventLog getDefaultInstanceForType()
Returns
Type Description
WindowsEventLog

getEventId()

public String getEventId()

A unique identifier for a specific type of event.

string event_id = 2;

Returns
Type Description
String

The eventId.

getEventIdBytes()

public ByteString getEventIdBytes()

A unique identifier for a specific type of event.

string event_id = 2;

Returns
Type Description
ByteString

The bytes for eventId.

getParserForType()

public Parser<WindowsEventLog> getParserForType()
Returns
Type Description
Parser<WindowsEventLog>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WindowsEventLog.Builder newBuilderForType()
Returns
Type Description
WindowsEventLog.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WindowsEventLog.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WindowsEventLog.Builder
Overrides

toBuilder()

public WindowsEventLog.Builder toBuilder()
Returns
Type Description
WindowsEventLog.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException