public static final class Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
Message containing the information of an EventProtobuf type
io.axoniq.axonserver.grpc.event.Event| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event |
build() |
Event |
buildPartial() |
Event.Builder |
clear() |
Event.Builder |
clearAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
|
Event.Builder |
clearAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
|
Event.Builder |
clearAggregateType()
The Type of the Aggregate instance that published this Event, if any
|
Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Event.Builder |
clearMessageIdentifier()
The unique identifier of this event
|
Event.Builder |
clearMetaData() |
Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Event.Builder |
clearPayload()
The Payload of the Event
|
Event.Builder |
clearSnapshot()
Flag indicating whether the Event is a snapshot Event
|
Event.Builder |
clearTimestamp()
The timestamp of the Event
|
Event.Builder |
clone() |
boolean |
containsMetaData(String key)
The Meta Data of the Event
|
String |
getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
|
com.google.protobuf.ByteString |
getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
|
long |
getAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
|
String |
getAggregateType()
The Type of the Aggregate instance that published this Event, if any
|
com.google.protobuf.ByteString |
getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
|
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessageIdentifier()
The unique identifier of this event
|
com.google.protobuf.ByteString |
getMessageIdentifierBytes()
The unique identifier of this event
|
Map<String,MetaDataValue> |
getMetaData()
Deprecated.
|
int |
getMetaDataCount()
The Meta Data of the Event
|
Map<String,MetaDataValue> |
getMetaDataMap()
The Meta Data of the Event
|
MetaDataValue |
getMetaDataOrDefault(String key,
MetaDataValue defaultValue)
The Meta Data of the Event
|
MetaDataValue |
getMetaDataOrThrow(String key)
The Meta Data of the Event
|
Map<String,MetaDataValue> |
getMutableMetaData()
Deprecated.
|
SerializedObject |
getPayload()
The Payload of the Event
|
SerializedObject.Builder |
getPayloadBuilder()
The Payload of the Event
|
SerializedObjectOrBuilder |
getPayloadOrBuilder()
The Payload of the Event
|
boolean |
getSnapshot()
Flag indicating whether the Event is a snapshot Event
|
long |
getTimestamp()
The timestamp of the Event
|
boolean |
hasPayload()
The Payload of the Event
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Event.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Event.Builder |
mergeFrom(Event other) |
Event.Builder |
mergeFrom(com.google.protobuf.Message other) |
Event.Builder |
mergePayload(SerializedObject value)
The Payload of the Event
|
Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
putAllMetaData(Map<String,MetaDataValue> values)
The Meta Data of the Event
|
Event.Builder |
putMetaData(String key,
MetaDataValue value)
The Meta Data of the Event
|
Event.Builder |
removeMetaData(String key)
The Meta Data of the Event
|
Event.Builder |
setAggregateIdentifier(String value)
The identifier of the Aggregate instance that published this event, if any
|
Event.Builder |
setAggregateIdentifierBytes(com.google.protobuf.ByteString value)
The identifier of the Aggregate instance that published this event, if any
|
Event.Builder |
setAggregateSequenceNumber(long value)
The sequence number of the Event in the Aggregate instance that published it, if any
|
Event.Builder |
setAggregateType(String value)
The Type of the Aggregate instance that published this Event, if any
|
Event.Builder |
setAggregateTypeBytes(com.google.protobuf.ByteString value)
The Type of the Aggregate instance that published this Event, if any
|
Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event.Builder |
setMessageIdentifier(String value)
The unique identifier of this event
|
Event.Builder |
setMessageIdentifierBytes(com.google.protobuf.ByteString value)
The unique identifier of this event
|
Event.Builder |
setPayload(SerializedObject.Builder builderForValue)
The Payload of the Event
|
Event.Builder |
setPayload(SerializedObject value)
The Payload of the Event
|
Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Event.Builder |
setSnapshot(boolean value)
Flag indicating whether the Event is a snapshot Event
|
Event.Builder |
setTimestamp(long value)
The timestamp of the Event
|
Event.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Event build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Event buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Event.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>public Event.Builder mergeFrom(Event other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>IOExceptionpublic String getMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;getMessageIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this event
string message_identifier = 1;getMessageIdentifierBytes in interface EventOrBuilderpublic Event.Builder setMessageIdentifier(String value)
The unique identifier of this event
string message_identifier = 1;public Event.Builder clearMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;public Event.Builder setMessageIdentifierBytes(com.google.protobuf.ByteString value)
The unique identifier of this event
string message_identifier = 1;public String getAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;getAggregateIdentifier in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;getAggregateIdentifierBytes in interface EventOrBuilderpublic Event.Builder setAggregateIdentifier(String value)
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;public Event.Builder clearAggregateIdentifier()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;public Event.Builder setAggregateIdentifierBytes(com.google.protobuf.ByteString value)
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;public long getAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
int64 aggregate_sequence_number = 3;getAggregateSequenceNumber in interface EventOrBuilderpublic Event.Builder setAggregateSequenceNumber(long value)
The sequence number of the Event in the Aggregate instance that published it, if any
int64 aggregate_sequence_number = 3;public Event.Builder clearAggregateSequenceNumber()
The sequence number of the Event in the Aggregate instance that published it, if any
int64 aggregate_sequence_number = 3;public String getAggregateType()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;getAggregateType in interface EventOrBuilderpublic com.google.protobuf.ByteString getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;getAggregateTypeBytes in interface EventOrBuilderpublic Event.Builder setAggregateType(String value)
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;public Event.Builder clearAggregateType()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;public Event.Builder setAggregateTypeBytes(com.google.protobuf.ByteString value)
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;public long getTimestamp()
The timestamp of the Event
int64 timestamp = 5;getTimestamp in interface EventOrBuilderpublic Event.Builder setTimestamp(long value)
The timestamp of the Event
int64 timestamp = 5;public Event.Builder clearTimestamp()
The timestamp of the Event
int64 timestamp = 5;public boolean hasPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;hasPayload in interface EventOrBuilderpublic SerializedObject getPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayload in interface EventOrBuilderpublic Event.Builder setPayload(SerializedObject value)
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;public Event.Builder setPayload(SerializedObject.Builder builderForValue)
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;public Event.Builder mergePayload(SerializedObject value)
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;public Event.Builder clearPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;public SerializedObject.Builder getPayloadBuilder()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;public SerializedObjectOrBuilder getPayloadOrBuilder()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;getPayloadOrBuilder in interface EventOrBuilderpublic int getMetaDataCount()
EventOrBuilderThe Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataCount in interface EventOrBuilderpublic boolean containsMetaData(String key)
The Meta Data of the Event
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()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataMap in interface EventOrBuilderpublic MetaDataValue getMetaDataOrDefault(String key, MetaDataValue defaultValue)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrDefault in interface EventOrBuilderpublic MetaDataValue getMetaDataOrThrow(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;getMetaDataOrThrow in interface EventOrBuilderpublic Event.Builder clearMetaData()
public Event.Builder removeMetaData(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;@Deprecated public Map<String,MetaDataValue> getMutableMetaData()
public Event.Builder putMetaData(String key, MetaDataValue value)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;public Event.Builder putAllMetaData(Map<String,MetaDataValue> values)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;public boolean getSnapshot()
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;getSnapshot in interface EventOrBuilderpublic Event.Builder setSnapshot(boolean value)
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;public Event.Builder clearSnapshot()
Flag indicating whether the Event is a snapshot Event
bool snapshot = 8;public final Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>public final Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>Copyright © 2010–2020. All rights reserved.