Class CustomLevel (1.48.0)

public final class CustomLevel extends GeneratedMessageV3 implements CustomLevelOrBuilder

CustomLevel is an AccessLevel using the Cloud Common Expression Language to represent the necessary conditions for the level to apply to a request. See CEL spec at: https://github.com/google/cel-spec

Protobuf type google.identity.accesscontextmanager.v1.CustomLevel

Static Fields

EXPR_FIELD_NUMBER

public static final int EXPR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomLevel getDefaultInstance()
Returns
Type Description
CustomLevel

getDescriptor()

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

newBuilder()

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

newBuilder(CustomLevel prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomLevel getDefaultInstanceForType()
Returns
Type Description
CustomLevel

getExpr()

public Expr getExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
Type Description
com.google.type.Expr

The expr.

getExprOrBuilder()

public ExprOrBuilder getExprOrBuilder()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
Type Description
com.google.type.ExprOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExpr()

public boolean hasExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
Type Description
boolean

Whether the expr field is set.

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 CustomLevel.Builder newBuilderForType()
Returns
Type Description
CustomLevel.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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