public static final class EmbeddedSass.SourceSpan.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder> implements EmbeddedSass.SourceSpanOrBuilder
A chunk of a source file.Protobuf type
sass.embedded_protocol.SourceSpan| Modifier and Type | Method and Description |
|---|---|
EmbeddedSass.SourceSpan |
build() |
EmbeddedSass.SourceSpan |
buildPartial() |
EmbeddedSass.SourceSpan.Builder |
clear() |
EmbeddedSass.SourceSpan.Builder |
clearContext()
Additional source text surrounding this span.
|
EmbeddedSass.SourceSpan.Builder |
clearEnd()
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.Builder |
clearStart()
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.Builder |
clearText()
The text covered by the source span.
|
EmbeddedSass.SourceSpan.Builder |
clearUrl()
The URL of the file to which this span refers.
|
String |
getContext()
Additional source text surrounding this span.
|
com.google.protobuf.ByteString |
getContextBytes()
Additional source text surrounding this span.
|
EmbeddedSass.SourceSpan |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EmbeddedSass.SourceSpan.SourceLocation |
getEnd()
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.SourceLocation.Builder |
getEndBuilder()
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.SourceLocationOrBuilder |
getEndOrBuilder()
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.SourceLocation |
getStart()
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.SourceLocation.Builder |
getStartBuilder()
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.SourceLocationOrBuilder |
getStartOrBuilder()
The location of the first character in this span.
|
String |
getText()
The text covered by the source span.
|
com.google.protobuf.ByteString |
getTextBytes()
The text covered by the source span.
|
String |
getUrl()
The URL of the file to which this span refers.
|
com.google.protobuf.ByteString |
getUrlBytes()
The URL of the file to which this span refers.
|
boolean |
hasEnd()
The location of the first character after this span.
|
boolean |
hasStart()
The location of the first character in this span.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EmbeddedSass.SourceSpan.Builder |
mergeEnd(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.SourceSpan.Builder |
mergeFrom(EmbeddedSass.SourceSpan other) |
EmbeddedSass.SourceSpan.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.SourceSpan.Builder |
mergeStart(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.SourceSpan.Builder |
setContext(String value)
Additional source text surrounding this span.
|
EmbeddedSass.SourceSpan.Builder |
setContextBytes(com.google.protobuf.ByteString value)
Additional source text surrounding this span.
|
EmbeddedSass.SourceSpan.Builder |
setEnd(EmbeddedSass.SourceSpan.SourceLocation.Builder builderForValue)
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.Builder |
setEnd(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character after this span.
|
EmbeddedSass.SourceSpan.Builder |
setStart(EmbeddedSass.SourceSpan.SourceLocation.Builder builderForValue)
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.Builder |
setStart(EmbeddedSass.SourceSpan.SourceLocation value)
The location of the first character in this span.
|
EmbeddedSass.SourceSpan.Builder |
setText(String value)
The text covered by the source span.
|
EmbeddedSass.SourceSpan.Builder |
setTextBytes(com.google.protobuf.ByteString value)
The text covered by the source span.
|
EmbeddedSass.SourceSpan.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.SourceSpan.Builder |
setUrl(String value)
The URL of the file to which this span refers.
|
EmbeddedSass.SourceSpan.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The URL of the file to which this span refers.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>public EmbeddedSass.SourceSpan.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>public EmbeddedSass.SourceSpan getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EmbeddedSass.SourceSpan build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.SourceSpan buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EmbeddedSass.SourceSpan.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.SourceSpan.Builder>public EmbeddedSass.SourceSpan.Builder mergeFrom(EmbeddedSass.SourceSpan other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>public EmbeddedSass.SourceSpan.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.SourceSpan.Builder>IOExceptionpublic 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.SourceSpanOrBuilderpublic com.google.protobuf.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.SourceSpanOrBuilderpublic 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(com.google.protobuf.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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic 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.SourceSpanOrBuilderpublic com.google.protobuf.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.SourceSpanOrBuilderpublic 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(com.google.protobuf.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.SourceSpanOrBuilderpublic com.google.protobuf.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.SourceSpanOrBuilderpublic 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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>public final EmbeddedSass.SourceSpan.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.Builder>