Package io.deephaven.protobuf
Class ProtobufFunctions
java.lang.Object
io.deephaven.protobuf.ProtobufFunctions
A list of
functions().-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtobufFunctions.Builderbuilder()static ProtobufFunctionsempty()Creates an empty protobuf functions.abstract List<ProtobufFunction>The protobuf functions.static ProtobufFunctionsof(ProtobufFunction... functions) Creates a protobuf fuctions withfunctions.static ProtobufFunctionsunnamed(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
-