Interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder

    • Method Detail

      • getId

        int getId()
        uint32 id = 1;
        Returns:
        The id.
      • getCompilationId

        int getCompilationId()
         The request id for the compilation that triggered the message. Mandatory.
         
        uint32 compilation_id = 2;
        Returns:
        The compilationId.
      • hasName

        boolean hasName()
         The name of the function to invoke.
         This must match the name of a function signature the host passed to the
         corresponding `CompileRequest.global_functions` call, including hyphens
         and underscores.
         
        string name = 3;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         The name of the function to invoke.
         This must match the name of a function signature the host passed to the
         corresponding `CompileRequest.global_functions` call, including hyphens
         and underscores.
         
        string name = 3;
        Returns:
        The name.
      • getNameBytes

        ByteString getNameBytes()
         The name of the function to invoke.
         This must match the name of a function signature the host passed to the
         corresponding `CompileRequest.global_functions` call, including hyphens
         and underscores.
         
        string name = 3;
        Returns:
        The bytes for name.
      • hasFunctionId

        boolean hasFunctionId()
         The opaque ID of the function to invoke.
         This must match the ID of a `Value.HostFunction` that the host passed
         to the compiler.
         
        uint32 function_id = 4;
        Returns:
        Whether the functionId field is set.
      • getFunctionId

        int getFunctionId()
         The opaque ID of the function to invoke.
         This must match the ID of a `Value.HostFunction` that the host passed
         to the compiler.
         
        uint32 function_id = 4;
        Returns:
        The functionId.
      • getArgumentsList

        List<EmbeddedSass.Value> getArgumentsList()
         The arguments passed to the function, in the order they appear in the
         function signature passed to `CompileRequest.global_functions`. Mandatory.
         The compiler must ensure that a valid number of arguments are passed for
         the given signature, that default argument values are instantiated
         appropriately, and that variable argument lists (`$args...`) are passed
         as `Value.ArgumentList`s.
         
        repeated .sass.embedded_protocol.Value arguments = 5;
      • getArguments

        EmbeddedSass.Value getArguments​(int index)
         The arguments passed to the function, in the order they appear in the
         function signature passed to `CompileRequest.global_functions`. Mandatory.
         The compiler must ensure that a valid number of arguments are passed for
         the given signature, that default argument values are instantiated
         appropriately, and that variable argument lists (`$args...`) are passed
         as `Value.ArgumentList`s.
         
        repeated .sass.embedded_protocol.Value arguments = 5;
      • getArgumentsCount

        int getArgumentsCount()
         The arguments passed to the function, in the order they appear in the
         function signature passed to `CompileRequest.global_functions`. Mandatory.
         The compiler must ensure that a valid number of arguments are passed for
         the given signature, that default argument values are instantiated
         appropriately, and that variable argument lists (`$args...`) are passed
         as `Value.ArgumentList`s.
         
        repeated .sass.embedded_protocol.Value arguments = 5;
      • getArgumentsOrBuilderList

        List<? extends EmbeddedSass.ValueOrBuilder> getArgumentsOrBuilderList()
         The arguments passed to the function, in the order they appear in the
         function signature passed to `CompileRequest.global_functions`. Mandatory.
         The compiler must ensure that a valid number of arguments are passed for
         the given signature, that default argument values are instantiated
         appropriately, and that variable argument lists (`$args...`) are passed
         as `Value.ArgumentList`s.
         
        repeated .sass.embedded_protocol.Value arguments = 5;
      • getArgumentsOrBuilder

        EmbeddedSass.ValueOrBuilder getArgumentsOrBuilder​(int index)
         The arguments passed to the function, in the order they appear in the
         function signature passed to `CompileRequest.global_functions`. Mandatory.
         The compiler must ensure that a valid number of arguments are passed for
         the given signature, that default argument values are instantiated
         appropriately, and that variable argument lists (`$args...`) are passed
         as `Value.ArgumentList`s.
         
        repeated .sass.embedded_protocol.Value arguments = 5;