Package com.google.api.expr.v1alpha1
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 ClassesModifier and TypeClassDescriptionstatic final classA 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Expr.CreateListgetElements(int index) The elements part of the list.intThe elements part of the list.The elements part of the list.getElementsOrBuilder(int index) The elements part of the list.List<? extends ExprOrBuilder>The elements part of the list.intgetOptionalIndices(int index) The indices within the elements list which are marked as optional elements.intThe indices within the elements list which are marked as optional elements.The indices within the elements list which are marked as optional elements.static Expr.CreateList.Builderstatic Expr.CreateList.BuildernewBuilder(Expr.CreateList prototype) static Expr.CreateListparseDelimitedFrom(InputStream input) static Expr.CreateListparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateListparseFrom(byte[] data) static Expr.CreateListparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateListparseFrom(com.google.protobuf.ByteString data) static Expr.CreateListparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateListparseFrom(com.google.protobuf.CodedInputStream input) static Expr.CreateListparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateListparseFrom(InputStream input) static Expr.CreateListparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateListparseFrom(ByteBuffer data) static Expr.CreateListparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expr.CreateList>parser()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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];- Specified by:
getElementsListin interfaceExpr.CreateListOrBuilder
-
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:
getElementsCountin interfaceExpr.CreateListOrBuilder
-
getElements
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"];- Specified by:
getElementsin interfaceExpr.CreateListOrBuilder
-
getElementsOrBuilder
The elements part of the list.
repeated .google.api.expr.v1alpha1.Expr elements = 1 [json_name = "elements"]; -
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:
getOptionalIndicesListin interfaceExpr.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:
getOptionalIndicesCountin interfaceExpr.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:
getOptionalIndicesin interfaceExpr.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
- Throws:
IOException
-
parseFrom
public static Expr.CreateList parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Expr.CreateList,Expr.CreateList.Builder>
-
getDefaultInstance
-
parser
-