Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.FunctionCallResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
sass.embedded_protocol.EmbeddedSass.InboundMessage.FunctionCallResponse.Builder
- All Implemented Interfaces:
Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,Cloneable,EmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
- Enclosing class:
- EmbeddedSass.InboundMessage.FunctionCallResponse
public static final class EmbeddedSass.InboundMessage.FunctionCallResponse.Builder
extends 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-
Method Summary
Modifier and TypeMethodDescriptionaddAccessedArgumentLists(int value) The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.addAllAccessedArgumentLists(Iterable<? extends Integer> values) The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.An error message explaining why the function call failed.clearId()uint32 id = 1;The return value of a successful function call.clone()intgetAccessedArgumentLists(int index) The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.intThe 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.static final Descriptors.DescriptorgetError()An error message explaining why the function call failed.An error message explaining why the function call failed.intgetId()uint32 id = 1;The return value of a successful function call.The return value of a successful function call.The return value of a successful function call.booleanhasError()An error message explaining why the function call failed.booleanThe return value of a successful function call.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeSuccess(EmbeddedSass.Value value) The return value of a successful function call.mergeUnknownFields(UnknownFieldSet unknownFields) setAccessedArgumentLists(int index, int value) The IDs of all `Value.ArgumentList`s in `FunctionCallRequest.arguments` whose keywords were accessed.An error message explaining why the function call failed.setErrorBytes(ByteString value) An error message explaining why the function call failed.setField(Descriptors.FieldDescriptor field, Object value) setId(int value) uint32 id = 1;setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSuccess(EmbeddedSass.Value value) The return value of a successful function call.setSuccess(EmbeddedSass.Value.Builder builderForValue) The return value of a successful function call.setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
setField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
clearField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>- Throws:
IOException
-
getResultCase
- Specified by:
getResultCasein interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
-
clearResult
-
getId
public int getId()uint32 id = 1;- Specified by:
getIdin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- The id.
-
setId
uint32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
uint32 id = 1;- Returns:
- This builder for chaining.
-
hasSuccess
public boolean hasSuccess()The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;- Specified by:
hasSuccessin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- Whether the success field is set.
-
getSuccess
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;- Specified by:
getSuccessin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- The success.
-
setSuccess
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setSuccess(EmbeddedSass.Value value) The return value of a successful function call.
.sass.embedded_protocol.Value success = 2; -
setSuccess
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setSuccess(EmbeddedSass.Value.Builder builderForValue) The return value of a successful function call.
.sass.embedded_protocol.Value success = 2; -
mergeSuccess
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeSuccess(EmbeddedSass.Value value) The return value of a successful function call.
.sass.embedded_protocol.Value success = 2; -
clearSuccess
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2; -
getSuccessBuilder
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2; -
getSuccessOrBuilder
The return value of a successful function call.
.sass.embedded_protocol.Value success = 2;- Specified by:
getSuccessOrBuilderin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
-
hasError
public boolean hasError()An error message explaining why the function call failed.
string error = 3;- Specified by:
hasErrorin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
An error message explaining why the function call failed.
string error = 3;- Specified by:
getErrorin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- The error.
-
getErrorBytes
An error message explaining why the function call failed.
string error = 3;- Specified by:
getErrorBytesin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- The bytes for error.
-
setError
An error message explaining why the function call failed.
string error = 3;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
An error message explaining why the function call failed.
string error = 3;- Returns:
- This builder for chaining.
-
setErrorBytes
An error message explaining why the function call failed.
string error = 3;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getAccessedArgumentListsListin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- A list containing the accessedArgumentLists.
-
getAccessedArgumentListsCount
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;- Specified by:
getAccessedArgumentListsCountin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Returns:
- The count of accessedArgumentLists.
-
getAccessedArgumentLists
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;- Specified by:
getAccessedArgumentListsin interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The accessedArgumentLists at the given index.
-
setAccessedArgumentLists
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;- Parameters:
index- The index to set the value at.value- The accessedArgumentLists to set.- Returns:
- This builder for chaining.
-
addAccessedArgumentLists
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:
value- The accessedArgumentLists to add.- Returns:
- This builder for chaining.
-
addAllAccessedArgumentLists
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;- Parameters:
values- The accessedArgumentLists to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setUnknownFields(UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-