public final class Event extends com.google.protobuf.GeneratedMessageV3 implements EventOrBuilder
io.axoniq.axonserver.grpc.event.Event| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder
Protobuf type
io.axoniq.axonserver.grpc.event.Event |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATE_IDENTIFIER_FIELD_NUMBER |
static int |
AGGREGATE_SEQUENCE_NUMBER_FIELD_NUMBER |
static int |
AGGREGATE_TYPE_FIELD_NUMBER |
static int |
MESSAGE_IDENTIFIER_FIELD_NUMBER |
static int |
META_DATA_FIELD_NUMBER |
static int |
PAYLOAD_FIELD_NUMBER |
static int |
SNAPSHOT_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
boolean |
equals(Object obj) |
String |
getAggregateIdentifier()
optional string aggregate_identifier = 2; |
com.google.protobuf.ByteString |
getAggregateIdentifierBytes()
optional string aggregate_identifier = 2; |
long |
getAggregateSequenceNumber()
optional int64 aggregate_sequence_number = 3; |
String |
getAggregateType()
optional string aggregate_type = 4; |
com.google.protobuf.ByteString |
getAggregateTypeBytes()
optional string aggregate_type = 4; |
static Event |
getDefaultInstance() |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessageIdentifier()
A message id
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
A message id
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
Map<String,MetaDataValue> |
getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
MetaDataValue |
getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
com.google.protobuf.Parser<Event> |
getParserForType() |
SerializedObject |
getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
SerializedObjectOrBuilder |
getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
int |
getSerializedSize() |
boolean |
getSnapshot()
optional bool snapshot = 8; |
long |
getTimestamp()
optional int64 timestamp = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Event.Builder |
newBuilder() |
static Event.Builder |
newBuilder(Event prototype) |
Event.Builder |
newBuilderForType() |
protected Event.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Event |
parseDelimitedFrom(InputStream input) |
static Event |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(byte[] data) |
static Event |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(com.google.protobuf.ByteString data) |
static Event |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Event |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Event |
parseFrom(InputStream input) |
static Event |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Event> |
parser() |
Event.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MESSAGE_IDENTIFIER_FIELD_NUMBER
public static final int AGGREGATE_IDENTIFIER_FIELD_NUMBER
public static final int AGGREGATE_SEQUENCE_NUMBER_FIELD_NUMBER
public static final int AGGREGATE_TYPE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
public static final int META_DATA_FIELD_NUMBER
public static final int SNAPSHOT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getMessageIdentifier()
A message id
optional string message_identifier = 1;getMessageIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
optional string message_identifier = 1;getMessageIdentifierBytes in interface EventOrBuilderpublic String getAggregateIdentifier()
optional string aggregate_identifier = 2;getAggregateIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateIdentifierBytes()
optional string aggregate_identifier = 2;getAggregateIdentifierBytes in interface EventOrBuilderpublic long getAggregateSequenceNumber()
optional int64 aggregate_sequence_number = 3;getAggregateSequenceNumber in interface EventOrBuilderpublic String getAggregateType()
optional string aggregate_type = 4;getAggregateType in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateTypeBytes()
optional string aggregate_type = 4;getAggregateTypeBytes in interface EventOrBuilderpublic long getTimestamp()
optional int64 timestamp = 5;getTimestamp in interface EventOrBuilderpublic boolean hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;hasPayload in interface EventOrBuilderpublic SerializedObject getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayload in interface EventOrBuilderpublic SerializedObjectOrBuilder getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayloadOrBuilder in interface EventOrBuilderpublic int getMetaDataCount()
EventOrBuildermap<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataCount in interface EventOrBuilderpublic boolean containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;containsMetaData in interface EventOrBuilder@Deprecated public Map<String,MetaDataValue> getMetaData()
getMetaDataMap() instead.getMetaData in interface EventOrBuilderpublic Map<String,MetaDataValue> getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataMap in interface EventOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrDefault in interface EventOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrThrow in interface EventOrBuilderpublic boolean getSnapshot()
optional bool snapshot = 8;getSnapshot in interface EventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Event parseFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Event.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Event.Builder newBuilder()
public static Event.Builder newBuilder(Event prototype)
public Event.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Event getDefaultInstance()
public static com.google.protobuf.Parser<Event> parser()
public com.google.protobuf.Parser<Event> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2018. All rights reserved.