Package io.deephaven.protobuf
Class ProtobufFunctions
java.lang.Object
io.deephaven.protobuf.ProtobufFunctions
A list of
functions()
.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtobufFunctions.Builder
builder()
static ProtobufFunctions
empty()
Creates an empty protobuf functions.abstract List<ProtobufFunction>
The protobuf functions.static ProtobufFunctions
of
(ProtobufFunction... functions) Creates a protobuf fuctions withfunctions
.static ProtobufFunctions
unnamed
(TypedFunction<com.google.protobuf.Message> function) Creates a protobuf functions with a single, unnamedfunction
.
-
Constructor Details
-
ProtobufFunctions
public ProtobufFunctions()
-
-
Method Details
-
builder
-
empty
Creates an empty protobuf functions. Equivalent tobuilder().build()
.- Returns:
- the empty protobuf functions
-
unnamed
Creates a protobuf functions with a single, unnamedfunction
. Equivalent tobuilder().addFunctions(ProtobufFunction.unnammed(function)).build()
.- Parameters:
function
- the function- Returns:
- the protobuf functions
-
of
Creates a protobuf fuctions withfunctions
. Equivalent tobuilder().addFunctions(functions).build()
.- Parameters:
functions
- the functions- Returns:
- the protobuf functions
-
functions
The protobuf functions.- Returns:
- the functions
-