public static final class CreateAccessLevelRequest.Builder extends GeneratedMessageV3.Builder<CreateAccessLevelRequest.Builder> implements CreateAccessLevelRequestOrBuilder
A request to create an AccessLevel
.
Protobuf type google.identity.accesscontextmanager.v1.CreateAccessLevelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateAccessLevelRequest build()
buildPartial()
public CreateAccessLevelRequest buildPartial()
clear()
public CreateAccessLevelRequest.Builder clear()
Overrides
clearAccessLevel()
public CreateAccessLevelRequest.Builder clearAccessLevel()
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateAccessLevelRequest.Builder clearParent()
Required. Resource name for the access policy which owns this [Access
Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateAccessLevelRequest.Builder clone()
Overrides
getAccessLevel()
public AccessLevel getAccessLevel()
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
getAccessLevelBuilder()
public AccessLevel.Builder getAccessLevelBuilder()
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
getAccessLevelOrBuilder()
public AccessLevelOrBuilder getAccessLevelOrBuilder()
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateAccessLevelRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Resource name for the access policy which owns this [Access
Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name for the access policy which owns this [Access
Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasAccessLevel()
public boolean hasAccessLevel()
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the accessLevel field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAccessLevel(AccessLevel value)
public CreateAccessLevelRequest.Builder mergeAccessLevel(AccessLevel value)
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateAccessLevelRequest other)
public CreateAccessLevelRequest.Builder mergeFrom(CreateAccessLevelRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateAccessLevelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAccessLevel(AccessLevel value)
public CreateAccessLevelRequest.Builder setAccessLevel(AccessLevel value)
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
setAccessLevel(AccessLevel.Builder builderForValue)
public CreateAccessLevelRequest.Builder setAccessLevel(AccessLevel.Builder builderForValue)
Required. The [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] to create.
Syntactic correctness of the [Access Level]
[google.identity.accesscontextmanager.v1.AccessLevel] is a
precondition for creation.
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateAccessLevelRequest.Builder setParent(String value)
Required. Resource name for the access policy which owns this [Access
Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateAccessLevelRequest.Builder setParentBytes(ByteString value)
Required. Resource name for the access policy which owns this [Access
Level] [google.identity.accesscontextmanager.v1.AccessLevel].
Format: accessPolicies/{policy_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides