Package sass.embedded_protocol
Class EmbeddedSass.OutboundMessage
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- sass.embedded_protocol.EmbeddedSass.OutboundMessage
-
- All Implemented Interfaces:
Message
,MessageLite
,MessageLiteOrBuilder
,MessageOrBuilder
,Serializable
,EmbeddedSass.OutboundMessageOrBuilder
- Enclosing class:
- EmbeddedSass
public static final class EmbeddedSass.OutboundMessage extends GeneratedMessageV3 implements EmbeddedSass.OutboundMessageOrBuilder
The wrapper type for all messages sent from the compiler to the host. This provides a `oneof` that makes it possible to determine the type of each outbound message.
Protobuf typesass.embedded_protocol.OutboundMessage
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmbeddedSass.OutboundMessage.Builder
The wrapper type for all messages sent from the compiler to the host.static class
EmbeddedSass.OutboundMessage.CanonicalizeRequest
A request for a custom importer to convert an imported URL to its canonical format.static interface
EmbeddedSass.OutboundMessage.CanonicalizeRequestOrBuilder
static class
EmbeddedSass.OutboundMessage.CompileResponse
A response that contains the result of a compilation.static interface
EmbeddedSass.OutboundMessage.CompileResponseOrBuilder
static class
EmbeddedSass.OutboundMessage.FileImportRequest
A request for a custom filesystem importer to load the contents of a stylesheet.static interface
EmbeddedSass.OutboundMessage.FileImportRequestOrBuilder
static class
EmbeddedSass.OutboundMessage.FunctionCallRequest
A request to invoke a custom Sass function and return its result.static interface
EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder
static class
EmbeddedSass.OutboundMessage.ImportRequest
A request for a custom importer to load the contents of a stylesheet.static interface
EmbeddedSass.OutboundMessage.ImportRequestOrBuilder
static class
EmbeddedSass.OutboundMessage.LogEvent
An event indicating that a message should be displayed to the user.static interface
EmbeddedSass.OutboundMessage.LogEventOrBuilder
static class
EmbeddedSass.OutboundMessage.MessageCase
static class
EmbeddedSass.OutboundMessage.VersionResponse
A response that contains the version of the embedded compiler.static interface
EmbeddedSass.OutboundMessage.VersionResponseOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static int
CANONICALIZE_REQUEST_FIELD_NUMBER
static int
COMPILE_RESPONSE_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
FILE_IMPORT_REQUEST_FIELD_NUMBER
static int
FUNCTION_CALL_REQUEST_FIELD_NUMBER
static int
IMPORT_REQUEST_FIELD_NUMBER
static int
LOG_EVENT_FIELD_NUMBER
static int
VERSION_RESPONSE_FIELD_NUMBER
-
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
-
-
-
Field Detail
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPILE_RESPONSE_FIELD_NUMBER
public static final int COMPILE_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_EVENT_FIELD_NUMBER
public static final int LOG_EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CANONICALIZE_REQUEST_FIELD_NUMBER
public static final int CANONICALIZE_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_REQUEST_FIELD_NUMBER
public static final int IMPORT_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_IMPORT_REQUEST_FIELD_NUMBER
public static final int FILE_IMPORT_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_CALL_REQUEST_FIELD_NUMBER
public static final int FUNCTION_CALL_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_RESPONSE_FIELD_NUMBER
public static final int VERSION_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classGeneratedMessageV3
-
getUnknownFields
public final UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceMessageOrBuilder
- Overrides:
getUnknownFields
in classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3
-
getMessageCase
public EmbeddedSass.OutboundMessage.MessageCase getMessageCase()
- Specified by:
getMessageCase
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasError
public boolean hasError()
.sass.embedded_protocol.ProtocolError error = 1;
- Specified by:
hasError
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the error field is set.
-
getError
public EmbeddedSass.ProtocolError getError()
.sass.embedded_protocol.ProtocolError error = 1;
- Specified by:
getError
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The error.
-
getErrorOrBuilder
public EmbeddedSass.ProtocolErrorOrBuilder getErrorOrBuilder()
.sass.embedded_protocol.ProtocolError error = 1;
- Specified by:
getErrorOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasCompileResponse
public boolean hasCompileResponse()
.sass.embedded_protocol.OutboundMessage.CompileResponse compile_response = 2;
- Specified by:
hasCompileResponse
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the compileResponse field is set.
-
getCompileResponse
public EmbeddedSass.OutboundMessage.CompileResponse getCompileResponse()
.sass.embedded_protocol.OutboundMessage.CompileResponse compile_response = 2;
- Specified by:
getCompileResponse
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The compileResponse.
-
getCompileResponseOrBuilder
public EmbeddedSass.OutboundMessage.CompileResponseOrBuilder getCompileResponseOrBuilder()
.sass.embedded_protocol.OutboundMessage.CompileResponse compile_response = 2;
- Specified by:
getCompileResponseOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasLogEvent
public boolean hasLogEvent()
.sass.embedded_protocol.OutboundMessage.LogEvent log_event = 3;
- Specified by:
hasLogEvent
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the logEvent field is set.
-
getLogEvent
public EmbeddedSass.OutboundMessage.LogEvent getLogEvent()
.sass.embedded_protocol.OutboundMessage.LogEvent log_event = 3;
- Specified by:
getLogEvent
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The logEvent.
-
getLogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEventOrBuilder getLogEventOrBuilder()
.sass.embedded_protocol.OutboundMessage.LogEvent log_event = 3;
- Specified by:
getLogEventOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasCanonicalizeRequest
public boolean hasCanonicalizeRequest()
.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest canonicalize_request = 4;
- Specified by:
hasCanonicalizeRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the canonicalizeRequest field is set.
-
getCanonicalizeRequest
public EmbeddedSass.OutboundMessage.CanonicalizeRequest getCanonicalizeRequest()
.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest canonicalize_request = 4;
- Specified by:
getCanonicalizeRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The canonicalizeRequest.
-
getCanonicalizeRequestOrBuilder
public EmbeddedSass.OutboundMessage.CanonicalizeRequestOrBuilder getCanonicalizeRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest canonicalize_request = 4;
- Specified by:
getCanonicalizeRequestOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasImportRequest
public boolean hasImportRequest()
.sass.embedded_protocol.OutboundMessage.ImportRequest import_request = 5;
- Specified by:
hasImportRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the importRequest field is set.
-
getImportRequest
public EmbeddedSass.OutboundMessage.ImportRequest getImportRequest()
.sass.embedded_protocol.OutboundMessage.ImportRequest import_request = 5;
- Specified by:
getImportRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The importRequest.
-
getImportRequestOrBuilder
public EmbeddedSass.OutboundMessage.ImportRequestOrBuilder getImportRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.ImportRequest import_request = 5;
- Specified by:
getImportRequestOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasFileImportRequest
public boolean hasFileImportRequest()
.sass.embedded_protocol.OutboundMessage.FileImportRequest file_import_request = 6;
- Specified by:
hasFileImportRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the fileImportRequest field is set.
-
getFileImportRequest
public EmbeddedSass.OutboundMessage.FileImportRequest getFileImportRequest()
.sass.embedded_protocol.OutboundMessage.FileImportRequest file_import_request = 6;
- Specified by:
getFileImportRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The fileImportRequest.
-
getFileImportRequestOrBuilder
public EmbeddedSass.OutboundMessage.FileImportRequestOrBuilder getFileImportRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.FileImportRequest file_import_request = 6;
- Specified by:
getFileImportRequestOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasFunctionCallRequest
public boolean hasFunctionCallRequest()
.sass.embedded_protocol.OutboundMessage.FunctionCallRequest function_call_request = 7;
- Specified by:
hasFunctionCallRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the functionCallRequest field is set.
-
getFunctionCallRequest
public EmbeddedSass.OutboundMessage.FunctionCallRequest getFunctionCallRequest()
.sass.embedded_protocol.OutboundMessage.FunctionCallRequest function_call_request = 7;
- Specified by:
getFunctionCallRequest
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The functionCallRequest.
-
getFunctionCallRequestOrBuilder
public EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder getFunctionCallRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.FunctionCallRequest function_call_request = 7;
- Specified by:
getFunctionCallRequestOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasVersionResponse
public boolean hasVersionResponse()
.sass.embedded_protocol.OutboundMessage.VersionResponse version_response = 8;
- Specified by:
hasVersionResponse
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- Whether the versionResponse field is set.
-
getVersionResponse
public EmbeddedSass.OutboundMessage.VersionResponse getVersionResponse()
.sass.embedded_protocol.OutboundMessage.VersionResponse version_response = 8;
- Specified by:
getVersionResponse
in interfaceEmbeddedSass.OutboundMessageOrBuilder
- Returns:
- The versionResponse.
-
getVersionResponseOrBuilder
public EmbeddedSass.OutboundMessage.VersionResponseOrBuilder getVersionResponseOrBuilder()
.sass.embedded_protocol.OutboundMessage.VersionResponse version_response = 8;
- Specified by:
getVersionResponseOrBuilder
in interfaceEmbeddedSass.OutboundMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceMessageLite
- Overrides:
writeTo
in classGeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceMessageLite
- Overrides:
getSerializedSize
in classGeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceMessage
- Overrides:
equals
in classAbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceMessage
- Overrides:
hashCode
in classAbstractMessage
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.OutboundMessage parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.OutboundMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.OutboundMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EmbeddedSass.OutboundMessage.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfaceMessageLite
-
newBuilder
public static EmbeddedSass.OutboundMessage.Builder newBuilder()
-
newBuilder
public static EmbeddedSass.OutboundMessage.Builder newBuilder(EmbeddedSass.OutboundMessage prototype)
-
toBuilder
public EmbeddedSass.OutboundMessage.Builder toBuilder()
- Specified by:
toBuilder
in interfaceMessage
- Specified by:
toBuilder
in interfaceMessageLite
-
newBuilderForType
protected EmbeddedSass.OutboundMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classGeneratedMessageV3
-
getDefaultInstance
public static EmbeddedSass.OutboundMessage getDefaultInstance()
-
parser
public static Parser<EmbeddedSass.OutboundMessage> parser()
-
getParserForType
public Parser<EmbeddedSass.OutboundMessage> getParserForType()
- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfaceMessageLite
- Overrides:
getParserForType
in classGeneratedMessageV3
-
getDefaultInstanceForType
public EmbeddedSass.OutboundMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
-