Package sass.embedded_protocol
Interface EmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure
,EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder
- Enclosing class:
- EmbeddedSass.OutboundMessage.CompileResponse
public static interface EmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFormatted()
A formatted, human-readable string that contains the message, span (if available), and trace (if available).ByteString
getFormattedBytes()
A formatted, human-readable string that contains the message, span (if available), and trace (if available).String
getMessage()
A message describing the reason for the failure.ByteString
getMessageBytes()
A message describing the reason for the failure.EmbeddedSass.SourceSpan
getSpan()
The span associated with the failure.EmbeddedSass.SourceSpanOrBuilder
getSpanOrBuilder()
The span associated with the failure.String
getStackTrace()
The stack trace associated with the failure.ByteString
getStackTraceBytes()
The stack trace associated with the failure.boolean
hasSpan()
The span associated with the failure.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMessage
String getMessage()
A message describing the reason for the failure.
string message = 1;
- Returns:
- The message.
-
getMessageBytes
ByteString getMessageBytes()
A message describing the reason for the failure.
string message = 1;
- Returns:
- The bytes for message.
-
hasSpan
boolean hasSpan()
The span associated with the failure. Optional.
.sass.embedded_protocol.SourceSpan span = 2;
- Returns:
- Whether the span field is set.
-
getSpan
EmbeddedSass.SourceSpan getSpan()
The span associated with the failure. Optional.
.sass.embedded_protocol.SourceSpan span = 2;
- Returns:
- The span.
-
getSpanOrBuilder
EmbeddedSass.SourceSpanOrBuilder getSpanOrBuilder()
The span associated with the failure. Optional.
.sass.embedded_protocol.SourceSpan span = 2;
-
getStackTrace
String getStackTrace()
The stack trace associated with the failure. The empty string indicates that no stack trace is available. Otherwise, the format of this stack trace is not specified and is likely to be inconsistent between implementations.
string stack_trace = 3;
- Returns:
- The stackTrace.
-
getStackTraceBytes
ByteString getStackTraceBytes()
The stack trace associated with the failure. The empty string indicates that no stack trace is available. Otherwise, the format of this stack trace is not specified and is likely to be inconsistent between implementations.
string stack_trace = 3;
- Returns:
- The bytes for stackTrace.
-
getFormatted
String getFormatted()
A formatted, human-readable string that contains the message, span (if available), and trace (if available). The format of this string is not specified and is likely to be inconsistent between implementations.
string formatted = 4;
- Returns:
- The formatted.
-
getFormattedBytes
ByteString getFormattedBytes()
A formatted, human-readable string that contains the message, span (if available), and trace (if available). The format of this string is not specified and is likely to be inconsistent between implementations.
string formatted = 4;
- Returns:
- The bytes for formatted.
-
-