public static final class InboundMessage.CanonicalizeResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CanonicalizeResponse.Builder> implements InboundMessage.CanonicalizeResponseOrBuilder
A response indicating the result of canonicalizing an imported URL.Protobuf type
sass.embedded_protocol.InboundMessage.CanonicalizeResponse
Modifier and Type | Method and Description |
---|---|
InboundMessage.CanonicalizeResponse |
build() |
InboundMessage.CanonicalizeResponse |
buildPartial() |
InboundMessage.CanonicalizeResponse.Builder |
clear() |
InboundMessage.CanonicalizeResponse.Builder |
clearContainingUrlUnused()
Whether `containing_url` in `CanonicalizeRequest` is unused.
|
InboundMessage.CanonicalizeResponse.Builder |
clearError()
An error message explaining why canonicalization failed.
|
InboundMessage.CanonicalizeResponse.Builder |
clearId()
uint32 id = 1; |
InboundMessage.CanonicalizeResponse.Builder |
clearResult() |
InboundMessage.CanonicalizeResponse.Builder |
clearUrl()
The successfully canonicalized URL.
|
boolean |
getContainingUrlUnused()
Whether `containing_url` in `CanonicalizeRequest` is unused.
|
InboundMessage.CanonicalizeResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getError()
An error message explaining why canonicalization failed.
|
com.google.protobuf.ByteString |
getErrorBytes()
An error message explaining why canonicalization failed.
|
int |
getId()
uint32 id = 1; |
InboundMessage.CanonicalizeResponse.ResultCase |
getResultCase() |
String |
getUrl()
The successfully canonicalized URL.
|
com.google.protobuf.ByteString |
getUrlBytes()
The successfully canonicalized URL.
|
boolean |
hasError()
An error message explaining why canonicalization failed.
|
boolean |
hasUrl()
The successfully canonicalized URL.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InboundMessage.CanonicalizeResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InboundMessage.CanonicalizeResponse.Builder |
mergeFrom(InboundMessage.CanonicalizeResponse other) |
InboundMessage.CanonicalizeResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
InboundMessage.CanonicalizeResponse.Builder |
setContainingUrlUnused(boolean value)
Whether `containing_url` in `CanonicalizeRequest` is unused.
|
InboundMessage.CanonicalizeResponse.Builder |
setError(String value)
An error message explaining why canonicalization failed.
|
InboundMessage.CanonicalizeResponse.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
An error message explaining why canonicalization failed.
|
InboundMessage.CanonicalizeResponse.Builder |
setId(int value)
uint32 id = 1; |
InboundMessage.CanonicalizeResponse.Builder |
setUrl(String value)
The successfully canonicalized URL.
|
InboundMessage.CanonicalizeResponse.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
The successfully canonicalized URL.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
public InboundMessage.CanonicalizeResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
public InboundMessage.CanonicalizeResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public InboundMessage.CanonicalizeResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.CanonicalizeResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.CanonicalizeResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
public InboundMessage.CanonicalizeResponse.Builder mergeFrom(InboundMessage.CanonicalizeResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
public InboundMessage.CanonicalizeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.CanonicalizeResponse.Builder>
IOException
public InboundMessage.CanonicalizeResponse.ResultCase getResultCase()
getResultCase
in interface InboundMessage.CanonicalizeResponseOrBuilder
public InboundMessage.CanonicalizeResponse.Builder clearResult()
public int getId()
uint32 id = 1;
getId
in interface InboundMessage.CanonicalizeResponseOrBuilder
public InboundMessage.CanonicalizeResponse.Builder setId(int value)
uint32 id = 1;
value
- The id to set.public InboundMessage.CanonicalizeResponse.Builder clearId()
uint32 id = 1;
public 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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
hasUrl
in interface InboundMessage.CanonicalizeResponseOrBuilder
public 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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
getUrl
in interface InboundMessage.CanonicalizeResponseOrBuilder
public com.google.protobuf.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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
getUrlBytes
in interface InboundMessage.CanonicalizeResponseOrBuilder
public InboundMessage.CanonicalizeResponse.Builder setUrl(String value)
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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
value
- The url to set.public InboundMessage.CanonicalizeResponse.Builder clearUrl()
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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
public InboundMessage.CanonicalizeResponse.Builder setUrlBytes(com.google.protobuf.ByteString value)
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. If this URL's scheme is an `Importer.non_canonical_scheme` for the importer being invoked, the compiler must treat that as an error thrown by the importer.
string url = 2;
value
- The bytes for url to set.public 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;
hasError
in interface InboundMessage.CanonicalizeResponseOrBuilder
public 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;
getError
in interface InboundMessage.CanonicalizeResponseOrBuilder
public com.google.protobuf.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;
getErrorBytes
in interface InboundMessage.CanonicalizeResponseOrBuilder
public InboundMessage.CanonicalizeResponse.Builder setError(String value)
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;
value
- The error to set.public InboundMessage.CanonicalizeResponse.Builder clearError()
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;
public InboundMessage.CanonicalizeResponse.Builder setErrorBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for error to set.public boolean getContainingUrlUnused()
Whether `containing_url` in `CanonicalizeRequest` is unused. The compiler can cache the `CanonicalizeResponse` if the `containing_url` is unused. The default value is `false`, thus when the value is not set by the host, the `CanonicalizeResponse` will not be cached by the compiler.
bool containing_url_unused = 4;
getContainingUrlUnused
in interface InboundMessage.CanonicalizeResponseOrBuilder
public InboundMessage.CanonicalizeResponse.Builder setContainingUrlUnused(boolean value)
Whether `containing_url` in `CanonicalizeRequest` is unused. The compiler can cache the `CanonicalizeResponse` if the `containing_url` is unused. The default value is `false`, thus when the value is not set by the host, the `CanonicalizeResponse` will not be cached by the compiler.
bool containing_url_unused = 4;
value
- The containingUrlUnused to set.public InboundMessage.CanonicalizeResponse.Builder clearContainingUrlUnused()
Whether `containing_url` in `CanonicalizeRequest` is unused. The compiler can cache the `CanonicalizeResponse` if the `containing_url` is unused. The default value is `false`, thus when the value is not set by the host, the `CanonicalizeResponse` will not be cached by the compiler.
bool containing_url_unused = 4;