Public Member Functions | List of all members
com.google.protobuf.ProtocolStringList Interface Reference
Inheritance diagram for com.google.protobuf.ProtocolStringList:
Inheritance graph
[legend]

Public Member Functions

List< ByteStringasByteStringList ()
 
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.

Definition at line 42 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ProtocolStringList.java.

Member Function Documentation

◆ asByteStringList() [1/2]

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

◆ asByteStringList() [2/2]

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:07