Package sass.embedded_protocol
Interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.OutboundMessage.FunctionCallRequest
,EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder
- Enclosing class:
- EmbeddedSass.OutboundMessage
public static interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArguments
(int index) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.int
The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.getArgumentsOrBuilder
(int index) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.List<? extends EmbeddedSass.ValueOrBuilder>
The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.int
The request id for the compilation that triggered the message.int
The opaque ID of the function to invoke.int
getId()
uint32 id = 1;
getName()
The name of the function to invoke.The name of the function to invoke.boolean
The opaque ID of the function to invoke.boolean
hasName()
The name of the function to invoke.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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;
-
getIdentifierCase
EmbeddedSass.OutboundMessage.FunctionCallRequest.IdentifierCase getIdentifierCase()
-