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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetAccessLevelRequest build()
buildPartial()
public GetAccessLevelRequest buildPartial()
clear()
public GetAccessLevelRequest.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public GetAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public GetAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetAccessLevelRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetAccessLevelRequest other)
public GetAccessLevelRequest.Builder mergeFrom(GetAccessLevelRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetAccessLevelRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides