Package com.google.api.expr.v1alpha1
Class Expr.Call
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.api.expr.v1alpha1.Expr.Call
-
- All Implemented Interfaces:
Expr.CallOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
- Enclosing class:
- Expr
public static final class Expr.Call extends com.google.protobuf.GeneratedMessageV3 implements Expr.CallOrBuilder
A call expression, including calls to predefined functions and operators. For example, `value == 10`, `size(map_value)`.
Protobuf typegoogle.api.expr.v1alpha1.Expr.Call
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Expr.Call.Builder
A call expression, including calls to predefined functions and operators.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARGS_FIELD_NUMBER
static int
FUNCTION_FIELD_NUMBER
static int
TARGET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Expr
getArgs(int index)
The arguments.int
getArgsCount()
The arguments.java.util.List<Expr>
getArgsList()
The arguments.ExprOrBuilder
getArgsOrBuilder(int index)
The arguments.java.util.List<? extends ExprOrBuilder>
getArgsOrBuilderList()
The arguments.static Expr.Call
getDefaultInstance()
Expr.Call
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
java.lang.String
getFunction()
Required.com.google.protobuf.ByteString
getFunctionBytes()
Required.com.google.protobuf.Parser<Expr.Call>
getParserForType()
int
getSerializedSize()
Expr
getTarget()
The target of an method call-style expression.ExprOrBuilder
getTargetOrBuilder()
The target of an method call-style expression.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasTarget()
The target of an method call-style expression.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Expr.Call.Builder
newBuilder()
static Expr.Call.Builder
newBuilder(Expr.Call prototype)
Expr.Call.Builder
newBuilderForType()
protected Expr.Call.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Expr.Call
parseDelimitedFrom(java.io.InputStream input)
static Expr.Call
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Expr.Call
parseFrom(byte[] data)
static Expr.Call
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Expr.Call
parseFrom(com.google.protobuf.ByteString data)
static Expr.Call
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Expr.Call
parseFrom(com.google.protobuf.CodedInputStream input)
static Expr.Call
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Expr.Call
parseFrom(java.io.InputStream input)
static Expr.Call
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Expr.Call
parseFrom(java.nio.ByteBuffer data)
static Expr.Call
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Expr.Call>
parser()
Expr.Call.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUNCTION_FIELD_NUMBER
public static final int FUNCTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasTarget
public boolean hasTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
.google.api.expr.v1alpha1.Expr target = 1;
- Specified by:
hasTarget
in interfaceExpr.CallOrBuilder
- Returns:
- Whether the target field is set.
-
getTarget
public Expr getTarget()
The target of an method call-style expression. For example, `x` in `x.f()`.
.google.api.expr.v1alpha1.Expr target = 1;
- Specified by:
getTarget
in interfaceExpr.CallOrBuilder
- Returns:
- The target.
-
getTargetOrBuilder
public ExprOrBuilder getTargetOrBuilder()
The target of an method call-style expression. For example, `x` in `x.f()`.
.google.api.expr.v1alpha1.Expr target = 1;
- Specified by:
getTargetOrBuilder
in interfaceExpr.CallOrBuilder
-
getFunction
public java.lang.String getFunction()
Required. The name of the function or method being called.
string function = 2;
- Specified by:
getFunction
in interfaceExpr.CallOrBuilder
- Returns:
- The function.
-
getFunctionBytes
public com.google.protobuf.ByteString getFunctionBytes()
Required. The name of the function or method being called.
string function = 2;
- Specified by:
getFunctionBytes
in interfaceExpr.CallOrBuilder
- Returns:
- The bytes for function.
-
getArgsList
public java.util.List<Expr> getArgsList()
The arguments.
repeated .google.api.expr.v1alpha1.Expr args = 3;
- Specified by:
getArgsList
in interfaceExpr.CallOrBuilder
-
getArgsOrBuilderList
public java.util.List<? extends ExprOrBuilder> getArgsOrBuilderList()
The arguments.
repeated .google.api.expr.v1alpha1.Expr args = 3;
- Specified by:
getArgsOrBuilderList
in interfaceExpr.CallOrBuilder
-
getArgsCount
public int getArgsCount()
The arguments.
repeated .google.api.expr.v1alpha1.Expr args = 3;
- Specified by:
getArgsCount
in interfaceExpr.CallOrBuilder
-
getArgs
public Expr getArgs(int index)
The arguments.
repeated .google.api.expr.v1alpha1.Expr args = 3;
- Specified by:
getArgs
in interfaceExpr.CallOrBuilder
-
getArgsOrBuilder
public ExprOrBuilder getArgsOrBuilder(int index)
The arguments.
repeated .google.api.expr.v1alpha1.Expr args = 3;
- Specified by:
getArgsOrBuilder
in interfaceExpr.CallOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Expr.Call parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call 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.Call parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.Call parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Expr.Call parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Expr.Call parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Expr.Call parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Expr.Call.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Expr.Call.Builder newBuilder()
-
newBuilder
public static Expr.Call.Builder newBuilder(Expr.Call prototype)
-
toBuilder
public Expr.Call.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Expr.Call.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Expr.Call getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Expr.Call> parser()
-
getParserForType
public com.google.protobuf.Parser<Expr.Call> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Expr.Call getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-