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 classEmbeddedSass.InboundMessage.BuilderThe wrapper type for all messages sent from the host to the compiler.static classEmbeddedSass.InboundMessage.CanonicalizeResponseA response indicating the result of canonicalizing an imported URL.static interfaceEmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilderstatic classEmbeddedSass.InboundMessage.CompileRequestA request that compiles an entrypoint to CSS.static interfaceEmbeddedSass.InboundMessage.CompileRequestOrBuilderstatic classEmbeddedSass.InboundMessage.FileImportResponseA response indicating the result of redirecting a URL to the filesystem.static interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilderstatic classEmbeddedSass.InboundMessage.FunctionCallResponseA response indicating the result of calling a custom Sass function defined in the host.static interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilderstatic classEmbeddedSass.InboundMessage.ImportResponseA response indicating the result of importing a canonical URL.static interfaceEmbeddedSass.InboundMessage.ImportResponseOrBuilderstatic classEmbeddedSass.InboundMessage.MessageCasestatic classEmbeddedSass.InboundMessage.VersionRequestA request for information about the version of the embedded compiler.static interfaceEmbeddedSass.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 intCANONICALIZE_RESPONSE_FIELD_NUMBERstatic intCOMPILE_REQUEST_FIELD_NUMBERstatic intFILE_IMPORT_RESPONSE_FIELD_NUMBERstatic intFUNCTION_CALL_RESPONSE_FIELD_NUMBERstatic intIMPORT_RESPONSE_FIELD_NUMBERstatic intVERSION_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:
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.InboundMessage.MessageCase getMessageCase()
- Specified by:
getMessageCasein interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasCompileRequest
public boolean hasCompileRequest()
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;- Specified by:
hasCompileRequestin 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:
getCompileRequestin interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The compileRequest.
-
getCompileRequestOrBuilder
public EmbeddedSass.InboundMessage.CompileRequestOrBuilder getCompileRequestOrBuilder()
.sass.embedded_protocol.InboundMessage.CompileRequest compile_request = 2;- Specified by:
getCompileRequestOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasCanonicalizeResponse
public boolean hasCanonicalizeResponse()
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;- Specified by:
hasCanonicalizeResponsein 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:
getCanonicalizeResponsein interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The canonicalizeResponse.
-
getCanonicalizeResponseOrBuilder
public EmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilder getCanonicalizeResponseOrBuilder()
.sass.embedded_protocol.InboundMessage.CanonicalizeResponse canonicalize_response = 3;- Specified by:
getCanonicalizeResponseOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasImportResponse
public boolean hasImportResponse()
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;- Specified by:
hasImportResponsein 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:
getImportResponsein interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The importResponse.
-
getImportResponseOrBuilder
public EmbeddedSass.InboundMessage.ImportResponseOrBuilder getImportResponseOrBuilder()
.sass.embedded_protocol.InboundMessage.ImportResponse import_response = 4;- Specified by:
getImportResponseOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasFileImportResponse
public boolean hasFileImportResponse()
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;- Specified by:
hasFileImportResponsein 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:
getFileImportResponsein interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The fileImportResponse.
-
getFileImportResponseOrBuilder
public EmbeddedSass.InboundMessage.FileImportResponseOrBuilder getFileImportResponseOrBuilder()
.sass.embedded_protocol.InboundMessage.FileImportResponse file_import_response = 5;- Specified by:
getFileImportResponseOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasFunctionCallResponse
public boolean hasFunctionCallResponse()
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;- Specified by:
hasFunctionCallResponsein 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:
getFunctionCallResponsein interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The functionCallResponse.
-
getFunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder getFunctionCallResponseOrBuilder()
.sass.embedded_protocol.InboundMessage.FunctionCallResponse function_call_response = 6;- Specified by:
getFunctionCallResponseOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
hasVersionRequest
public boolean hasVersionRequest()
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;- Specified by:
hasVersionRequestin 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:
getVersionRequestin interfaceEmbeddedSass.InboundMessageOrBuilder- Returns:
- The versionRequest.
-
getVersionRequestOrBuilder
public EmbeddedSass.InboundMessage.VersionRequestOrBuilder getVersionRequestOrBuilder()
.sass.embedded_protocol.InboundMessage.VersionRequest version_request = 7;- Specified by:
getVersionRequestOrBuilderin interfaceEmbeddedSass.InboundMessageOrBuilder
-
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.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:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein 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:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected EmbeddedSass.InboundMessage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static EmbeddedSass.InboundMessage getDefaultInstance()
-
parser
public static Parser<EmbeddedSass.InboundMessage> parser()
-
getParserForType
public Parser<EmbeddedSass.InboundMessage> getParserForType()
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public EmbeddedSass.InboundMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-