Class GetAccessLevelRequest (1.55.0)

public final class GetAccessLevelRequest extends GeneratedMessageV3 implements GetAccessLevelRequestOrBuilder

A request to get a particular AccessLevel.

Protobuf type google.identity.accesscontextmanager.v1.GetAccessLevelRequest

Static Fields

ACCESS_LEVEL_FORMAT_FIELD_NUMBER

public static final int ACCESS_LEVEL_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetAccessLevelRequest getDefaultInstance()
Returns
Type Description
GetAccessLevelRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetAccessLevelRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccessLevelFormat()

public LevelFormat getAccessLevelFormat()

Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.

.google.identity.accesscontextmanager.v1.LevelFormat access_level_format = 2;

Returns
Type Description
LevelFormat

The accessLevelFormat.

getAccessLevelFormatValue()

public int getAccessLevelFormatValue()

Whether to return BasicLevels in the Cloud Common Expression Language rather than as BasicLevels. Defaults to AS_DEFINED, where [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as BasicLevels or CustomLevels based on how they were created. If set to CEL, all [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] are returned as CustomLevels. In the CEL case, BasicLevels are translated to equivalent CustomLevels.

.google.identity.accesscontextmanager.v1.LevelFormat access_level_format = 2;

Returns
Type Description
int

The enum numeric value on the wire for accessLevelFormat.

getDefaultInstanceForType()

public GetAccessLevelRequest getDefaultInstanceForType()
Returns
Type Description
GetAccessLevelRequest

getName()

public String getName()

Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel].

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name for the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel].

Format: accessPolicies/{policy_id}/accessLevels/{access_level_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<GetAccessLevelRequest> getParserForType()
Returns
Type Description
Parser<GetAccessLevelRequest>
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 GetAccessLevelRequest.Builder newBuilderForType()
Returns
Type Description
GetAccessLevelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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