public static final class WindowsEventLog.Builder extends GeneratedMessage.Builder<WindowsEventLog.Builder> implements WindowsEventLogOrBuilderThe WindowsEventLog extension captures details specific to Windows Event Log events.
Protobuf type google.backstory.WindowsEventLog
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WindowsEventLog.BuilderImplements
WindowsEventLogOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WindowsEventLog.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WindowsEventLog.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.ChannelThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for eventId to set. |
| Returns | |
|---|---|
| Type | Description |
WindowsEventLog.Builder |
This builder for chaining. |