Package sass.embedded_protocol
Interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.OutboundMessage.LogEvent
,EmbeddedSass.OutboundMessage.LogEvent.Builder
- Enclosing class:
- EmbeddedSass.OutboundMessage
-
Method Summary
Modifier and TypeMethodDescriptionint
The request id for the compilation that triggered the message.A formatted, human-readable string that contains the message, span (if available), and trace (if available).A formatted, human-readable string that contains the message, span (if available), and trace (if available).The text of the message.The text of the message.getSpan()
The span associated with this message.The span associated with this message.The stack trace associated with this message.The stack trace associated with this message.getType()
.sass.embedded_protocol.LogEventType type = 2;
int
.sass.embedded_protocol.LogEventType type = 2;
boolean
hasSpan()
The span associated with this message.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 Details
-
getCompilationId
int getCompilationId()The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;
- Returns:
- The compilationId.
-
getTypeValue
int getTypeValue().sass.embedded_protocol.LogEventType type = 2;
- Returns:
- The enum numeric value on the wire for type.
-
getType
EmbeddedSass.LogEventType getType().sass.embedded_protocol.LogEventType type = 2;
- Returns:
- The type.
-
getMessage
String getMessage()The text of the message.
string message = 3;
- Returns:
- The message.
-
getMessageBytes
ByteString getMessageBytes()The text of the message.
string message = 3;
- Returns:
- The bytes for message.
-
hasSpan
boolean hasSpan()The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
- Returns:
- Whether the span field is set.
-
getSpan
EmbeddedSass.SourceSpan getSpan()The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
- Returns:
- The span.
-
getSpanOrBuilder
EmbeddedSass.SourceSpanOrBuilder getSpanOrBuilder()The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
-
getStackTrace
String getStackTrace()The stack trace associated with this message. 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 = 5;
- Returns:
- The stackTrace.
-
getStackTraceBytes
ByteString getStackTraceBytes()The stack trace associated with this message. 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 = 5;
- 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 = 6;
- 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 = 6;
- Returns:
- The bytes for formatted.
-