# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/monitoring/metricsscope/v1/metrics_scopes.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/longrunning/operations_pb'
require 'google/monitoring/metricsscope/v1/metrics_scope_pb'
require 'google/protobuf/timestamp_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/monitoring/metricsscope/v1/metrics_scopes.proto", :syntax => :proto3) do
    add_message "google.monitoring.metricsscope.v1.GetMetricsScopeRequest" do
      optional :name, :string, 1
    end
    add_message "google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest" do
      optional :monitored_resource_container, :string, 1
    end
    add_message "google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse" do
      repeated :metrics_scopes, :message, 1, "google.monitoring.metricsscope.v1.MetricsScope"
    end
    add_message "google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest" do
      optional :parent, :string, 1
      optional :monitored_project, :message, 2, "google.monitoring.metricsscope.v1.MonitoredProject"
    end
    add_message "google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest" do
      optional :name, :string, 1
    end
    add_message "google.monitoring.metricsscope.v1.OperationMetadata" do
      optional :state, :enum, 1, "google.monitoring.metricsscope.v1.OperationMetadata.State"
      optional :create_time, :message, 5, "google.protobuf.Timestamp"
      optional :update_time, :message, 6, "google.protobuf.Timestamp"
    end
    add_enum "google.monitoring.metricsscope.v1.OperationMetadata.State" do
      value :STATE_UNSPECIFIED, 0
      value :CREATED, 1
      value :RUNNING, 2
      value :DONE, 3
      value :CANCELLED, 4
    end
  end
end

module Google
  module Cloud
    module Monitoring
      module MetricsScope
        module V1
          GetMetricsScopeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.GetMetricsScopeRequest").msgclass
          ListMetricsScopesByMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectRequest").msgclass
          ListMetricsScopesByMonitoredProjectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.ListMetricsScopesByMonitoredProjectResponse").msgclass
          CreateMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.CreateMonitoredProjectRequest").msgclass
          DeleteMonitoredProjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.DeleteMonitoredProjectRequest").msgclass
          OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.OperationMetadata").msgclass
          OperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.metricsscope.v1.OperationMetadata.State").enummodule
        end
      end
    end
  end
end
