Package sass.embedded_protocol
Class EmbeddedSass.Value.ArgumentList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
sass.embedded_protocol.EmbeddedSass.Value.ArgumentList.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.Value.ArgumentListOrBuilder
- Enclosing class:
- EmbeddedSass.Value.ArgumentList
public static final class EmbeddedSass.Value.ArgumentList.Builder
extends 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-
Method Summary
Modifier and TypeMethodDescriptionaddAllContents(Iterable<? extends EmbeddedSass.Value> values) The argument list's positional contents.addContents(int index, EmbeddedSass.Value value) The argument list's positional contents.addContents(int index, EmbeddedSass.Value.Builder builderForValue) The argument list's positional contents.addContents(EmbeddedSass.Value value) The argument list's positional contents.addContents(EmbeddedSass.Value.Builder builderForValue) The argument list's positional contents.The argument list's positional contents.addContentsBuilder(int index) The argument list's positional contents.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The argument list's positional contents.clearId()An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`.The type of separator for this list.clone()booleancontainsKeywords(String key) The argument list's keywords.getContents(int index) The argument list's positional contents.getContentsBuilder(int index) The argument list's positional contents.The argument list's positional contents.intThe argument list's positional contents.The argument list's positional contents.getContentsOrBuilder(int index) The argument list's positional contents.List<? extends EmbeddedSass.ValueOrBuilder>The argument list's positional contents.static final Descriptors.DescriptorintgetId()An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`.Deprecated.intThe argument list's keywords.The argument list's keywords.getKeywordsOrDefault(String key, EmbeddedSass.Value defaultValue) The argument list's keywords.getKeywordsOrThrow(String key) The argument list's keywords.Deprecated.The type of separator for this list.intThe type of separator for this list.protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields(UnknownFieldSet unknownFields) putAllKeywords(Map<String, EmbeddedSass.Value> values) The argument list's keywords.putKeywords(String key, EmbeddedSass.Value value) The argument list's keywords.The argument list's keywords.removeContents(int index) The argument list's positional contents.removeKeywords(String key) The argument list's keywords.setContents(int index, EmbeddedSass.Value value) The argument list's positional contents.setContents(int index, EmbeddedSass.Value.Builder builderForValue) The argument list's positional contents.setField(Descriptors.FieldDescriptor field, Object value) setId(int value) An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) The type of separator for this list.setSeparatorValue(int value) The type of separator for this list.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, internalGetMutableMapField, 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
-
internalGetMapFieldReflection
-
internalGetMutableMapFieldReflection
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.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.Value.ArgumentList.Builder>
-
setField
public EmbeddedSass.Value.ArgumentList.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
setRepeatedField
public EmbeddedSass.Value.ArgumentList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
addRepeatedField
public EmbeddedSass.Value.ArgumentList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>- Throws:
IOException
-
getId
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;- Specified by:
getIdin interfaceEmbeddedSass.Value.ArgumentListOrBuilder- Returns:
- The id.
-
setId
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;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getSeparatorValue
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;- Specified by:
getSeparatorValuein interfaceEmbeddedSass.Value.ArgumentListOrBuilder- Returns:
- The enum numeric value on the wire for separator.
-
setSeparatorValue
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;- Parameters:
value- The enum numeric value on the wire for separator to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSeparatorin interfaceEmbeddedSass.Value.ArgumentListOrBuilder- Returns:
- The separator.
-
setSeparator
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;- Parameters:
value- The separator to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getContentsListin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getContentsCount
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;- Specified by:
getContentsCountin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getContents
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;- Specified by:
getContentsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
setContents
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; -
setContents
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; -
addContents
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; -
addContents
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; -
addContents
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; -
addContents
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; -
addAllContents
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; -
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; -
removeContents
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; -
getContentsBuilder
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
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;- Specified by:
getContentsOrBuilderin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
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;- Specified by:
getContentsOrBuilderListin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
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; -
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; -
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; -
getKeywordsCount
public int getKeywordsCount()Description copied from interface: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;- Specified by:
getKeywordsCountin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
containsKeywords
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;- Specified by:
containsKeywordsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywords
Deprecated.UsegetKeywordsMap()instead.- Specified by:
getKeywordsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
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;- Specified by:
getKeywordsMapin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywordsOrDefault
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;- Specified by:
getKeywordsOrDefaultin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywordsOrThrow
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;- Specified by:
getKeywordsOrThrowin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
clearKeywords
-
removeKeywords
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; -
getMutableKeywords
Deprecated.Use alternate mutation accessors instead. -
putKeywords
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; -
putAllKeywords
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; -
putKeywordsBuilderIfAbsent
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; -
setUnknownFields
public final EmbeddedSass.Value.ArgumentList.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeUnknownFields
public final EmbeddedSass.Value.ArgumentList.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-