Class CustomLevel (1.36.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomLevel getDefaultInstance()
Returns
TypeDescription
CustomLevel

getDescriptor()

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

newBuilder()

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

newBuilder(CustomLevel prototype)

public static CustomLevel.Builder newBuilder(CustomLevel prototype)
Parameter
NameDescription
prototypeCustomLevel
Returns
TypeDescription
CustomLevel.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CustomLevel getDefaultInstanceForType()
Returns
TypeDescription
CustomLevel

getExpr()

public Expr getExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
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
TypeDescription
com.google.type.ExprOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasExpr()

public boolean hasExpr()

Required. A Cloud CEL expression evaluating to a boolean.

.google.type.Expr expr = 1;

Returns
TypeDescription
boolean

Whether the expr field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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