Class BasicLevel (1.24.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
TypeDescription
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BasicLevel getDefaultInstance()
Returns
TypeDescription
BasicLevel

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BasicLevel.Builder newBuilder()
Returns
TypeDescription
BasicLevel.Builder

newBuilder(BasicLevel prototype)

public static BasicLevel.Builder newBuilder(BasicLevel prototype)
Parameter
NameDescription
prototypeBasicLevel
Returns
TypeDescription
BasicLevel.Builder

parseDelimitedFrom(InputStream input)

public static BasicLevel parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BasicLevel parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BasicLevel parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BasicLevel parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BasicLevel parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BasicLevel parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BasicLevel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BasicLevel
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BasicLevel> parser()
Returns
TypeDescription
Parser<BasicLevel>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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

getParserForType()

public Parser<BasicLevel> getParserForType()
Returns
TypeDescription
Parser<BasicLevel>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BasicLevel.Builder newBuilderForType()
Returns
TypeDescription
BasicLevel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BasicLevel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BasicLevel.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BasicLevel.Builder toBuilder()
Returns
TypeDescription
BasicLevel.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException