Class: Google::Cloud::VisionAI::V1::FacetBucket
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::FacetBucket
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Holds the facet value, selections state, and metadata.
Defined Under Namespace
Classes: Range
Instance Attribute Summary collapse
-
#range ⇒ ::Google::Cloud::VisionAI::V1::FacetBucket::Range
Range value.
-
#selected ⇒ ::Boolean
Whether one facet bucket is selected.
-
#value ⇒ ::Google::Cloud::VisionAI::V1::FacetValue
Singular value.
Instance Attribute Details
#range ⇒ ::Google::Cloud::VisionAI::V1::FacetBucket::Range
Returns Range value.
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2428 class FacetBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The range of values [start, end) for which faceting is applied. # @!attribute [rw] start # @return [::Google::Cloud::VisionAI::V1::FacetValue] # Start of the range. Non-existence indicates some bound (e.g. -inf). # @!attribute [rw] end # @return [::Google::Cloud::VisionAI::V1::FacetValue] # End of the range. Non-existence indicates some bound (e.g. inf). class Range include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#selected ⇒ ::Boolean
Returns Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest.
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2428 class FacetBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The range of values [start, end) for which faceting is applied. # @!attribute [rw] start # @return [::Google::Cloud::VisionAI::V1::FacetValue] # Start of the range. Non-existence indicates some bound (e.g. -inf). # @!attribute [rw] end # @return [::Google::Cloud::VisionAI::V1::FacetValue] # End of the range. Non-existence indicates some bound (e.g. inf). class Range include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#value ⇒ ::Google::Cloud::VisionAI::V1::FacetValue
Returns Singular value.
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2428 class FacetBucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The range of values [start, end) for which faceting is applied. # @!attribute [rw] start # @return [::Google::Cloud::VisionAI::V1::FacetValue] # Start of the range. Non-existence indicates some bound (e.g. -inf). # @!attribute [rw] end # @return [::Google::Cloud::VisionAI::V1::FacetValue] # End of the range. Non-existence indicates some bound (e.g. inf). class Range include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |