public final class BasicLevel extends GeneratedMessageV3 implements BasicLevelOrBuilder
BasicLevel
is an AccessLevel
using a set of recommended features.
Protobuf type google.identity.accesscontextmanager.v1.BasicLevel
Static Fields
COMBINING_FUNCTION_FIELD_NUMBER
public static final int COMBINING_FUNCTION_FIELD_NUMBER
Field Value
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BasicLevel getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BasicLevel.Builder newBuilder()
Returns
newBuilder(BasicLevel prototype)
public static BasicLevel.Builder newBuilder(BasicLevel prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static BasicLevel parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BasicLevel parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BasicLevel parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static BasicLevel parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static BasicLevel parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BasicLevel parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BasicLevel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BasicLevel> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<BasicLevel> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BasicLevel.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BasicLevel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BasicLevel.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions