| Modifier and Type | Method and Description |
|---|---|
RepeatedEnum<E> |
RepeatedEnum.add(E value) |
RepeatedEnum<E> |
RepeatedEnum.addAll(E... values) |
RepeatedEnum<E> |
RepeatedEnum.addAll(E[] buffer,
int offset,
int length) |
RepeatedEnum<E> |
RepeatedEnum.addAllValues(int... values) |
RepeatedEnum<E> |
RepeatedEnum.addAllValues(int[] buffer,
int offset,
int length) |
RepeatedEnum<E> |
RepeatedEnum.addValue(int value) |
RepeatedEnum<E> |
RepeatedEnum.copyFrom(E[] buffer) |
RepeatedEnum<E> |
RepeatedEnum.copyFrom(E[] buffer,
int offset,
int length) |
RepeatedEnum<E> |
RepeatedEnum.copyFromValues(int[] buffer) |
RepeatedEnum<E> |
RepeatedEnum.copyFromValues(int[] buffer,
int offset,
int length) |
static <E extends ProtoEnum> |
RepeatedEnum.newEmptyInstance(ProtoEnum.EnumConverter<E> converter) |
RepeatedEnum<E> |
RepeatedEnum.set(int index,
E value) |
RepeatedEnum<E> |
RepeatedEnum.setLength(int length)
Sets the absolute length of the data that can be serialized.
|
RepeatedEnum<E> |
RepeatedEnum.setValue(int index,
int value) |
| Modifier and Type | Method and Description |
|---|---|
void |
RepeatedEnum.addAll(RepeatedEnum<E> values) |
static int |
ProtoSink.computeRepeatedEnumSizeNoTag(RepeatedEnum<?> values)
Compute the number of bytes needed to encode all contained
enum values |
void |
RepeatedEnum.copyFrom(RepeatedEnum<E> other) |
void |
ProtoSource.readPackedEnum(RepeatedEnum<?> store,
int tag)
Read a repeated (packed)
enum field value from the source. |
int |
ProtoSource.readRepeatedEnum(RepeatedEnum<?> store,
int tag)
Read a repeated
enum field value from the source. |
<E extends ProtoEnum<?>> |
JsonSource.readRepeatedEnum(RepeatedEnum<E> value,
ProtoEnum.EnumConverter<E> converter) |
void |
ProtoSink.writePackedEnumNoTag(RepeatedEnum<?> values)
Write a repeated (packed)
enum field to the sink. |
JsonSink |
JsonSink.writeRepeatedEnum(FieldName name,
RepeatedEnum<?> value) |
Copyright © 2019–2024 HEBI Robotics. All rights reserved.