Interface UpdateKnowledgeBaseRequestOrBuilder (4.7.0)

public interface UpdateKnowledgeBaseRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKnowledgeBase()

public abstract KnowledgeBase getKnowledgeBase()

Required. The knowledge base to update.

.google.cloud.dialogflow.v2.KnowledgeBase knowledge_base = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KnowledgeBase

The knowledgeBase.

getKnowledgeBaseOrBuilder()

public abstract KnowledgeBaseOrBuilder getKnowledgeBaseOrBuilder()

Required. The knowledge base to update.

.google.cloud.dialogflow.v2.KnowledgeBase knowledge_base = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KnowledgeBaseOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. Not specified means update all. Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Not specified means update all. Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMaskOrBuilder

hasKnowledgeBase()

public abstract boolean hasKnowledgeBase()

Required. The knowledge base to update.

.google.cloud.dialogflow.v2.KnowledgeBase knowledge_base = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the knowledgeBase field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. Not specified means update all. Currently, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the updateMask field is set.