Class BasicLevel.Builder (1.15.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.Condition>
Returns
TypeDescription
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
NameDescription
valueCondition
Returns
TypeDescription
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
NameDescription
builderForValueCondition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCondition.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Condition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BasicLevel build()
Returns
TypeDescription
BasicLevel

buildPartial()

public BasicLevel buildPartial()
Returns
TypeDescription
BasicLevel

clear()

public BasicLevel.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BasicLevel.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BasicLevel.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.ConditionOrBuilder>

getDefaultInstanceForType()

public BasicLevel getDefaultInstanceForType()
Returns
TypeDescription
BasicLevel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BasicLevel other)

public BasicLevel.Builder mergeFrom(BasicLevel other)
Parameter
NameDescription
otherBasicLevel
Returns
TypeDescription
BasicLevel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BasicLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueBasicLevel.ConditionCombiningFunction

The combiningFunction to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
indexint
valueCondition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCondition.Builder
Returns
TypeDescription
BasicLevel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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