Class EntityContextRecord (0.41.0)

public final class EntityContextRecord extends GeneratedMessage implements EntityContextRecordOrBuilder

EntityContextRecord stores information about a entity context graph.

Protobuf type google.cloud.chronicle.v1.EntityContextRecord

Static Fields

ENTITY_FIELD_NUMBER

public static final int ENTITY_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

TIMED_FIELD_NUMBER

public static final int TIMED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EntityContextRecord getDefaultInstance()
Returns
Type Description
EntityContextRecord

getDescriptor()

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

newBuilder()

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

newBuilder(EntityContextRecord prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EntityContextRecord getDefaultInstanceForType()
Returns
Type Description
EntityContextRecord

getEntity()

public Entity getEntity()

The entity information to be retrieved with UDM ECG search.

.google.cloud.chronicle.v1.Entity entity = 1;

Returns
Type Description
Entity

The entity.

getEntityOrBuilder()

public EntityOrBuilder getEntityOrBuilder()

The entity information to be retrieved with UDM ECG search.

.google.cloud.chronicle.v1.Entity entity = 1;

Returns
Type Description
EntityOrBuilder

getEventLogToken()

public String getEventLogToken()

Raw log tokens mapped to the event that created the entity. This is only for entity context events.

string event_log_token = 2;

Returns
Type Description
String

The eventLogToken.

getEventLogTokenBytes()

public ByteString getEventLogTokenBytes()

Raw log tokens mapped to the event that created the entity. This is only for entity context events.

string event_log_token = 2;

Returns
Type Description
ByteString

The bytes for eventLogToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTable()

public String getTable()

User defined table name for the entity in joins query.

string table = 4;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

User defined table name for the entity in joins query.

string table = 4;

Returns
Type Description
ByteString

The bytes for table.

getTimed()

public boolean getTimed()

If the entity is timed or not.

bool timed = 3;

Returns
Type Description
boolean

The timed.

hasEntity()

public boolean hasEntity()

The entity information to be retrieved with UDM ECG search.

.google.cloud.chronicle.v1.Entity entity = 1;

Returns
Type Description
boolean

Whether the entity field is set.

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 EntityContextRecord.Builder newBuilderForType()
Returns
Type Description
EntityContextRecord.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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