Package sass.embedded_protocol
Class EmbeddedSass.Value.List.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
sass.embedded_protocol.EmbeddedSass.Value.List.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.Value.ListOrBuilder
- Enclosing class:
- EmbeddedSass.Value.List
public static final class EmbeddedSass.Value.List.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
implements EmbeddedSass.Value.ListOrBuilder
A SassScript list value.Protobuf type
sass.embedded_protocol.Value.List
-
Method Summary
Modifier and TypeMethodDescriptionaddAllContents
(Iterable<? extends EmbeddedSass.Value> values) The elements of this list.addContents
(int index, EmbeddedSass.Value value) The elements of this list.addContents
(int index, EmbeddedSass.Value.Builder builderForValue) The elements of this list.addContents
(EmbeddedSass.Value value) The elements of this list.addContents
(EmbeddedSass.Value.Builder builderForValue) The elements of this list.The elements of this list.addContentsBuilder
(int index) The elements of this list.build()
clear()
The elements of this list.Whether this list has square brackets.The type of separator for this list.getContents
(int index) The elements of this list.getContentsBuilder
(int index) The elements of this list.The elements of this list.int
The elements of this list.The elements of this list.getContentsOrBuilder
(int index) The elements of this list.List<? extends EmbeddedSass.ValueOrBuilder>
The elements of this list.static final Descriptors.Descriptor
boolean
Whether this list has square brackets.The type of separator for this list.int
The type of separator for this list.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom
(EmbeddedSass.Value.List other) mergeUnknownFields
(UnknownFieldSet unknownFields) removeContents
(int index) The elements of this list.setContents
(int index, EmbeddedSass.Value value) The elements of this list.setContents
(int index, EmbeddedSass.Value.Builder builderForValue) The elements of this list.setHasBrackets
(boolean value) Whether this list has square brackets.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
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.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
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.Value.List.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
-
mergeFrom
public EmbeddedSass.Value.List.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.List.Builder>
- Throws:
IOException
-
getSeparatorValue
public int getSeparatorValue()The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
- Specified by:
getSeparatorValue
in interfaceEmbeddedSass.Value.ListOrBuilder
- Returns:
- The enum numeric value on the wire for separator.
-
setSeparatorValue
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
- 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. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
- Specified by:
getSeparator
in interfaceEmbeddedSass.Value.ListOrBuilder
- Returns:
- The separator.
-
setSeparator
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
- Parameters:
value
- The separator to set.- Returns:
- This builder for chaining.
-
clearSeparator
The type of separator for this list. Mandatory.
.sass.embedded_protocol.ListSeparator separator = 1;
- Returns:
- This builder for chaining.
-
getHasBrackets
public boolean getHasBrackets()Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
- Specified by:
getHasBrackets
in interfaceEmbeddedSass.Value.ListOrBuilder
- Returns:
- The hasBrackets.
-
setHasBrackets
Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
- Parameters:
value
- The hasBrackets to set.- Returns:
- This builder for chaining.
-
clearHasBrackets
Whether this list has square brackets. Mandatory.
bool has_brackets = 2;
- Returns:
- This builder for chaining.
-
getContentsList
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
- Specified by:
getContentsList
in interfaceEmbeddedSass.Value.ListOrBuilder
-
getContentsCount
public int getContentsCount()The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
- Specified by:
getContentsCount
in interfaceEmbeddedSass.Value.ListOrBuilder
-
getContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
- Specified by:
getContents
in interfaceEmbeddedSass.Value.ListOrBuilder
-
setContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
setContents
public EmbeddedSass.Value.List.Builder setContents(int index, EmbeddedSass.Value.Builder builderForValue) The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addContents
public EmbeddedSass.Value.List.Builder addContents(int index, EmbeddedSass.Value.Builder builderForValue) The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addAllContents
public EmbeddedSass.Value.List.Builder addAllContents(Iterable<? extends EmbeddedSass.Value> values) The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
clearContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
removeContents
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
getContentsBuilder
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
getContentsOrBuilder
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
- Specified by:
getContentsOrBuilder
in interfaceEmbeddedSass.Value.ListOrBuilder
-
getContentsOrBuilderList
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
- Specified by:
getContentsOrBuilderList
in interfaceEmbeddedSass.Value.ListOrBuilder
-
addContentsBuilder
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
addContentsBuilder
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
getContentsBuilderList
The elements of this list.
repeated .sass.embedded_protocol.Value contents = 3;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.Value.List.Builder>
-