public static final class EmbeddedSass.InboundMessage.FunctionCallResponse.Builder extends com.google.protobuf.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
Modifier and Type | Method and Description |
---|---|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
addAccessedArgumentLists(int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
addAllAccessedArgumentLists(Iterable<? extends Integer> values)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EmbeddedSass.InboundMessage.FunctionCallResponse |
build() |
EmbeddedSass.InboundMessage.FunctionCallResponse |
buildPartial() |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clear() |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearAccessedArgumentLists()
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearError()
An error message explaining why the function call failed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearId()
uint32 id = 1; |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearResult() |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
clearSuccess()
The return value of a successful function call.
|
EmbeddedSass.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.
|
EmbeddedSass.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; |
EmbeddedSass.InboundMessage.FunctionCallResponse.ResultCase |
getResultCase() |
EmbeddedSass.Value |
getSuccess()
The return value of a successful function call.
|
EmbeddedSass.Value.Builder |
getSuccessBuilder()
The return value of a successful function call.
|
EmbeddedSass.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() |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
mergeFrom(EmbeddedSass.InboundMessage.FunctionCallResponse other) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
mergeSuccess(EmbeddedSass.Value value)
The return value of a successful function call.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setAccessedArgumentLists(int index,
int value)
The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments`
whose keywords were accessed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setError(String value)
An error message explaining why the function call failed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setErrorBytes(com.google.protobuf.ByteString value)
An error message explaining why the function call failed.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setId(int value)
uint32 id = 1; |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setSuccess(EmbeddedSass.Value.Builder builderForValue)
The return value of a successful function call.
|
EmbeddedSass.InboundMessage.FunctionCallResponse.Builder |
setSuccess(EmbeddedSass.Value value)
The return value of a successful function call.
|
EmbeddedSass.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.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.GeneratedMessageV3.Builder<EmbeddedSass.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.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EmbeddedSass.InboundMessage.FunctionCallResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.InboundMessage.FunctionCallResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.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<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(EmbeddedSass.InboundMessage.FunctionCallResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public EmbeddedSass.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<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 com.google.protobuf.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(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. 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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>