public static class ProtoLists.RepeatedFieldValueBuilder<P extends com.google.protobuf.Message.Builder,E> extends java.lang.Object implements ProtoLists.IRepeatedFieldValueBuilder<E>
| Modifier and Type | Field and Description |
|---|---|
protected int |
changedIndex |
protected com.google.protobuf.Descriptors.FieldDescriptor |
field |
protected P |
parent |
| Constructor and Description |
|---|
RepeatedFieldValueBuilder(P parent,
com.google.protobuf.Descriptors.FieldDescriptor field) |
| Modifier and Type | Method and Description |
|---|---|
E |
add() |
ProtoLists.IRepeatedFieldValueBuilder<E> |
add(E element) |
ProtoLists.IRepeatedFieldValueBuilder<E> |
add(int index,
E element) |
ProtoLists.IRepeatedFieldValueBuilder<E> |
addAll(java.util.Collection<? extends E> values) |
ProtoLists.IRepeatedFieldValueBuilder<E> |
clear() |
E |
get(int index) |
E |
getChanged(int index) |
int |
getChangedIndex() |
com.google.protobuf.Descriptors.FieldDescriptor |
getFieldDescriptor() |
E |
getLast() |
java.util.List<? extends E> |
getList() |
com.google.protobuf.Message.Builder |
getParent() |
com.google.protobuf.Descriptors.FieldDescriptor.JavaType |
getType() |
E |
newInstance() |
ProtoLists.IRepeatedFieldValueBuilder<E> |
remove(int index) |
ProtoLists.IRepeatedFieldValueBuilder<E> |
set(int index,
E element) |
int |
size() |
protected final P extends com.google.protobuf.Message.Builder parent
protected final com.google.protobuf.Descriptors.FieldDescriptor field
protected int changedIndex
public RepeatedFieldValueBuilder(P parent, com.google.protobuf.Descriptors.FieldDescriptor field)
public E get(int index)
get in interface ProtoLists.IRepeatedFieldValueBuilder<E>public int size()
size in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> set(int index, E element)
set in interface ProtoLists.IRepeatedFieldValueBuilder<E>public E add()
add in interface ProtoLists.IRepeatedFieldValueBuilder<E>public E newInstance()
newInstance in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> add(E element)
add in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> add(int index, E element)
add in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> remove(int index)
remove in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> clear()
clear in interface ProtoLists.IRepeatedFieldValueBuilder<E>public com.google.protobuf.Message.Builder getParent()
getParent in interface ProtoLists.IRepeatedFieldValueBuilder<E>public int getChangedIndex()
getChangedIndex in interface ProtoLists.IRepeatedFieldValueBuilder<E>public E getChanged(int index)
getChanged in interface ProtoLists.IRepeatedFieldValueBuilder<E>public E getLast()
getLast in interface ProtoLists.IRepeatedFieldValueBuilder<E>public java.util.List<? extends E> getList()
getList in interface ProtoLists.IRepeatedFieldValueBuilder<E>public ProtoLists.IRepeatedFieldValueBuilder<E> addAll(java.util.Collection<? extends E> values)
addAll in interface ProtoLists.IRepeatedFieldValueBuilder<E>public com.google.protobuf.Descriptors.FieldDescriptor getFieldDescriptor()
getFieldDescriptor in interface ProtoLists.IRepeatedFieldValueBuilder<E>public com.google.protobuf.Descriptors.FieldDescriptor.JavaType getType()
getType in interface ProtoLists.IRepeatedFieldValueBuilder<E>