Enum Document.BoilerplateHandling (2.7.0)

publicenumDocument.BoilerplateHandlingextendsEnum<Document.BoilerplateHandling>implementsProtocolMessageEnum

Ways of handling boilerplate detected in the document

Protobuf enum google.cloud.language.v1beta2.Document.BoilerplateHandling

Implements

ProtocolMessageEnum

Static Fields

Name Description
BOILERPLATE_HANDLING_UNSPECIFIED

The boilerplate handling is not specified.

BOILERPLATE_HANDLING_UNSPECIFIED = 0;

BOILERPLATE_HANDLING_UNSPECIFIED_VALUE

The boilerplate handling is not specified.

BOILERPLATE_HANDLING_UNSPECIFIED = 0;

KEEP_BOILERPLATE

Treat boilerplate the same as content.

KEEP_BOILERPLATE = 2;

KEEP_BOILERPLATE_VALUE

Treat boilerplate the same as content.

KEEP_BOILERPLATE = 2;

SKIP_BOILERPLATE

Do not analyze detected boilerplate. Reference web URI is required for detecting boilerplate.

SKIP_BOILERPLATE = 1;

SKIP_BOILERPLATE_VALUE

Do not analyze detected boilerplate. Reference web URI is required for detecting boilerplate.

SKIP_BOILERPLATE = 1;

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.