Package com.google.api.expr.v1alpha1
Class EvalState.Result.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<EvalState.Result,EvalState.Result.Builder>
com.google.api.expr.v1alpha1.EvalState.Result.Builder
- All Implemented Interfaces:
EvalState.ResultOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- EvalState.Result
public static final class EvalState.Result.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<EvalState.Result,EvalState.Result.Builder>
implements EvalState.ResultOrBuilder
A single evalution result.Protobuf type
google.api.expr.v1alpha1.EvalState.Result
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the expression this result if for.The index in `values` of the resulting value.long
getExpr()
The id of the expression this result if for.long
getValue()
The index in `values` of the resulting value.setExpr
(long value) The id of the expression this result if for.setValue
(long value) The index in `values` of the resulting value.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getExpr
public long getExpr()The id of the expression this result if for.
int64 expr = 1 [json_name = "expr"];
- Specified by:
getExpr
in interfaceEvalState.ResultOrBuilder
- Returns:
- The expr.
-
setExpr
The id of the expression this result if for.
int64 expr = 1 [json_name = "expr"];
- Parameters:
value
- The expr to set.- Returns:
- This builder for chaining.
-
clearExpr
The id of the expression this result if for.
int64 expr = 1 [json_name = "expr"];
- Returns:
- This builder for chaining.
-
getValue
public long getValue()The index in `values` of the resulting value.
int64 value = 2 [json_name = "value"];
- Specified by:
getValue
in interfaceEvalState.ResultOrBuilder
- Returns:
- The value.
-
setValue
The index in `values` of the resulting value.
int64 value = 2 [json_name = "value"];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
The index in `values` of the resulting value.
int64 value = 2 [json_name = "value"];
- Returns:
- This builder for chaining.
-