Package sass.embedded_protocol
Class EmbeddedSass.InboundMessage.FunctionCallResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
int
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.static final Descriptors.Descriptor
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.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.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
setField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
clearField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearField(Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
clearOneof
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
setRepeatedField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
addRepeatedField
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeFrom
public EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
- Throws:
IOException
-
getResultCase
- Specified by:
getResultCase
in interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
-
clearResult
-
getId
public int getId()uint32 id = 1;
- Specified by:
getId
in 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:
hasSuccess
in 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:
getSuccess
in 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:
getSuccessOrBuilder
in interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
-
hasError
public boolean hasError()An error message explaining why the function call failed.
string error = 3;
- Specified by:
hasError
in 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:
getError
in interfaceEmbeddedSass.InboundMessage.FunctionCallResponseOrBuilder
- Returns:
- The error.
-
getErrorBytes
An error message explaining why the function call failed.
string error = 3;
- Specified by:
getErrorBytes
in 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:
getAccessedArgumentListsList
in 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:
getAccessedArgumentListsCount
in 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:
getAccessedArgumentLists
in 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:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-
mergeUnknownFields
public final EmbeddedSass.InboundMessage.FunctionCallResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.InboundMessage.FunctionCallResponse.Builder>
-