public static final class OutboundMessage.LogEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.LogEvent.Builder> implements 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 |
---|---|
OutboundMessage.LogEvent |
build() |
OutboundMessage.LogEvent |
buildPartial() |
OutboundMessage.LogEvent.Builder |
clear() |
OutboundMessage.LogEvent.Builder |
clearDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
OutboundMessage.LogEvent.Builder |
clearFormatted()
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
OutboundMessage.LogEvent.Builder |
clearMessage()
The text of the message.
|
OutboundMessage.LogEvent.Builder |
clearSpan()
The span associated with this message.
|
OutboundMessage.LogEvent.Builder |
clearStackTrace()
The stack trace associated with this message.
|
OutboundMessage.LogEvent.Builder |
clearType()
.sass.embedded_protocol.LogEventType type = 2; |
OutboundMessage.LogEvent |
getDefaultInstanceForType() |
String |
getDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
com.google.protobuf.ByteString |
getDeprecationTypeBytes()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
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.
|
SourceSpan |
getSpan()
The span associated with this message.
|
SourceSpan.Builder |
getSpanBuilder()
The span associated with this message.
|
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.
|
LogEventType |
getType()
.sass.embedded_protocol.LogEventType type = 2; |
int |
getTypeValue()
.sass.embedded_protocol.LogEventType type = 2; |
boolean |
hasDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
boolean |
hasSpan()
The span associated with this message.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OutboundMessage.LogEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OutboundMessage.LogEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
OutboundMessage.LogEvent.Builder |
mergeFrom(OutboundMessage.LogEvent other) |
OutboundMessage.LogEvent.Builder |
mergeSpan(SourceSpan value)
The span associated with this message.
|
OutboundMessage.LogEvent.Builder |
setDeprecationType(String value)
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
OutboundMessage.LogEvent.Builder |
setDeprecationTypeBytes(com.google.protobuf.ByteString value)
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
|
OutboundMessage.LogEvent.Builder |
setFormatted(String value)
A formatted, human-readable string that contains the message, span (if
available), and trace (if available).
|
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).
|
OutboundMessage.LogEvent.Builder |
setMessage(String value)
The text of the message.
|
OutboundMessage.LogEvent.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
The text of the message.
|
OutboundMessage.LogEvent.Builder |
setSpan(SourceSpan.Builder builderForValue)
The span associated with this message.
|
OutboundMessage.LogEvent.Builder |
setSpan(SourceSpan value)
The span associated with this message.
|
OutboundMessage.LogEvent.Builder |
setStackTrace(String value)
The stack trace associated with this message.
|
OutboundMessage.LogEvent.Builder |
setStackTraceBytes(com.google.protobuf.ByteString value)
The stack trace associated with this message.
|
OutboundMessage.LogEvent.Builder |
setType(LogEventType value)
.sass.embedded_protocol.LogEventType type = 2; |
OutboundMessage.LogEvent.Builder |
setTypeValue(int value)
.sass.embedded_protocol.LogEventType type = 2; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.LogEvent.Builder>
public 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.GeneratedMessage.Builder<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.GeneratedMessage.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public OutboundMessage.LogEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public OutboundMessage.LogEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public 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<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder mergeFrom(OutboundMessage.LogEvent other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<OutboundMessage.LogEvent.Builder>
public 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<OutboundMessage.LogEvent.Builder>
IOException
public int getTypeValue()
.sass.embedded_protocol.LogEventType type = 2;
getTypeValue
in interface OutboundMessage.LogEventOrBuilder
public 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 LogEventType getType()
.sass.embedded_protocol.LogEventType type = 2;
getType
in interface OutboundMessage.LogEventOrBuilder
public OutboundMessage.LogEvent.Builder setType(LogEventType value)
.sass.embedded_protocol.LogEventType type = 2;
value
- The type to set.public OutboundMessage.LogEvent.Builder clearType()
.sass.embedded_protocol.LogEventType type = 2;
public String getMessage()
The text of the message.
string message = 3;
getMessage
in interface OutboundMessage.LogEventOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
The text of the message.
string message = 3;
getMessageBytes
in interface OutboundMessage.LogEventOrBuilder
public OutboundMessage.LogEvent.Builder setMessage(String value)
The text of the message.
string message = 3;
value
- The message to set.public OutboundMessage.LogEvent.Builder clearMessage()
The text of the message.
string message = 3;
public 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 OutboundMessage.LogEventOrBuilder
public SourceSpan getSpan()
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
getSpan
in interface OutboundMessage.LogEventOrBuilder
public OutboundMessage.LogEvent.Builder setSpan(SourceSpan value)
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
public OutboundMessage.LogEvent.Builder setSpan(SourceSpan.Builder builderForValue)
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
public OutboundMessage.LogEvent.Builder mergeSpan(SourceSpan value)
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
public OutboundMessage.LogEvent.Builder clearSpan()
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
public SourceSpan.Builder getSpanBuilder()
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
public SourceSpanOrBuilder getSpanOrBuilder()
The span associated with this message.
optional .sass.embedded_protocol.SourceSpan span = 4;
getSpanOrBuilder
in interface 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 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 OutboundMessage.LogEventOrBuilder
public 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 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 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 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 OutboundMessage.LogEventOrBuilder
public 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 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 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 boolean hasDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
hasDeprecationType
in interface OutboundMessage.LogEventOrBuilder
public String getDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
getDeprecationType
in interface OutboundMessage.LogEventOrBuilder
public com.google.protobuf.ByteString getDeprecationTypeBytes()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
getDeprecationTypeBytes
in interface OutboundMessage.LogEventOrBuilder
public OutboundMessage.LogEvent.Builder setDeprecationType(String value)
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
value
- The deprecationType to set.public OutboundMessage.LogEvent.Builder clearDeprecationType()
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
public OutboundMessage.LogEvent.Builder setDeprecationTypeBytes(com.google.protobuf.ByteString value)
The deprecation ID for this warning, if type is DEPRECATION_WARNING.
optional string deprecation_type = 7;
value
- The bytes for deprecationType to set.