Class: Google::Cloud::Retail::V2::ConversationalSearchResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/conversational_search_service.rb

Overview

Defined Under Namespace

Modules: State Classes: ConversationalFilteringResult, FollowupQuestion, RefinedSearch

Instance Attribute Summary collapse

Instance Attribute Details

#conversation_id::String



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#conversational_filtering_result::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#conversational_text_response::String



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#followup_question::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#refined_search::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::RefinedSearch>



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#state::Google::Cloud::Retail::V2::ConversationalSearchResponse::State (readonly)



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end

#user_query_types::Array<::String>



277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 277

class ConversationalSearchResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The conversational followup question generated for Intent refinement.
  # @!attribute [rw] followup_question
  #   @return [::String]
  #     The conversational followup question generated for Intent refinement.
  # @!attribute [rw] suggested_answers
  #   @return [::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>]
  #     The answer options provided to client for the follow-up question.
  class FollowupQuestion
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Suggested answers to the follow-up question.
    # If it's numerical attribute, only ProductAttributeInterval will be set.
    # If it's textual attribute, only productAttributeValue will be set.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class SuggestedAnswer
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The proposed refined search for intent-refinement/bundled shopping
  # conversation. When using CONVERSATIONAL_FILTER_ONLY mode, the
  # refined_query from search response will be populated here.
  # @!attribute [rw] query
  #   @return [::String]
  #     The query to be used for search.
  class RefinedSearch
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # This field specifies all related information that is needed on client
  # side for UI rendering of conversational filtering search.
  # @!attribute [rw] followup_question
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion]
  #     The conversational filtering question.
  # @!attribute [rw] additional_filter
  #   @return [::Google::Cloud::Retail::V2::ConversationalSearchResponse::ConversationalFilteringResult::AdditionalFilter]
  #     This is the incremental additional filters implied from the current
  #     user answer. User should add the suggested addition filters to the
  #     previous [ConversationalSearchRequest.search_params.filter][] and
  #     {::Google::Cloud::Retail::V2::SearchRequest#filter SearchRequest.filter},  and
  #     use the merged filter in the follow up requests.
  class ConversationalFilteringResult
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Additional filter that client side need to apply.
    # @!attribute [rw] product_attribute_value
    #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
    #     Product attribute value, including an attribute key and an
    #     attribute value. Other types can be added here in the future.
    class AdditionalFilter
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The state of the response generation.
  module State
    # Unknown.
    STATE_UNSPECIFIED = 0

    # Response generation is being streamed.
    STREAMING = 1

    # Response generation has succeeded.
    SUCCEEDED = 2
  end
end