public static final class InboundMessage.FunctionCallResponse extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
InboundMessage.FunctionCallResponse.Builder
A response indicating the result of calling a custom Sass function defined
in the host.
|
static class |
InboundMessage.FunctionCallResponse.ResultCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESSED_ARGUMENT_LISTS_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
SUCCESS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static InboundMessage.FunctionCallResponse |
getDefaultInstance() |
InboundMessage.FunctionCallResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
com.google.protobuf.Parser<InboundMessage.FunctionCallResponse> |
getParserForType() |
InboundMessage.FunctionCallResponse.ResultCase |
getResultCase() |
int |
getSerializedSize() |
Value |
getSuccess()
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.
|
int |
hashCode() |
boolean |
hasSuccess()
The return value of a successful function call.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InboundMessage.FunctionCallResponse.Builder |
newBuilder() |
static InboundMessage.FunctionCallResponse.Builder |
newBuilder(InboundMessage.FunctionCallResponse prototype) |
InboundMessage.FunctionCallResponse.Builder |
newBuilderForType() |
protected InboundMessage.FunctionCallResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static InboundMessage.FunctionCallResponse |
parseDelimitedFrom(InputStream input) |
static InboundMessage.FunctionCallResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.FunctionCallResponse |
parseFrom(byte[] data) |
static InboundMessage.FunctionCallResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.FunctionCallResponse |
parseFrom(ByteBuffer data) |
static InboundMessage.FunctionCallResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.FunctionCallResponse |
parseFrom(com.google.protobuf.ByteString data) |
static InboundMessage.FunctionCallResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.FunctionCallResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InboundMessage.FunctionCallResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InboundMessage.FunctionCallResponse |
parseFrom(InputStream input) |
static InboundMessage.FunctionCallResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InboundMessage.FunctionCallResponse> |
parser() |
InboundMessage.FunctionCallResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int ACCESSED_ARGUMENT_LISTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public InboundMessage.FunctionCallResponse.ResultCase getResultCase()
getResultCase in interface InboundMessage.FunctionCallResponseOrBuilderpublic int getId()
uint32 id = 1;getId in interface InboundMessage.FunctionCallResponseOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static InboundMessage.FunctionCallResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.FunctionCallResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InboundMessage.FunctionCallResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InboundMessage.FunctionCallResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InboundMessage.FunctionCallResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InboundMessage.FunctionCallResponse.Builder newBuilder()
public static InboundMessage.FunctionCallResponse.Builder newBuilder(InboundMessage.FunctionCallResponse prototype)
public InboundMessage.FunctionCallResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InboundMessage.FunctionCallResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InboundMessage.FunctionCallResponse getDefaultInstance()
public static com.google.protobuf.Parser<InboundMessage.FunctionCallResponse> parser()
public com.google.protobuf.Parser<InboundMessage.FunctionCallResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InboundMessage.FunctionCallResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder