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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getMessageIdentifier()
A message id
optional string message_identifier = 1;
getMessageIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
optional string message_identifier = 1;
getMessageIdentifierBytes
in interface EventOrBuilder
public String getAggregateIdentifier()
optional string aggregate_identifier = 2;
getAggregateIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateIdentifierBytes()
optional string aggregate_identifier = 2;
getAggregateIdentifierBytes
in interface EventOrBuilder
public long getAggregateSequenceNumber()
optional int64 aggregate_sequence_number = 3;
getAggregateSequenceNumber
in interface EventOrBuilder
public String getAggregateType()
optional string aggregate_type = 4;
getAggregateType
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateTypeBytes()
optional string aggregate_type = 4;
getAggregateTypeBytes
in interface EventOrBuilder
public long getTimestamp()
optional int64 timestamp = 5;
getTimestamp
in interface EventOrBuilder
public boolean hasPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
hasPayload
in interface EventOrBuilder
public SerializedObject getPayload()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayload
in interface EventOrBuilder
public SerializedObjectOrBuilder getPayloadOrBuilder()
optional .io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayloadOrBuilder
in interface EventOrBuilder
public int getMetaDataCount()
EventOrBuilder
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataCount
in interface EventOrBuilder
public 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 EventOrBuilder
public Map<String,MetaDataValue> getMetaDataMap()
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataMap
in interface EventOrBuilder
public MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataOrDefault
in interface EventOrBuilder
public MetaDataValue getMetaDataOrThrow(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataOrThrow
in interface EventOrBuilder
public boolean getSnapshot()
optional bool snapshot = 8;
getSnapshot
in interface EventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Event parseFrom(InputStream input) throws IOException
IOException
public static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Event parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Event.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Event.Builder newBuilder()
public static Event.Builder newBuilder(Event prototype)
public Event.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Event getDefaultInstance()
public static com.google.protobuf.Parser<Event> parser()
public com.google.protobuf.Parser<Event> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Event getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2018. All rights reserved.