Sha256: ec2b1b301712d3736f6a89cc806daa57933fb6d9f595dfc3b6482072cb79d473

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/servicecontrol/v1/metric_value.proto

require 'google/api/servicecontrol/v1/distribution_pb'
require 'google/protobuf/timestamp_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/api/servicecontrol/v1/metric_value.proto", :syntax => :proto3) do
    add_message "google.api.servicecontrol.v1.MetricValue" do
      map :labels, :string, :string, 1
      optional :start_time, :message, 2, "google.protobuf.Timestamp"
      optional :end_time, :message, 3, "google.protobuf.Timestamp"
      oneof :value do
        optional :bool_value, :bool, 4
        optional :int64_value, :int64, 5
        optional :double_value, :double, 6
        optional :string_value, :string, 7
        optional :distribution_value, :message, 8, "google.api.servicecontrol.v1.Distribution"
      end
    end
    add_message "google.api.servicecontrol.v1.MetricValueSet" do
      optional :metric_name, :string, 1
      repeated :metric_values, :message, 2, "google.api.servicecontrol.v1.MetricValue"
    end
  end
end

module Google
  module Cloud
    module ServiceControl
      module V1
        MetricValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.MetricValue").msgclass
        MetricValueSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.MetricValueSet").msgclass
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google-cloud-service_control-v1-0.4.6 lib/google/api/servicecontrol/v1/metric_value_pb.rb
google-cloud-service_control-v1-0.4.5 lib/google/api/servicecontrol/v1/metric_value_pb.rb
google-cloud-service_control-v1-0.4.4 lib/google/api/servicecontrol/v1/metric_value_pb.rb