Class: Google::Cloud::MigrationCenter::V1::AggregationResult

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

Overview

Message describing a result of an aggregation.

Defined Under Namespace

Classes: Count, Frequency, Histogram, Sum

Instance Attribute Summary collapse

Instance Attribute Details

#count::Google::Cloud::MigrationCenter::V1::AggregationResult::Count

Returns Note: The following fields are mutually exclusive: count, sum, histogram, frequency. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3093

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

  # The result of a count aggregation.
  # @!attribute [rw] value
  #   @return [::Integer]
  class Count
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a sum aggregation.
  # @!attribute [rw] value
  #   @return [::Float]
  class Sum
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a bucketed histogram aggregation.
  # @!attribute [rw] buckets
  #   @return [::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>]
  #     Buckets in the histogram.
  #     There will be `n+1` buckets matching `n` lower bounds in the request.
  #     The first bucket will be from -infinity to the first bound.
  #     Subsequent buckets will be between one bound and the next.
  #     The final bucket will be from the final bound to infinity.
  class Histogram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A histogram bucket with a lower and upper bound, and a count of items
    # with a field value between those bounds.
    # The lower bound is inclusive and the upper bound is exclusive.
    # Lower bound may be -infinity and upper bound may be infinity.
    # @!attribute [rw] lower_bound
    #   @return [::Float]
    #     Lower bound - inclusive.
    # @!attribute [rw] upper_bound
    #   @return [::Float]
    #     Upper bound - exclusive.
    # @!attribute [rw] count
    #   @return [::Integer]
    #     Count of items in the bucket.
    class Bucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The result of a frequency distribution aggregation.
  # @!attribute [rw] values
  #   @return [::Google::Protobuf::Map{::String => ::Integer}]
  class Frequency
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::Integer]
    class ValuesEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#field::String

Returns:

  • (::String)


3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3093

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

  # The result of a count aggregation.
  # @!attribute [rw] value
  #   @return [::Integer]
  class Count
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a sum aggregation.
  # @!attribute [rw] value
  #   @return [::Float]
  class Sum
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a bucketed histogram aggregation.
  # @!attribute [rw] buckets
  #   @return [::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>]
  #     Buckets in the histogram.
  #     There will be `n+1` buckets matching `n` lower bounds in the request.
  #     The first bucket will be from -infinity to the first bound.
  #     Subsequent buckets will be between one bound and the next.
  #     The final bucket will be from the final bound to infinity.
  class Histogram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A histogram bucket with a lower and upper bound, and a count of items
    # with a field value between those bounds.
    # The lower bound is inclusive and the upper bound is exclusive.
    # Lower bound may be -infinity and upper bound may be infinity.
    # @!attribute [rw] lower_bound
    #   @return [::Float]
    #     Lower bound - inclusive.
    # @!attribute [rw] upper_bound
    #   @return [::Float]
    #     Upper bound - exclusive.
    # @!attribute [rw] count
    #   @return [::Integer]
    #     Count of items in the bucket.
    class Bucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The result of a frequency distribution aggregation.
  # @!attribute [rw] values
  #   @return [::Google::Protobuf::Map{::String => ::Integer}]
  class Frequency
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::Integer]
    class ValuesEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#frequency::Google::Cloud::MigrationCenter::V1::AggregationResult::Frequency

Returns Note: The following fields are mutually exclusive: frequency, count, sum, histogram. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3093

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

  # The result of a count aggregation.
  # @!attribute [rw] value
  #   @return [::Integer]
  class Count
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a sum aggregation.
  # @!attribute [rw] value
  #   @return [::Float]
  class Sum
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a bucketed histogram aggregation.
  # @!attribute [rw] buckets
  #   @return [::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>]
  #     Buckets in the histogram.
  #     There will be `n+1` buckets matching `n` lower bounds in the request.
  #     The first bucket will be from -infinity to the first bound.
  #     Subsequent buckets will be between one bound and the next.
  #     The final bucket will be from the final bound to infinity.
  class Histogram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A histogram bucket with a lower and upper bound, and a count of items
    # with a field value between those bounds.
    # The lower bound is inclusive and the upper bound is exclusive.
    # Lower bound may be -infinity and upper bound may be infinity.
    # @!attribute [rw] lower_bound
    #   @return [::Float]
    #     Lower bound - inclusive.
    # @!attribute [rw] upper_bound
    #   @return [::Float]
    #     Upper bound - exclusive.
    # @!attribute [rw] count
    #   @return [::Integer]
    #     Count of items in the bucket.
    class Bucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The result of a frequency distribution aggregation.
  # @!attribute [rw] values
  #   @return [::Google::Protobuf::Map{::String => ::Integer}]
  class Frequency
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::Integer]
    class ValuesEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#histogram::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram

Returns Note: The following fields are mutually exclusive: histogram, count, sum, frequency. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3093

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

  # The result of a count aggregation.
  # @!attribute [rw] value
  #   @return [::Integer]
  class Count
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a sum aggregation.
  # @!attribute [rw] value
  #   @return [::Float]
  class Sum
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a bucketed histogram aggregation.
  # @!attribute [rw] buckets
  #   @return [::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>]
  #     Buckets in the histogram.
  #     There will be `n+1` buckets matching `n` lower bounds in the request.
  #     The first bucket will be from -infinity to the first bound.
  #     Subsequent buckets will be between one bound and the next.
  #     The final bucket will be from the final bound to infinity.
  class Histogram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A histogram bucket with a lower and upper bound, and a count of items
    # with a field value between those bounds.
    # The lower bound is inclusive and the upper bound is exclusive.
    # Lower bound may be -infinity and upper bound may be infinity.
    # @!attribute [rw] lower_bound
    #   @return [::Float]
    #     Lower bound - inclusive.
    # @!attribute [rw] upper_bound
    #   @return [::Float]
    #     Upper bound - exclusive.
    # @!attribute [rw] count
    #   @return [::Integer]
    #     Count of items in the bucket.
    class Bucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The result of a frequency distribution aggregation.
  # @!attribute [rw] values
  #   @return [::Google::Protobuf::Map{::String => ::Integer}]
  class Frequency
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::Integer]
    class ValuesEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#sum::Google::Cloud::MigrationCenter::V1::AggregationResult::Sum

Returns Note: The following fields are mutually exclusive: sum, count, histogram, frequency. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3093

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

  # The result of a count aggregation.
  # @!attribute [rw] value
  #   @return [::Integer]
  class Count
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a sum aggregation.
  # @!attribute [rw] value
  #   @return [::Float]
  class Sum
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The result of a bucketed histogram aggregation.
  # @!attribute [rw] buckets
  #   @return [::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>]
  #     Buckets in the histogram.
  #     There will be `n+1` buckets matching `n` lower bounds in the request.
  #     The first bucket will be from -infinity to the first bound.
  #     Subsequent buckets will be between one bound and the next.
  #     The final bucket will be from the final bound to infinity.
  class Histogram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # A histogram bucket with a lower and upper bound, and a count of items
    # with a field value between those bounds.
    # The lower bound is inclusive and the upper bound is exclusive.
    # Lower bound may be -infinity and upper bound may be infinity.
    # @!attribute [rw] lower_bound
    #   @return [::Float]
    #     Lower bound - inclusive.
    # @!attribute [rw] upper_bound
    #   @return [::Float]
    #     Upper bound - exclusive.
    # @!attribute [rw] count
    #   @return [::Integer]
    #     Count of items in the bucket.
    class Bucket
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # The result of a frequency distribution aggregation.
  # @!attribute [rw] values
  #   @return [::Google::Protobuf::Map{::String => ::Integer}]
  class Frequency
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # @!attribute [rw] key
    #   @return [::String]
    # @!attribute [rw] value
    #   @return [::Integer]
    class ValuesEntry
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end