Package sass.embedded_protocol
Interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
EmbeddedSass.InboundMessage.FunctionCallResponse
,EmbeddedSass.InboundMessage.FunctionCallResponse.Builder
- Enclosing class:
- EmbeddedSass.InboundMessage
public static interface EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
extends MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
getAccessedArgumentLists
(int index) The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.int
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.getError()
An error message explaining why the function call failed.An error message explaining why the function call failed.int
getId()
uint32 id = 1;
The return value of a successful function call.The return value of a successful function call.boolean
hasError()
An error message explaining why the function call failed.boolean
The return value of a successful function call.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
int getId()uint32 id = 1;
- Returns:
- The id.
-
hasSuccess
boolean hasSuccess()The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
- Returns:
- Whether the success field is set.
-
getSuccess
EmbeddedSass.Value getSuccess()The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
- Returns:
- The success.
-
getSuccessOrBuilder
EmbeddedSass.ValueOrBuilder getSuccessOrBuilder()The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;
-
hasError
boolean hasError()An error message explaining why the function call failed.
string error = 3;
- Returns:
- Whether the error field is set.
-
getError
String getError()An error message explaining why the function call failed.
string error = 3;
- Returns:
- The error.
-
getErrorBytes
ByteString getErrorBytes()An error message explaining why the function call failed.
string error = 3;
- Returns:
- The bytes for error.
-
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;
- Returns:
- A list containing the accessedArgumentLists.
-
getAccessedArgumentListsCount
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;
- Returns:
- The count of accessedArgumentLists.
-
getAccessedArgumentLists
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The accessedArgumentLists at the given index.
-
getResultCase
EmbeddedSass.InboundMessage.FunctionCallResponse.ResultCase getResultCase()
-