Interface EntityOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Entity, Entity.Builder

@Generated public interface EntityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Textual description, e.g., `Fixed-gear bicycle`.
    com.google.protobuf.ByteString
    Textual description, e.g., `Fixed-gear bicycle`.
    Opaque entity ID.
    com.google.protobuf.ByteString
    Opaque entity ID.
    Language code for `description` in BCP-47 format.
    com.google.protobuf.ByteString
    Language code for `description` in BCP-47 format.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEntityId

      String getEntityId()
       Opaque entity ID. Some IDs may be available in
       [Google Knowledge Graph Search
       API](https://developers.google.com/knowledge-graph/).
       
      string entity_id = 1;
      Returns:
      The entityId.
    • getEntityIdBytes

      com.google.protobuf.ByteString getEntityIdBytes()
       Opaque entity ID. Some IDs may be available in
       [Google Knowledge Graph Search
       API](https://developers.google.com/knowledge-graph/).
       
      string entity_id = 1;
      Returns:
      The bytes for entityId.
    • getDescription

      String getDescription()
       Textual description, e.g., `Fixed-gear bicycle`.
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Textual description, e.g., `Fixed-gear bicycle`.
       
      string description = 2;
      Returns:
      The bytes for description.
    • getLanguageCode

      String getLanguageCode()
       Language code for `description` in BCP-47 format.
       
      string language_code = 3;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Language code for `description` in BCP-47 format.
       
      string language_code = 3;
      Returns:
      The bytes for languageCode.