Class Expr.CreateList.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Expr.CreateList,Expr.CreateList.Builder>
com.google.api.expr.v1beta1.Expr.CreateList.Builder
All Implemented Interfaces:
Expr.CreateListOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Expr.CreateList

public static final class Expr.CreateList.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Expr.CreateList,Expr.CreateList.Builder> implements Expr.CreateListOrBuilder
 A list creation expression.

 Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g.
 `dyn([1, 'hello', 2.0])`
 
Protobuf type google.api.expr.v1beta1.Expr.CreateList
  • Method Details

    • getElementsList

      public List<Expr> getElementsList()
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
      Specified by:
      getElementsList in interface Expr.CreateListOrBuilder
    • getElementsCount

      public int getElementsCount()
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
      Specified by:
      getElementsCount in interface Expr.CreateListOrBuilder
    • getElements

      public Expr getElements(int index)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
      Specified by:
      getElements in interface Expr.CreateListOrBuilder
    • setElements

      public Expr.CreateList.Builder setElements(int index, Expr value)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • setElements

      public Expr.CreateList.Builder setElements(int index, Expr.Builder builderForValue)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • addElements

      public Expr.CreateList.Builder addElements(Expr value)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • addElements

      public Expr.CreateList.Builder addElements(int index, Expr value)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • addElements

      public Expr.CreateList.Builder addElements(Expr.Builder builderForValue)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • addElements

      public Expr.CreateList.Builder addElements(int index, Expr.Builder builderForValue)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • addAllElements

      public Expr.CreateList.Builder addAllElements(Iterable<? extends Expr> values)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • clearElements

      public Expr.CreateList.Builder clearElements()
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];
    • removeElements

      public Expr.CreateList.Builder removeElements(int index)
       The elements part of the list.
       
      repeated .google.api.expr.v1beta1.Expr elements = 1 [json_name = "elements"];