Class BasicLevel.Builder (1.46.0)

public static final class BasicLevel.Builder extends GeneratedMessageV3.Builder<BasicLevel.Builder> implements BasicLevelOrBuilder

BasicLevel is an AccessLevel using a set of recommended features.

Protobuf type google.identity.accesscontextmanager.v1.BasicLevel

Implements

BasicLevelOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllConditions(Iterable<? extends Condition> values)

public BasicLevel.Builder addAllConditions(Iterable<? extends Condition> values)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
values Iterable<? extends com.google.identity.accesscontextmanager.v1.Condition>
Returns
Type Description
BasicLevel.Builder

addConditions(Condition value)

public BasicLevel.Builder addConditions(Condition value)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
value Condition
Returns
Type Description
BasicLevel.Builder

addConditions(Condition.Builder builderForValue)

public BasicLevel.Builder addConditions(Condition.Builder builderForValue)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
builderForValue Condition.Builder
Returns
Type Description
BasicLevel.Builder

addConditions(int index, Condition value)

public BasicLevel.Builder addConditions(int index, Condition value)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameters
Name Description
index int
value Condition
Returns
Type Description
BasicLevel.Builder

addConditions(int index, Condition.Builder builderForValue)

public BasicLevel.Builder addConditions(int index, Condition.Builder builderForValue)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameters
Name Description
index int
builderForValue Condition.Builder
Returns
Type Description
BasicLevel.Builder

addConditionsBuilder()

public Condition.Builder addConditionsBuilder()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
Condition.Builder

addConditionsBuilder(int index)

public Condition.Builder addConditionsBuilder(int index)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BasicLevel build()
Returns
Type Description
BasicLevel

buildPartial()

public BasicLevel buildPartial()
Returns
Type Description
BasicLevel

clear()

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

clearCombiningFunction()

public BasicLevel.Builder clearCombiningFunction()

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2;

Returns
Type Description
BasicLevel.Builder

This builder for chaining.

clearConditions()

public BasicLevel.Builder clearConditions()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
BasicLevel.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCombiningFunction()

public BasicLevel.ConditionCombiningFunction getCombiningFunction()

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2;

Returns
Type Description
BasicLevel.ConditionCombiningFunction

The combiningFunction.

getCombiningFunctionValue()

public int getCombiningFunctionValue()

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2;

Returns
Type Description
int

The enum numeric value on the wire for combiningFunction.

getConditions(int index)

public Condition getConditions(int index)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
Condition

getConditionsBuilder(int index)

public Condition.Builder getConditionsBuilder(int index)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
Condition.Builder

getConditionsBuilderList()

public List<Condition.Builder> getConditionsBuilderList()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
List<Builder>

getConditionsCount()

public int getConditionsCount()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
int

getConditionsList()

public List<Condition> getConditionsList()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
List<Condition>

getConditionsOrBuilder(int index)

public ConditionOrBuilder getConditionsOrBuilder(int index)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
ConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Returns
Type Description
List<? extends com.google.identity.accesscontextmanager.v1.ConditionOrBuilder>

getDefaultInstanceForType()

public BasicLevel getDefaultInstanceForType()
Returns
Type Description
BasicLevel

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BasicLevel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BasicLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BasicLevel.Builder
Overrides

removeConditions(int index)

public BasicLevel.Builder removeConditions(int index)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameter
Name Description
index int
Returns
Type Description
BasicLevel.Builder

setCombiningFunction(BasicLevel.ConditionCombiningFunction value)

public BasicLevel.Builder setCombiningFunction(BasicLevel.ConditionCombiningFunction value)

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2;

Parameter
Name Description
value BasicLevel.ConditionCombiningFunction

The combiningFunction to set.

Returns
Type Description
BasicLevel.Builder

This builder for chaining.

setCombiningFunctionValue(int value)

public BasicLevel.Builder setCombiningFunctionValue(int value)

How the conditions list should be combined to determine if a request is granted this AccessLevel. If AND is used, each Condition in conditions must be satisfied for the AccessLevel to be applied. If OR is used, at least one Condition in conditions must be satisfied for the AccessLevel to be applied. Default behavior is AND.

.google.identity.accesscontextmanager.v1.BasicLevel.ConditionCombiningFunction combining_function = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for combiningFunction to set.

Returns
Type Description
BasicLevel.Builder

This builder for chaining.

setConditions(int index, Condition value)

public BasicLevel.Builder setConditions(int index, Condition value)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameters
Name Description
index int
value Condition
Returns
Type Description
BasicLevel.Builder

setConditions(int index, Condition.Builder builderForValue)

public BasicLevel.Builder setConditions(int index, Condition.Builder builderForValue)

Required. A list of requirements for the AccessLevel to be granted.

repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;

Parameters
Name Description
index int
builderForValue Condition.Builder
Returns
Type Description
BasicLevel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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