protocol buffers ——Protocol Buffers .NET Runtime Library API Reference
Protocol Buffers .NET Runtime Library API Reference
Protocol Buffers .NET Runtime Library
Classes | |
---|---|
Immutable array of bytes. | |
Reads and decodes protocol message fields. | |
Encodes and writes protocol message fields. | |
Indicates that a wrapping a flat byte array ran out of space. | |
Factory methods for FieldCodec{T}. | |
Thrown when an attempt is made to parse invalid JSON, e.g. | |
Thrown when a protocol message being parsed is invalid in some way, e.g. | |
Reflection-based converter from messages to JSON. | |
controlling JSON formatting. | |
Reflection-based converter from JSON to messages. | |
controlling JSON parsing. | |
Extension methods on and IMessage{T}. | |
A general message parser, typically used by reflection-based code as all the methods return simple . | |
A parser for a specific message type. | |
Helper methods for throwing exceptions when preconditions are not met. | |
This class is used internally by the Protocol Buffer Library and generated message implementations. |
Interfaces | |
---|---|
A message type that has a custom string format for diagnostic purposes. | |
Generic interface for a deeply cloneable type. | |
Interface for a Protocol Buffers message, supporting basic operations required for serialization. | |
Generic interface for a Protocol Buffers message, where the type parameter is expected to be the same type as the implementation class. |
Classes | |
---|---|
Representation of a map field in a Protocol Buffer message. | |
A codec for a specific map field. | |
The contents of a repeated field: essentially, a collection with some extra restrictions (no null values) and capabilities (deep cloning). |
Classes | |
---|---|
Base class for nearly all descriptors, providing common functionality. | |
Thrown when building descriptors fails because the source DescriptorProtos are not valid. | |
Descriptor for an enum type in a .proto file. | |
Descriptor for a single enum value within an enum in a .proto file. | |
Descriptor for a field or extension within a message in a .proto file. | |
Describes a .proto file, including everything defined within. | |
Extra information provided by generated code when initializing a message or file descriptor. | |
Describes a message type. | |
A collection to simplify retrieving the field accessor for a particular field. | |
Describes a single method in a service. | |
access for a oneof, allowing clear and "get case" actions. | |
Describes a "oneof" field collection in a message type: a set of fields of which at most one can be set in any particular message. | |
Specifies the original name (in the .proto file) of a named element, such as an enum value. | |
Describes a service type. | |
An immutable registry of types which can be looked up by their full name. |
Interfaces | |
---|---|
Interface implemented by all descriptor types. | |
Allows fields to be reflectively accessed. |
Classes | |
---|---|
contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. |
|
Holder for reflection information generated from google/protobuf/any.proto | |
is a light-weight descriptor for a protocol buffer service. | |
Holder for reflection information generated from google/protobuf/api.proto | |
Wrapper message for bool . |
|
Wrapper message for bytes . |
|
Wrapper message for double . |
|
A represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. | |
Holder for reflection information generated from google/protobuf/duration.proto | |
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. | |
Holder for reflection information generated from google/protobuf/empty.proto | |
type definition. | |
value definition. | |
A single field of a message type. | |
Container for nested types declared in the message type. | |
represents a set of symbolic field paths, for example: |
|
Holder for reflection information generated from google/protobuf/field_mask.proto | |
Wrapper message for float . |
|
Wrapper message for int32 . |
|
Wrapper message for int64 . |
|
is a wrapper around a repeated field of values. |
|
represents a method of an api. | |
Declares an API to be included in this API. | |
A protocol buffer option, which can be attached to a message, field, enumeration, etc. | |
represents information about the source of a protobuf element, like the file in which it is defined. |
|
Holder for reflection information generated from google/protobuf/source_context.proto | |
Wrapper message for string . |
|
represents a structured data value, consisting of fields which map to dynamically typed values. |
|
Holder for reflection information generated from google/protobuf/struct.proto | |
Extension methods on BCL time-related types, converting to protobuf types. | |
A represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. | |
Holder for reflection information generated from google/protobuf/timestamp.proto | |
A protocol buffer message type. | |
Holder for reflection information generated from google/protobuf/type.proto | |
Wrapper message for uint32 . |
|
Wrapper message for uint64 . |
|
represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. |
|
Holder for reflection information generated from google/protobuf/wrappers.proto |
原文:https://www.cnblogs.com/panpanwelcome/p/13491909.html