Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.FileImportResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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.DescriptorgetError()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.intgetId()uint32 id = 1;booleanhasError()An error message explaining why the URL could not be loaded.booleanThe absolute `file:` URL to look for the file on the physical filesystem.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
setField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
clearField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.FileImportResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(EmbeddedSass.InboundMessage.FileImportResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>- Throws:
IOException
-
getResultCase
- Specified by:
getResultCasein interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
-
clearResult
-
getId
public int getId()uint32 id = 1;- Specified by:
getIdin 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:
hasFileUrlin 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:
getFileUrlin 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:
getFileUrlBytesin 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:
hasErrorin 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:
getErrorin interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder- Returns:
- The error.
-
getErrorBytes
An error message explaining why the URL could not be loaded.
string error = 3;- Specified by:
getErrorBytesin 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:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-