grpc.types.wrappers
Modules
![](https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.10.5.png)
ballerina/grpc.types.wrappers Ballerina library
Overview
This module provides APIs to represent google/protobuf/wrappers.proto
types as a stream.
Classes![](/images/permalink.svg)
grpc.types.wrappers: BooleanStream![](/images/permalink.svg)
Represents a stream of booleans.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
Return Type
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: BytesStream![](/images/permalink.svg)
Represents a stream of bytes.
next![](/images/permalink.svg)
function next() returns record {| value byte[] |}|Error?
Retrieve the next value of the stream.
Return Type
- record {| value byte[] |}|Error? - Returns the next value of the stream or else an error
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: FloatStream![](/images/permalink.svg)
Represents a stream of floats.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: IntStream![](/images/permalink.svg)
Represents a stream of integers.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: StringStream![](/images/permalink.svg)
Represents a stream of strings.
next![](/images/permalink.svg)
Retrieve the next value of the stream.
close![](/images/permalink.svg)
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
Import
import ballerina/grpc.types.wrappers;
Metadata
Released date: 8 months ago
Version: 1.10.5
License: Apache-2.0
Compatibility
Platform: java17
Ballerina version: 2201.8.0
GraalVM compatible: Yes
Pull count
Total: 43301
Current verison: 560
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors