Interface FieldSetMarshaller.Entry<T,K,V>
- Type Parameters:
T- the marshaller typeK- the entry key typeV- the entry value type
- All Superinterfaces:
FieldReadable<Map.Entry<K,V>>, FieldSetMarshaller<T, Map.Entry<K, V>>, Writable<T>
- Enclosing interface:
FieldSetMarshaller<T,V>
public static interface FieldSetMarshaller.Entry<T,K,V>
extends FieldSetMarshaller<T, Map.Entry<K,V>>
A marshaller using a map entry field set.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface FieldSetMarshaller
FieldSetMarshaller.Entry<T,K, V>, FieldSetMarshaller.Simple<T>, FieldSetMarshaller.Supplied<T, V> -
Method Summary
Modifier and TypeMethodDescriptionReturns a builder for use withFieldReadable.readFrom(ProtoStreamReader, int, WireType, Object).Methods inherited from interface FieldReadable
getFields, nextIndex, readFromMethods inherited from interface FieldSetMarshaller
asMarshaller, asMarshaller, build
-
Method Details
-
createInitialValue
Description copied from interface:FieldSetMarshallerReturns a builder for use withFieldReadable.readFrom(ProtoStreamReader, int, WireType, Object). May return a shared instance, if the builder type is immutable, or a new instance, if the builder is mutable.- Specified by:
createInitialValuein interfaceFieldSetMarshaller<T,K> - Returns:
- a builder.
-