Package com.google.api.expr.v1alpha1
Class UnknownSet.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<UnknownSet,UnknownSet.Builder>
com.google.api.expr.v1alpha1.UnknownSet.Builder
- All Implemented Interfaces:
UnknownSetOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- UnknownSet
public static final class UnknownSet.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<UnknownSet,UnknownSet.Builder>
implements UnknownSetOrBuilder
A set of expressions for which the value is unknown. The unknowns included depend on the context. See `ExprValue.unknown`.Protobuf type
google.api.expr.v1alpha1.UnknownSet
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExprs
(Iterable<? extends Long> values) The ids of the expressions with unknown values.addExprs
(long value) The ids of the expressions with unknown values.The ids of the expressions with unknown values.long
getExprs
(int index) The ids of the expressions with unknown values.int
The ids of the expressions with unknown values.The ids of the expressions with unknown values.setExprs
(int index, long value) The ids of the expressions with unknown values.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
-
getExprsList
The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Specified by:
getExprsList
in interfaceUnknownSetOrBuilder
- Returns:
- A list containing the exprs.
-
getExprsCount
public int getExprsCount()The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Specified by:
getExprsCount
in interfaceUnknownSetOrBuilder
- Returns:
- The count of exprs.
-
getExprs
public long getExprs(int index) The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Specified by:
getExprs
in interfaceUnknownSetOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The exprs at the given index.
-
setExprs
The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Parameters:
value
- The exprs to set.- Returns:
- This builder for chaining.
-
addExprs
The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Parameters:
value
- The exprs to add.- Returns:
- This builder for chaining.
-
addAllExprs
The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Parameters:
values
- The exprs to add.- Returns:
- This builder for chaining.
-
clearExprs
The ids of the expressions with unknown values.
repeated int64 exprs = 1 [json_name = "exprs"];
- Returns:
- This builder for chaining.
-