public static final class EmbeddedSass.OutboundMessage.FunctionCallRequest extends GeneratedMessageV3 implements EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
A request to invoke a custom Sass function and return its result.Protobuf type
sass.embedded_protocol.OutboundMessage.FunctionCallRequest
Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder
A request to invoke a custom Sass function and return its result.
|
static class |
EmbeddedSass.OutboundMessage.FunctionCallRequest.IdentifierCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ARGUMENTS_FIELD_NUMBER |
static int |
COMPILATION_ID_FIELD_NUMBER |
static int |
FUNCTION_ID_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ID_FIELD_NUMBER
public static final int COMPILATION_ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int FUNCTION_ID_FIELD_NUMBER
public static final int ARGUMENTS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public EmbeddedSass.OutboundMessage.FunctionCallRequest.IdentifierCase getIdentifierCase()
getIdentifierCase
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public int getId()
uint32 id = 1;
getId
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public int getCompilationId()
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
getCompilationId
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
hasName
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getName
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getNameBytes
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
hasFunctionId
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getFunctionId
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getArgumentsList
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getArgumentsOrBuilderList
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getArgumentsCount
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getArguments
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public 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;
getArgumentsOrBuilder
in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(CodedInputStream input) throws IOException
IOException
public static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilder()
public static EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilder(EmbeddedSass.OutboundMessage.FunctionCallRequest prototype)
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static EmbeddedSass.OutboundMessage.FunctionCallRequest getDefaultInstance()
public static Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> parser()
public Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public EmbeddedSass.OutboundMessage.FunctionCallRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder