Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.LogEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
sass.embedded_protocol.EmbeddedSass.OutboundMessage.LogEvent.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.OutboundMessage.LogEventOrBuilder
- Enclosing class:
- EmbeddedSass.OutboundMessage.LogEvent
public static final class EmbeddedSass.OutboundMessage.LogEvent.Builder
extends 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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()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).The text of the message.The span associated with this message.The stack trace associated with this message..sass.embedded_protocol.LogEventType type = 2;clone()intThe request id for the compilation that triggered the message.static final Descriptors.DescriptorA 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 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;booleanhasSpan()The span associated with this message.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeSpan(EmbeddedSass.SourceSpan value) The span associated with this message.mergeUnknownFields(UnknownFieldSet unknownFields) setCompilationId(int value) The request id for the compilation that triggered the message.setField(Descriptors.FieldDescriptor field, Object value) setFormatted(String value) A formatted, human-readable string that contains the message, span (if available), and trace (if available).setFormattedBytes(ByteString value) A formatted, human-readable string that contains the message, span (if available), and trace (if available).setMessage(String value) The text of the message.setMessageBytes(ByteString value) The text of the message.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSpan(EmbeddedSass.SourceSpan value) The span associated with this message.setSpan(EmbeddedSass.SourceSpan.Builder builderForValue) The span associated with this message.setStackTrace(String value) The stack trace associated with this message.setStackTraceBytes(ByteString value) The stack trace associated with this message.setType(EmbeddedSass.LogEventType value) .sass.embedded_protocol.LogEventType type = 2;setTypeValue(int value) .sass.embedded_protocol.LogEventType type = 2;setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
setField
public EmbeddedSass.OutboundMessage.LogEvent.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
setRepeatedField
public EmbeddedSass.OutboundMessage.LogEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
addRepeatedField
public EmbeddedSass.OutboundMessage.LogEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(EmbeddedSass.OutboundMessage.LogEvent other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>- Throws:
IOException
-
getCompilationId
public int getCompilationId()The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;- Specified by:
getCompilationIdin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The compilationId.
-
setCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;- Parameters:
value- The compilationId to set.- Returns:
- This builder for chaining.
-
clearCompilationId
The request id for the compilation that triggered the message. Mandatory.
uint32 compilation_id = 1;- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().sass.embedded_protocol.LogEventType type = 2;- Specified by:
getTypeValuein interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.sass.embedded_protocol.LogEventType type = 2;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
.sass.embedded_protocol.LogEventType type = 2;- Specified by:
getTypein interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The type.
-
setType
.sass.embedded_protocol.LogEventType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
.sass.embedded_protocol.LogEventType type = 2;- Returns:
- This builder for chaining.
-
getMessage
The text of the message.
string message = 3;- Specified by:
getMessagein interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The message.
-
getMessageBytes
The text of the message.
string message = 3;- Specified by:
getMessageBytesin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
The text of the message.
string message = 3;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
The text of the message.
string message = 3;- Returns:
- This builder for chaining.
-
setMessageBytes
The text of the message.
string message = 3;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasSpan
public boolean hasSpan()The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;- Specified by:
hasSpanin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- Whether the span field is set.
-
getSpan
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;- Specified by:
getSpanin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The span.
-
setSpan
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4; -
setSpan
public EmbeddedSass.OutboundMessage.LogEvent.Builder setSpan(EmbeddedSass.SourceSpan.Builder builderForValue) The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4; -
mergeSpan
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4; -
clearSpan
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4; -
getSpanBuilder
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4; -
getSpanOrBuilder
The span associated with this message. Optional.
.sass.embedded_protocol.SourceSpan span = 4;- Specified by:
getSpanOrBuilderin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder
-
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;- Specified by:
getStackTracein interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The stackTrace.
-
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;- Specified by:
getStackTraceBytesin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The bytes for stackTrace.
-
setStackTrace
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;- Parameters:
value- The stackTrace to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setStackTraceBytes
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;- Parameters:
value- The bytes for stackTrace to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFormattedin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The formatted.
-
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;- Specified by:
getFormattedBytesin interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder- Returns:
- The bytes for formatted.
-
setFormatted
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;- Parameters:
value- The formatted to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setFormattedBytes
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;- Parameters:
value- The bytes for formatted to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.OutboundMessage.LogEvent.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.LogEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-