grpc.types.wrappers
Modules

ballerina/grpc.types.wrappers Ballerina library
Overview
This module provides APIs to represent google/protobuf/wrappers.proto
types as a stream.
Classes
grpc.types.wrappers: BooleanStream
Represents a stream of booleans.
next
Retrieve the next value of the stream.
Return Type
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: BytesStream
Represents a stream of bytes.
next
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
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: FloatStream
Represents a stream of floats.
next
Retrieve the next value of the stream.
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: IntStream
Represents a stream of integers.
next
Retrieve the next value of the stream.
close
function close() returns Error?
Close the stream.
Return Type
- Error? - Returns an error if failed to close the stream
grpc.types.wrappers: StringStream
Represents a stream of strings.
next
Retrieve the next value of the stream.
close
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: 9 days ago
Version: 1.13.2
License: Apache-2.0
Compatibility
Platform: java21
Ballerina version: 2201.11.0
GraalVM compatible: Yes
Pull count
Total: 48798
Current verison: 193
Weekly downloads
Keywords
network
grpc
protobuf
server-streaming
client-streaming
bidirectional-streaming
Contributors