public interface KnowledgeBaseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDisplayName()
public abstract 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 | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getLanguageCode()
public abstract 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 | |
---|---|
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for languageCode. |
getName()
public abstract 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 | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |