Class Expr.CreateList

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

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

 Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
 `dyn([1, 'hello', 2.0])`
 
Protobuf type google.api.expr.v1alpha1.Expr.CreateList
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A list creation expression.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    getElements(int index)
    The elements part of the list.
    int
    The elements part of the list.
    The elements part of the list.
    The elements part of the list.
    List<? extends ExprOrBuilder>
    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.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Expr.CreateList>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • ELEMENTS_FIELD_NUMBER

      public static final int ELEMENTS_FIELD_NUMBER
      See Also:
    • OPTIONAL_INDICES_FIELD_NUMBER

      public static final int OPTIONAL_INDICES_FIELD_NUMBER
      See Also:
  • Method Details

    • getElementsList

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

      public List<? extends ExprOrBuilder> getElementsOrBuilderList()
       The elements part of the list.
       
      repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];
    • getElementsCount

      public int getElementsCount()
       The elements part of the list.
       
      repeated .google.api.expr.v1alpha1.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.v1alpha1.Expr elements = 1 [json_name = "elements"];
      Specified by:
      getElements in interface Expr.CreateListOrBuilder
    • getElementsOrBuilder

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

      public 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"];
      Specified by:
      getOptionalIndicesList in interface Expr.CreateListOrBuilder
      Returns:
      A list containing the optionalIndices.
    • getOptionalIndicesCount

      public 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"];
      Specified by:
      getOptionalIndicesCount in interface Expr.CreateListOrBuilder
      Returns:
      The count of optionalIndices.
    • getOptionalIndices

      public 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"];
      Specified by:
      getOptionalIndices in interface Expr.CreateListOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The optionalIndices at the given index.
    • parseFrom

      public static Expr.CreateList parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expr.CreateList parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expr.CreateList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expr.CreateList parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expr.CreateList parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expr.CreateList parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expr.CreateList parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Expr.CreateList.Builder newBuilder()
    • newBuilder

      public static Expr.CreateList.Builder newBuilder(Expr.CreateList prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Expr.CreateList,Expr.CreateList.Builder>
    • getDefaultInstance

      public static Expr.CreateList getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Expr.CreateList> parser()