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 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()
boolean
containsKeywords
(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.int
The 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.Descriptor
int
getId()
An ID for this argument list that's unique within the scope of a given `FunctionCallRequest`.Deprecated.int
The 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.int
The type of separator for this list.protected GeneratedMessageV3.FieldAccessorTable
protected MapField
internalGetMapField
(int number) protected MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(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.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, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
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 Details
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
internalGetMutableMapField
- Overrides:
internalGetMutableMapField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
setField
public EmbeddedSass.Value.ArgumentList.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clearField
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
setRepeatedField
public EmbeddedSass.Value.ArgumentList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
addRepeatedField
public EmbeddedSass.Value.ArgumentList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeFrom
public EmbeddedSass.Value.ArgumentList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in 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:
getId
in 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:
getSeparatorValue
in 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:
getSeparator
in 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:
getContentsList
in 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:
getContentsCount
in 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:
getContents
in 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:
getContentsOrBuilder
in 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:
getContentsOrBuilderList
in 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.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;
- Specified by:
getKeywordsCount
in 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:
containsKeywords
in interfaceEmbeddedSass.Value.ArgumentListOrBuilder
-
getKeywords
Deprecated.UsegetKeywordsMap()
instead.- Specified by:
getKeywords
in 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:
getKeywordsMap
in 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:
getKeywordsOrDefault
in 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:
getKeywordsOrThrow
in 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;
-
setUnknownFields
public final EmbeddedSass.Value.ArgumentList.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-
mergeUnknownFields
public final EmbeddedSass.Value.ArgumentList.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.ArgumentList.Builder>
-