Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
sass.embedded_protocol.EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Enclosing class:
- EmbeddedSass.OutboundMessage.FunctionCallRequest
public static final class EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
implements EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
A request to invoke a custom Sass function and return its result.Protobuf type
sass.embedded_protocol.OutboundMessage.FunctionCallRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllArguments
(Iterable<? extends EmbeddedSass.Value> values) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.addArguments
(int index, EmbeddedSass.Value value) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.addArguments
(int index, EmbeddedSass.Value.Builder builderForValue) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.addArguments
(EmbeddedSass.Value value) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.addArguments
(EmbeddedSass.Value.Builder builderForValue) 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`.addArgumentsBuilder
(int index) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.build()
clear()
The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.The request id for the compilation that triggered the message.The opaque ID of the function to invoke.clearId()
uint32 id = 1;
The name of the function to invoke.getArguments
(int index) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.getArgumentsBuilder
(int index) 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`.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.static final Descriptors.Descriptor
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.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) removeArguments
(int index) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.setArguments
(int index, EmbeddedSass.Value value) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.setArguments
(int index, EmbeddedSass.Value.Builder builderForValue) The arguments passed to the function, in the order they appear in the function signature passed to `CompileRequest.global_functions`.setCompilationId
(int value) The request id for the compilation that triggered the message.setFunctionId
(int value) The opaque ID of the function to invoke.setId
(int value) uint32 id = 1;
The name of the function to invoke.setNameBytes
(ByteString value) The name of the function to invoke.setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCase
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
clearIdentifier
-
getId
public int getId()uint32 id = 1;
- Specified by:
getId
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- The id.
-
setId
uint32 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
uint32 id = 1;
- Returns:
- This builder for chaining.
-
getCompilationId
public int getCompilationId()The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Specified by:
getCompilationId
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- The compilationId.
-
setCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Parameters:
value
- The compilationId to set.- Returns:
- This builder for chaining.
-
clearCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 2;
- Returns:
- This builder for chaining.
-
hasName
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;
- Specified by:
hasName
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- Whether the name field is set.
-
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;
- Specified by:
getName
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- The name.
-
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;
- Specified by:
getNameBytes
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasFunctionId
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;
- Specified by:
hasFunctionId
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- Whether the functionId field is set.
-
getFunctionId
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;
- Specified by:
getFunctionId
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
- Returns:
- The functionId.
-
setFunctionId
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;
- Parameters:
value
- The functionId to set.- Returns:
- This builder for chaining.
-
clearFunctionId
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:
- This builder for chaining.
-
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;
- Specified by:
getArgumentsList
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
getArgumentsCount
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;
- Specified by:
getArgumentsCount
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
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;
- Specified by:
getArguments
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
setArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder setArguments(int index, EmbeddedSass.Value value) 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;
-
setArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder setArguments(int index, EmbeddedSass.Value.Builder builderForValue) 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;
-
addArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addArguments(EmbeddedSass.Value value) 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;
-
addArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addArguments(int index, EmbeddedSass.Value value) 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;
-
addArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addArguments(EmbeddedSass.Value.Builder builderForValue) 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;
-
addArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addArguments(int index, EmbeddedSass.Value.Builder builderForValue) 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;
-
addAllArguments
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addAllArguments(Iterable<? extends EmbeddedSass.Value> values) 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;
-
clearArguments
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;
-
removeArguments
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;
-
getArgumentsBuilder
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;
- Specified by:
getArgumentsOrBuilder
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
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;
- Specified by:
getArgumentsOrBuilderList
in interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
addArgumentsBuilder
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;
-
addArgumentsBuilder
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;
-
getArgumentsBuilderList
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;
-
setUnknownFields
public final EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-