Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
sass.embedded_protocol.EmbeddedSass.InboundMessage
- All Implemented Interfaces:
Message
,MessageLite
,MessageLiteOrBuilder
,MessageOrBuilder
,Serializable
,EmbeddedSass.InboundMessageOrBuilder
- Enclosing class:
- EmbeddedSass
public static final class EmbeddedSass.InboundMessage
extends GeneratedMessageV3
implements EmbeddedSass.InboundMessageOrBuilder
The wrapper type for all messages sent from the host to the compiler. This provides a `oneof` that makes it possible to determine the type of each inbound message.Protobuf type
sass.embedded_protocol.InboundMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
The wrapper type for all messages sent from the host to the compiler.static final class
A response indicating the result of canonicalizing an imported URL.static interface
static final class
A request that compiles an entrypoint to CSS.static interface
static final class
A response indicating the result of redirecting a URL to the filesystem.static interface
static final class
A response indicating the result of calling a custom Sass function defined in the host.static interface
static final class
A response indicating the result of importing a canonical URL.static interface
static enum
static final class
A request for information about the version of the embedded compiler.static interface
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
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
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
Modifier and TypeMethodDescriptionboolean
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
static EmbeddedSass.InboundMessage
static final Descriptors.Descriptor
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
int
final UnknownFieldSet
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
boolean
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
boolean
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
boolean
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
boolean
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
int
hashCode()
boolean
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
boolean
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
protected GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(EmbeddedSass.InboundMessage prototype) protected EmbeddedSass.InboundMessage.Builder
protected Object
static EmbeddedSass.InboundMessage
parseDelimitedFrom
(InputStream input) static EmbeddedSass.InboundMessage
parseDelimitedFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.InboundMessage
parseFrom
(byte[] data) static EmbeddedSass.InboundMessage
parseFrom
(byte[] data, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.InboundMessage
parseFrom
(ByteString data) static EmbeddedSass.InboundMessage
parseFrom
(ByteString data, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.InboundMessage
parseFrom
(CodedInputStream input) static EmbeddedSass.InboundMessage
parseFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.InboundMessage
parseFrom
(InputStream input) static EmbeddedSass.InboundMessage
parseFrom
(InputStream input, ExtensionRegistryLite extensionRegistry) static EmbeddedSass.InboundMessage
parseFrom
(ByteBuffer data) static EmbeddedSass.InboundMessage
parseFrom
(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<EmbeddedSass.InboundMessage>
parser()
void
writeTo
(CodedOutputStream output) 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 Details
-
COMPILE_REQUEST_FIELD_NUMBER
public static final int COMPILE_REQUEST_FIELD_NUMBER- See Also:
-
CANONICALIZE_RESPONSE_FIELD_NUMBER
public static final int CANONICALIZE_RESPONSE_FIELD_NUMBER- See Also:
-
IMPORT_RESPONSE_FIELD_NUMBER
public static final int IMPORT_RESPONSE_FIELD_NUMBER- See Also:
-
FILE_IMPORT_RESPONSE_FIELD_NUMBER
public static final int FILE_IMPORT_RESPONSE_FIELD_NUMBER- See Also:
-
FUNCTION_CALL_RESPONSE_FIELD_NUMBER
public static final int FUNCTION_CALL_RESPONSE_FIELD_NUMBER- See Also:
-
VERSION_REQUEST_FIELD_NUMBER
public static final int VERSION_REQUEST_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFields
in interfaceMessageOrBuilder
- Overrides:
getUnknownFields
in classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3
-
getMessageCase
- Specified by:
getMessageCase
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasCompileRequest
public boolean hasCompileRequest().sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
- Specified by:
hasCompileRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the compileRequest field is set.
-
getCompileRequest
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
- Specified by:
getCompileRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The compileRequest.
-
getCompileRequestOrBuilder
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
- Specified by:
getCompileRequestOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasCanonicalizeResponse
public boolean hasCanonicalizeResponse().sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
- Specified by:
hasCanonicalizeResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the canonicalizeResponse field is set.
-
getCanonicalizeResponse
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
- Specified by:
getCanonicalizeResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The canonicalizeResponse.
-
getCanonicalizeResponseOrBuilder
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
- Specified by:
getCanonicalizeResponseOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasImportResponse
public boolean hasImportResponse().sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
- Specified by:
hasImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the importResponse field is set.
-
getImportResponse
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
- Specified by:
getImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The importResponse.
-
getImportResponseOrBuilder
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
- Specified by:
getImportResponseOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasFileImportResponse
public boolean hasFileImportResponse().sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
- Specified by:
hasFileImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the fileImportResponse field is set.
-
getFileImportResponse
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
- Specified by:
getFileImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The fileImportResponse.
-
getFileImportResponseOrBuilder
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
- Specified by:
getFileImportResponseOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasFunctionCallResponse
public boolean hasFunctionCallResponse().sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
- Specified by:
hasFunctionCallResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the functionCallResponse field is set.
-
getFunctionCallResponse
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
- Specified by:
getFunctionCallResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The functionCallResponse.
-
getFunctionCallResponseOrBuilder
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
- Specified by:
getFunctionCallResponseOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasVersionRequest
public boolean hasVersionRequest().sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
- Specified by:
hasVersionRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- Whether the versionRequest field is set.
-
getVersionRequest
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
- Specified by:
getVersionRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The versionRequest.
-
getVersionRequestOrBuilder
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
- Specified by:
getVersionRequestOrBuilder
in interfaceEmbeddedSass.InboundMessageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3
-
writeTo
- 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
- 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.InboundMessage parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.InboundMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfaceMessage
- Specified by:
toBuilder
in interfaceMessageLite
-
newBuilderForType
protected EmbeddedSass.InboundMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfaceMessageLite
- Overrides:
getParserForType
in classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-