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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
public EmbeddedSass.Value.ArgumentList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EmbeddedSass.Value.ArgumentList build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.ArgumentList buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>
IOException
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
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;
getKeywordsCount
in interface EmbeddedSass.Value.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.ArgumentListOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>