Interface CreateKnowledgeBaseRequestOrBuilder (4.7.0)

public interface CreateKnowledgeBaseRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKnowledgeBase()

public abstract KnowledgeBase getKnowledgeBase()

Required. The knowledge base to create.

.google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_base = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KnowledgeBase

The knowledgeBase.

getKnowledgeBaseOrBuilder()

public abstract KnowledgeBaseOrBuilder getKnowledgeBaseOrBuilder()

Required. The knowledge base to create.

.google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_base = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KnowledgeBaseOrBuilder

getParent()

public abstract String getParent()

Required. The project to create a knowledge base for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project to create a knowledge base for. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasKnowledgeBase()

public abstract boolean hasKnowledgeBase()

Required. The knowledge base to create.

.google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_base = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the knowledgeBase field is set.