Google\Protobuf
Classes
Any
contains an arbitrary serialized protocol buffer message along with a
URL that describes the type of the serialized message.
Api is a light-weight descriptor for a protocol buffer service.
Wrapper message for
bool
.
Wrapper message for
bytes
.
Wrapper message for
double
.
A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.
Enum type definition.
Enum value definition.
A single field of a message type.
FieldMask
represents a set of symbolic field paths, for example:
paths: "f.a"
paths: "f.b.d"
Here f
represents a field in some root message, a
and b
fields in the message found in f
, and d
a field found in the
message in f.b
.
Whether a field is optional, required, or repeated.
Basic field types.
Wrapper message for
float
.
A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance:
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}
The JSON representation for
Empty
is empty JSON object {}
.
Wrapper message for
int32
.
Wrapper message for
int64
.
ListValue
is a wrapper around a repeated field of values.
Method represents a method of an api.
Declares an API to be included in this API. The including API must
redeclare all the methods from the included API, but documentation
and options are inherited as follows:
- If after comment and whitespace stripping, the documentation
string of the redeclared method is empty, it will be inherited
from the original method.
NullValue
is a singleton enumeration to represent the null value for the
Value
type union.
A protocol buffer option, which can be attached to a message, field,
enumeration, etc.
SourceContext
represents information about the source of a
protobuf element, like the file in which it is defined.
Wrapper message for
string
.
Struct
represents a structured data value, consisting of fields
which map to dynamically typed values. In some languages, Struct
might be supported by a native representation. For example, in
scripting languages like JS a struct is represented as an
object. The details of that representation are described together
with the proto support for the language.
The syntax in which a protocol buffer element is defined.
A Timestamp 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. It is encoded using the
Proleptic Gregorian Calendar which extends the Gregorian calendar
backwards to year one. It is encoded assuming all minutes are 60
seconds long, i.e. leap seconds are "smeared" so that no leap second
table is needed for interpretation. Range is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
A protocol buffer message type.
Wrapper message for
uint32
.
Wrapper message for
uint64
.
Value
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. A producer of value is expected to set one of that
variants, absence of any variant indicates an error.