Can be specified only if this field is repeated. If unspecified,
it falls back to the file option named collection_type
, which defaults
to scala.collection.Seq
.
If the field is a map, you can specify custom Scala types for the key or value.
Custom annotations to add to the field.
Can be specified only if this field is a map. If unspecified,
it falls back to the file option named map_type
which defaults to
scala.collection.immutable.Map
Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box
Custom annotations to add to the field.
Can be specified only if this field is repeated.
Can be specified only if this field is repeated. If unspecified,
it falls back to the file option named collection_type
, which defaults
to scala.collection.Seq
.
If the field is a map, you can specify custom Scala types for the key or value.
Can be specified only if this field is a map.
Can be specified only if this field is a map. If unspecified,
it falls back to the file option named map_type
which defaults to
scala.collection.immutable.Map
Do not box this value in Option[T].
Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
human-readable representation of this message.
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
Can be specified only if this field is repeated. If unspecified, it falls back to the file option named
collection_type
, which defaults toscala.collection.Seq
.If the field is a map, you can specify custom Scala types for the key or value.
Custom annotations to add to the field.
Can be specified only if this field is a map. If unspecified, it falls back to the file option named
map_type
which defaults toscala.collection.immutable.Map
Do not box this value in Option[T]. If set, this overrides MessageOptions.no_box