Class UnknownFieldSet.Builder

java.lang.Object
com.google.protobuf.UnknownFieldSet.Builder
All Implemented Interfaces:
MessageLite.Builder, MessageLiteOrBuilder, Cloneable
Enclosing class:
UnknownFieldSet

public static final class UnknownFieldSet.Builder extends Object implements MessageLite.Builder
Builder for UnknownFieldSets.

Note that this class maintains UnknownFieldSet.Field.Builders for all fields in the set. Thus, adding one element to an existing UnknownFieldSet.Field does not require making a copy. This is important for efficient parsing of unknown repeated fields. However, it implies that UnknownFieldSet.Fields cannot be constructed independently, nor can two UnknownFieldSets share the same Field object.

Use UnknownFieldSet.newBuilder() to construct a Builder.