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 typesass.embedded_protocol.InboundMessage.FileImportResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
-
clear
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clear()
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.InboundMessage.FileImportResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public EmbeddedSass.InboundMessage.FileImportResponse build()
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.InboundMessage.FileImportResponse buildPartial()
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public EmbeddedSass.InboundMessage.FileImportResponse.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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(Message other)
- 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
public EmbeddedSass.InboundMessage.FileImportResponse.ResultCase getResultCase()
- Specified by:
getResultCasein interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
-
clearResult
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearResult()
-
getId
public int getId()
uint32 id = 1;- Specified by:
getIdin interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder- Returns:
- The id.
-
setId
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setId(int value)
uint32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public EmbeddedSass.InboundMessage.FileImportResponse.Builder 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 host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public String getFileUrl()
The absolute `file:` URL to look for the file on the physical filesystem. The host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public ByteString getFileUrlBytes()
The absolute `file:` URL to look for the file on the physical filesystem. The host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setFileUrl(String value)
The absolute `file:` URL to look for the file on the physical filesystem. The host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearFileUrl()
The absolute `file:` URL to look for the file on the physical filesystem. The host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setFileUrlBytes(ByteString value)
The absolute `file:` URL to look for the file on the physical filesystem. The host must ensure that this URL follows the format for an absolute `file:` URL on the current operating system without a hostname, and the compiler must verify this to the best of its ability. 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
public String 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
public ByteString 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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setError(String value)
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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearError()
An error message explaining why the URL could not be loaded.
string error = 3;- Returns:
- This builder for chaining.
-
setErrorBytes
public EmbeddedSass.InboundMessage.FileImportResponse.Builder setErrorBytes(ByteString value)
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>
-
-