Package sass.embedded_protocol
Class EmbeddedSass.Value.ArgumentList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 typesass.embedded_protocol.Value.ArgumentList
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
internalGetMutableMapField
protected MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clear
public EmbeddedSass.Value.ArgumentList.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.Value.ArgumentList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public EmbeddedSass.Value.ArgumentList build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.Value.ArgumentList buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public EmbeddedSass.Value.ArgumentList.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
public EmbeddedSass.Value.ArgumentList.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clearOneof
public EmbeddedSass.Value.ArgumentList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- 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
public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(Message other)
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(EmbeddedSass.Value.ArgumentList other)
-
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
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;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
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;- 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
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;- Parameters:
value- The enum numeric value on the wire for separator to set.- Returns:
- This builder for chaining.
-
getSeparator
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;- Specified by:
getSeparatorin interfaceEmbeddedSass.Value.ArgumentListOrBuilder- Returns:
- The separator.
-
setSeparator
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;- Parameters:
value- The separator to set.- Returns:
- This builder for chaining.
-
clearSeparator
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;- Returns:
- This builder for chaining.
-
getContentsList
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;- 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
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;- Specified by:
getContentsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
setContents
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;
-
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
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;
-
addContents
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;
-
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
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;
-
removeContents
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;
-
getContentsBuilder
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;
-
getContentsOrBuilder
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;- Specified by:
getContentsOrBuilderin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getContentsOrBuilderList
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;- Specified by:
getContentsOrBuilderListin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
addContentsBuilder
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;
-
addContentsBuilder
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;
-
getContentsBuilderList
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;
-
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
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;- Specified by:
containsKeywordsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywords
@Deprecated public Map<String,EmbeddedSass.Value> getKeywords()
Deprecated.UsegetKeywordsMap()instead.- Specified by:
getKeywordsin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywordsMap
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;- Specified by:
getKeywordsMapin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywordsOrDefault
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;- Specified by:
getKeywordsOrDefaultin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywordsOrThrow
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;- Specified by:
getKeywordsOrThrowin interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
clearKeywords
public EmbeddedSass.Value.ArgumentList.Builder clearKeywords()
-
removeKeywords
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;
-
getMutableKeywords
@Deprecated public Map<String,EmbeddedSass.Value> getMutableKeywords()
Deprecated.Use alternate mutation accessors instead.
-
putKeywords
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;
-
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;
-
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>
-
-