webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
com.google.protobuf.ProtocolStringList Interface Reference
Inheritance diagram for com.google.protobuf.ProtocolStringList:
com.google.protobuf.LazyStringList com.google.protobuf.LazyStringArrayList com.google.protobuf.UnmodifiableLazyStringList

Public Member Functions

List< ByteStringasByteStringList ()
 

Detailed Description

An interface extending

List<String>

used for repeated string fields to provide optional access to the data as a list of ByteStrings. The underlying implementation stores values as either ByteStrings or Strings (see LazyStringArrayList) depending on how the value was initialized or last read, and it is often more efficient to deal with lists of ByteStrings when handling protos that have been deserialized from bytes.

Member Function Documentation

◆ asByteStringList()

List<ByteString> com.google.protobuf.ProtocolStringList.asByteStringList ( )

Returns a view of the data as a list of ByteStrings.

Implemented in com.google.protobuf.LazyStringArrayList, and com.google.protobuf.UnmodifiableLazyStringList.


The documentation for this interface was generated from the following file: