public static final class OutboundMessage.LogEvent.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OutboundMessage.LogEvent |
build() |
OutboundMessage.LogEvent |
buildPartial() |
OutboundMessage.LogEvent.Builder |
clear() |
OutboundMessage.LogEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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.Builder |
clone() |
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.
|
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 |
hasSpan()
The span associated with this message.
|
protected com.google.protobuf.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OutboundMessage.LogEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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; |
OutboundMessage.LogEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.Builder>
public OutboundMessage.LogEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<OutboundMessage.LogEvent.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.GeneratedMessageV3.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 final 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<OutboundMessage.LogEvent.Builder>
public final 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<OutboundMessage.LogEvent.Builder>