Skip to main content

StringEnumAttributeDescriptor

Represents a descriptor for an attribute with a string enum value.

Properties

enumeration

private \Google\Protobuf\Internal\RepeatedField $enumeration

Methods

__construct

Constructs an StringEnumAttributeDescriptor object with the specified parameters.

public __construct(string $displayName, string $technicalName, string|null $description, bool $required, \Google\Protobuf\Internal\RepeatedField $enumeration): mixed

Parameters:

ParameterTypeDescription
$displayNamestring
$technicalNamestring
$descriptionstring|null
$requiredbool
$enumeration\Google\Protobuf\Internal\RepeatedField

fromProto

public static fromProto(\Bloock\StringEnumAttributeDefinition $res): \Bloock\Entity\Identity\StringEnumAttributeDescriptor
  • This method is static.

Parameters:

ParameterTypeDescription
$res\Bloock\StringEnumAttributeDefinition

toProto

public toProto(): \Bloock\StringEnumAttributeDefinition

Inherited methods

__construct

public __construct(string $displayName, string $technicalName, string|null $description, bool $required): mixed

Parameters:

ParameterTypeDescription
$displayNamestring
$technicalNamestring
$descriptionstring|null
$requiredbool


Automatically generated on 2024-04-02