public static final class EmbeddedSass.OutboundMessage.FunctionCallRequest extends com.google.protobuf.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 |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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`.
|
int |
getArgumentsCount()
The arguments passed to the function, in the order they appear in the
function signature passed to `CompileRequest.global_functions`.
|
List<EmbeddedSass.Value> |
getArgumentsList()
The arguments passed to the function, in the order they appear in the
function signature passed to `CompileRequest.global_functions`.
|
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`.
|
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`.
|
int |
getCompilationId()
The request id for the compilation that triggered the message.
|
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
getDefaultInstance() |
EmbeddedSass.OutboundMessage.FunctionCallRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFunctionId()
The opaque ID of the function to invoke.
|
int |
getId()
uint32 id = 1; |
EmbeddedSass.OutboundMessage.FunctionCallRequest.IdentifierCase |
getIdentifierCase() |
String |
getName()
The name of the function to invoke.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the function to invoke.
|
com.google.protobuf.Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasFunctionId()
The opaque ID of the function to invoke.
|
int |
hashCode() |
boolean |
hasName()
The name of the function to invoke.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder |
newBuilder() |
static EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder |
newBuilder(EmbeddedSass.OutboundMessage.FunctionCallRequest prototype) |
EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder |
newBuilderForType() |
protected EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseDelimitedFrom(InputStream input) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(byte[] data) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(ByteBuffer data) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(com.google.protobuf.ByteString data) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(InputStream input) |
static EmbeddedSass.OutboundMessage.FunctionCallRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> |
parser() |
EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public EmbeddedSass.OutboundMessage.FunctionCallRequest.IdentifierCase getIdentifierCase()
getIdentifierCase in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilderpublic int getId()
uint32 id = 1;getId in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilderpublic int getCompilationId()
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;getCompilationId in interface EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic com.google.protobuf.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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic 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.FunctionCallRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EmbeddedSass.OutboundMessage.FunctionCallRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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 com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static EmbeddedSass.OutboundMessage.FunctionCallRequest getDefaultInstance()
public static com.google.protobuf.Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> parser()
public com.google.protobuf.Parser<EmbeddedSass.OutboundMessage.FunctionCallRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public EmbeddedSass.OutboundMessage.FunctionCallRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder