protobuf library
Classes
- BuilderInfo
- Per-message type setup.
- ClientContext
- Client side context.
- CodedBufferReader
- CodedBufferWriter
- Writer used for converting GeneratedMessages into binary representation.
- EventPlugin
- An EventPlugin receives callbacks when the fields of a GeneratedMessage change.
- 
  Extension<T> 
- An object representing an extension field.
- ExtensionRegistry
- A collection of Extension objects, organized by the message type they extend.
- 
  FieldInfo<T> 
- An object representing a protobuf message field.
- 
  FrozenPbList<E> 
- GeneratedMessage
- The base class for all protobuf message types.
- GeneratedService
- The implementation of a Service API.
- 
  MapFieldInfo<K, V> 
- PackageName
- The package name of a protobuf message.
- PbFieldType
- Defines constants and functions for dealing with fieldType bits.
- 
  PbList<E> 
- 
  PbListBase<E> 
- 
  PbMap<K, V> 
- ProtobufEnum
- A base class for all proto enum types.
- ReadonlyMessageMixin
- Modifies a GeneratedMessage so that it's read-only.
- RpcClient
- Client-side transport for making calls to a service.
- ServerContext
- Server side context.
- TagNumber
- Annotation for marking accessors that belong together.
- TypeRegistry
- A TypeRegistry is used to resolve Any messages in the proto3 JSON conversion.
- UnknownFieldSet
- UnknownFieldSetField
Extensions
Constants
- infinity → const String
- 
  Constant string value of double.infinity.toString()and the infinity value recognized bydouble.parse(..).
- nan → const String
- 
  Constant string value of double.nan.toString()and the NaN (not a number) value recognized bydouble.parse(..).
- negativeInfinity → const String
- 
  Constant string value of double.negativeInfinity.toString()and the negative infinity value recognized bydouble.parse(..).
- TAG_TYPE_BITS → const int
- TAG_TYPE_MASK → const int
- WIRETYPE_END_GROUP → const int
- WIRETYPE_FIXED32 → const int
- WIRETYPE_FIXED64 → const int
- WIRETYPE_LENGTH_DELIMITED → const int
- WIRETYPE_START_GROUP → const int
- WIRETYPE_VARINT → const int
Properties
- frozenMessageModificationHandler ↔ FrozenMessageErrorHandler
- 
  
  getter/setter pair
Functions
- 
  canUnpackIntoHelper(GeneratedMessage instance, String typeUrl) → bool 
- 
  Returns trueif the type ofinstanceis described bytypeUrl.
- 
  checkItemFailed(dynamic val, String className) → void 
- 
  defaultFrozenMessageModificationHandler(String messageName, [String? methodName]) → void 
- 
  getCheckFunction(int fieldType) → CheckFunc 
- Returns a function for validating items in a repeated field.
- 
  getTagFieldNumber(int tag) → int 
- 
  getTagWireType(int tag) → int 
- 
  makeTag(int fieldNumber, int tag) → int 
- 
  parseLongInt(String text) → Int64 
- 
  sorted<T> (Iterable< T> list) → List<T> 
- 
  unpackIntoHelper<T extends GeneratedMessage> (List< int> value, T instance, String typeUrl, {ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY}) → void
- 
  Unpacks the message in valueintoinstance.
Typedefs
- 
    CheckFunc<E> = void Function(E? x) 
- CreateBuilderFunc = GeneratedMessage Function()
- FrozenMessageErrorHandler = void Function(String messageName, [String? methodName])
- MakeDefaultFunc = dynamic Function()
- ValueOfFunc = ProtobufEnum? Function(int value)