grpc.types.wrappers
Modules
![](https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.2.4.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: about 1 year ago
Version: 1.2.4
License: Apache-2.0
Compatibility
Platform: java11
Ballerina version: 2201.0.4
Pull count
Total: 47936
Current verison: 43
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors