public static final class FragmentedNotificationType.FragmentedNotification.Builder extends com.google.protobuf.GeneratedMessage.Builder<FragmentedNotificationType.FragmentedNotification.Builder> implements FragmentedNotificationType.FragmentedNotificationOrBuilder
rsb.protocol.FragmentedNotification
A message which wraps the normal Notification and extends it with fragmentation information. This message is, for example, used in the Spread transport. See https://code.cor-lab.org/projects/rsb/wiki/SpreadProtocol for information regarding the event <-> notification transformation in this case.
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<FragmentedNotificationType.FragmentedNotification.Builder>
public FragmentedNotificationType.FragmentedNotification.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<FragmentedNotificationType.FragmentedNotification.Builder>
public FragmentedNotificationType.FragmentedNotification.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<FragmentedNotificationType.FragmentedNotification.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<FragmentedNotificationType.FragmentedNotification.Builder>
public FragmentedNotificationType.FragmentedNotification getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FragmentedNotificationType.FragmentedNotification build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FragmentedNotificationType.FragmentedNotification buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FragmentedNotificationType.FragmentedNotification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FragmentedNotificationType.FragmentedNotification.Builder>
public FragmentedNotificationType.FragmentedNotification.Builder mergeFrom(FragmentedNotificationType.FragmentedNotification other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<FragmentedNotificationType.FragmentedNotification.Builder>
public FragmentedNotificationType.FragmentedNotification.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<FragmentedNotificationType.FragmentedNotification.Builder>
IOException
public boolean hasNotification()
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
hasNotification
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public NotificationType.Notification getNotification()
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
getNotification
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public FragmentedNotificationType.FragmentedNotification.Builder setNotification(NotificationType.Notification value)
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
public FragmentedNotificationType.FragmentedNotification.Builder setNotification(NotificationType.Notification.Builder builderForValue)
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
public FragmentedNotificationType.FragmentedNotification.Builder mergeNotification(NotificationType.Notification value)
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
public FragmentedNotificationType.FragmentedNotification.Builder clearNotification()
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
public NotificationType.Notification.Builder getNotificationBuilder()
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
public NotificationType.NotificationOrBuilder getNotificationOrBuilder()
required .rsb.protocol.Notification notification = 1;
The original notification in some cases with only required fields filled. The first fragment contains the full meta-data set whereas subsequent FragmentedNotification s only carry payload chunks in this field and the event id for association.
getNotificationOrBuilder
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public boolean hasNumDataParts()
required uint32 num_data_parts = 2 [default = 1];
The number of notifications an event was split into. Splitting only happens when message size would have been to big for transmission in a single notification. 1 indicates a self-contained, i.e. not split, notification.
hasNumDataParts
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public int getNumDataParts()
required uint32 num_data_parts = 2 [default = 1];
The number of notifications an event was split into. Splitting only happens when message size would have been to big for transmission in a single notification. 1 indicates a self-contained, i.e. not split, notification.
getNumDataParts
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public FragmentedNotificationType.FragmentedNotification.Builder setNumDataParts(int value)
required uint32 num_data_parts = 2 [default = 1];
The number of notifications an event was split into. Splitting only happens when message size would have been to big for transmission in a single notification. 1 indicates a self-contained, i.e. not split, notification.
public FragmentedNotificationType.FragmentedNotification.Builder clearNumDataParts()
required uint32 num_data_parts = 2 [default = 1];
The number of notifications an event was split into. Splitting only happens when message size would have been to big for transmission in a single notification. 1 indicates a self-contained, i.e. not split, notification.
public boolean hasDataPart()
required uint32 data_part = 3 [default = 0];
The index of the current fragment of a fragmented notification. The initial fragment has index 0.
hasDataPart
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public int getDataPart()
required uint32 data_part = 3 [default = 0];
The index of the current fragment of a fragmented notification. The initial fragment has index 0.
getDataPart
in interface FragmentedNotificationType.FragmentedNotificationOrBuilder
public FragmentedNotificationType.FragmentedNotification.Builder setDataPart(int value)
required uint32 data_part = 3 [default = 0];
The index of the current fragment of a fragmented notification. The initial fragment has index 0.
public FragmentedNotificationType.FragmentedNotification.Builder clearDataPart()
required uint32 data_part = 3 [default = 0];
The index of the current fragment of a fragmented notification. The initial fragment has index 0.
Copyright © 2018 CoR-Lab. All rights reserved.