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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BasicLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BasicLevel build()
Returns
buildPartial()
public BasicLevel buildPartial()
Returns
clear()
public BasicLevel.Builder clear()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public BasicLevel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BasicLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BasicLevel.Builder clone()
Returns
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
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
Returns
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
Returns
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
getConditionsCount()
public int getConditionsCount()
Required. A list of requirements for the AccessLevel
to be granted.
repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;
Returns
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
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BasicLevel other)
public BasicLevel.Builder mergeFrom(BasicLevel other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BasicLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BasicLevel.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BasicLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BasicLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BasicLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BasicLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides