Class UpdateAccessLevelRequest.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAccessLevelRequest build()
Returns
TypeDescription
UpdateAccessLevelRequest

buildPartial()

public UpdateAccessLevelRequest buildPartial()
Returns
TypeDescription
UpdateAccessLevelRequest

clear()

public UpdateAccessLevelRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateAccessLevelRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAccessLevelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateAccessLevelRequest.Builder

clone()

public UpdateAccessLevelRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AccessLevelOrBuilder

getDefaultInstanceForType()

public UpdateAccessLevelRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAccessLevelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessLevel
Returns
TypeDescription
UpdateAccessLevelRequest.Builder

mergeFrom(UpdateAccessLevelRequest other)

public UpdateAccessLevelRequest.Builder mergeFrom(UpdateAccessLevelRequest other)
Parameter
NameDescription
otherUpdateAccessLevelRequest
Returns
TypeDescription
UpdateAccessLevelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessLevelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueAccessLevel
Returns
TypeDescription
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
NameDescription
builderForValueAccessLevel.Builder
Returns
TypeDescription
UpdateAccessLevelRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAccessLevelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAccessLevelRequest.Builder