public final class Expr extends GeneratedMessageV3 implements ExprOrBuilder
Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"Protobuf type
google.type.Expr
Modifier and Type | Class and Description |
---|---|
static class |
Expr.Builder
Represents an expression text.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EXPRESSION_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Expr |
getDefaultInstance() |
Expr |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
An optional description of the expression.
|
ByteString |
getDescriptionBytes()
An optional description of the expression.
|
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExpression()
Textual representation of an expression in
Common Expression Language syntax.
|
ByteString |
getExpressionBytes()
Textual representation of an expression in
Common Expression Language syntax.
|
java.lang.String |
getLocation()
An optional string indicating the location of the expression for error
reporting, e.g.
|
ByteString |
getLocationBytes()
An optional string indicating the location of the expression for error
reporting, e.g.
|
Parser<Expr> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getTitle()
An optional title for the expression, i.e.
|
ByteString |
getTitleBytes()
An optional title for the expression, i.e.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Expr.Builder |
newBuilder() |
static Expr.Builder |
newBuilder(Expr prototype) |
Expr.Builder |
newBuilderForType() |
protected Expr.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Expr |
parseDelimitedFrom(java.io.InputStream input) |
static Expr |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(byte[] data) |
static Expr |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(java.nio.ByteBuffer data) |
static Expr |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(ByteString data) |
static Expr |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(CodedInputStream input) |
static Expr |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(java.io.InputStream input) |
static Expr |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Expr> |
parser() |
Expr.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int EXPRESSION_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public java.lang.String getExpression()
Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
string expression = 1;
getExpression
in interface ExprOrBuilder
public ByteString getExpressionBytes()
Textual representation of an expression in Common Expression Language syntax. The application context of the containing message determines which well-known feature set of CEL is supported.
string expression = 1;
getExpressionBytes
in interface ExprOrBuilder
public java.lang.String getTitle()
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
string title = 2;
getTitle
in interface ExprOrBuilder
public ByteString getTitleBytes()
An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
string title = 2;
getTitleBytes
in interface ExprOrBuilder
public java.lang.String getDescription()
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
string description = 3;
getDescription
in interface ExprOrBuilder
public ByteString getDescriptionBytes()
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
string description = 3;
getDescriptionBytes
in interface ExprOrBuilder
public java.lang.String getLocation()
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
string location = 4;
getLocation
in interface ExprOrBuilder
public ByteString getLocationBytes()
An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
string location = 4;
getLocationBytes
in interface ExprOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Expr parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Expr parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Expr parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Expr parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Expr parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Expr parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Expr parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Expr.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Expr.Builder newBuilder()
public static Expr.Builder newBuilder(Expr prototype)
public Expr.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Expr.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Expr getDefaultInstance()
public Parser<Expr> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Expr getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder