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 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