public interface KnowledgeBaseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
String |
getLanguageCode()
Language which represents the KnowledgeBase.
|
ByteString |
getLanguageCodeBytes()
Language which represents the KnowledgeBase.
|
String |
getName()
The knowledge base resource name.
|
ByteString |
getNameBytes()
The knowledge base resource name.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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];
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];
String getLanguageCode()
Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, this is populated for all non en-us languages. If not populated, the default language en-us applies.
string language_code = 4;
ByteString getLanguageCodeBytes()
Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, this is populated for all non en-us languages. If not populated, the default language en-us applies.
string language_code = 4;
Copyright © 2022 Google LLC. All rights reserved.