Package sass.embedded_protocol
Interface EmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.InboundMessage.CanonicalizeResponse
,EmbeddedSass.InboundMessage.CanonicalizeResponse.Builder
- Enclosing class:
- EmbeddedSass.InboundMessage
public static interface EmbeddedSass.InboundMessage.CanonicalizeResponseOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
An error message explaining why canonicalization failed.An error message explaining why canonicalization failed.int
getId()
uint32 id = 1;
getUrl()
The successfully canonicalized URL.The successfully canonicalized URL.boolean
hasError()
An error message explaining why canonicalization failed.boolean
hasUrl()
The successfully canonicalized URL.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
int getId()uint32 id = 1;
- Returns:
- The id.
-
hasUrl
boolean hasUrl()The successfully canonicalized URL. If this is not an absolute URL (including scheme), the compiler must treat that as an error thrown by the importer.
string url = 2;
- Returns:
- Whether the url field is set.
-
getUrl
String getUrl()The successfully canonicalized URL. If this is not an absolute URL (including scheme), the compiler must treat that as an error thrown by the importer.
string url = 2;
- Returns:
- The url.
-
getUrlBytes
ByteString getUrlBytes()The successfully canonicalized URL. If this is not an absolute URL (including scheme), the compiler must treat that as an error thrown by the importer.
string url = 2;
- Returns:
- The bytes for url.
-
hasError
boolean hasError()An error message explaining why canonicalization failed. This indicates that a stylesheet was found, but a canonical URL for it could not be determined. If no stylesheet was found, `result` should be `null` instead.
string error = 3;
- Returns:
- Whether the error field is set.
-
getError
String getError()An error message explaining why canonicalization failed. This indicates that a stylesheet was found, but a canonical URL for it could not be determined. If no stylesheet was found, `result` should be `null` instead.
string error = 3;
- Returns:
- The error.
-
getErrorBytes
ByteString getErrorBytes()An error message explaining why canonicalization failed. This indicates that a stylesheet was found, but a canonical URL for it could not be determined. If no stylesheet was found, `result` should be `null` instead.
string error = 3;
- Returns:
- The bytes for error.
-
getResultCase
EmbeddedSass.InboundMessage.CanonicalizeResponse.ResultCase getResultCase()
-