Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
sass.embedded_protocol.EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Enclosing class:
- EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure
public static final class EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
implements EmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
A message indicating that the Sass file could not be successfully compiled to CSS.Protobuf type
sass.embedded_protocol.OutboundMessage.CompileResponse.CompileFailure
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
A formatted, human-readable string that contains the message, span (if available), and trace (if available).A message describing the reason for the failure.The span associated with the failure.The stack trace associated with the failure.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).A message describing the reason for the failure.A message describing the reason for the failure.getSpan()
The span associated with the failure.The span associated with the failure.The span associated with the failure.The stack trace associated with the failure.The stack trace associated with the failure.boolean
hasSpan()
The span associated with the failure.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeSpan
(EmbeddedSass.SourceSpan value) The span associated with the failure.mergeUnknownFields
(UnknownFieldSet unknownFields) 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) A message describing the reason for the failure.setMessageBytes
(ByteString value) A message describing the reason for the failure.setSpan
(EmbeddedSass.SourceSpan value) The span associated with the failure.setSpan
(EmbeddedSass.SourceSpan.Builder builderForValue) The span associated with the failure.setStackTrace
(String value) The stack trace associated with the failure.setStackTraceBytes
(ByteString value) The stack trace associated with the failure.setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
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
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
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.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
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
-
mergeFrom
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.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.CompileResponse.CompileFailure.Builder>
- Throws:
IOException
-
getMessage
A message describing the reason for the failure.
string message = 1;
- Specified by:
getMessage
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The message.
-
getMessageBytes
A message describing the reason for the failure.
string message = 1;
- Specified by:
getMessageBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The bytes for message.
-
setMessage
A message describing the reason for the failure.
string message = 1;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
A message describing the reason for the failure.
string message = 1;
- Returns:
- This builder for chaining.
-
setMessageBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setMessageBytes(ByteString value) A message describing the reason for the failure.
string message = 1;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasSpan
public boolean hasSpan()The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
- Specified by:
hasSpan
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- Whether the span field is set.
-
getSpan
The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
- Specified by:
getSpan
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The span.
-
setSpan
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setSpan(EmbeddedSass.SourceSpan value) The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
-
setSpan
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setSpan(EmbeddedSass.SourceSpan.Builder builderForValue) The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
-
mergeSpan
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder mergeSpan(EmbeddedSass.SourceSpan value) The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
-
clearSpan
The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
-
getSpanBuilder
The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
-
getSpanOrBuilder
The span associated with the failure. Mandatory.
.sass.embedded_protocol.SourceSpan span = 2;
- Specified by:
getSpanOrBuilder
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
-
getStackTrace
The stack trace associated with the failure. 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 = 3;
- Specified by:
getStackTrace
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The stackTrace.
-
getStackTraceBytes
The stack trace associated with the failure. 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 = 3;
- Specified by:
getStackTraceBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The bytes for stackTrace.
-
setStackTrace
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setStackTrace(String value) The stack trace associated with the failure. 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 = 3;
- Parameters:
value
- The stackTrace to set.- Returns:
- This builder for chaining.
-
clearStackTrace
The stack trace associated with the failure. 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 = 3;
- Returns:
- This builder for chaining.
-
setStackTraceBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setStackTraceBytes(ByteString value) The stack trace associated with the failure. 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 = 3;
- 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 = 4;
- Specified by:
getFormatted
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- 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 = 4;
- Specified by:
getFormattedBytes
in interfaceEmbeddedSass.OutboundMessage.CompileResponse.CompileFailureOrBuilder
- Returns:
- The bytes for formatted.
-
setFormatted
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.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 = 4;
- 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 = 4;
- Returns:
- This builder for chaining.
-
setFormattedBytes
public EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setFormattedBytes(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 = 4;
- Parameters:
value
- The bytes for formatted to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
-
mergeUnknownFields
public final EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.OutboundMessage.CompileResponse.CompileFailure.Builder>
-