Class ProtobufFunctions

java.lang.Object
io.deephaven.protobuf.ProtobufFunctions

@Immutable public abstract class ProtobufFunctions extends Object
A list of functions().
  • Constructor Details

    • ProtobufFunctions

      public ProtobufFunctions()
  • Method Details

    • builder

      public static ProtobufFunctions.Builder builder()
    • empty

      public static ProtobufFunctions empty()
      Creates an empty protobuf functions. Equivalent to builder().build().
      Returns:
      the empty protobuf functions
    • unnamed

      public static ProtobufFunctions unnamed(TypedFunction<com.google.protobuf.Message> function)
      Creates a protobuf functions with a single, unnamed function. Equivalent to builder().addFunctions(ProtobufFunction.unnammed(function)).build().
      Parameters:
      function - the function
      Returns:
      the protobuf functions
    • of

      public static ProtobufFunctions of(ProtobufFunction... functions)
      Creates a protobuf fuctions with functions. Equivalent to builder().addFunctions(functions).build().
      Parameters:
      functions - the functions
      Returns:
      the protobuf functions
    • functions

      public abstract List<ProtobufFunction> functions()
      The protobuf functions.
      Returns:
      the functions