public static final class EmbeddedSass.SourceSpan.Builder extends GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder> implements EmbeddedSass.SourceSpanOrBuilder
A chunk of a source file.Protobuf type
sass.embedded_protocol.SourceSpan
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EmbeddedSass.SourceSpan build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EmbeddedSass.SourceSpan buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EmbeddedSass.SourceSpan.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder mergeFrom(EmbeddedSass.SourceSpan other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public EmbeddedSass.SourceSpan.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.SourceSpan.Builder>
IOException
public String getText()
The text covered by the source span. Compilers must guarantee that this is the text between `start.offset` and `end.offset` in the source file referred to by `url`.
string text = 1;
getText
in interface EmbeddedSass.SourceSpanOrBuilder
public ByteString getTextBytes()
The text covered by the source span. Compilers must guarantee that this is the text between `start.offset` and `end.offset` in the source file referred to by `url`.
string text = 1;
getTextBytes
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.Builder setText(String value)
The text covered by the source span. Compilers must guarantee that this is the text between `start.offset` and `end.offset` in the source file referred to by `url`.
string text = 1;
value
- The text to set.public EmbeddedSass.SourceSpan.Builder clearText()
The text covered by the source span. Compilers must guarantee that this is the text between `start.offset` and `end.offset` in the source file referred to by `url`.
string text = 1;
public EmbeddedSass.SourceSpan.Builder setTextBytes(ByteString value)
The text covered by the source span. Compilers must guarantee that this is the text between `start.offset` and `end.offset` in the source file referred to by `url`.
string text = 1;
value
- The bytes for text to set.public boolean hasStart()
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
hasStart
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.SourceLocation getStart()
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
getStart
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.Builder setStart(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
public EmbeddedSass.SourceSpan.Builder setStart(EmbeddedSass.SourceSpan.SourceLocation.Builder builderForValue)
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
public EmbeddedSass.SourceSpan.Builder mergeStart(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
public EmbeddedSass.SourceSpan.Builder clearStart()
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
public EmbeddedSass.SourceSpan.SourceLocation.Builder getStartBuilder()
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
public EmbeddedSass.SourceSpan.SourceLocationOrBuilder getStartOrBuilder()
The location of the first character in this span. Mandatory.
.sass.embedded_protocol.SourceSpan.SourceLocation start = 2;
getStartOrBuilder
in interface EmbeddedSass.SourceSpanOrBuilder
public boolean hasEnd()
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
hasEnd
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.SourceLocation getEnd()
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
getEnd
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.Builder setEnd(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
public EmbeddedSass.SourceSpan.Builder setEnd(EmbeddedSass.SourceSpan.SourceLocation.Builder builderForValue)
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
public EmbeddedSass.SourceSpan.Builder mergeEnd(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
public EmbeddedSass.SourceSpan.Builder clearEnd()
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
public EmbeddedSass.SourceSpan.SourceLocation.Builder getEndBuilder()
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
public EmbeddedSass.SourceSpan.SourceLocationOrBuilder getEndOrBuilder()
The location of the first character after this span. Optional. If this is omitted, it indicates that the span is empty and points immediately before `start`. In that case, `text` must be empty. This must not point to a location before `start`.
.sass.embedded_protocol.SourceSpan.SourceLocation end = 3;
getEndOrBuilder
in interface EmbeddedSass.SourceSpanOrBuilder
public String getUrl()
The URL of the file to which this span refers. This may be empty, indicating that the span refers to a `CompileRequest.StringInput` file that doesn't specify a URL.
string url = 4;
getUrl
in interface EmbeddedSass.SourceSpanOrBuilder
public ByteString getUrlBytes()
The URL of the file to which this span refers. This may be empty, indicating that the span refers to a `CompileRequest.StringInput` file that doesn't specify a URL.
string url = 4;
getUrlBytes
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.Builder setUrl(String value)
The URL of the file to which this span refers. This may be empty, indicating that the span refers to a `CompileRequest.StringInput` file that doesn't specify a URL.
string url = 4;
value
- The url to set.public EmbeddedSass.SourceSpan.Builder clearUrl()
The URL of the file to which this span refers. This may be empty, indicating that the span refers to a `CompileRequest.StringInput` file that doesn't specify a URL.
string url = 4;
public EmbeddedSass.SourceSpan.Builder setUrlBytes(ByteString value)
The URL of the file to which this span refers. This may be empty, indicating that the span refers to a `CompileRequest.StringInput` file that doesn't specify a URL.
string url = 4;
value
- The bytes for url to set.public String getContext()
Additional source text surrounding this span. If this isn't empty, it must contain `text`. Furthermore, `text` must begin at column `start.column` of a line in `context`. This usually contains the full lines the span begins and ends on if the span itself doesn't cover the full lines.
string context = 5;
getContext
in interface EmbeddedSass.SourceSpanOrBuilder
public ByteString getContextBytes()
Additional source text surrounding this span. If this isn't empty, it must contain `text`. Furthermore, `text` must begin at column `start.column` of a line in `context`. This usually contains the full lines the span begins and ends on if the span itself doesn't cover the full lines.
string context = 5;
getContextBytes
in interface EmbeddedSass.SourceSpanOrBuilder
public EmbeddedSass.SourceSpan.Builder setContext(String value)
Additional source text surrounding this span. If this isn't empty, it must contain `text`. Furthermore, `text` must begin at column `start.column` of a line in `context`. This usually contains the full lines the span begins and ends on if the span itself doesn't cover the full lines.
string context = 5;
value
- The context to set.public EmbeddedSass.SourceSpan.Builder clearContext()
Additional source text surrounding this span. If this isn't empty, it must contain `text`. Furthermore, `text` must begin at column `start.column` of a line in `context`. This usually contains the full lines the span begins and ends on if the span itself doesn't cover the full lines.
string context = 5;
public EmbeddedSass.SourceSpan.Builder setContextBytes(ByteString value)
Additional source text surrounding this span. If this isn't empty, it must contain `text`. Furthermore, `text` must begin at column `start.column` of a line in `context`. This usually contains the full lines the span begins and ends on if the span itself doesn't cover the full lines.
string context = 5;
value
- The bytes for context to set.public final EmbeddedSass.SourceSpan.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>
public final EmbeddedSass.SourceSpan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>