public static final class Value.List.Builder extends com.google.protobuf.GeneratedMessage.Builder<Value.List.Builder> implements Value.ListOrBuilder
A SassScript list value.Protobuf type
sass.embedded_protocol.Value.List
Modifier and Type | Method and Description |
---|---|
Value.List.Builder |
addAllContents(Iterable<? extends Value> values)
The elements of this list.
|
Value.List.Builder |
addContents(int index,
Value.Builder builderForValue)
The elements of this list.
|
Value.List.Builder |
addContents(int index,
Value value)
The elements of this list.
|
Value.List.Builder |
addContents(Value.Builder builderForValue)
The elements of this list.
|
Value.List.Builder |
addContents(Value value)
The elements of this list.
|
Value.Builder |
addContentsBuilder()
The elements of this list.
|
Value.Builder |
addContentsBuilder(int index)
The elements of this list.
|
Value.List |
build() |
Value.List |
buildPartial() |
Value.List.Builder |
clear() |
Value.List.Builder |
clearContents()
The elements of this list.
|
Value.List.Builder |
clearHasBrackets()
Whether this list has square brackets.
|
Value.List.Builder |
clearSeparator()
The type of separator for this list.
|
Value |
getContents(int index)
The elements of this list.
|
Value.Builder |
getContentsBuilder(int index)
The elements of this list.
|
List<Value.Builder> |
getContentsBuilderList()
The elements of this list.
|
int |
getContentsCount()
The elements of this list.
|
List<Value> |
getContentsList()
The elements of this list.
|
ValueOrBuilder |
getContentsOrBuilder(int index)
The elements of this list.
|
List<? extends ValueOrBuilder> |
getContentsOrBuilderList()
The elements of this list.
|
Value.List |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getHasBrackets()
Whether this list has square brackets.
|
ListSeparator |
getSeparator()
The type of separator for this list.
|
int |
getSeparatorValue()
The type of separator for this list.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Value.List.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Value.List.Builder |
mergeFrom(com.google.protobuf.Message other) |
Value.List.Builder |
mergeFrom(Value.List other) |
Value.List.Builder |
removeContents(int index)
The elements of this list.
|
Value.List.Builder |
setContents(int index,
Value.Builder builderForValue)
The elements of this list.
|
Value.List.Builder |
setContents(int index,
Value value)
The elements of this list.
|
Value.List.Builder |
setHasBrackets(boolean value)
Whether this list has square brackets.
|
Value.List.Builder |
setSeparator(ListSeparator value)
The type of separator for this list.
|
Value.List.Builder |
setSeparatorValue(int value)
The type of separator for this list.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Value.List.Builder>
public Value.List.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Value.List.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<Value.List.Builder>
public Value.List getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Value.List build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Value.List buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Value.List.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Value.List.Builder>
public Value.List.Builder mergeFrom(Value.List other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Value.List.Builder>
public Value.List.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Value.List.Builder>
IOException
public int getSeparatorValue()
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
getSeparatorValue
in interface Value.ListOrBuilder
public Value.List.Builder setSeparatorValue(int value)
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
value
- The enum numeric value on the wire for separator to set.public ListSeparator getSeparator()
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
getSeparator
in interface Value.ListOrBuilder
public Value.List.Builder setSeparator(ListSeparator value)
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
value
- The separator to set.public Value.List.Builder clearSeparator()
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
public boolean getHasBrackets()
Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
getHasBrackets
in interface Value.ListOrBuilder
public Value.List.Builder setHasBrackets(boolean value)
Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
value
- The hasBrackets to set.public Value.List.Builder clearHasBrackets()
Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
public List<Value> getContentsList()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
getContentsList
in interface Value.ListOrBuilder
public int getContentsCount()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
getContentsCount
in interface Value.ListOrBuilder
public Value getContents(int index)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
getContents
in interface Value.ListOrBuilder
public Value.List.Builder setContents(int index, Value value)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder setContents(int index, Value.Builder builderForValue)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder addContents(Value value)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder addContents(int index, Value value)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder addContents(Value.Builder builderForValue)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder addContents(int index, Value.Builder builderForValue)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder addAllContents(Iterable<? extends Value> values)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder clearContents()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.List.Builder removeContents(int index)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.Builder getContentsBuilder(int index)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public ValueOrBuilder getContentsOrBuilder(int index)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
getContentsOrBuilder
in interface Value.ListOrBuilder
public List<? extends ValueOrBuilder> getContentsOrBuilderList()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
getContentsOrBuilderList
in interface Value.ListOrBuilder
public Value.Builder addContentsBuilder()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public Value.Builder addContentsBuilder(int index)
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
public List<Value.Builder> getContentsBuilderList()
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;