Class UpdateAccessLevelRequest.Builder (1.55.0)

public static final class UpdateAccessLevelRequest.Builder extends GeneratedMessageV3.Builder<UpdateAccessLevelRequest.Builder> implements UpdateAccessLevelRequestOrBuilder

A request to update an AccessLevel.

Protobuf type google.identity.accesscontextmanager.v1.UpdateAccessLevelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessLevelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

build()

public UpdateAccessLevelRequest build()
Returns
Type Description
UpdateAccessLevelRequest

buildPartial()

public UpdateAccessLevelRequest buildPartial()
Returns
Type Description
UpdateAccessLevelRequest

clear()

public UpdateAccessLevelRequest.Builder clear()
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

clearAccessLevel()

public UpdateAccessLevelRequest.Builder clearAccessLevel()

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAccessLevelRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAccessLevelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

clearUpdateMask()

public UpdateAccessLevelRequest.Builder clearUpdateMask()

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAccessLevelRequest.Builder

clone()

public UpdateAccessLevelRequest.Builder clone()
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

getAccessLevel()

public AccessLevel getAccessLevel()

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessLevel

The accessLevel.

getAccessLevelBuilder()

public AccessLevel.Builder getAccessLevelBuilder()

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessLevel.Builder

getAccessLevelOrBuilder()

public AccessLevelOrBuilder getAccessLevelOrBuilder()

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccessLevelOrBuilder

getDefaultInstanceForType()

public UpdateAccessLevelRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAccessLevelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasAccessLevel()

public boolean hasAccessLevel()

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the accessLevel field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessLevel(AccessLevel value)

public UpdateAccessLevelRequest.Builder mergeAccessLevel(AccessLevel value)

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccessLevel
Returns
Type Description
UpdateAccessLevelRequest.Builder

mergeFrom(UpdateAccessLevelRequest other)

public UpdateAccessLevelRequest.Builder mergeFrom(UpdateAccessLevelRequest other)
Parameter
Name Description
other UpdateAccessLevelRequest
Returns
Type Description
UpdateAccessLevelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAccessLevelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAccessLevelRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAccessLevelRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccessLevelRequest.Builder

setAccessLevel(AccessLevel value)

public UpdateAccessLevelRequest.Builder setAccessLevel(AccessLevel value)

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AccessLevel
Returns
Type Description
UpdateAccessLevelRequest.Builder

setAccessLevel(AccessLevel.Builder builderForValue)

public UpdateAccessLevelRequest.Builder setAccessLevel(AccessLevel.Builder builderForValue)

Required. The updated [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel]. Syntactic correctness of the [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] is a precondition for creation.

.google.identity.accesscontextmanager.v1.AccessLevel access_level = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AccessLevel.Builder
Returns
Type Description
UpdateAccessLevelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAccessLevelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

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

public UpdateAccessLevelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAccessLevelRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAccessLevelRequest.Builder setUpdateMask(FieldMask value)

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAccessLevelRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAccessLevelRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask to control which fields get updated. Must be non-empty.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAccessLevelRequest.Builder