Class WindowsEventLog.Builder (0.3.0)

public static final class WindowsEventLog.Builder extends GeneratedMessage.Builder<WindowsEventLog.Builder> implements WindowsEventLogOrBuilder

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

Protobuf type google.backstory.WindowsEventLog

Static Methods

getDescriptor()

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

Methods

build()

public WindowsEventLog build()
Returns
Type Description
WindowsEventLog

buildPartial()

public WindowsEventLog buildPartial()
Returns
Type Description
WindowsEventLog

clear()

public WindowsEventLog.Builder clear()
Returns
Type Description
WindowsEventLog.Builder
Overrides

clearActivityId()

public WindowsEventLog.Builder clearActivityId()

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

string activity_id = 3;

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

clearChannel()

public WindowsEventLog.Builder clearChannel()

The channel of the event.

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

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

clearEventId()

public WindowsEventLog.Builder clearEventId()

A unique identifier for a specific type of event.

string event_id = 2;

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WindowsEventLog other)

public WindowsEventLog.Builder mergeFrom(WindowsEventLog other)
Parameter
Name Description
other WindowsEventLog
Returns
Type Description
WindowsEventLog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsEventLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsEventLog.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WindowsEventLog.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WindowsEventLog.Builder
Overrides

setActivityId(String value)

public WindowsEventLog.Builder setActivityId(String value)

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

string activity_id = 3;

Parameter
Name Description
value String

The activityId to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

setActivityIdBytes(ByteString value)

public WindowsEventLog.Builder setActivityIdBytes(ByteString value)

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

string activity_id = 3;

Parameter
Name Description
value ByteString

The bytes for activityId to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

setChannel(WindowsEventLog.Channel value)

public WindowsEventLog.Builder setChannel(WindowsEventLog.Channel value)

The channel of the event.

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

Parameter
Name Description
value WindowsEventLog.Channel

The channel to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

setChannelValue(int value)

public WindowsEventLog.Builder setChannelValue(int value)

The channel of the event.

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

Parameter
Name Description
value int

The enum numeric value on the wire for channel to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

setEventId(String value)

public WindowsEventLog.Builder setEventId(String value)

A unique identifier for a specific type of event.

string event_id = 2;

Parameter
Name Description
value String

The eventId to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.

setEventIdBytes(ByteString value)

public WindowsEventLog.Builder setEventIdBytes(ByteString value)

A unique identifier for a specific type of event.

string event_id = 2;

Parameter
Name Description
value ByteString

The bytes for eventId to set.

Returns
Type Description
WindowsEventLog.Builder

This builder for chaining.