Package com.buildless.telemetry
Class IngestedEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.telemetry.IngestedEvent
- All Implemented Interfaces:
IngestedEventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class IngestedEvent
extends com.google.protobuf.GeneratedMessageV3
implements IngestedEventOrBuilder
## Telemetry: Event Describes the structure of an event which is being processed by the Buildless platform. This structure is used when emitting various events back out via webhooks.Protobuf type
buildless.telemetry.IngestedEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## Telemetry: Event Describes the structure of an event which is being processed by the Buildless platform.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies the collection to which this event belongs.com.google.protobuf.ByteStringSpecifies the collection to which this event belongs.static IngestedEventstatic final com.google.protobuf.Descriptors.DescriptorgetEvent()Specifies the payload of the event being delivered.com.google.protobuf.ByteStringSpecifies the payload of the event being delivered.booleangetFin()Whether this event is a standalone event (`true`), or part of a series (`false`).intgetIndex()Index of this event within the ordinal context of all events sent for a given event stream or session.longSpecifies the timestamp indicating when this event was ingested.longSpecifies the timestamp indicating when this event occurred.com.google.protobuf.Parser<IngestedEvent>getScope()Scope or operational context ID for this event.com.google.protobuf.ByteStringScope or operational context ID for this event.intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic IngestedEvent.Builderstatic IngestedEvent.BuildernewBuilder(IngestedEvent prototype) protected IngestedEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static IngestedEventparseDelimitedFrom(InputStream input) static IngestedEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestedEventparseFrom(byte[] data) static IngestedEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestedEventparseFrom(com.google.protobuf.ByteString data) static IngestedEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestedEventparseFrom(com.google.protobuf.CodedInputStream input) static IngestedEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestedEventparseFrom(InputStream input) static IngestedEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IngestedEventparseFrom(ByteBuffer data) static IngestedEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestedEvent>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER- See Also:
-
FIN_FIELD_NUMBER
public static final int FIN_FIELD_NUMBER- See Also:
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER- See Also:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER- See Also:
-
OCCURRED_FIELD_NUMBER
public static final int OCCURRED_FIELD_NUMBER- See Also:
-
INGESTED_FIELD_NUMBER
public static final int INGESTED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCollection
Specifies the collection to which this event belongs. Named event collections are used for certain types of events which are grouped together for reporting purposes.
string collection = 1 [json_name = "collection"];- Specified by:
getCollectionin interfaceIngestedEventOrBuilder- Returns:
- The collection.
-
getCollectionBytes
public com.google.protobuf.ByteString getCollectionBytes()Specifies the collection to which this event belongs. Named event collections are used for certain types of events which are grouped together for reporting purposes.
string collection = 1 [json_name = "collection"];- Specified by:
getCollectionBytesin interfaceIngestedEventOrBuilder- Returns:
- The bytes for collection.
-
getFin
public boolean getFin()Whether this event is a standalone event (`true`), or part of a series (`false`). Only applicable when sending streams of events.
bool fin = 2 [json_name = "fin"];- Specified by:
getFinin interfaceIngestedEventOrBuilder- Returns:
- The fin.
-
getIndex
public int getIndex()Index of this event within the ordinal context of all events sent for a given event stream or session. Only applicable in circumstances where events have a natural order.
uint32 index = 3 [json_name = "index"];- Specified by:
getIndexin interfaceIngestedEventOrBuilder- Returns:
- The index.
-
getScope
Scope or operational context ID for this event. This value may be mixed into the event's ID and other data. This value is optional. For example, it may be filled in with a build ID in CI systems.
string scope = 4 [json_name = "scope"];- Specified by:
getScopein interfaceIngestedEventOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()Scope or operational context ID for this event. This value may be mixed into the event's ID and other data. This value is optional. For example, it may be filled in with a build ID in CI systems.
string scope = 4 [json_name = "scope"];- Specified by:
getScopeBytesin interfaceIngestedEventOrBuilder- Returns:
- The bytes for scope.
-
getEvent
Specifies the payload of the event being delivered. This field is required and constitutes the actual content of the event which should be validated, enriched, and persisted.
string event = 5 [json_name = "event"];- Specified by:
getEventin interfaceIngestedEventOrBuilder- Returns:
- The event.
-
getEventBytes
public com.google.protobuf.ByteString getEventBytes()Specifies the payload of the event being delivered. This field is required and constitutes the actual content of the event which should be validated, enriched, and persisted.
string event = 5 [json_name = "event"];- Specified by:
getEventBytesin interfaceIngestedEventOrBuilder- Returns:
- The bytes for event.
-
getOccurred
public long getOccurred()Specifies the timestamp indicating when this event occurred.
uint64 occurred = 6 [json_name = "occurred"];- Specified by:
getOccurredin interfaceIngestedEventOrBuilder- Returns:
- The occurred.
-
getIngested
public long getIngested()Specifies the timestamp indicating when this event was ingested.
uint64 ingested = 7 [json_name = "ingested"];- Specified by:
getIngestedin interfaceIngestedEventOrBuilder- Returns:
- The ingested.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static IngestedEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestedEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestedEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestedEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestedEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestedEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestedEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IngestedEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestedEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestedEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IngestedEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-