public static final class CustomLevel.Builder extends GeneratedMessageV3.Builder<CustomLevel.Builder> implements CustomLevelOrBuilder
CustomLevel
is an AccessLevel
using the Cloud Common Expression Language
to represent the necessary conditions for the level to apply to a request.
See CEL spec at: https://github.com/google/cel-spec
Protobuf type google.identity.accesscontextmanager.v1.CustomLevel
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CustomLevel build()
Returns
buildPartial()
public CustomLevel buildPartial()
Returns
clear()
public CustomLevel.Builder clear()
Returns
Overrides
clearExpr()
public CustomLevel.Builder clearExpr()
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CustomLevel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CustomLevel.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CustomLevel getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpr()
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Returns
Type | Description |
com.google.type.Expr | The expr.
|
getExprBuilder()
public Expr.Builder getExprBuilder()
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Returns
Type | Description |
com.google.type.Expr.Builder | |
getExprOrBuilder()
public ExprOrBuilder getExprOrBuilder()
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Returns
Type | Description |
com.google.type.ExprOrBuilder | |
hasExpr()
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Returns
Type | Description |
boolean | Whether the expr field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExpr(Expr value)
public CustomLevel.Builder mergeExpr(Expr value)
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Parameter
Name | Description |
value | com.google.type.Expr
|
Returns
mergeFrom(CustomLevel other)
public CustomLevel.Builder mergeFrom(CustomLevel other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CustomLevel.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpr(Expr value)
public CustomLevel.Builder setExpr(Expr value)
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Parameter
Name | Description |
value | com.google.type.Expr
|
Returns
setExpr(Expr.Builder builderForValue)
public CustomLevel.Builder setExpr(Expr.Builder builderForValue)
Required. A Cloud CEL expression evaluating to a boolean.
.google.type.Expr expr = 1;
Parameter
Name | Description |
builderForValue | com.google.type.Expr.Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CustomLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides