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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
addConditionsBuilder()
public Condition.Builder addConditionsBuilder()
Required. A list of requirements for the AccessLevel
to be granted.
repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BasicLevel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BasicLevel build()
buildPartial()
public BasicLevel buildPartial()
clear()
public BasicLevel.Builder clear()
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;
clearConditions()
public BasicLevel.Builder clearConditions()
Required. A list of requirements for the AccessLevel
to be granted.
repeated .google.identity.accesscontextmanager.v1.Condition conditions = 1;
clearField(Descriptors.FieldDescriptor field)
public BasicLevel.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BasicLevel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BasicLevel.Builder clone()
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;
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
|
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BasicLevel other)
public BasicLevel.Builder mergeFrom(BasicLevel other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BasicLevel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BasicLevel.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BasicLevel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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.
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public BasicLevel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BasicLevel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BasicLevel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides