public static final class Value.ArgumentList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder> implements Value.ArgumentListOrBuilder
A SassScript argument list value. This represents rest arguments passed to a function's `$arg...` parameter. Unlike a normal `List`, an argument list has an associated keywords map which tracks keyword arguments passed in alongside positional arguments. For each `ArgumentList` in `FunctionCallRequest.arguments` (including those nested within `List`s and `Map`s), the host must track whether its keyword arguments were accessed by the user. If they were, it must add its `ArgumentList.id` to `FunctionCallResponse.accessed_argument_lists`. The compiler must treat every `ArgumentList` whose `ArgumentList.id` appears in `FunctionCallResponse.accessed_argument_lists` as though it had been passed to `meta.keywords()`.Protobuf type
sass.embedded_protocol.Value.ArgumentList| Modifier and Type | Method and Description |
|---|---|
Value.ArgumentList.Builder |
addAllContents(Iterable<? extends Value> values)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
addContents(int index,
Value.Builder builderForValue)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
addContents(int index,
Value value)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
addContents(Value.Builder builderForValue)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
addContents(Value value)
The argument list's positional contents.
|
Value.Builder |
addContentsBuilder()
The argument list's positional contents.
|
Value.Builder |
addContentsBuilder(int index)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Value.ArgumentList |
build() |
Value.ArgumentList |
buildPartial() |
Value.ArgumentList.Builder |
clear() |
Value.ArgumentList.Builder |
clearContents()
The argument list's positional contents.
|
Value.ArgumentList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Value.ArgumentList.Builder |
clearId()
An ID for this argument list that's unique within the scope of a given
`FunctionCallRequest`.
|
Value.ArgumentList.Builder |
clearKeywords() |
Value.ArgumentList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Value.ArgumentList.Builder |
clearSeparator()
The type of separator for this list.
|
Value.ArgumentList.Builder |
clone() |
boolean |
containsKeywords(String key)
The argument list's keywords.
|
Value |
getContents(int index)
The argument list's positional contents.
|
Value.Builder |
getContentsBuilder(int index)
The argument list's positional contents.
|
List<Value.Builder> |
getContentsBuilderList()
The argument list's positional contents.
|
int |
getContentsCount()
The argument list's positional contents.
|
List<Value> |
getContentsList()
The argument list's positional contents.
|
ValueOrBuilder |
getContentsOrBuilder(int index)
The argument list's positional contents.
|
List<? extends ValueOrBuilder> |
getContentsOrBuilderList()
The argument list's positional contents.
|
Value.ArgumentList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getId()
An ID for this argument list that's unique within the scope of a given
`FunctionCallRequest`.
|
Map<String,Value> |
getKeywords()
Deprecated.
|
int |
getKeywordsCount()
The argument list's keywords.
|
Map<String,Value> |
getKeywordsMap()
The argument list's keywords.
|
Value |
getKeywordsOrDefault(String key,
Value defaultValue)
The argument list's keywords.
|
Value |
getKeywordsOrThrow(String key)
The argument list's keywords.
|
Map<String,Value> |
getMutableKeywords()
Deprecated.
|
ListSeparator |
getSeparator()
The type of separator for this list.
|
int |
getSeparatorValue()
The type of separator for this list.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Value.ArgumentList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Value.ArgumentList.Builder |
mergeFrom(com.google.protobuf.Message other) |
Value.ArgumentList.Builder |
mergeFrom(Value.ArgumentList other) |
Value.ArgumentList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Value.ArgumentList.Builder |
putAllKeywords(Map<String,Value> values)
The argument list's keywords.
|
Value.ArgumentList.Builder |
putKeywords(String key,
Value value)
The argument list's keywords.
|
Value.ArgumentList.Builder |
removeContents(int index)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
removeKeywords(String key)
The argument list's keywords.
|
Value.ArgumentList.Builder |
setContents(int index,
Value.Builder builderForValue)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
setContents(int index,
Value value)
The argument list's positional contents.
|
Value.ArgumentList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Value.ArgumentList.Builder |
setId(int value)
An ID for this argument list that's unique within the scope of a given
`FunctionCallRequest`.
|
Value.ArgumentList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Value.ArgumentList.Builder |
setSeparator(ListSeparator value)
The type of separator for this list.
|
Value.ArgumentList.Builder |
setSeparatorValue(int value)
The type of separator for this list.
|
Value.ArgumentList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Value.ArgumentList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Value.ArgumentList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Value.ArgumentList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder mergeFrom(Value.ArgumentList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public Value.ArgumentList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Value.ArgumentList.Builder>IOExceptionpublic int getId()
An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`. The special ID `0` is reserved for `ArgumentList`s created by the host, and may not be used by the compiler. These `ArgumentList`s do not need to have their IDs added to `FunctionCallResponse.accessed_argument_lists`, and the compiler should treat them as though their keywords have always been accessed.
uint32 id = 1;getId in interface Value.ArgumentListOrBuilderpublic Value.ArgumentList.Builder setId(int value)
An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`. The special ID `0` is reserved for `ArgumentList`s created by the host, and may not be used by the compiler. These `ArgumentList`s do not need to have their IDs added to `FunctionCallResponse.accessed_argument_lists`, and the compiler should treat them as though their keywords have always been accessed.
uint32 id = 1;value - The id to set.public Value.ArgumentList.Builder clearId()
An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`. The special ID `0` is reserved for `ArgumentList`s created by the host, and may not be used by the compiler. These `ArgumentList`s do not need to have their IDs added to `FunctionCallResponse.accessed_argument_lists`, and the compiler should treat them as though their keywords have always been accessed.
uint32 id = 1;public int getSeparatorValue()
The type of separator for this list. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
.sass.embedded_protocol.ListSeparator separator = 2;getSeparatorValue in interface Value.ArgumentListOrBuilderpublic Value.ArgumentList.Builder setSeparatorValue(int value)
The type of separator for this list. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
.sass.embedded_protocol.ListSeparator separator = 2;value - The enum numeric value on the wire for separator to set.public ListSeparator getSeparator()
The type of separator for this list. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
.sass.embedded_protocol.ListSeparator separator = 2;getSeparator in interface Value.ArgumentListOrBuilderpublic Value.ArgumentList.Builder setSeparator(ListSeparator value)
The type of separator for this list. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
.sass.embedded_protocol.ListSeparator separator = 2;value - The separator to set.public Value.ArgumentList.Builder clearSeparator()
The type of separator for this list. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
.sass.embedded_protocol.ListSeparator separator = 2;public List<Value> getContentsList()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;getContentsList in interface Value.ArgumentListOrBuilderpublic int getContentsCount()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;getContentsCount in interface Value.ArgumentListOrBuilderpublic Value getContents(int index)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;getContents in interface Value.ArgumentListOrBuilderpublic Value.ArgumentList.Builder setContents(int index, Value value)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder setContents(int index, Value.Builder builderForValue)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder addContents(Value value)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder addContents(int index, Value value)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder addContents(Value.Builder builderForValue)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder addContents(int index, Value.Builder builderForValue)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder addAllContents(Iterable<? extends Value> values)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder clearContents()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.ArgumentList.Builder removeContents(int index)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.Builder getContentsBuilder(int index)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public ValueOrBuilder getContentsOrBuilder(int index)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;getContentsOrBuilder in interface Value.ArgumentListOrBuilderpublic List<? extends ValueOrBuilder> getContentsOrBuilderList()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;getContentsOrBuilderList in interface Value.ArgumentListOrBuilderpublic Value.Builder addContentsBuilder()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public Value.Builder addContentsBuilder(int index)
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public List<Value.Builder> getContentsBuilderList()
The argument list's positional contents. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
repeated .sass.embedded_protocol.Value contents = 3;public int getKeywordsCount()
Value.ArgumentListOrBuilderThe argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;getKeywordsCount in interface Value.ArgumentListOrBuilderpublic boolean containsKeywords(String key)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;containsKeywords in interface Value.ArgumentListOrBuilder@Deprecated public Map<String,Value> getKeywords()
getKeywordsMap() instead.getKeywords in interface Value.ArgumentListOrBuilderpublic Map<String,Value> getKeywordsMap()
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;getKeywordsMap in interface Value.ArgumentListOrBuilderpublic Value getKeywordsOrDefault(String key, Value defaultValue)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;getKeywordsOrDefault in interface Value.ArgumentListOrBuilderpublic Value getKeywordsOrThrow(String key)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;getKeywordsOrThrow in interface Value.ArgumentListOrBuilderpublic Value.ArgumentList.Builder clearKeywords()
public Value.ArgumentList.Builder removeKeywords(String key)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;@Deprecated public Map<String,Value> getMutableKeywords()
public Value.ArgumentList.Builder putKeywords(String key, Value value)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;public Value.ArgumentList.Builder putAllKeywords(Map<String,Value> values)
The argument list's keywords. The compiler must set this, but the host may omit it for `ArgumentList`s that were originally created by the compiler (that is, those with a non-0 ID).
map<string, .sass.embedded_protocol.Value> keywords = 4;public final Value.ArgumentList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>public final Value.ArgumentList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Value.ArgumentList.Builder>