Interface UpdateKnowledgeBaseRequestOrBuilder (4.41.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.