public static final class EmbeddedSass.Value.ArgumentList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder> implements EmbeddedSass.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 |
|---|---|
EmbeddedSass.Value.ArgumentList.Builder |
addAllContents(Iterable<? extends EmbeddedSass.Value> values)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
addContents(EmbeddedSass.Value.Builder builderForValue)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
addContents(EmbeddedSass.Value value)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
addContents(int index,
EmbeddedSass.Value.Builder builderForValue)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
addContents(int index,
EmbeddedSass.Value value)
The argument list's positional contents.
|
EmbeddedSass.Value.Builder |
addContentsBuilder()
The argument list's positional contents.
|
EmbeddedSass.Value.Builder |
addContentsBuilder(int index)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList |
build() |
EmbeddedSass.Value.ArgumentList |
buildPartial() |
EmbeddedSass.Value.ArgumentList.Builder |
clear() |
EmbeddedSass.Value.ArgumentList.Builder |
clearContents()
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
clearId()
An ID for this argument list that's unique within the scope of a given
`FunctionCallRequest`.
|
EmbeddedSass.Value.ArgumentList.Builder |
clearKeywords() |
EmbeddedSass.Value.ArgumentList.Builder |
clearSeparator()
The type of separator for this list.
|
boolean |
containsKeywords(String key)
The argument list's keywords.
|
EmbeddedSass.Value |
getContents(int index)
The argument list's positional contents.
|
EmbeddedSass.Value.Builder |
getContentsBuilder(int index)
The argument list's positional contents.
|
List<EmbeddedSass.Value.Builder> |
getContentsBuilderList()
The argument list's positional contents.
|
int |
getContentsCount()
The argument list's positional contents.
|
List<EmbeddedSass.Value> |
getContentsList()
The argument list's positional contents.
|
EmbeddedSass.ValueOrBuilder |
getContentsOrBuilder(int index)
The argument list's positional contents.
|
List<? extends EmbeddedSass.ValueOrBuilder> |
getContentsOrBuilderList()
The argument list's positional contents.
|
EmbeddedSass.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,EmbeddedSass.Value> |
getKeywords()
Deprecated.
|
int |
getKeywordsCount()
The argument list's keywords.
|
Map<String,EmbeddedSass.Value> |
getKeywordsMap()
The argument list's keywords.
|
EmbeddedSass.Value |
getKeywordsOrDefault(String key,
EmbeddedSass.Value defaultValue)
The argument list's keywords.
|
EmbeddedSass.Value |
getKeywordsOrThrow(String key)
The argument list's keywords.
|
Map<String,EmbeddedSass.Value> |
getMutableKeywords()
Deprecated.
|
EmbeddedSass.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() |
EmbeddedSass.Value.ArgumentList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.Value.ArgumentList.Builder |
mergeFrom(EmbeddedSass.Value.ArgumentList other) |
EmbeddedSass.Value.ArgumentList.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.Value.ArgumentList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.Value.ArgumentList.Builder |
putAllKeywords(Map<String,EmbeddedSass.Value> values)
The argument list's keywords.
|
EmbeddedSass.Value.ArgumentList.Builder |
putKeywords(String key,
EmbeddedSass.Value value)
The argument list's keywords.
|
EmbeddedSass.Value.ArgumentList.Builder |
removeContents(int index)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
removeKeywords(String key)
The argument list's keywords.
|
EmbeddedSass.Value.ArgumentList.Builder |
setContents(int index,
EmbeddedSass.Value.Builder builderForValue)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
setContents(int index,
EmbeddedSass.Value value)
The argument list's positional contents.
|
EmbeddedSass.Value.ArgumentList.Builder |
setId(int value)
An ID for this argument list that's unique within the scope of a given
`FunctionCallRequest`.
|
EmbeddedSass.Value.ArgumentList.Builder |
setSeparator(EmbeddedSass.ListSeparator value)
The type of separator for this list.
|
EmbeddedSass.Value.ArgumentList.Builder |
setSeparatorValue(int value)
The type of separator for this list.
|
EmbeddedSass.Value.ArgumentList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>public EmbeddedSass.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<EmbeddedSass.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<EmbeddedSass.Value.ArgumentList.Builder>public EmbeddedSass.Value.ArgumentList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EmbeddedSass.Value.ArgumentList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.Value.ArgumentList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.Value.ArgumentList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(EmbeddedSass.Value.ArgumentList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>public EmbeddedSass.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<EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.Value.ArgumentList.Builder setSeparator(EmbeddedSass.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 EmbeddedSass.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<EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.Value.ArgumentList.Builder setContents(int index, EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder setContents(int index, EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder addContents(EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder addContents(int index, EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder addContents(EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder addContents(int index, EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder addAllContents(Iterable<? extends EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic List<? extends EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.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 EmbeddedSass.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<EmbeddedSass.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()
EmbeddedSass.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 EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilder@Deprecated public Map<String,EmbeddedSass.Value> getKeywords()
getKeywordsMap() instead.getKeywords in interface EmbeddedSass.Value.ArgumentListOrBuilderpublic Map<String,EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.Value getKeywordsOrDefault(String key, EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.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 EmbeddedSass.Value.ArgumentListOrBuilderpublic EmbeddedSass.Value.ArgumentList.Builder clearKeywords()
public EmbeddedSass.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,EmbeddedSass.Value> getMutableKeywords()
public EmbeddedSass.Value.ArgumentList.Builder putKeywords(String key, EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder putAllKeywords(Map<String,EmbeddedSass.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 EmbeddedSass.Value.ArgumentList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>public final EmbeddedSass.Value.ArgumentList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>