public static final class EmbeddedSass.Value.ArgumentList extends com.google.protobuf.GeneratedMessageV3 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
Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedSass.Value.ArgumentList.Builder
A SassScript argument list value.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CONTENTS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KEYWORDS_FIELD_NUMBER |
static int |
SEPARATOR_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKeywords(String key)
The argument list's keywords.
|
boolean |
equals(Object obj) |
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.
|
static EmbeddedSass.Value.ArgumentList |
getDefaultInstance() |
EmbeddedSass.Value.ArgumentList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<EmbeddedSass.Value.ArgumentList> |
getParserForType() |
EmbeddedSass.ListSeparator |
getSeparator()
The type of separator for this list.
|
int |
getSeparatorValue()
The type of separator for this list.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static EmbeddedSass.Value.ArgumentList.Builder |
newBuilder() |
static EmbeddedSass.Value.ArgumentList.Builder |
newBuilder(EmbeddedSass.Value.ArgumentList prototype) |
EmbeddedSass.Value.ArgumentList.Builder |
newBuilderForType() |
protected EmbeddedSass.Value.ArgumentList.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static EmbeddedSass.Value.ArgumentList |
parseDelimitedFrom(InputStream input) |
static EmbeddedSass.Value.ArgumentList |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(byte[] data) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(ByteBuffer data) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(com.google.protobuf.ByteString data) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(InputStream input) |
static EmbeddedSass.Value.ArgumentList |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EmbeddedSass.Value.ArgumentList> |
parser() |
EmbeddedSass.Value.ArgumentList.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int SEPARATOR_FIELD_NUMBER
public static final int CONTENTS_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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;
getId
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getSeparatorValue
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getSeparator
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getContentsList
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getContentsOrBuilderList
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getContentsCount
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getContents
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getContentsOrBuilder
in interface EmbeddedSass.Value.ArgumentListOrBuilder
public int getKeywordsCount()
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;
getKeywordsCount
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
containsKeywords
in interface EmbeddedSass.Value.ArgumentListOrBuilder
@Deprecated public Map<String,EmbeddedSass.Value> getKeywords()
getKeywordsMap()
instead.getKeywords
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getKeywordsMap
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getKeywordsOrDefault
in interface EmbeddedSass.Value.ArgumentListOrBuilder
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;
getKeywordsOrThrow
in interface EmbeddedSass.Value.ArgumentListOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static EmbeddedSass.Value.ArgumentList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static EmbeddedSass.Value.ArgumentList parseFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.Value.ArgumentList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.Value.ArgumentList parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EmbeddedSass.Value.ArgumentList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EmbeddedSass.Value.ArgumentList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static EmbeddedSass.Value.ArgumentList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EmbeddedSass.Value.ArgumentList.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static EmbeddedSass.Value.ArgumentList.Builder newBuilder()
public static EmbeddedSass.Value.ArgumentList.Builder newBuilder(EmbeddedSass.Value.ArgumentList prototype)
public EmbeddedSass.Value.ArgumentList.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected EmbeddedSass.Value.ArgumentList.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static EmbeddedSass.Value.ArgumentList getDefaultInstance()
public static com.google.protobuf.Parser<EmbeddedSass.Value.ArgumentList> parser()
public com.google.protobuf.Parser<EmbeddedSass.Value.ArgumentList> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public EmbeddedSass.Value.ArgumentList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder