Interface KnowledgeBaseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Language which represents the KnowledgeBase.
    com.google.protobuf.ByteString
    Language which represents the KnowledgeBase.
    The knowledge base resource name.
    com.google.protobuf.ByteString
    The knowledge base resource name.

    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()
       The knowledge base resource name.
       The name must be empty when creating a knowledge base.
       Format: `projects/<Project ID>/locations/<Location
       ID>/knowledgeBases/<Knowledge Base ID>`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The knowledge base resource name.
       The name must be empty when creating a knowledge base.
       Format: `projects/<Project ID>/locations/<Location
       ID>/knowledgeBases/<Knowledge Base ID>`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Required. The display name of the knowledge base. The name must be 1024
       bytes or less; otherwise, the creation request fails.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the knowledge base. The name must be 1024
       bytes or less; otherwise, the creation request fails.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • getLanguageCode

      String getLanguageCode()
       Language which represents the KnowledgeBase. When the KnowledgeBase is
       created/updated, expect this to be present for non en-us languages. When
       unspecified, the default language code en-us applies.
       
      string language_code = 4;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       Language which represents the KnowledgeBase. When the KnowledgeBase is
       created/updated, expect this to be present for non en-us languages. When
       unspecified, the default language code en-us applies.
       
      string language_code = 4;
      Returns:
      The bytes for languageCode.