public static final class NotificationType.Notification.Builder extends com.google.protobuf.GeneratedMessage.Builder<NotificationType.Notification.Builder> implements NotificationType.NotificationOrBuilder
rsb.protocol.Notification
The Notification message is the wire format and serialization mechanism used by the RSB Spread transport and other transports. Notification messages contain * event routing information, * event payloads * and optional event meta-data such as timestamps See https://docs.cor-lab.org/rsb-manual/trunk/html/specification-event.html for more information regarding events.
Modifier and Type | Method and Description |
---|---|
NotificationType.Notification.Builder |
addAllCauses(Iterable<? extends EventIdType.EventId> values)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
addCauses(EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
addCauses(EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
addCauses(int index,
EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
addCauses(int index,
EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13; |
EventIdType.EventId.Builder |
addCausesBuilder()
repeated .rsb.protocol.EventId causes = 13; |
EventIdType.EventId.Builder |
addCausesBuilder(int index)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification |
build() |
NotificationType.Notification |
buildPartial() |
NotificationType.Notification.Builder |
clear() |
NotificationType.Notification.Builder |
clearCauses()
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
clearData()
optional bytes data = 9; |
NotificationType.Notification.Builder |
clearEventId()
required .rsb.protocol.EventId event_id = 108; |
NotificationType.Notification.Builder |
clearMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15; |
NotificationType.Notification.Builder |
clearMethod()
optional bytes method = 14 [default = ""]; |
NotificationType.Notification.Builder |
clearScope()
optional bytes scope = 6; |
NotificationType.Notification.Builder |
clearWireSchema()
optional bytes wire_schema = 7; |
NotificationType.Notification.Builder |
clone() |
EventIdType.EventId |
getCauses(int index)
repeated .rsb.protocol.EventId causes = 13; |
EventIdType.EventId.Builder |
getCausesBuilder(int index)
repeated .rsb.protocol.EventId causes = 13; |
List<EventIdType.EventId.Builder> |
getCausesBuilderList()
repeated .rsb.protocol.EventId causes = 13; |
int |
getCausesCount()
repeated .rsb.protocol.EventId causes = 13; |
List<EventIdType.EventId> |
getCausesList()
repeated .rsb.protocol.EventId causes = 13; |
EventIdType.EventIdOrBuilder |
getCausesOrBuilder(int index)
repeated .rsb.protocol.EventId causes = 13; |
List<? extends EventIdType.EventIdOrBuilder> |
getCausesOrBuilderList()
repeated .rsb.protocol.EventId causes = 13; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 9; |
NotificationType.Notification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EventIdType.EventId |
getEventId()
required .rsb.protocol.EventId event_id = 108; |
EventIdType.EventId.Builder |
getEventIdBuilder()
required .rsb.protocol.EventId event_id = 108; |
EventIdType.EventIdOrBuilder |
getEventIdOrBuilder()
required .rsb.protocol.EventId event_id = 108; |
EventMetaDataType.EventMetaData |
getMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15; |
EventMetaDataType.EventMetaData.Builder |
getMetaDataBuilder()
optional .rsb.protocol.EventMetaData meta_data = 15; |
EventMetaDataType.EventMetaDataOrBuilder |
getMetaDataOrBuilder()
optional .rsb.protocol.EventMetaData meta_data = 15; |
com.google.protobuf.ByteString |
getMethod()
optional bytes method = 14 [default = ""]; |
com.google.protobuf.ByteString |
getScope()
optional bytes scope = 6; |
com.google.protobuf.ByteString |
getWireSchema()
optional bytes wire_schema = 7; |
boolean |
hasData()
optional bytes data = 9; |
boolean |
hasEventId()
required .rsb.protocol.EventId event_id = 108; |
boolean |
hasMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15; |
boolean |
hasMethod()
optional bytes method = 14 [default = ""]; |
boolean |
hasScope()
optional bytes scope = 6; |
boolean |
hasWireSchema()
optional bytes wire_schema = 7; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
NotificationType.Notification.Builder |
mergeEventId(EventIdType.EventId value)
required .rsb.protocol.EventId event_id = 108; |
NotificationType.Notification.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
NotificationType.Notification.Builder |
mergeFrom(com.google.protobuf.Message other) |
NotificationType.Notification.Builder |
mergeFrom(NotificationType.Notification other) |
NotificationType.Notification.Builder |
mergeMetaData(EventMetaDataType.EventMetaData value)
optional .rsb.protocol.EventMetaData meta_data = 15; |
NotificationType.Notification.Builder |
removeCauses(int index)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
setCauses(int index,
EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
setCauses(int index,
EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13; |
NotificationType.Notification.Builder |
setData(com.google.protobuf.ByteString value)
optional bytes data = 9; |
NotificationType.Notification.Builder |
setEventId(EventIdType.EventId.Builder builderForValue)
required .rsb.protocol.EventId event_id = 108; |
NotificationType.Notification.Builder |
setEventId(EventIdType.EventId value)
required .rsb.protocol.EventId event_id = 108; |
NotificationType.Notification.Builder |
setMetaData(EventMetaDataType.EventMetaData.Builder builderForValue)
optional .rsb.protocol.EventMetaData meta_data = 15; |
NotificationType.Notification.Builder |
setMetaData(EventMetaDataType.EventMetaData value)
optional .rsb.protocol.EventMetaData meta_data = 15; |
NotificationType.Notification.Builder |
setMethod(com.google.protobuf.ByteString value)
optional bytes method = 14 [default = ""]; |
NotificationType.Notification.Builder |
setScope(com.google.protobuf.ByteString value)
optional bytes scope = 6; |
NotificationType.Notification.Builder |
setWireSchema(com.google.protobuf.ByteString value)
optional bytes wire_schema = 7; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<NotificationType.Notification.Builder>
public NotificationType.Notification.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<NotificationType.Notification.Builder>
public NotificationType.Notification.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<NotificationType.Notification.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.GeneratedMessage.Builder<NotificationType.Notification.Builder>
public NotificationType.Notification getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public NotificationType.Notification build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public NotificationType.Notification buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public NotificationType.Notification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<NotificationType.Notification.Builder>
public NotificationType.Notification.Builder mergeFrom(NotificationType.Notification other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<NotificationType.Notification.Builder>
public NotificationType.Notification.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<NotificationType.Notification.Builder>
IOException
public boolean hasEventId()
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
hasEventId
in interface NotificationType.NotificationOrBuilder
public EventIdType.EventId getEventId()
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
getEventId
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setEventId(EventIdType.EventId value)
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
public NotificationType.Notification.Builder setEventId(EventIdType.EventId.Builder builderForValue)
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
public NotificationType.Notification.Builder mergeEventId(EventIdType.EventId value)
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
public NotificationType.Notification.Builder clearEventId()
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
public EventIdType.EventId.Builder getEventIdBuilder()
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
public EventIdType.EventIdOrBuilder getEventIdOrBuilder()
required .rsb.protocol.EventId event_id = 108;
The unique ID of the event, consisting of the unique id of sending participant and the sequence number of the event. The odd field number is a historical artifact.
getEventIdOrBuilder
in interface NotificationType.NotificationOrBuilder
public boolean hasScope()
optional bytes scope = 6;
The scope to which the encoded event was sent.
hasScope
in interface NotificationType.NotificationOrBuilder
public com.google.protobuf.ByteString getScope()
optional bytes scope = 6;
The scope to which the encoded event was sent.
getScope
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setScope(com.google.protobuf.ByteString value)
optional bytes scope = 6;
The scope to which the encoded event was sent.
public NotificationType.Notification.Builder clearScope()
optional bytes scope = 6;
The scope to which the encoded event was sent.
public boolean hasMethod()
optional bytes method = 14 [default = ""];
An ASCII-string designating the role of this event within a communication pattern. Two such roles could be "REQUEST" and "REPLY" in RPC communication. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
hasMethod
in interface NotificationType.NotificationOrBuilder
public com.google.protobuf.ByteString getMethod()
optional bytes method = 14 [default = ""];
An ASCII-string designating the role of this event within a communication pattern. Two such roles could be "REQUEST" and "REPLY" in RPC communication. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
getMethod
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setMethod(com.google.protobuf.ByteString value)
optional bytes method = 14 [default = ""];
An ASCII-string designating the role of this event within a communication pattern. Two such roles could be "REQUEST" and "REPLY" in RPC communication. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
public NotificationType.Notification.Builder clearMethod()
optional bytes method = 14 [default = ""];
An ASCII-string designating the role of this event within a communication pattern. Two such roles could be "REQUEST" and "REPLY" in RPC communication. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
public boolean hasWireSchema()
optional bytes wire_schema = 7;
An ASCII-string designating the wire schema with which the event payload (in the "data" field) has been serialized. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
hasWireSchema
in interface NotificationType.NotificationOrBuilder
public com.google.protobuf.ByteString getWireSchema()
optional bytes wire_schema = 7;
An ASCII-string designating the wire schema with which the event payload (in the "data" field) has been serialized. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
getWireSchema
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setWireSchema(com.google.protobuf.ByteString value)
optional bytes wire_schema = 7;
An ASCII-string designating the wire schema with which the event payload (in the "data" field) has been serialized. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
public NotificationType.Notification.Builder clearWireSchema()
optional bytes wire_schema = 7;
An ASCII-string designating the wire schema with which the event payload (in the "data" field) has been serialized. Note: The bytes type has been chosen to avoid UTF-8 de- and encoding.
public boolean hasData()
optional bytes data = 9;
The serialized payload of the event.
hasData
in interface NotificationType.NotificationOrBuilder
public com.google.protobuf.ByteString getData()
optional bytes data = 9;
The serialized payload of the event.
getData
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setData(com.google.protobuf.ByteString value)
optional bytes data = 9;
The serialized payload of the event.
public NotificationType.Notification.Builder clearData()
optional bytes data = 9;
The serialized payload of the event.
public List<EventIdType.EventId> getCausesList()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
getCausesList
in interface NotificationType.NotificationOrBuilder
public int getCausesCount()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
getCausesCount
in interface NotificationType.NotificationOrBuilder
public EventIdType.EventId getCauses(int index)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
getCauses
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setCauses(int index, EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder setCauses(int index, EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder addCauses(EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder addCauses(int index, EventIdType.EventId value)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder addCauses(EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder addCauses(int index, EventIdType.EventId.Builder builderForValue)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder addAllCauses(Iterable<? extends EventIdType.EventId> values)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder clearCauses()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public NotificationType.Notification.Builder removeCauses(int index)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public EventIdType.EventId.Builder getCausesBuilder(int index)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public EventIdType.EventIdOrBuilder getCausesOrBuilder(int index)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
getCausesOrBuilder
in interface NotificationType.NotificationOrBuilder
public List<? extends EventIdType.EventIdOrBuilder> getCausesOrBuilderList()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
getCausesOrBuilderList
in interface NotificationType.NotificationOrBuilder
public EventIdType.EventId.Builder addCausesBuilder()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public EventIdType.EventId.Builder addCausesBuilder(int index)
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public List<EventIdType.EventId.Builder> getCausesBuilderList()
repeated .rsb.protocol.EventId causes = 13;
A collection of id of other events which have in some way caused this event to be sent.
public boolean hasMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
hasMetaData
in interface NotificationType.NotificationOrBuilder
public EventMetaDataType.EventMetaData getMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
getMetaData
in interface NotificationType.NotificationOrBuilder
public NotificationType.Notification.Builder setMetaData(EventMetaDataType.EventMetaData value)
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
public NotificationType.Notification.Builder setMetaData(EventMetaDataType.EventMetaData.Builder builderForValue)
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
public NotificationType.Notification.Builder mergeMetaData(EventMetaDataType.EventMetaData value)
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
public NotificationType.Notification.Builder clearMetaData()
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
public EventMetaDataType.EventMetaData.Builder getMetaDataBuilder()
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
public EventMetaDataType.EventMetaDataOrBuilder getMetaDataOrBuilder()
optional .rsb.protocol.EventMetaData meta_data = 15;
meta-data storage
getMetaDataOrBuilder
in interface NotificationType.NotificationOrBuilder
Copyright © 2018 CoR-Lab. All rights reserved.