Interface UpdateDocumentRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateDocumentRequest, UpdateDocumentRequest.Builder

@Generated public interface UpdateDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.FieldMask
    Optional.
    com.google.protobuf.FieldMaskOrBuilder
    Optional.
    boolean
    Required.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasDocument

      boolean hasDocument()
       Required. The document to update.
       
      .google.cloud.dialogflow.v2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the document field is set.
    • getDocument

      Document getDocument()
       Required. The document to update.
       
      .google.cloud.dialogflow.v2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The document.
    • getDocumentOrBuilder

      DocumentOrBuilder getDocumentOrBuilder()
       Required. The document to update.
       
      .google.cloud.dialogflow.v2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      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:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.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:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.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];