public static final class EmbeddedSass.OutboundMessage.LogEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder> implements EmbeddedSass.OutboundMessage.LogEventOrBuilder
An event indicating that a message should be displayed to the user.Protobuf type
sass.embedded_protocol.OutboundMessage.LogEvent
Modifier and Type | Method and Description |
---|---|
EmbeddedSass.OutboundMessage.LogEvent |
build() |
EmbeddedSass.OutboundMessage.LogEvent |
buildPartial() |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clear() |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearCompilationId()
The request id for the compilation that triggered the message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearFormatted()
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearMessage()
The text of the message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearSpan()
The span associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearStackTrace()
The stack trace associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
clearType()
.sass.embedded_protocol.LogEventType type = 2; |
int |
getCompilationId()
The request id for the compilation that triggered the message.
|
EmbeddedSass.OutboundMessage.LogEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFormatted()
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
com.google.protobuf.ByteString |
getFormattedBytes()
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
String |
getMessage()
The text of the message.
|
com.google.protobuf.ByteString |
getMessageBytes()
The text of the message.
|
EmbeddedSass.SourceSpan |
getSpan()
The span associated with this message.
|
EmbeddedSass.SourceSpan.Builder |
getSpanBuilder()
The span associated with this message.
|
EmbeddedSass.SourceSpanOrBuilder |
getSpanOrBuilder()
The span associated with this message.
|
String |
getStackTrace()
The stack trace associated with this message.
|
com.google.protobuf.ByteString |
getStackTraceBytes()
The stack trace associated with this message.
|
EmbeddedSass.LogEventType |
getType()
.sass.embedded_protocol.LogEventType type = 2; |
int |
getTypeValue()
.sass.embedded_protocol.LogEventType type = 2; |
boolean |
hasSpan()
The span associated with this message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
mergeFrom(EmbeddedSass.OutboundMessage.LogEvent other) |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
mergeSpan(EmbeddedSass.SourceSpan value)
The span associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setCompilationId(int value)
The request id for the compilation that triggered the message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setFormatted(String value)
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setFormattedBytes(com.google.protobuf.ByteString value)
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setMessage(String value)
The text of the message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
The text of the message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setSpan(EmbeddedSass.SourceSpan.Builder builderForValue)
The span associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setSpan(EmbeddedSass.SourceSpan value)
The span associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setStackTrace(String value)
The stack trace associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
The stack trace associated with this message.
|
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setType(EmbeddedSass.LogEventType value)
.sass.embedded_protocol.LogEventType type = 2; |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setTypeValue(int value)
.sass.embedded_protocol.LogEventType type = 2; |
EmbeddedSass.OutboundMessage.LogEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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
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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public EmbeddedSass.OutboundMessage.LogEvent.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public EmbeddedSass.OutboundMessage.LogEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.OutboundMessage.LogEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(EmbeddedSass.OutboundMessage.LogEvent other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
IOException
public int getCompilationId()
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;
getCompilationId
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setCompilationId(int value)
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;
value
- The compilationId to set.public EmbeddedSass.OutboundMessage.LogEvent.Builder clearCompilationId()
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;
public int getTypeValue()
.sass.embedded_protocol.LogEventType type = 2;
getTypeValue
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setTypeValue(int value)
.sass.embedded_protocol.LogEventType type = 2;
value
- The enum numeric value on the wire for type to set.public EmbeddedSass.LogEventType getType()
.sass.embedded_protocol.LogEventType type = 2;
getType
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setType(EmbeddedSass.LogEventType value)
.sass.embedded_protocol.LogEventType type = 2;
value
- The type to set.public EmbeddedSass.OutboundMessage.LogEvent.Builder clearType()
.sass.embedded_protocol.LogEventType type = 2;
public String getMessage()
The text of the message.
string message = 3;
getMessage
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
The text of the message.
string message = 3;
getMessageBytes
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setMessage(String value)
The text of the message.
string message = 3;
value
- The message to set.public EmbeddedSass.OutboundMessage.LogEvent.Builder clearMessage()
The text of the message.
string message = 3;
public EmbeddedSass.OutboundMessage.LogEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
The text of the message.
string message = 3;
value
- The bytes for message to set.public boolean hasSpan()
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
hasSpan
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.SourceSpan getSpan()
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
getSpan
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setSpan(EmbeddedSass.SourceSpan value)
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
public EmbeddedSass.OutboundMessage.LogEvent.Builder setSpan(EmbeddedSass.SourceSpan.Builder builderForValue)
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeSpan(EmbeddedSass.SourceSpan value)
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
public EmbeddedSass.OutboundMessage.LogEvent.Builder clearSpan()
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
public EmbeddedSass.SourceSpan.Builder getSpanBuilder()
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
public EmbeddedSass.SourceSpanOrBuilder getSpanOrBuilder()
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;
getSpanOrBuilder
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public 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;
getStackTrace
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public com.google.protobuf.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;
getStackTraceBytes
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setStackTrace(String value)
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;
value
- The stackTrace to set.public EmbeddedSass.OutboundMessage.LogEvent.Builder clearStackTrace()
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;
public EmbeddedSass.OutboundMessage.LogEvent.Builder setStackTraceBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for stackTrace to set.public 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;
getFormatted
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public com.google.protobuf.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;
getFormattedBytes
in interface EmbeddedSass.OutboundMessage.LogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEvent.Builder setFormatted(String value)
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;
value
- The formatted to set.public EmbeddedSass.OutboundMessage.LogEvent.Builder clearFormatted()
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;
public EmbeddedSass.OutboundMessage.LogEvent.Builder setFormattedBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for formatted to set.public final EmbeddedSass.OutboundMessage.LogEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
public final EmbeddedSass.OutboundMessage.LogEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>