Interface SearchHypernymOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    getHyponyms(int index)
    Optional.
    com.google.protobuf.ByteString
    getHyponymsBytes(int index)
    Optional.
    int
    Optional.
    Optional.
    Resource name of the SearchHypernym.
    com.google.protobuf.ByteString
    Resource name of the SearchHypernym.

    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

    • getName

      String getName()
       Resource name of the SearchHypernym.
       Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Resource name of the SearchHypernym.
       Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}`
       
      string name = 1;
      Returns:
      The bytes for name.
    • getHypernym

      String getHypernym()
       Optional. The hypernym.
       
      string hypernym = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hypernym.
    • getHypernymBytes

      com.google.protobuf.ByteString getHypernymBytes()
       Optional. The hypernym.
       
      string hypernym = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for hypernym.
    • getHyponymsList

      List<String> getHyponymsList()
       Optional. Hyponyms that the hypernym is mapped to.
       
      repeated string hyponyms = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the hyponyms.
    • getHyponymsCount

      int getHyponymsCount()
       Optional. Hyponyms that the hypernym is mapped to.
       
      repeated string hyponyms = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of hyponyms.
    • getHyponyms

      String getHyponyms(int index)
       Optional. Hyponyms that the hypernym is mapped to.
       
      repeated string hyponyms = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The hyponyms at the given index.
    • getHyponymsBytes

      com.google.protobuf.ByteString getHyponymsBytes(int index)
       Optional. Hyponyms that the hypernym is mapped to.
       
      repeated string hyponyms = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the hyponyms at the given index.