public static final class GetAccessLevelRequest.Builder extends GeneratedMessageV3.Builder<GetAccessLevelRequest.Builder> implements GetAccessLevelRequestOrBuilder
A request to get a particular AccessLevel
.
Protobuf type google.identity.accesscontextmanager.v1.GetAccessLevelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetAccessLevelRequest build()
Returns
buildPartial()
public GetAccessLevelRequest buildPartial()
Returns
clear()
public GetAccessLevelRequest.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public GetAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public GetAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetAccessLevelRequest.Builder clone()
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetAccessLevelRequest other)
public GetAccessLevelRequest.Builder mergeFrom(GetAccessLevelRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetAccessLevelRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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 | LevelFormat
The accessLevelFormat to set.
|
Returns
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 | int
The enum numeric value on the wire for accessLevelFormat to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GetAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The name to set.
|
Returns
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 | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides