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:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FileImportResponse.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.InboundMessage.FileImportResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public EmbeddedSass.InboundMessage.FileImportResponse build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.InboundMessage.FileImportResponse buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public EmbeddedSass.InboundMessage.FileImportResponse.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
public EmbeddedSass.InboundMessage.FileImportResponse.Builder mergeFrom(Message other)
- 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
public EmbeddedSass.InboundMessage.FileImportResponse.ResultCase getResultCase()
- Specified by:
getResultCase
in interfaceEmbeddedSass.InboundMessage.FileImportResponseOrBuilder
-
clearResult
public EmbeddedSass.InboundMessage.FileImportResponse.Builder clearResult()
-
getId
public int getId()
uint32 id = 1;
- Specified by:
getId
in 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:
hasFileUrl
in 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:
getFileUrl
in 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:
getFileUrlBytes
in 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:
hasError
in 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:
getError
in 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:
getErrorBytes
in 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:
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>
-
-