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 typesass.embedded_protocol.InboundMessage
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmbeddedSass.InboundMessage.Builder
The wrapper type for all messages sent from the host to the compiler.static class
EmbeddedSass.InboundMessage.CanonicalizeResponse
A response indicating the result of canonicalizing an imported URL.static interface
EmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilder
static class
EmbeddedSass.InboundMessage.CompileRequest
A request that compiles an entrypoint to CSS.static interface
EmbeddedSass.InboundMessage.CompileRequestOrBuilder
static class
EmbeddedSass.InboundMessage.FileImportResponse
A response indicating the result of redirecting a URL to the filesystem.static interface
EmbeddedSass.InboundMessage.FileImportResponseOrBuilder
static class
EmbeddedSass.InboundMessage.FunctionCallResponse
A response indicating the result of calling a custom Sass function defined in the host.static interface
EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
static class
EmbeddedSass.InboundMessage.ImportResponse
A response indicating the result of importing a canonical URL.static interface
EmbeddedSass.InboundMessage.ImportResponseOrBuilder
static class
EmbeddedSass.InboundMessage.MessageCase
static class
EmbeddedSass.InboundMessage.VersionRequest
A request for information about the version of the embedded compiler.static interface
EmbeddedSass.InboundMessage.VersionRequestOrBuilder
-
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_RESPONSE_FIELD_NUMBER
static int
COMPILE_REQUEST_FIELD_NUMBER
static int
FILE_IMPORT_RESPONSE_FIELD_NUMBER
static int
FUNCTION_CALL_RESPONSE_FIELD_NUMBER
static int
IMPORT_RESPONSE_FIELD_NUMBER
static int
VERSION_REQUEST_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
-
COMPILE_REQUEST_FIELD_NUMBER
public static final int COMPILE_REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CANONICALIZE_RESPONSE_FIELD_NUMBER
public static final int CANONICALIZE_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_RESPONSE_FIELD_NUMBER
public static final int IMPORT_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_IMPORT_RESPONSE_FIELD_NUMBER
public static final int FILE_IMPORT_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_CALL_RESPONSE_FIELD_NUMBER
public static final int FUNCTION_CALL_RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_REQUEST_FIELD_NUMBER
public static final int VERSION_REQUEST_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.InboundMessage.MessageCase 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
public EmbeddedSass.InboundMessage.CompileRequest getCompileRequest()
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;
- Specified by:
getCompileRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The compileRequest.
-
getCompileRequestOrBuilder
public EmbeddedSass.InboundMessage.CompileRequestOrBuilder 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
public EmbeddedSass.InboundMessage.CanonicalizeResponse getCanonicalizeResponse()
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;
- Specified by:
getCanonicalizeResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The canonicalizeResponse.
-
getCanonicalizeResponseOrBuilder
public EmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilder 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
public EmbeddedSass.InboundMessage.ImportResponse getImportResponse()
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;
- Specified by:
getImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The importResponse.
-
getImportResponseOrBuilder
public EmbeddedSass.InboundMessage.ImportResponseOrBuilder 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
public EmbeddedSass.InboundMessage.FileImportResponse getFileImportResponse()
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;
- Specified by:
getFileImportResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The fileImportResponse.
-
getFileImportResponseOrBuilder
public EmbeddedSass.InboundMessage.FileImportResponseOrBuilder 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
public EmbeddedSass.InboundMessage.FunctionCallResponse getFunctionCallResponse()
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;
- Specified by:
getFunctionCallResponse
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The functionCallResponse.
-
getFunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder 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
public EmbeddedSass.InboundMessage.VersionRequest getVersionRequest()
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;
- Specified by:
getVersionRequest
in interfaceEmbeddedSass.InboundMessageOrBuilder
- Returns:
- The versionRequest.
-
getVersionRequestOrBuilder
public EmbeddedSass.InboundMessage.VersionRequestOrBuilder 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
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.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
public static EmbeddedSass.InboundMessage parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.InboundMessage parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static EmbeddedSass.InboundMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static EmbeddedSass.InboundMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public EmbeddedSass.InboundMessage.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfaceMessageLite
-
newBuilder
public static EmbeddedSass.InboundMessage.Builder newBuilder()
-
newBuilder
public static EmbeddedSass.InboundMessage.Builder newBuilder(EmbeddedSass.InboundMessage prototype)
-
toBuilder
public EmbeddedSass.InboundMessage.Builder 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
public static EmbeddedSass.InboundMessage getDefaultInstance()
-
parser
public static Parser<EmbeddedSass.InboundMessage> parser()
-
getParserForType
public Parser<EmbeddedSass.InboundMessage> getParserForType()
- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfaceMessageLite
- Overrides:
getParserForType
in classGeneratedMessageV3
-
getDefaultInstanceForType
public EmbeddedSass.InboundMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
-