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 Detail

      • getElementsList

        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

        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

        List<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.