public static final class InboundMessage.FunctionCallResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder> implements InboundMessage.FunctionCallResponseOrBuilder
A response indicating the result of calling a custom Sass function defined in the host.Protobuf type
sass.embedded_protocol.InboundMessage.FunctionCallResponse| Modifier and Type | Method and Description |
|---|---|
InboundMessage.FunctionCallResponse.Builder |
addAccessedArgumentLists(int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
InboundMessage.FunctionCallResponse.Builder |
addAllAccessedArgumentLists(Iterable<? extends Integer> values)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
InboundMessage.FunctionCallResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InboundMessage.FunctionCallResponse |
build() |
InboundMessage.FunctionCallResponse |
buildPartial() |
InboundMessage.FunctionCallResponse.Builder |
clear() |
InboundMessage.FunctionCallResponse.Builder |
clearAccessedArgumentLists()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
InboundMessage.FunctionCallResponse.Builder |
clearError()
An error message explaining why the function call failed.
|
InboundMessage.FunctionCallResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InboundMessage.FunctionCallResponse.Builder |
clearId()
uint32 id = 1; |
InboundMessage.FunctionCallResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InboundMessage.FunctionCallResponse.Builder |
clearResult() |
InboundMessage.FunctionCallResponse.Builder |
clearSuccess()
The return value of a successful function call.
|
InboundMessage.FunctionCallResponse.Builder |
clone() |
int |
getAccessedArgumentLists(int index)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
int |
getAccessedArgumentListsCount()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
List<Integer> |
getAccessedArgumentListsList()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
InboundMessage.FunctionCallResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getError()
An error message explaining why the function call failed.
|
com.google.protobuf.ByteString |
getErrorBytes()
An error message explaining why the function call failed.
|
int |
getId()
uint32 id = 1; |
InboundMessage.FunctionCallResponse.ResultCase |
getResultCase() |
Value |
getSuccess()
The return value of a successful function call.
|
Value.Builder |
getSuccessBuilder()
The return value of a successful function call.
|
ValueOrBuilder |
getSuccessOrBuilder()
The return value of a successful function call.
|
boolean |
hasError()
An error message explaining why the function call failed.
|
boolean |
hasSuccess()
The return value of a successful function call.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InboundMessage.FunctionCallResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InboundMessage.FunctionCallResponse.Builder |
mergeFrom(InboundMessage.FunctionCallResponse other) |
InboundMessage.FunctionCallResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
InboundMessage.FunctionCallResponse.Builder |
mergeSuccess(Value value)
The return value of a successful function call.
|
InboundMessage.FunctionCallResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InboundMessage.FunctionCallResponse.Builder |
setAccessedArgumentLists(int index,
int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
InboundMessage.FunctionCallResponse.Builder |
setError(String value)
An error message explaining why the function call failed.
|
InboundMessage.FunctionCallResponse.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
An error message explaining why the function call failed.
|
InboundMessage.FunctionCallResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InboundMessage.FunctionCallResponse.Builder |
setId(int value)
uint32 id = 1; |
InboundMessage.FunctionCallResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InboundMessage.FunctionCallResponse.Builder |
setSuccess(Value.Builder builderForValue)
The return value of a successful function call.
|
InboundMessage.FunctionCallResponse.Builder |
setSuccess(Value value)
The return value of a successful function call.
|
InboundMessage.FunctionCallResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InboundMessage.FunctionCallResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InboundMessage.FunctionCallResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InboundMessage.FunctionCallResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder mergeFrom(InboundMessage.FunctionCallResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public InboundMessage.FunctionCallResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.FunctionCallResponse.Builder>IOExceptionpublic InboundMessage.FunctionCallResponse.ResultCase getResultCase()
getResultCase in interface InboundMessage.FunctionCallResponseOrBuilderpublic InboundMessage.FunctionCallResponse.Builder clearResult()
public int getId()
uint32 id = 1;getId in interface InboundMessage.FunctionCallResponseOrBuilderpublic InboundMessage.FunctionCallResponse.Builder setId(int value)
uint32 id = 1;value - The id to set.public 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 InboundMessage.FunctionCallResponseOrBuilderpublic Value getSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;getSuccess in interface InboundMessage.FunctionCallResponseOrBuilderpublic InboundMessage.FunctionCallResponse.Builder setSuccess(Value value)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;public InboundMessage.FunctionCallResponse.Builder setSuccess(Value.Builder builderForValue)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;public InboundMessage.FunctionCallResponse.Builder mergeSuccess(Value value)
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;public InboundMessage.FunctionCallResponse.Builder clearSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;public Value.Builder getSuccessBuilder()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;public ValueOrBuilder getSuccessOrBuilder()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;getSuccessOrBuilder in interface InboundMessage.FunctionCallResponseOrBuilderpublic boolean hasError()
An error message explaining why the function call failed.
string error = 3;hasError in interface InboundMessage.FunctionCallResponseOrBuilderpublic String getError()
An error message explaining why the function call failed.
string error = 3;getError in interface InboundMessage.FunctionCallResponseOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
An error message explaining why the function call failed.
string error = 3;getErrorBytes in interface InboundMessage.FunctionCallResponseOrBuilderpublic InboundMessage.FunctionCallResponse.Builder setError(String value)
An error message explaining why the function call failed.
string error = 3;value - The error to set.public InboundMessage.FunctionCallResponse.Builder clearError()
An error message explaining why the function call failed.
string error = 3;public InboundMessage.FunctionCallResponse.Builder setErrorBytes(com.google.protobuf.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. 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 InboundMessage.FunctionCallResponseOrBuilderpublic int getAccessedArgumentListsCount()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. 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 InboundMessage.FunctionCallResponseOrBuilderpublic int getAccessedArgumentLists(int index)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. 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 InboundMessage.FunctionCallResponseOrBuilderindex - The index of the element to return.public 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. 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 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. 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 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. 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 InboundMessage.FunctionCallResponse.Builder clearAccessedArgumentLists()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed. See `Value.ArgumentList` for details. 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 InboundMessage.FunctionCallResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>public final InboundMessage.FunctionCallResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InboundMessage.FunctionCallResponse.Builder>