Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.LogEvent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
int
The request id for the compilation that triggered the message.static final Descriptors.Descriptor
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 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.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
setField
public EmbeddedSass.OutboundMessage.LogEvent.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clearField
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
setRepeatedField
public EmbeddedSass.OutboundMessage.LogEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
addRepeatedField
public EmbeddedSass.OutboundMessage.LogEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(EmbeddedSass.OutboundMessage.LogEvent other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.LogEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCompilationId
in 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:
getTypeValue
in 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:
getType
in 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:
getMessage
in interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilder
- Returns:
- The message.
-
getMessageBytes
The text of the message.
string message = 3;
- Specified by:
getMessageBytes
in 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:
hasSpan
in 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:
getSpan
in 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:
getSpanOrBuilder
in 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:
getStackTrace
in 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:
getStackTraceBytes
in 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:
getFormatted
in 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:
getFormattedBytes
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.LogEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.LogEvent.Builder>
-