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 classEmbeddedSass.OutboundMessage.BuilderThe wrapper type for all messages sent from the compiler to the host.static classEmbeddedSass.OutboundMessage.CanonicalizeRequestA request for a custom importer to convert an imported URL to its canonical format.static interfaceEmbeddedSass.OutboundMessage.CanonicalizeRequestOrBuilderstatic classEmbeddedSass.OutboundMessage.CompileResponseA response that contains the result of a compilation.static interfaceEmbeddedSass.OutboundMessage.CompileResponseOrBuilderstatic classEmbeddedSass.OutboundMessage.FileImportRequestA request for a custom filesystem importer to load the contents of a stylesheet.static interfaceEmbeddedSass.OutboundMessage.FileImportRequestOrBuilderstatic classEmbeddedSass.OutboundMessage.FunctionCallRequestA request to invoke a custom Sass function and return its result.static interfaceEmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilderstatic classEmbeddedSass.OutboundMessage.ImportRequestA request for a custom importer to load the contents of a stylesheet.static interfaceEmbeddedSass.OutboundMessage.ImportRequestOrBuilderstatic classEmbeddedSass.OutboundMessage.LogEventAn event indicating that a message should be displayed to the user.static interfaceEmbeddedSass.OutboundMessage.LogEventOrBuilderstatic classEmbeddedSass.OutboundMessage.MessageCasestatic classEmbeddedSass.OutboundMessage.VersionResponseA response that contains the version of the embedded compiler.static interfaceEmbeddedSass.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 intCANONICALIZE_REQUEST_FIELD_NUMBERstatic intCOMPILE_RESPONSE_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intFILE_IMPORT_REQUEST_FIELD_NUMBERstatic intFUNCTION_CALL_REQUEST_FIELD_NUMBERstatic intIMPORT_REQUEST_FIELD_NUMBERstatic intLOG_EVENT_FIELD_NUMBERstatic intVERSION_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:
newInstancein classGeneratedMessageV3
-
getUnknownFields
public final UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getMessageCase
public EmbeddedSass.OutboundMessage.MessageCase getMessageCase()
- Specified by:
getMessageCasein interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasError
public boolean hasError()
.sass.embedded_protocol.ProtocolError error = 1;- Specified by:
hasErrorin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- Whether the error field is set.
-
getError
public EmbeddedSass.ProtocolError getError()
.sass.embedded_protocol.ProtocolError error = 1;- Specified by:
getErrorin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public EmbeddedSass.ProtocolErrorOrBuilder getErrorOrBuilder()
.sass.embedded_protocol.ProtocolError error = 1;- Specified by:
getErrorOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasCompileResponse
public boolean hasCompileResponse()
.sass.embedded_protocol.OutboundMessage.CompileResponse compile_response = 2;- Specified by:
hasCompileResponsein 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:
getCompileResponsein interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The compileResponse.
-
getCompileResponseOrBuilder
public EmbeddedSass.OutboundMessage.CompileResponseOrBuilder getCompileResponseOrBuilder()
.sass.embedded_protocol.OutboundMessage.CompileResponse compile_response = 2;- Specified by:
getCompileResponseOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasLogEvent
public boolean hasLogEvent()
.sass.embedded_protocol.OutboundMessage.LogEvent log_event = 3;- Specified by:
hasLogEventin 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:
getLogEventin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The logEvent.
-
getLogEventOrBuilder
public EmbeddedSass.OutboundMessage.LogEventOrBuilder getLogEventOrBuilder()
.sass.embedded_protocol.OutboundMessage.LogEvent log_event = 3;- Specified by:
getLogEventOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasCanonicalizeRequest
public boolean hasCanonicalizeRequest()
.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest canonicalize_request = 4;- Specified by:
hasCanonicalizeRequestin 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:
getCanonicalizeRequestin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The canonicalizeRequest.
-
getCanonicalizeRequestOrBuilder
public EmbeddedSass.OutboundMessage.CanonicalizeRequestOrBuilder getCanonicalizeRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.CanonicalizeRequest canonicalize_request = 4;- Specified by:
getCanonicalizeRequestOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasImportRequest
public boolean hasImportRequest()
.sass.embedded_protocol.OutboundMessage.ImportRequest import_request = 5;- Specified by:
hasImportRequestin 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:
getImportRequestin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The importRequest.
-
getImportRequestOrBuilder
public EmbeddedSass.OutboundMessage.ImportRequestOrBuilder getImportRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.ImportRequest import_request = 5;- Specified by:
getImportRequestOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasFileImportRequest
public boolean hasFileImportRequest()
.sass.embedded_protocol.OutboundMessage.FileImportRequest file_import_request = 6;- Specified by:
hasFileImportRequestin 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:
getFileImportRequestin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The fileImportRequest.
-
getFileImportRequestOrBuilder
public EmbeddedSass.OutboundMessage.FileImportRequestOrBuilder getFileImportRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.FileImportRequest file_import_request = 6;- Specified by:
getFileImportRequestOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasFunctionCallRequest
public boolean hasFunctionCallRequest()
.sass.embedded_protocol.OutboundMessage.FunctionCallRequest function_call_request = 7;- Specified by:
hasFunctionCallRequestin 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:
getFunctionCallRequestin interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The functionCallRequest.
-
getFunctionCallRequestOrBuilder
public EmbeddedSass.OutboundMessage.FunctionCallRequestOrBuilder getFunctionCallRequestOrBuilder()
.sass.embedded_protocol.OutboundMessage.FunctionCallRequest function_call_request = 7;- Specified by:
getFunctionCallRequestOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
hasVersionResponse
public boolean hasVersionResponse()
.sass.embedded_protocol.OutboundMessage.VersionResponse version_response = 8;- Specified by:
hasVersionResponsein 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:
getVersionResponsein interfaceEmbeddedSass.OutboundMessageOrBuilder- Returns:
- The versionResponse.
-
getVersionResponseOrBuilder
public EmbeddedSass.OutboundMessage.VersionResponseOrBuilder getVersionResponseOrBuilder()
.sass.embedded_protocol.OutboundMessage.VersionResponse version_response = 8;- Specified by:
getVersionResponseOrBuilderin interfaceEmbeddedSass.OutboundMessageOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws IOException
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein 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:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein 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:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected EmbeddedSass.OutboundMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static EmbeddedSass.OutboundMessage getDefaultInstance()
-
parser
public static Parser<EmbeddedSass.OutboundMessage> parser()
-
getParserForType
public Parser<EmbeddedSass.OutboundMessage> getParserForType()
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public EmbeddedSass.OutboundMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-