Interface CreateKnowledgeBaseRequestOrBuilder (4.20.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the knowledgeBase field is set.