Class CustomLevel.Builder (1.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CustomLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomLevel.Builder
Overrides

build()

public CustomLevel build()
Returns
TypeDescription
CustomLevel

buildPartial()

public CustomLevel buildPartial()
Returns
TypeDescription
CustomLevel

clear()

public CustomLevel.Builder clear()
Returns
TypeDescription
CustomLevel.Builder
Overrides

clearExpr()

public CustomLevel.Builder clearExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
CustomLevel.Builder

clearField(Descriptors.FieldDescriptor field)

public CustomLevel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CustomLevel.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CustomLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CustomLevel.Builder
Overrides

clone()

public CustomLevel.Builder clone()
Returns
TypeDescription
CustomLevel.Builder
Overrides

getDefaultInstanceForType()

public CustomLevel getDefaultInstanceForType()
Returns
TypeDescription
CustomLevel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpr()

public Expr getExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
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
TypeDescription
com.google.type.Expr.Builder

getExprOrBuilder()

public ExprOrBuilder getExprOrBuilder()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
com.google.type.ExprOrBuilder

hasExpr()

public boolean hasExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
boolean

Whether the expr field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
CustomLevel.Builder

mergeFrom(CustomLevel other)

public CustomLevel.Builder mergeFrom(CustomLevel other)
Parameter
NameDescription
otherCustomLevel
Returns
TypeDescription
CustomLevel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CustomLevel.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CustomLevel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CustomLevel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CustomLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuecom.google.type.Expr
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.type.Expr.Builder
Returns
TypeDescription
CustomLevel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CustomLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CustomLevel.Builder
Overrides

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

public CustomLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CustomLevel.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CustomLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CustomLevel.Builder
Overrides