public static final class Expr.Builder extends GeneratedMessageV3.Builder<Expr.Builder> 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 | Method and Description |
---|---|
Expr.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Expr |
build() |
Expr |
buildPartial() |
Expr.Builder |
clear() |
Expr.Builder |
clearDescription()
An optional description of the expression.
|
Expr.Builder |
clearExpression()
Textual representation of an expression in
Common Expression Language syntax.
|
Expr.Builder |
clearField(Descriptors.FieldDescriptor field) |
Expr.Builder |
clearLocation()
An optional string indicating the location of the expression for error
reporting, e.g.
|
Expr.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Expr.Builder |
clearTitle()
An optional title for the expression, i.e.
|
Expr.Builder |
clone() |
Expr |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
An optional description of the expression.
|
ByteString |
getDescriptionBytes()
An optional description of the expression.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
java.lang.String |
getTitle()
An optional title for the expression, i.e.
|
ByteString |
getTitleBytes()
An optional title for the expression, i.e.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Expr.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Expr.Builder |
mergeFrom(Expr other) |
Expr.Builder |
mergeFrom(Message other) |
Expr.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Expr.Builder |
setDescription(java.lang.String value)
An optional description of the expression.
|
Expr.Builder |
setDescriptionBytes(ByteString value)
An optional description of the expression.
|
Expr.Builder |
setExpression(java.lang.String value)
Textual representation of an expression in
Common Expression Language syntax.
|
Expr.Builder |
setExpressionBytes(ByteString value)
Textual representation of an expression in
Common Expression Language syntax.
|
Expr.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Expr.Builder |
setLocation(java.lang.String value)
An optional string indicating the location of the expression for error
reporting, e.g.
|
Expr.Builder |
setLocationBytes(ByteString value)
An optional string indicating the location of the expression for error
reporting, e.g.
|
Expr.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Expr.Builder |
setTitle(java.lang.String value)
An optional title for the expression, i.e.
|
Expr.Builder |
setTitleBytes(ByteString value)
An optional title for the expression, i.e.
|
Expr.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Expr.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Expr build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Expr buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Expr.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Expr.Builder>
public Expr.Builder mergeFrom(Expr other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Expr.Builder>
java.io.IOException
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 Expr.Builder setExpression(java.lang.String value)
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;
public Expr.Builder clearExpression()
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;
public Expr.Builder setExpressionBytes(ByteString value)
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;
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 Expr.Builder setTitle(java.lang.String value)
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;
public Expr.Builder clearTitle()
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;
public Expr.Builder setTitleBytes(ByteString value)
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;
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 Expr.Builder setDescription(java.lang.String value)
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;
public Expr.Builder clearDescription()
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;
public Expr.Builder setDescriptionBytes(ByteString value)
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;
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 Expr.Builder setLocation(java.lang.String value)
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;
public Expr.Builder clearLocation()
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;
public Expr.Builder setLocationBytes(ByteString value)
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;
public final Expr.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Expr.Builder>
public final Expr.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Expr.Builder>