Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.FileImportResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
sass.embedded_protocol.EmbeddedSass.InboundMessage.FileImportResponse.Builder
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Enclosing class:
- EmbeddedSass.InboundMessage.FileImportResponse
public static final class EmbeddedSass.InboundMessage.FileImportResponse.Builder
extends GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
implements EmbeddedSass.InboundMessage.FileImportResponseOrBuilder
A response indicating the result of redirecting a URL to the filesystem.Protobuf type
sass.embedded_protocol.InboundMessage.FileImportResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(Descriptors.FieldDescriptor field, Object value) build()
clear()
An error message explaining why the URL could not be loaded.The absolute `file:` URL to look for the file on the physical filesystem.clearId()
uint32 id = 1;
clone()
static final Descriptors.Descriptor
getError()
An error message explaining why the URL could not be loaded.An error message explaining why the URL could not be loaded.The absolute `file:` URL to look for the file on the physical filesystem.The absolute `file:` URL to look for the file on the physical filesystem.int
getId()
uint32 id = 1;
boolean
hasError()
An error message explaining why the URL could not be loaded.boolean
The absolute `file:` URL to look for the file on the physical filesystem.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) An error message explaining why the URL could not be loaded.setErrorBytes
(ByteString value) An error message explaining why the URL could not be loaded.setField
(Descriptors.FieldDescriptor field, Object value) setFileUrl
(String value) The absolute `file:` URL to look for the file on the physical filesystem.setFileUrlBytes
(ByteString value) The absolute `file:` URL to look for the file on the physical filesystem.setId
(int value) uint32 id = 1;
setRepeatedField
(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
setField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
clearField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(EmbeddedSass.InboundMessage.FileImportResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
- Throws:
IOException
-
getResultCase
- Specified by:
getResultCase
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
-
clearResult
-
getId
public int getId()uint32 id = 1;
- Specified by:
getId
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- The id.
-
setId
uint32 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
uint32 id = 1;
- Returns:
- This builder for chaining.
-
hasFileUrl
public boolean hasFileUrl()The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Specified by:
hasFileUrl
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- Whether the fileUrl field is set.
-
getFileUrl
The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Specified by:
getFileUrl
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- The fileUrl.
-
getFileUrlBytes
The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Specified by:
getFileUrlBytes
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- The bytes for fileUrl.
-
setFileUrl
The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Parameters:
value
- The fileUrl to set.- Returns:
- This builder for chaining.
-
clearFileUrl
The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Returns:
- This builder for chaining.
-
setFileUrlBytes
The absolute `file:` URL to look for the file on the physical filesystem. The compiler must verify to the best of its ability that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname. If it doesn't, the compiler must treat that as an error thrown by the importer. See https://en.wikipedia.org/wiki/File_URI_scheme for details on the format. The compiler must handle turning this into a canonical URL by resolving it for partials, file extensions, and index files. The compiler must then loading the contents of the resulting canonical URL from the filesystem.
string file_url = 2;
- Parameters:
value
- The bytes for fileUrl to set.- Returns:
- This builder for chaining.
-
hasError
public boolean hasError()An error message explaining why the URL could not be loaded.
string error = 3;
- Specified by:
hasError
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- Whether the error field is set.
-
getError
An error message explaining why the URL could not be loaded.
string error = 3;
- Specified by:
getError
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- The error.
-
getErrorBytes
An error message explaining why the URL could not be loaded.
string error = 3;
- Specified by:
getErrorBytes
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
- Returns:
- The bytes for error.
-
setError
An error message explaining why the URL could not be loaded.
string error = 3;
- Parameters:
value
- The error to set.- Returns:
- This builder for chaining.
-
clearError
An error message explaining why the URL could not be loaded.
string error = 3;
- Returns:
- This builder for chaining.
-
setErrorBytes
An error message explaining why the URL could not be loaded.
string error = 3;
- Parameters:
value
- The bytes for error to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.InboundMessage.FileImportResponse.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-