| Modifier and Type | Method and Description |
|---|---|
RepeatedMessage<MessageType> |
RepeatedMessage.checkInitialized()
Helper method to check whether all contained messages are
initialized, i.e., if all required fields are set.
|
RepeatedMessage<MessageType> |
RepeatedMessage.clearQuick() |
static <T extends ProtoMessage<T>> |
RepeatedMessage.newEmptyInstance(MessageFactory<T> factory) |
<ProtoMsg extends ProtoMessage<ProtoMsg>> |
JsonSource.parseRepeatedMessage(MessageFactory<ProtoMsg> factory)
Parses a root-level array of the given message type and checks for required field initialization
|
<ProtoMsg extends ProtoMessage<ProtoMsg>> |
JsonSource.readRepeatedMessage(RepeatedMessage<ProtoMsg> value) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ProtoSink.computeRepeatedGroupSizeNoTag(RepeatedMessage<?> values)
Compute the number of bytes needed to encode all contained
message values |
static int |
ProtoSink.computeRepeatedMessageSizeNoTag(RepeatedMessage<?> values)
Compute the number of bytes needed to encode all contained
message values |
protected static void |
ProtoMessage.getMissingFields(String prefix,
String fieldName,
RepeatedMessage<?> field,
List<String> results) |
void |
JsonSource.readRepeatedGroup(RepeatedMessage<?> value) |
int |
ProtoSource.readRepeatedGroup(RepeatedMessage<?> store,
int tag)
Read a repeated
group field value from the source. |
int |
ProtoSource.readRepeatedMessage(RepeatedMessage<?> store,
int tag)
Read a repeated
message field value from the source. |
<ProtoMsg extends ProtoMessage<ProtoMsg>> |
JsonSource.readRepeatedMessage(RepeatedMessage<ProtoMsg> value) |
JsonSink |
JsonSink.writeRepeatedGroup(FieldName name,
RepeatedMessage<?> value) |
JsonSink |
JsonSink.writeRepeatedMessage(FieldName name,
RepeatedMessage<?> value) |
JsonSink |
JsonSink.writeRepeatedMessage(RepeatedMessage<?> value)
Writes a top-level array [content]
|
JsonSink |
JsonSink.writeRepeatedMessageSilent(RepeatedMessage<?> value)
Convenience overload for writing to in-memory sinks that don't throw IOException
|
| Constructor and Description |
|---|
UninitializedMessageException(RepeatedMessage<?> messageArray) |
Copyright © 2019–2024 HEBI Robotics. All rights reserved.