Class CustomLevel.Builder (1.43.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomLevel.Builder
Overrides

build()

public CustomLevel build()
Returns
Type Description
CustomLevel

buildPartial()

public CustomLevel buildPartial()
Returns
Type Description
CustomLevel

clear()

public CustomLevel.Builder clear()
Returns
Type Description
CustomLevel.Builder
Overrides

clearExpr()

public CustomLevel.Builder clearExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
Type Description
CustomLevel.Builder

clearField(Descriptors.FieldDescriptor field)

public CustomLevel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CustomLevel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CustomLevel.Builder
Overrides

clone()

public CustomLevel.Builder clone()
Returns
Type Description
CustomLevel.Builder
Overrides

getDefaultInstanceForType()

public CustomLevel getDefaultInstanceForType()
Returns
Type Description
CustomLevel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpr()

public Expr 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()

public boolean 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Type Description
CustomLevel.Builder

mergeFrom(CustomLevel other)

public CustomLevel.Builder mergeFrom(CustomLevel other)
Parameter
Name Description
other CustomLevel
Returns
Type Description
CustomLevel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomLevel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomLevel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomLevel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomLevel.Builder
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
Type Description
CustomLevel.Builder

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
Type Description
CustomLevel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CustomLevel.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CustomLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CustomLevel.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CustomLevel.Builder
Overrides