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`.addRepeatedField(Descriptors.FieldDescriptor field, Object value) 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.clone()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`.intThe 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`.intThe request id for the compilation that triggered the message.static final Descriptors.DescriptorintThe opaque ID of the function to invoke.intgetId()uint32 id = 1;getName()The name of the function to invoke.The name of the function to invoke.booleanThe opaque ID of the function to invoke.booleanhasName()The name of the function to invoke.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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.setField(Descriptors.FieldDescriptor field, Object value) 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.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
setField
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
clearField
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
clearOneof
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
setRepeatedField
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
addRepeatedField
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>- Throws:
IOException
-
getIdentifierCase
- Specified by:
getIdentifierCasein interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
-
clearIdentifier
-
getId
public int getId()uint32 id = 1;- Specified by:
getIdin 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:
getCompilationIdin 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:
hasNamein 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:
getNamein 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:
getNameBytesin 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:
hasFunctionIdin 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:
getFunctionIdin 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:
getArgumentsListin 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:
getArgumentsCountin 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:
getArgumentsin 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:
getArgumentsOrBuilderin 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:
getArgumentsOrBuilderListin 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:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.FunctionCallRequest.Builder>
-