public static final class Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.Builder> implements EventOrBuilder
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()
string aggregate_identifier = 2; |
Event.Builder |
clearAggregateSequenceNumber()
int64 aggregate_sequence_number = 3; |
Event.Builder |
clearAggregateType()
string aggregate_type = 4; |
Event.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Event.Builder |
clearMessageIdentifier()
A message id
|
Event.Builder |
clearMetaData() |
Event.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Event.Builder |
clearPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
Event.Builder |
clearSnapshot()
bool snapshot = 8; |
Event.Builder |
clearTimestamp()
int64 timestamp = 5; |
Event.Builder |
clone() |
boolean |
containsMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
String |
getAggregateIdentifier()
string aggregate_identifier = 2; |
com.google.protobuf.ByteString |
getAggregateIdentifierBytes()
string aggregate_identifier = 2; |
long |
getAggregateSequenceNumber()
int64 aggregate_sequence_number = 3; |
String |
getAggregateType()
string aggregate_type = 4; |
com.google.protobuf.ByteString |
getAggregateTypeBytes()
string aggregate_type = 4; |
Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
Map<String,MetaDataValue> |
getMutableMetaData()
Deprecated.
|
SerializedObject |
getPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
SerializedObject.Builder |
getPayloadBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
SerializedObjectOrBuilder |
getPayloadOrBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
boolean |
getSnapshot()
bool snapshot = 8; |
long |
getTimestamp()
int64 timestamp = 5; |
boolean |
hasPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
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)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
Event.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Event.Builder |
putAllMetaData(Map<String,MetaDataValue> values)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
Event.Builder |
putMetaData(String key,
MetaDataValue value)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
Event.Builder |
removeMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7; |
Event.Builder |
setAggregateIdentifier(String value)
string aggregate_identifier = 2; |
Event.Builder |
setAggregateIdentifierBytes(com.google.protobuf.ByteString value)
string aggregate_identifier = 2; |
Event.Builder |
setAggregateSequenceNumber(long value)
int64 aggregate_sequence_number = 3; |
Event.Builder |
setAggregateType(String value)
string aggregate_type = 4; |
Event.Builder |
setAggregateTypeBytes(com.google.protobuf.ByteString value)
string aggregate_type = 4; |
Event.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Event.Builder |
setMessageIdentifier(String value)
A message id
|
Event.Builder |
setMessageIdentifierBytes(com.google.protobuf.ByteString value)
A message id
|
Event.Builder |
setPayload(SerializedObject.Builder builderForValue)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
Event.Builder |
setPayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6; |
Event.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Event.Builder |
setSnapshot(boolean value)
bool snapshot = 8; |
Event.Builder |
setTimestamp(long value)
int64 timestamp = 5; |
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()
A message id
string message_identifier = 1;
getMessageIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getMessageIdentifierBytes()
A message id
string message_identifier = 1;
getMessageIdentifierBytes
in interface EventOrBuilder
public Event.Builder setMessageIdentifier(String value)
A message id
string message_identifier = 1;
public Event.Builder clearMessageIdentifier()
A message id
string message_identifier = 1;
public Event.Builder setMessageIdentifierBytes(com.google.protobuf.ByteString value)
A message id
string message_identifier = 1;
public String getAggregateIdentifier()
string aggregate_identifier = 2;
getAggregateIdentifier
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateIdentifierBytes()
string aggregate_identifier = 2;
getAggregateIdentifierBytes
in interface EventOrBuilder
public Event.Builder setAggregateIdentifier(String value)
string aggregate_identifier = 2;
public Event.Builder clearAggregateIdentifier()
string aggregate_identifier = 2;
public Event.Builder setAggregateIdentifierBytes(com.google.protobuf.ByteString value)
string aggregate_identifier = 2;
public long getAggregateSequenceNumber()
int64 aggregate_sequence_number = 3;
getAggregateSequenceNumber
in interface EventOrBuilder
public Event.Builder setAggregateSequenceNumber(long value)
int64 aggregate_sequence_number = 3;
public Event.Builder clearAggregateSequenceNumber()
int64 aggregate_sequence_number = 3;
public String getAggregateType()
string aggregate_type = 4;
getAggregateType
in interface EventOrBuilder
public com.google.protobuf.ByteString getAggregateTypeBytes()
string aggregate_type = 4;
getAggregateTypeBytes
in interface EventOrBuilder
public Event.Builder setAggregateType(String value)
string aggregate_type = 4;
public Event.Builder clearAggregateType()
string aggregate_type = 4;
public Event.Builder setAggregateTypeBytes(com.google.protobuf.ByteString value)
string aggregate_type = 4;
public long getTimestamp()
int64 timestamp = 5;
getTimestamp
in interface EventOrBuilder
public Event.Builder setTimestamp(long value)
int64 timestamp = 5;
public Event.Builder clearTimestamp()
int64 timestamp = 5;
public boolean hasPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
hasPayload
in interface EventOrBuilder
public SerializedObject getPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
getPayload
in interface EventOrBuilder
public Event.Builder setPayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
public Event.Builder setPayload(SerializedObject.Builder builderForValue)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
public Event.Builder mergePayload(SerializedObject value)
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
public Event.Builder clearPayload()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
public SerializedObject.Builder getPayloadBuilder()
.io.axoniq.axonserver.grpc.SerializedObject payload = 6;
public SerializedObjectOrBuilder getPayloadOrBuilder()
.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 Event.Builder clearMetaData()
public Event.Builder removeMetaData(String key)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
@Deprecated public Map<String,MetaDataValue> getMutableMetaData()
public Event.Builder putMetaData(String key, MetaDataValue value)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
public Event.Builder putAllMetaData(Map<String,MetaDataValue> values)
map<string, .io.axoniq.axonserver.grpc.MetaDataValue> meta_data = 7;
public boolean getSnapshot()
bool snapshot = 8;
getSnapshot
in interface EventOrBuilder
public Event.Builder setSnapshot(boolean value)
bool snapshot = 8;
public Event.Builder clearSnapshot()
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–2019. All rights reserved.