Package com.buildless.service.v1
Class Event
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.service.v1.Event
- All Implemented Interfaces:
EventOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
Defines the structure for an event which is delivered to the _Telemetry Service_. Events are mostly generic objects, which may be expressed in streaming or unary form. For the latter, `fin` should be set to `true` (or, for the last event in a stream).Protobuf type
buildless.service.v1.Event- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines the structure for an event which is delivered to the _Telemetry Service_.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 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 Eventstatic final com.google.protobuf.Descriptors.DescriptorgetEvent()Specifies the payload of the event being delivered.Specifies 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.com.google.protobuf.Parser<Event>getScope()Scope or operational context ID for this event.com.google.protobuf.ByteStringScope or operational context ID for this event.intbooleanhasEvent()Specifies the payload of the event being delivered.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Event.Builderstatic Event.BuildernewBuilder(Event prototype) protected Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EventparseDelimitedFrom(InputStream input) static EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(byte[] data) static EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.ByteString data) static EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.CodedInputStream input) static EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(InputStream input) static EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(ByteBuffer data) static EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Event>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:
-
-
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", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getCollectionin interfaceEventOrBuilder- 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", (.google.api.field_behavior) = OPTIONAL, (.validate.rules) = { ... }- Specified by:
getCollectionBytesin interfaceEventOrBuilder- 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", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getFinin interfaceEventOrBuilder- 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", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getIndexin interfaceEventOrBuilder- 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", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopein interfaceEventOrBuilder- 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", (.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeBytesin interfaceEventOrBuilder- Returns:
- The bytes for scope.
-
hasEvent
public boolean hasEvent()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.
.buildless.telemetry.TelemetryEvent event = 5 [json_name = "event", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
hasEventin interfaceEventOrBuilder- Returns:
- Whether the event field is set.
-
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.
.buildless.telemetry.TelemetryEvent event = 5 [json_name = "event", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getEventin interfaceEventOrBuilder- Returns:
- The event.
-
getEventOrBuilder
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.
.buildless.telemetry.TelemetryEvent event = 5 [json_name = "event", (.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Specified by:
getEventOrBuilderin interfaceEventOrBuilder
-
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 Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event 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 Event.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
-