Interface Expr.CreateListOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Expr.CreateList, Expr.CreateList.Builder
Enclosing class:
Expr

public static interface Expr.CreateListOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getElements(int index)
    The elements part of the list.
    int
    The elements part of the list.
    The elements part of the list.
    int
    getOptionalIndices(int index)
    The indices within the elements list which are marked as optional elements.
    int
    The indices within the elements list which are marked as optional elements.
    The indices within the elements list which are marked as optional elements.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getElementsList

      List<Expr> getElementsList()
       The elements part of the list.
       
      repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];
    • getElements

      Expr getElements(int index)
       The elements part of the list.
       
      repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];
    • getElementsCount

      int getElementsCount()
       The elements part of the list.
       
      repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];
    • 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 [json_name = "optionalIndices"];
      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 [json_name = "optionalIndices"];
      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 [json_name = "optionalIndices"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The optionalIndices at the given index.