Package dev.cel.expr.conformance
Class EvalResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
dev.cel.expr.conformance.EvalResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EvalResponseOrBuilder,Cloneable
- Enclosing class:
- EvalResponse
public static final class EvalResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
implements EvalResponseOrBuilder
Response message for the Eval method.Protobuf type
cel.expr.conformance.EvalResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Any number of issues with [StatusDetails][] as the details.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The execution result, or unset if execution couldn't start.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAny number of issues with [StatusDetails][] as the details.Any number of issues with [StatusDetails][] as the details.Any number of issues with [StatusDetails][] as the details.The execution result, or unset if execution couldn't start.The execution result, or unset if execution couldn't start.The execution result, or unset if execution couldn't start.booleanAny number of issues with [StatusDetails][] as the details.booleanThe execution result, or unset if execution couldn't start.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EvalResponse other) mergeIssues(ErrorSet value) Any number of issues with [StatusDetails][] as the details.mergeResult(ExprValue value) The execution result, or unset if execution couldn't start.final EvalResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Any number of issues with [StatusDetails][] as the details.setIssues(ErrorSet.Builder builderForValue) Any number of issues with [StatusDetails][] as the details.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The execution result, or unset if execution couldn't start.setResult(ExprValue.Builder builderForValue) The execution result, or unset if execution couldn't start.final EvalResponse.BuildersetUnknownFields(com.google.protobuf.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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
setField
public EvalResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
setRepeatedField
public EvalResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
addRepeatedField
public EvalResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EvalResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
mergeFrom
public EvalResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EvalResponse.Builder>- Throws:
IOException
-
hasResult
public boolean hasResult()The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1;- Specified by:
hasResultin interfaceEvalResponseOrBuilder- Returns:
- Whether the result field is set.
-
getResult
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1;- Specified by:
getResultin interfaceEvalResponseOrBuilder- Returns:
- The result.
-
setResult
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1; -
setResult
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1; -
mergeResult
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1; -
clearResult
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1; -
getResultBuilder
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1; -
getResultOrBuilder
The execution result, or unset if execution couldn't start.
.cel.expr.ExprValue result = 1;- Specified by:
getResultOrBuilderin interfaceEvalResponseOrBuilder
-
hasIssues
public boolean hasIssues()Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2;- Specified by:
hasIssuesin interfaceEvalResponseOrBuilder- Returns:
- Whether the issues field is set.
-
getIssues
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2;- Specified by:
getIssuesin interfaceEvalResponseOrBuilder- Returns:
- The issues.
-
setIssues
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2; -
setIssues
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2; -
mergeIssues
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2; -
clearIssues
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2; -
getIssuesBuilder
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2; -
getIssuesOrBuilder
Any number of issues with [StatusDetails][] as the details. Note that CEL execution errors are reified into [ExprValue][]. Nevertheless, we'll allow out-of-band issues to be raised, which also makes the replies more regular.
.cel.expr.ErrorSet issues = 2;- Specified by:
getIssuesOrBuilderin interfaceEvalResponseOrBuilder
-
setUnknownFields
public final EvalResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-
mergeUnknownFields
public final EvalResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EvalResponse.Builder>
-