ballerina/protobuf.types.any

Modules

[7]

protobuf

This module provides APIs to represent a set of pre-defined protobuf types.

protobuf.types.any
protobuf.types.duration

This module provides APIs to represent google/protobuf/duration.proto.

protobuf.types.empty

This module provides APIs to represent google/protobuf/empty.proto.

protobuf.types.struct

This module provides APIs to represent google/protobuf/struct.proto.

protobuf.types.timestamp

This module provides APIs to represent google/protobuf/timestamp.proto.

protobuf.types.wrappers

This module provides APIs to represent google/protobuf/wrappers.proto.

Functions

[2]

pack

Generate and return the generic 'any:Any record that is used to represent protobuf Any type.

unpack

Unpack and return the specified Ballerina value

Records

[3]

Any

Represent protobuf Any type.

ContextAny

Context representation of the Any type.

ContextAnyStream

Streaming representation of the Any type.

Types

[2]

ValueType

Subtypes that are allowed as Any type.

ValueTypeDesc

Type descriptor of ValueType.

Errors

[1]

TypeMismatchError

Type mismatch error that returns when a user specifies an incorrect type.