Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Method and Description |
---|---|
Field.Builder |
Field.Builder.addAllOptions(Iterable<? extends Option> values)
The protocol buffer options.
|
Field.Builder |
Field.Builder.addOptions(int index,
Option.Builder builderForValue)
The protocol buffer options.
|
Field.Builder |
Field.Builder.addOptions(int index,
Option value)
The protocol buffer options.
|
Field.Builder |
Field.Builder.addOptions(Option.Builder builderForValue)
The protocol buffer options.
|
Field.Builder |
Field.Builder.addOptions(Option value)
The protocol buffer options.
|
Field.Builder |
Field.Builder.clearCardinality()
The field cardinality.
|
Field.Builder |
Field.Builder.clearDefaultValue()
The string value of the default value of this field.
|
Field.Builder |
Field.Builder.clearJsonName()
The field JSON name.
|
Field.Builder |
Field.Builder.clearKind()
The field type.
|
Field.Builder |
Field.Builder.clearName()
The field name.
|
Field.Builder |
Field.Builder.clearNumber()
The field number.
|
Field.Builder |
Field.Builder.clearOneofIndex()
The index of the field type in `Type.oneofs`, for message or enumeration
types.
|
Field.Builder |
Field.Builder.clearOptions()
The protocol buffer options.
|
Field.Builder |
Field.Builder.clearPacked()
Whether to use alternative packed wire representation.
|
Field.Builder |
Field.Builder.clearTypeUrl()
The field type URL, without the scheme, for message or enumeration
types.
|
static Field.Builder |
Field.newBuilder() |
static Field.Builder |
Field.newBuilder(Field prototype) |
Field.Builder |
Field.Builder.removeOptions(int index)
The protocol buffer options.
|
Field.Builder |
Field.Builder.setCardinality(Field.Cardinality value)
The field cardinality.
|
Field.Builder |
Field.Builder.setCardinalityValue(int value)
The field cardinality.
|
Field.Builder |
Field.Builder.setDefaultValue(String value)
The string value of the default value of this field.
|
Field.Builder |
Field.Builder.setDefaultValueBytes(ByteString value)
The string value of the default value of this field.
|
Field.Builder |
Field.Builder.setJsonName(String value)
The field JSON name.
|
Field.Builder |
Field.Builder.setJsonNameBytes(ByteString value)
The field JSON name.
|
Field.Builder |
Field.Builder.setKind(Field.Kind value)
The field type.
|
Field.Builder |
Field.Builder.setKindValue(int value)
The field type.
|
Field.Builder |
Field.Builder.setName(String value)
The field name.
|
Field.Builder |
Field.Builder.setNameBytes(ByteString value)
The field name.
|
Field.Builder |
Field.Builder.setNumber(int value)
The field number.
|
Field.Builder |
Field.Builder.setOneofIndex(int value)
The index of the field type in `Type.oneofs`, for message or enumeration
types.
|
Field.Builder |
Field.Builder.setOptions(int index,
Option.Builder builderForValue)
The protocol buffer options.
|
Field.Builder |
Field.Builder.setOptions(int index,
Option value)
The protocol buffer options.
|
Field.Builder |
Field.Builder.setPacked(boolean value)
Whether to use alternative packed wire representation.
|
Field.Builder |
Field.Builder.setTypeUrl(String value)
The field type URL, without the scheme, for message or enumeration
types.
|
Field.Builder |
Field.Builder.setTypeUrlBytes(ByteString value)
The field type URL, without the scheme, for message or enumeration
types.
|
Modifier and Type | Method and Description |
---|---|
Type.Builder |
Type.Builder.addFields(Field.Builder builderForValue)
The list of fields.
|
Type.Builder |
Type.Builder.addFields(int index,
Field.Builder builderForValue)
The list of fields.
|
Type.Builder |
Type.Builder.setFields(int index,
Field.Builder builderForValue)
The list of fields.
|
Copyright © 2008–2022. All rights reserved.