public static final class InboundMessage.FunctionCallResponse.Builder extends com.google.protobuf.GeneratedMessage.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 |
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 |
clearId()
uint32 id = 1; |
InboundMessage.FunctionCallResponse.Builder |
clearResult() |
InboundMessage.FunctionCallResponse.Builder |
clearSuccess()
The return value of a successful function call.
|
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.GeneratedMessage.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 |
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 |
setId(int value)
uint32 id = 1; |
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.FunctionCallResponse.Builder>
public InboundMessage.FunctionCallResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.FunctionCallResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<InboundMessage.FunctionCallResponse.Builder>
public InboundMessage.FunctionCallResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public InboundMessage.FunctionCallResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.FunctionCallResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public InboundMessage.FunctionCallResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<InboundMessage.FunctionCallResponse.Builder>
IOException
public InboundMessage.FunctionCallResponse.ResultCase getResultCase()
getResultCase
in interface InboundMessage.FunctionCallResponseOrBuilder
public InboundMessage.FunctionCallResponse.Builder clearResult()
public int getId()
uint32 id = 1;
getId
in interface InboundMessage.FunctionCallResponseOrBuilder
public 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.FunctionCallResponseOrBuilder
public Value getSuccess()
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
getSuccess
in interface InboundMessage.FunctionCallResponseOrBuilder
public 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.FunctionCallResponseOrBuilder
public boolean hasError()
An error message explaining why the function call failed.
string error = 3;
hasError
in interface InboundMessage.FunctionCallResponseOrBuilder
public String getError()
An error message explaining why the function call failed.
string error = 3;
getError
in interface InboundMessage.FunctionCallResponseOrBuilder
public com.google.protobuf.ByteString getErrorBytes()
An error message explaining why the function call failed.
string error = 3;
getErrorBytes
in interface InboundMessage.FunctionCallResponseOrBuilder
public 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.FunctionCallResponseOrBuilder
public 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.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. 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.FunctionCallResponseOrBuilder
index
- 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;