Package com.google.api.expr.v1alpha1
Interface Expr.CreateListOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Expr.CreateList
,Expr.CreateList.Builder
- Enclosing class:
- Expr
public static interface Expr.CreateListOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Expr
getElements(int index)
The elements part of the list.int
getElementsCount()
The elements part of the list.java.util.List<Expr>
getElementsList()
The elements part of the list.ExprOrBuilder
getElementsOrBuilder(int index)
The elements part of the list.java.util.List<? extends ExprOrBuilder>
getElementsOrBuilderList()
The elements part of the list.int
getOptionalIndices(int index)
The indices within the elements list which are marked as optional elements.int
getOptionalIndicesCount()
The indices within the elements list which are marked as optional elements.java.util.List<java.lang.Integer>
getOptionalIndicesList()
The indices within the elements list which are marked as optional elements.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getElementsList
java.util.List<Expr> getElementsList()
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1;
-
getElements
Expr getElements(int index)
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1;
-
getElementsCount
int getElementsCount()
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1;
-
getElementsOrBuilderList
java.util.List<? extends ExprOrBuilder> getElementsOrBuilderList()
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1;
-
getElementsOrBuilder
ExprOrBuilder getElementsOrBuilder(int index)
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1;
-
getOptionalIndicesList
java.util.List<java.lang.Integer> getOptionalIndicesList()
The indices within the elements list which are marked as optional elements. When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the CreateList result.
repeated int32 optional_indices = 2;
- Returns:
- A list containing the optionalIndices.
-
getOptionalIndicesCount
int getOptionalIndicesCount()
The indices within the elements list which are marked as optional elements. When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the CreateList result.
repeated int32 optional_indices = 2;
- Returns:
- The count of optionalIndices.
-
getOptionalIndices
int getOptionalIndices(int index)
The indices within the elements list which are marked as optional elements. When an optional-typed value is present, the value it contains is included in the list. If the optional-typed value is absent, the list element is omitted from the CreateList result.
repeated int32 optional_indices = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The optionalIndices at the given index.
-
-