Class GetAccessLevelRequest (1.3.1)

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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetAccessLevelRequest getDefaultInstance()
Returns
TypeDescription
GetAccessLevelRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetAccessLevelRequest prototype)

public static GetAccessLevelRequest.Builder newBuilder(GetAccessLevelRequest prototype)
Parameter
NameDescription
prototypeGetAccessLevelRequest
Returns
TypeDescription
GetAccessLevelRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The enum numeric value on the wire for accessLevelFormat.

getDefaultInstanceForType()

public GetAccessLevelRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 GetAccessLevelRequest.Builder newBuilderForType()
Returns
TypeDescription
GetAccessLevelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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