Enum Service.DocumentRequirement.DocumentTypeRequirement.RequirementLevel (0.5.0)

public enum Service.DocumentRequirement.DocumentTypeRequirement.RequirementLevel extends Enum<Service.DocumentRequirement.DocumentTypeRequirement.RequirementLevel> implements ProtocolMessageEnum

Requirement level for the document type.

Protobuf enum google.cloud.commerceproducer.v1beta.Service.DocumentRequirement.DocumentTypeRequirement.RequirementLevel

Implements

ProtocolMessageEnum

Static Fields

Name Description
NOT_ALLOWED

The document type is not permitted for private offers on this service. No document of this type may be attached.

A document type omitted from document_type_requirements is also not permitted. This value is used to state the restriction explicitly.

NOT_ALLOWED = 3;

NOT_ALLOWED_VALUE

The document type is not permitted for private offers on this service. No document of this type may be attached.

A document type omitted from document_type_requirements is also not permitted. This value is used to state the restriction explicitly.

NOT_ALLOWED = 3;

OPTIONAL

The document type is optional for private offers on this service. At most one document of this type may be attached.

OPTIONAL = 2;

OPTIONAL_VALUE

The document type is optional for private offers on this service. At most one document of this type may be attached.

OPTIONAL = 2;

REQUIRED

The document type is mandatory for private offers on this service. Exactly one document of this type must be attached.

REQUIRED = 1;

REQUIRED_VALUE

The document type is mandatory for private offers on this service. Exactly one document of this type must be attached.

REQUIRED = 1;

REQUIREMENT_LEVEL_UNSPECIFIED

Unspecified requirement level. Do not use.

REQUIREMENT_LEVEL_UNSPECIFIED = 0;

REQUIREMENT_LEVEL_UNSPECIFIED_VALUE

Unspecified requirement level. Do not use.

REQUIREMENT_LEVEL_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()