public final class EventRecord extends GeneratedMessage implements EventRecordOrBuilder
EventRecord stores information about a UDM event.
Protobuf type google.cloud.chronicle.v1.EventRecord
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
ALERT_NUMBER_FIELD_NUMBER
public static final int ALERT_NUMBER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ALERT_VIEW_ID_FIELD_NUMBER
public static final int ALERT_VIEW_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DETECTIONS_FIELD_NUMBER
public static final int DETECTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EVENT_LOG_TOKEN_FIELD_NUMBER
public static final int EVENT_LOG_TOKEN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static EventRecord getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EventRecord.Builder newBuilder()
newBuilder(EventRecord prototype)
public static EventRecord.Builder newBuilder(EventRecord prototype)
public static EventRecord parseDelimitedFrom(InputStream input)
public static EventRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EventRecord parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EventRecord parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventRecord parseFrom(CodedInputStream input)
public static EventRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventRecord parseFrom(InputStream input)
public static EventRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EventRecord parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EventRecord> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAlertNumber()
public int getAlertNumber()
If the event should be treated as an alert, the unique identifier for the
alert.
int32 alert_number = 3;
| Returns |
| Type |
Description |
int |
The alertNumber.
|
getAlertViewId()
public ByteString getAlertViewId()
Alert View specific Id. Helps create a link to Alert View.
bytes alert_view_id = 4;
| Returns |
| Type |
Description |
ByteString |
The alertViewId.
|
getAnnotations(int index)
public EventRecord.Annotation getAnnotations(int index)
Annotations added to an event.
repeated .google.cloud.chronicle.v1.EventRecord.Annotation annotations = 5;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
getAnnotationsCount()
public int getAnnotationsCount()
Annotations added to an event.
repeated .google.cloud.chronicle.v1.EventRecord.Annotation annotations = 5;
| Returns |
| Type |
Description |
int |
The count of annotations.
|
getAnnotationsList()
public List<EventRecord.Annotation> getAnnotationsList()
Annotations added to an event.
repeated .google.cloud.chronicle.v1.EventRecord.Annotation annotations = 5;
| Returns |
| Type |
Description |
List<Annotation> |
A list containing the annotations.
|
getAnnotationsValue(int index)
public int getAnnotationsValue(int index)
Annotations added to an event.
repeated .google.cloud.chronicle.v1.EventRecord.Annotation annotations = 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 annotations at the given index.
|
getAnnotationsValueList()
public List<Integer> getAnnotationsValueList()
Annotations added to an event.
repeated .google.cloud.chronicle.v1.EventRecord.Annotation annotations = 5;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for annotations.
|
getDefaultInstanceForType()
public EventRecord getDefaultInstanceForType()
getDetections(int index)
public Collection getDetections(int index)
Detections associated with an event.
repeated .google.backstory.Collection detections = 6;
| Parameter |
| Name |
Description |
index |
int
|
getDetectionsCount()
public int getDetectionsCount()
Detections associated with an event.
repeated .google.backstory.Collection detections = 6;
| Returns |
| Type |
Description |
int |
|
getDetectionsList()
public List<Collection> getDetectionsList()
Detections associated with an event.
repeated .google.backstory.Collection detections = 6;
getDetectionsOrBuilder(int index)
public CollectionOrBuilder getDetectionsOrBuilder(int index)
Detections associated with an event.
repeated .google.backstory.Collection detections = 6;
| Parameter |
| Name |
Description |
index |
int
|
getDetectionsOrBuilderList()
public List<? extends CollectionOrBuilder> getDetectionsOrBuilderList()
Detections associated with an event.
repeated .google.backstory.Collection detections = 6;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.CollectionOrBuilder> |
|
getEvent()
The UDM Event.
.google.cloud.chronicle.v1.Event event = 1;
| Returns |
| Type |
Description |
Event |
The event.
|
getEventLogToken()
public ByteString getEventLogToken()
Raw log tokens mapped to the event. Can be used to locate the raw log entry
that generated the event.
bytes event_log_token = 2;
| Returns |
| Type |
Description |
ByteString |
The eventLogToken.
|
getEventOrBuilder()
public EventOrBuilder getEventOrBuilder()
The UDM Event.
.google.cloud.chronicle.v1.Event event = 1;
getParserForType()
public Parser<EventRecord> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTable()
User defined table name for the event in joins query.
string table = 7;
| Returns |
| Type |
Description |
String |
The table.
|
getTableBytes()
public ByteString getTableBytes()
User defined table name for the event in joins query.
string table = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for table.
|
hasEvent()
public boolean hasEvent()
The UDM Event.
.google.cloud.chronicle.v1.Event event = 1;
| Returns |
| Type |
Description |
boolean |
Whether the event field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EventRecord.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected EventRecord.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public EventRecord.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides