Class BasicLevel (1.56.0)

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

Implements

BasicLevelOrBuilder

Static Fields

COMBINING_FUNCTION_FIELD_NUMBER

public static final int COMBINING_FUNCTION_FIELD_NUMBER
Field Value
Type Description
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BasicLevel getDefaultInstance()
Returns
Type Description
BasicLevel

getDescriptor()

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

newBuilder()

public static BasicLevel.Builder newBuilder()
Returns
Type Description
BasicLevel.Builder

newBuilder(BasicLevel prototype)

public static BasicLevel.Builder newBuilder(BasicLevel prototype)
Parameter
Name Description
prototype BasicLevel
Returns
Type Description
BasicLevel.Builder

parseDelimitedFrom(InputStream input)

public static BasicLevel parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BasicLevel parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BasicLevel parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BasicLevel parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BasicLevel parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BasicLevel parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BasicLevel
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BasicLevel> parser()
Returns
Type Description
Parser<BasicLevel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

getParserForType()

public Parser<BasicLevel> getParserForType()
Returns
Type Description
Parser<BasicLevel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BasicLevel.Builder newBuilderForType()
Returns
Type Description
BasicLevel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BasicLevel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BasicLevel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BasicLevel.Builder toBuilder()
Returns
Type Description
BasicLevel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException