Enum DocumentView (0.1.0)

public enum DocumentView extends Enum<DocumentView> implements ProtocolMessageEnum

Specifies which fields of the Document are included.

Protobuf enum google.developers.knowledge.v1.DocumentView

Implements

ProtocolMessageEnum

Static Fields

Name Description
DOCUMENT_VIEW_BASIC

Includes only the basic metadata fields:

  • name
  • uri
  • data_source
  • title
  • description
  • update_time
  • view

    This is the default of view for DeveloperKnowledge.SearchDocumentChunks.

DOCUMENT_VIEW_BASIC = 1;

DOCUMENT_VIEW_BASIC_VALUE

Includes only the basic metadata fields:

  • name
  • uri
  • data_source
  • title
  • description
  • update_time
  • view

    This is the default of view for DeveloperKnowledge.SearchDocumentChunks.

DOCUMENT_VIEW_BASIC = 1;

DOCUMENT_VIEW_CONTENT

Includes the DOCUMENT_VIEW_BASIC fields and the content field.

This is the default of view for DeveloperKnowledge.GetDocument and DeveloperKnowledge.BatchGetDocuments.

DOCUMENT_VIEW_CONTENT = 3;

DOCUMENT_VIEW_CONTENT_VALUE

Includes the DOCUMENT_VIEW_BASIC fields and the content field.

This is the default of view for DeveloperKnowledge.GetDocument and DeveloperKnowledge.BatchGetDocuments.

DOCUMENT_VIEW_CONTENT = 3;

DOCUMENT_VIEW_FULL

Includes all Document fields.

DOCUMENT_VIEW_FULL = 2;

DOCUMENT_VIEW_FULL_VALUE

Includes all Document fields.

DOCUMENT_VIEW_FULL = 2;

DOCUMENT_VIEW_UNSPECIFIED

The default / unset value. See each API method for its default value if DocumentView is not specified.

DOCUMENT_VIEW_UNSPECIFIED = 0;

DOCUMENT_VIEW_UNSPECIFIED_VALUE

The default / unset value. See each API method for its default value if DocumentView is not specified.

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