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
public static interface EmbeddedSass.Value.ArgumentListOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsKeywords(String key)
The argument list's keywords.EmbeddedSass.Value
getContents(int index)
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.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.EmbeddedSass.ListSeparator
getSeparator()
The type of separator for this list.int
getSeparatorValue()
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 Detail
-
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
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;
-
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
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;
-
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
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;
-
getKeywords
@Deprecated Map<String,EmbeddedSass.Value> 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
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;
-
getKeywordsOrThrow
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;
-
-