@Generated(value="proto")
public static final class UnknownFieldSet.Field.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
UnknownFieldSet.Field.Builder |
addFixed32(int value)
Add a fixed32 value.
|
UnknownFieldSet.Field.Builder |
addFixed64(long value)
Add a fixed64 value.
|
UnknownFieldSet.Field.Builder |
addGroup(UnknownFieldSet value)
Add an embedded group.
|
UnknownFieldSet.Field.Builder |
addLengthDelimited(ByteString value)
Add a length-delimited value.
|
UnknownFieldSet.Field.Builder |
addVarint(long value)
Add a varint value.
|
UnknownFieldSet.Field |
build()
Build the field.
|
UnknownFieldSet.Field.Builder |
clear()
Discard the field's contents.
|
UnknownFieldSet.Field.Builder |
mergeFrom(UnknownFieldSet.Field other)
Merge the values in
other into this field. |
public UnknownFieldSet.Field build()
build()
has been called, the Builder
is no longer
usable. Calling any other method will result in undefined behavior and can cause a NullPointerException
to be thrown.public UnknownFieldSet.Field.Builder clear()
public UnknownFieldSet.Field.Builder mergeFrom(UnknownFieldSet.Field other)
other
into this field. For each list of values, other
's
values are append to the ones in this field.public UnknownFieldSet.Field.Builder addVarint(long value)
public UnknownFieldSet.Field.Builder addFixed32(int value)
public UnknownFieldSet.Field.Builder addFixed64(long value)
public UnknownFieldSet.Field.Builder addLengthDelimited(ByteString value)
public UnknownFieldSet.Field.Builder addGroup(UnknownFieldSet value)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.