public static final class GetAccessLevelRequest.Builder extends GeneratedMessage.Builder<GetAccessLevelRequest.Builder> implements GetAccessLevelRequestOrBuilder A request to get a particular AccessLevel.
Protobuf type google.identity.accesscontextmanager.v1.GetAccessLevelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetAccessLevelRequest.BuilderImplements
GetAccessLevelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetAccessLevelRequest build()| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest |
|
buildPartial()
public GetAccessLevelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest |
|
clear()
public GetAccessLevelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
|
clearAccessLevelFormat()
public GetAccessLevelRequest.Builder clearAccessLevelFormat() 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 |
GetAccessLevelRequest.Builder |
This builder for chaining. |
clearName()
public GetAccessLevelRequest.Builder clearName()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 |
GetAccessLevelRequest.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetAccessLevelRequest other)
public GetAccessLevelRequest.Builder mergeFrom(GetAccessLevelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetAccessLevelRequest |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetAccessLevelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
|
setAccessLevelFormat(LevelFormat value)
public GetAccessLevelRequest.Builder setAccessLevelFormat(LevelFormat value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
LevelFormatThe accessLevelFormat to set. |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
This builder for chaining. |
setAccessLevelFormatValue(int value)
public GetAccessLevelRequest.Builder setAccessLevelFormatValue(int value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for accessLevelFormat to set. |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
This builder for chaining. |
setName(String value)
public GetAccessLevelRequest.Builder setName(String value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetAccessLevelRequest.Builder setNameBytes(ByteString value)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetAccessLevelRequest.Builder |
This builder for chaining. |