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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
public Event getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Event build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Event buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Event.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Event.Builder>
IOException
public String getMessageIdentifier()
The unique identifier of this event
string message_identifier = 1;
getMessageIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
The unique identifier of this event
string message_identifier = 1;
getMessageIdentifierBytes
in interface EventOrBuilder
public 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 EventOrBuilder
public com.google.protobuf.ByteString getAggregateIdentifierBytes()
The identifier of the Aggregate instance that published this event, if any
string aggregate_identifier = 2;
getAggregateIdentifierBytes
in interface EventOrBuilder
public 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 EventOrBuilder
public 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 EventOrBuilder
public com.google.protobuf.ByteString getAggregateTypeBytes()
The Type of the Aggregate instance that published this Event, if any
string aggregate_type = 4;
getAggregateTypeBytes
in interface EventOrBuilder
public 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 EventOrBuilder
public 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 EventOrBuilder
public SerializedObject getPayload()
The Payload of the Event
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayload
in interface EventOrBuilder
public 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 EventOrBuilder
public int getMetaDataCount()
EventOrBuilder
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataCount
in interface EventOrBuilder
public 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 EventOrBuilder
public Map<String,MetaDataValue> getMetaDataMap()
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataMap
in interface EventOrBuilder
public 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 EventOrBuilder
public MetaDataValue getMetaDataOrThrow(String key)
The Meta Data of the Event
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
getMetaDataOrThrow
in interface EventOrBuilder
public 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 EventOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder>
Copyright © 2010–2020. All rights reserved.