Class DeleteAccessLevelRequest.Builder (1.29.0)

public static final class DeleteAccessLevelRequest.Builder extends GeneratedMessageV3.Builder<DeleteAccessLevelRequest.Builder> implements DeleteAccessLevelRequestOrBuilder

A request to delete an AccessLevel.

Protobuf type google.identity.accesscontextmanager.v1.DeleteAccessLevelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

build()

public DeleteAccessLevelRequest build()
Returns
TypeDescription
DeleteAccessLevelRequest

buildPartial()

public DeleteAccessLevelRequest buildPartial()
Returns
TypeDescription
DeleteAccessLevelRequest

clear()

public DeleteAccessLevelRequest.Builder clear()
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

clearName()

public DeleteAccessLevelRequest.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
TypeDescription
DeleteAccessLevelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

clone()

public DeleteAccessLevelRequest.Builder clone()
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteAccessLevelRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteAccessLevelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteAccessLevelRequest other)

public DeleteAccessLevelRequest.Builder mergeFrom(DeleteAccessLevelRequest other)
Parameter
NameDescription
otherDeleteAccessLevelRequest
Returns
TypeDescription
DeleteAccessLevelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteAccessLevelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

setName(String value)

public DeleteAccessLevelRequest.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
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteAccessLevelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAccessLevelRequest.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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteAccessLevelRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAccessLevelRequest.Builder
Overrides