Interface UpdateCompletionConfigRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CompletionConfig getCompletionConfig()
      Required.
      CompletionConfigOrBuilder getCompletionConfigOrBuilder()
      Required.
      com.google.protobuf.FieldMask getUpdateMask()
      Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update.
      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
      Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update.
      boolean hasCompletionConfig()
      Required.
      boolean hasUpdateMask()
      Indicates which fields in the provided [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update.
      • 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 Detail

      • hasCompletionConfig

        boolean hasCompletionConfig()
         Required. The [CompletionConfig][google.cloud.retail.v2.CompletionConfig]
         to update.
        
         If the caller does not have permission to update the
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig], then a
         PERMISSION_DENIED error is returned.
        
         If the [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to
         update does not exist, a NOT_FOUND error is returned.
         
        .google.cloud.retail.v2.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the completionConfig field is set.
      • getCompletionConfig

        CompletionConfig getCompletionConfig()
         Required. The [CompletionConfig][google.cloud.retail.v2.CompletionConfig]
         to update.
        
         If the caller does not have permission to update the
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig], then a
         PERMISSION_DENIED error is returned.
        
         If the [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to
         update does not exist, a NOT_FOUND error is returned.
         
        .google.cloud.retail.v2.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The completionConfig.
      • getCompletionConfigOrBuilder

        CompletionConfigOrBuilder getCompletionConfigOrBuilder()
         Required. The [CompletionConfig][google.cloud.retail.v2.CompletionConfig]
         to update.
        
         If the caller does not have permission to update the
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig], then a
         PERMISSION_DENIED error is returned.
        
         If the [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to
         update does not exist, a NOT_FOUND error is returned.
         
        .google.cloud.retail.v2.CompletionConfig completion_config = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasUpdateMask

        boolean hasUpdateMask()
         Indicates which fields in the provided
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update. The
         following are the only supported fields:
        
         * [CompletionConfig.matching_order][google.cloud.retail.v2.CompletionConfig.matching_order]
         * [CompletionConfig.max_suggestions][google.cloud.retail.v2.CompletionConfig.max_suggestions]
         * [CompletionConfig.min_prefix_length][google.cloud.retail.v2.CompletionConfig.min_prefix_length]
         * [CompletionConfig.auto_learning][google.cloud.retail.v2.CompletionConfig.auto_learning]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        com.google.protobuf.FieldMask getUpdateMask()
         Indicates which fields in the provided
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update. The
         following are the only supported fields:
        
         * [CompletionConfig.matching_order][google.cloud.retail.v2.CompletionConfig.matching_order]
         * [CompletionConfig.max_suggestions][google.cloud.retail.v2.CompletionConfig.max_suggestions]
         * [CompletionConfig.min_prefix_length][google.cloud.retail.v2.CompletionConfig.min_prefix_length]
         * [CompletionConfig.auto_learning][google.cloud.retail.v2.CompletionConfig.auto_learning]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Returns:
        The updateMask.
      • getUpdateMaskOrBuilder

        com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Indicates which fields in the provided
         [CompletionConfig][google.cloud.retail.v2.CompletionConfig] to update. The
         following are the only supported fields:
        
         * [CompletionConfig.matching_order][google.cloud.retail.v2.CompletionConfig.matching_order]
         * [CompletionConfig.max_suggestions][google.cloud.retail.v2.CompletionConfig.max_suggestions]
         * [CompletionConfig.min_prefix_length][google.cloud.retail.v2.CompletionConfig.min_prefix_length]
         * [CompletionConfig.auto_learning][google.cloud.retail.v2.CompletionConfig.auto_learning]
        
         If not set, all supported fields are updated.
         
        .google.protobuf.FieldMask update_mask = 2;