Package com.google.protobuf
Class UnknownFieldSet.Field.Builder
java.lang.Object
com.google.protobuf.UnknownFieldSet.Field.Builder
- Enclosing class:
- UnknownFieldSet.Field
Used to build a
UnknownFieldSet.Field within an UnknownFieldSet.
Use UnknownFieldSet.Field.newBuilder() to construct a Builder.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFixed32(int value) Add a fixed32 value.addFixed64(long value) Add a fixed64 value.addGroup(UnknownFieldSet value) Add an embedded group.addLengthDelimited(ByteString value) Add a length-delimited value.addVarint(long value) Add a varint value.build()Build the field.clear()Discard the field's contents.clone()private static UnknownFieldSet.Field.Buildercreate()mergeFrom(UnknownFieldSet.Field other) Merge the values inotherinto this field.
-
Field Details
-
result
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
create
-
clone
-
build
Build the field. -
clear
Discard the field's contents. -
mergeFrom
Merge the values inotherinto this field. For each list of values,other's values are append to the ones in this field. -
addVarint
Add a varint value. -
addFixed32
Add a fixed32 value. -
addFixed64
Add a fixed64 value. -
addLengthDelimited
Add a length-delimited value. -
addGroup
Add an embedded group.
-