Package com.google.api.expr.v1alpha1
Class ExprValue
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite
- 
- com.google.protobuf.AbstractMessage
- 
- com.google.protobuf.GeneratedMessage
- 
- com.google.api.expr.v1alpha1.ExprValue
 
 
 
 
- 
- All Implemented Interfaces:
- ExprValueOrBuilder,- com.google.protobuf.Message,- com.google.protobuf.MessageLite,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- java.io.Serializable
 
 public final class ExprValue extends com.google.protobuf.GeneratedMessage implements ExprValueOrBuilder The value of an evaluated expression. Protobuf typegoogle.api.expr.v1alpha1.ExprValue- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classExprValue.BuilderThe value of an evaluated expression.static classExprValue.KindCase- 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessagecom.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intERROR_FIELD_NUMBERstatic intUNKNOWN_FIELD_NUMBERstatic intVALUE_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ExprValuegetDefaultInstance()ExprValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ErrorSetgetError()The set of errors in the critical path of evalution.ErrorSetOrBuildergetErrorOrBuilder()The set of errors in the critical path of evalution.ExprValue.KindCasegetKindCase()com.google.protobuf.Parser<ExprValue>getParserForType()intgetSerializedSize()UnknownSetgetUnknown()The set of unknowns in the critical path of evaluation.UnknownSetOrBuildergetUnknownOrBuilder()The set of unknowns in the critical path of evaluation.ValuegetValue()A concrete value.ValueOrBuildergetValueOrBuilder()A concrete value.booleanhasError()The set of errors in the critical path of evalution.inthashCode()booleanhasUnknown()The set of unknowns in the critical path of evaluation.booleanhasValue()A concrete value.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ExprValue.BuildernewBuilder()static ExprValue.BuildernewBuilder(ExprValue prototype)ExprValue.BuildernewBuilderForType()protected ExprValue.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static ExprValueparseDelimitedFrom(java.io.InputStream input)static ExprValueparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExprValueparseFrom(byte[] data)static ExprValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExprValueparseFrom(com.google.protobuf.ByteString data)static ExprValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExprValueparseFrom(com.google.protobuf.CodedInputStream input)static ExprValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExprValueparseFrom(java.io.InputStream input)static ExprValueparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExprValueparseFrom(java.nio.ByteBuffer data)static ExprValueparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ExprValue>parser()ExprValue.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)- 
Methods inherited from class com.google.protobuf.GeneratedMessagecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
 - 
Methods inherited from class com.google.protobuf.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashFields, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
VALUE_FIELD_NUMBERpublic static final int VALUE_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
ERROR_FIELD_NUMBERpublic static final int ERROR_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
UNKNOWN_FIELD_NUMBERpublic static final int UNKNOWN_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessage
 
 - 
getKindCasepublic ExprValue.KindCase getKindCase() - Specified by:
- getKindCasein interface- ExprValueOrBuilder
 
 - 
hasValuepublic boolean hasValue() A concrete value. .google.api.expr.v1alpha1.Value value = 1;- Specified by:
- hasValuein interface- ExprValueOrBuilder
- Returns:
- Whether the value field is set.
 
 - 
getValuepublic Value getValue() A concrete value. .google.api.expr.v1alpha1.Value value = 1;- Specified by:
- getValuein interface- ExprValueOrBuilder
- Returns:
- The value.
 
 - 
getValueOrBuilderpublic ValueOrBuilder getValueOrBuilder() A concrete value. .google.api.expr.v1alpha1.Value value = 1;- Specified by:
- getValueOrBuilderin interface- ExprValueOrBuilder
 
 - 
hasErrorpublic boolean hasError() The set of errors in the critical path of evalution. Only errors in the critical path are included. For example, `(<error1> || true) && <error2>` will only result in `<error2>`, while `<error1> || <error2>` will result in both `<error1>` and `<error2>`. Errors cause by the presence of other errors are not included in the set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will only result in `<error1>`. Multiple errors *might* be included when evaluation could result in different errors. For example `<error1> + <error2>` and `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both. The exact subset of errors included for this case is unspecified and depends on the implementation details of the evaluator. .google.api.expr.v1alpha1.ErrorSet error = 2;- Specified by:
- hasErrorin interface- ExprValueOrBuilder
- Returns:
- Whether the error field is set.
 
 - 
getErrorpublic ErrorSet getError() The set of errors in the critical path of evalution. Only errors in the critical path are included. For example, `(<error1> || true) && <error2>` will only result in `<error2>`, while `<error1> || <error2>` will result in both `<error1>` and `<error2>`. Errors cause by the presence of other errors are not included in the set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will only result in `<error1>`. Multiple errors *might* be included when evaluation could result in different errors. For example `<error1> + <error2>` and `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both. The exact subset of errors included for this case is unspecified and depends on the implementation details of the evaluator. .google.api.expr.v1alpha1.ErrorSet error = 2;- Specified by:
- getErrorin interface- ExprValueOrBuilder
- Returns:
- The error.
 
 - 
getErrorOrBuilderpublic ErrorSetOrBuilder getErrorOrBuilder() The set of errors in the critical path of evalution. Only errors in the critical path are included. For example, `(<error1> || true) && <error2>` will only result in `<error2>`, while `<error1> || <error2>` will result in both `<error1>` and `<error2>`. Errors cause by the presence of other errors are not included in the set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will only result in `<error1>`. Multiple errors *might* be included when evaluation could result in different errors. For example `<error1> + <error2>` and `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both. The exact subset of errors included for this case is unspecified and depends on the implementation details of the evaluator. .google.api.expr.v1alpha1.ErrorSet error = 2;- Specified by:
- getErrorOrBuilderin interface- ExprValueOrBuilder
 
 - 
hasUnknownpublic boolean hasUnknown() The set of unknowns in the critical path of evaluation. Unknown behaves identically to Error with regards to propagation. Specifically, only unknowns in the critical path are included, unknowns caused by the presence of other unknowns are not included, and multiple unknowns *might* be included included when evaluation could result in different unknowns. For example: (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]> <unknown[1]> || <unknown[2]> -> <unknown[1,2]> <unknown[1]>.foo -> <unknown[1]> foo(<unknown[1]>) -> <unknown[1]> <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[> Unknown takes precidence over Error in cases where a `Value` can short circuit the result: <error> || <unknown> -> <unknown> <error> && <unknown> -> <unknown> Errors take precidence in all other cases: <unknown> + <error> -> <error> foo(<unknown>, <error>) -> <error> .google.api.expr.v1alpha1.UnknownSet unknown = 3;- Specified by:
- hasUnknownin interface- ExprValueOrBuilder
- Returns:
- Whether the unknown field is set.
 
 - 
getUnknownpublic UnknownSet getUnknown() The set of unknowns in the critical path of evaluation. Unknown behaves identically to Error with regards to propagation. Specifically, only unknowns in the critical path are included, unknowns caused by the presence of other unknowns are not included, and multiple unknowns *might* be included included when evaluation could result in different unknowns. For example: (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]> <unknown[1]> || <unknown[2]> -> <unknown[1,2]> <unknown[1]>.foo -> <unknown[1]> foo(<unknown[1]>) -> <unknown[1]> <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[> Unknown takes precidence over Error in cases where a `Value` can short circuit the result: <error> || <unknown> -> <unknown> <error> && <unknown> -> <unknown> Errors take precidence in all other cases: <unknown> + <error> -> <error> foo(<unknown>, <error>) -> <error> .google.api.expr.v1alpha1.UnknownSet unknown = 3;- Specified by:
- getUnknownin interface- ExprValueOrBuilder
- Returns:
- The unknown.
 
 - 
getUnknownOrBuilderpublic UnknownSetOrBuilder getUnknownOrBuilder() The set of unknowns in the critical path of evaluation. Unknown behaves identically to Error with regards to propagation. Specifically, only unknowns in the critical path are included, unknowns caused by the presence of other unknowns are not included, and multiple unknowns *might* be included included when evaluation could result in different unknowns. For example: (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]> <unknown[1]> || <unknown[2]> -> <unknown[1,2]> <unknown[1]>.foo -> <unknown[1]> foo(<unknown[1]>) -> <unknown[1]> <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[> Unknown takes precidence over Error in cases where a `Value` can short circuit the result: <error> || <unknown> -> <unknown> <error> && <unknown> -> <unknown> Errors take precidence in all other cases: <unknown> + <error> -> <error> foo(<unknown>, <error>) -> <error> .google.api.expr.v1alpha1.UnknownSet unknown = 3;- Specified by:
- getUnknownOrBuilderin interface- ExprValueOrBuilder
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessage
 
 - 
writeTopublic void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
- writeToin interface- com.google.protobuf.MessageLite
- Overrides:
- writeToin class- com.google.protobuf.GeneratedMessage
- Throws:
- java.io.IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- com.google.protobuf.MessageLite
- Overrides:
- getSerializedSizein class- com.google.protobuf.GeneratedMessage
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin interface- com.google.protobuf.Message
- Overrides:
- equalsin class- com.google.protobuf.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- com.google.protobuf.Message
- Overrides:
- hashCodein class- com.google.protobuf.AbstractMessage
 
 - 
parseFrompublic static ExprValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static ExprValue parseFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ExprValue parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static ExprValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseDelimitedFrompublic static ExprValue parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ExprValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parseFrompublic static ExprValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
newBuilderForTypepublic ExprValue.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- com.google.protobuf.Message
- Specified by:
- newBuilderForTypein interface- com.google.protobuf.MessageLite
 
 - 
newBuilderpublic static ExprValue.Builder newBuilder() 
 - 
newBuilderpublic static ExprValue.Builder newBuilder(ExprValue prototype) 
 - 
toBuilderpublic ExprValue.Builder toBuilder() - Specified by:
- toBuilderin interface- com.google.protobuf.Message
- Specified by:
- toBuilderin interface- com.google.protobuf.MessageLite
 
 - 
newBuilderForTypeprotected ExprValue.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
- newBuilderForTypein class- com.google.protobuf.AbstractMessage
 
 - 
getDefaultInstancepublic static ExprValue getDefaultInstance() 
 - 
parserpublic static com.google.protobuf.Parser<ExprValue> parser() 
 - 
getParserForTypepublic com.google.protobuf.Parser<ExprValue> getParserForType() - Specified by:
- getParserForTypein interface- com.google.protobuf.Message
- Specified by:
- getParserForTypein interface- com.google.protobuf.MessageLite
- Overrides:
- getParserForTypein class- com.google.protobuf.GeneratedMessage
 
 - 
getDefaultInstanceForTypepublic ExprValue getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 
- 
 
-