public static final class EmbeddedSass.InboundMessage.FunctionCallResponse.Builder extends GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder> implements EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
A response indicating the result of calling a custom Sass function defined in the host.Protobuf type
sass.embedded_protocol.InboundMessage.FunctionCallResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public EmbeddedSass.InboundMessage.FunctionCallResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(EmbeddedSass.InboundMessage.FunctionCallResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
IOException
public EmbeddedSass.InboundMessage.FunctionCallResponse.ResultCase getResultCase()
getResultCase
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearResult()
public int getId()
uint32 id = 1;
getId
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setId(int value)
uint32 id = 1;
value
- The id to set.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearId()
uint32 id = 1;
public boolean hasSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
hasSuccess
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public EmbeddedSass.Value getSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
getSuccess
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setSuccess(EmbeddedSass.Value value)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setSuccess(EmbeddedSass.Value.Builder builderForValue)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeSuccess(EmbeddedSass.Value value)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
public EmbeddedSass.Value.Builder getSuccessBuilder()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
public EmbeddedSass.ValueOrBuilder getSuccessOrBuilder()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
getSuccessOrBuilder
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public boolean hasError()
An error message explaining why the function call failed.
string error = 3;
hasError
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public String getError()
An error message explaining why the function call failed.
string error = 3;
getError
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public ByteString getErrorBytes()
An error message explaining why the function call failed.
string error = 3;
getErrorBytes
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setError(String value)
An error message explaining why the function call failed.
string error = 3;
value
- The error to set.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearError()
An error message explaining why the function call failed.
string error = 3;
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setErrorBytes(ByteString value)
An error message explaining why the function call failed.
string error = 3;
value
- The bytes for error to set.public List<Integer> getAccessedArgumentListsList()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
getAccessedArgumentListsList
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public int getAccessedArgumentListsCount()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
getAccessedArgumentListsCount
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
public int getAccessedArgumentLists(int index)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
getAccessedArgumentLists
in interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
index
- The index of the element to return.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setAccessedArgumentLists(int index, int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
index
- The index to set the value at.value
- The accessedArgumentLists to set.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addAccessedArgumentLists(int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
value
- The accessedArgumentLists to add.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addAllAccessedArgumentLists(Iterable<? extends Integer> values)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
values
- The accessedArgumentLists to add.public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearAccessedArgumentLists()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. Mandatory if `result.success` is set. This may not include the special value `0` and it may not include multiple instances of the same ID.
repeated uint32 accessed_argument_lists = 4;
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>