grpc.types.wrappers
Modules
![](https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.11.1.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: 7 days ago
Version: 1.11.1
License: Apache-2.0
Compatibility
Platform: java17
Ballerina version: 2201.9.0
GraalVM compatible: Yes
Pull count
Total: 40815
Current verison: 171
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors