Package sass.embedded_protocol
Interface EmbeddedSass.Value.ArgumentListOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.Value.ArgumentList
,EmbeddedSass.Value.ArgumentList.Builder
- Enclosing class:
- EmbeddedSass.Value
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKeywords
(String key) The argument list's keywords.getContents
(int index) 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.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.The type of separator for this list.int
The type of separator for this list.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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;
- Returns:
- The id.
-
getSeparatorValue
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;
- Returns:
- The enum numeric value on the wire for separator.
-
getSeparator
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;
- Returns:
- The separator.
-
getContentsList
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;
-
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;
-
getContentsCount
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;
-
getContentsOrBuilderList
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;
-
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;
-
getKeywordsCount
int getKeywordsCount()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
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;
-
getKeywords
Deprecated.UsegetKeywordsMap()
instead. -
getKeywordsMap
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;
-
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;
-
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;
-