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.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 CreateAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateAccessLevelRequest build()
Returns
buildPartial()
public CreateAccessLevelRequest buildPartial()
Returns
clear()
public CreateAccessLevelRequest.Builder clear()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public CreateAccessLevelRequest.Builder clone()
Returns
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];
Returns
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];
Returns
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];
Returns
getDefaultInstanceForType()
public CreateAccessLevelRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
mergeFrom(CreateAccessLevelRequest other)
public CreateAccessLevelRequest.Builder mergeFrom(CreateAccessLevelRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateAccessLevelRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides