Enum HtmlSanitization (2.15.0)

public enum HtmlSanitization extends Enum<HtmlSanitization> implements ProtocolMessageEnum

Option for HTML content sanitization on user input fields, for example, job description. By setting this option, user can determine whether and how sanitization is performed on these fields.

Protobuf enum google.cloud.talent.v4.HtmlSanitization

Implements

ProtocolMessageEnum

Static Fields

NameDescription
HTML_SANITIZATION_DISABLED

Disables sanitization on HTML input.

HTML_SANITIZATION_DISABLED = 1;

HTML_SANITIZATION_DISABLED_VALUE

Disables sanitization on HTML input.

HTML_SANITIZATION_DISABLED = 1;

HTML_SANITIZATION_UNSPECIFIED

Default value.

HTML_SANITIZATION_UNSPECIFIED = 0;

HTML_SANITIZATION_UNSPECIFIED_VALUE

Default value.

HTML_SANITIZATION_UNSPECIFIED = 0;

SIMPLE_FORMATTING_ONLY

Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags.

SIMPLE_FORMATTING_ONLY = 2;

SIMPLE_FORMATTING_ONLY_VALUE

Sanitizes HTML input, only accepts bold, italic, ordered list, and unordered list markup tags.

SIMPLE_FORMATTING_ONLY = 2;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()