# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/servicecontrol/v1/service_controller.proto require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/servicecontrol/v1/check_error_pb' require 'google/api/servicecontrol/v1/operation_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/api/servicecontrol/v1/service_controller.proto", :syntax => :proto3) do add_message "google.api.servicecontrol.v1.CheckRequest" do optional :service_name, :string, 1 optional :operation, :message, 2, "google.api.servicecontrol.v1.Operation" optional :service_config_id, :string, 4 end add_message "google.api.servicecontrol.v1.CheckResponse" do optional :operation_id, :string, 1 repeated :check_errors, :message, 2, "google.api.servicecontrol.v1.CheckError" optional :service_config_id, :string, 5 optional :service_rollout_id, :string, 11 optional :check_info, :message, 6, "google.api.servicecontrol.v1.CheckResponse.CheckInfo" end add_message "google.api.servicecontrol.v1.CheckResponse.CheckInfo" do repeated :unused_arguments, :string, 1 optional :consumer_info, :message, 2, "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo" end add_message "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo" do optional :project_number, :int64, 1 optional :type, :enum, 2, "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType" optional :consumer_number, :int64, 3 end add_enum "google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType" do value :CONSUMER_TYPE_UNSPECIFIED, 0 value :PROJECT, 1 value :FOLDER, 2 value :ORGANIZATION, 3 value :SERVICE_SPECIFIC, 4 end add_message "google.api.servicecontrol.v1.ReportRequest" do optional :service_name, :string, 1 repeated :operations, :message, 2, "google.api.servicecontrol.v1.Operation" optional :service_config_id, :string, 3 end add_message "google.api.servicecontrol.v1.ReportResponse" do repeated :report_errors, :message, 1, "google.api.servicecontrol.v1.ReportResponse.ReportError" optional :service_config_id, :string, 2 optional :service_rollout_id, :string, 4 end add_message "google.api.servicecontrol.v1.ReportResponse.ReportError" do optional :operation_id, :string, 1 optional :status, :message, 2, "google.rpc.Status" end end end module Google module Cloud module ServiceControl module V1 CheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.CheckRequest").msgclass CheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.CheckResponse").msgclass CheckResponse::CheckInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.CheckResponse.CheckInfo").msgclass CheckResponse::ConsumerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.CheckResponse.ConsumerInfo").msgclass CheckResponse::ConsumerInfo::ConsumerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType").enummodule ReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.ReportRequest").msgclass ReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.ReportResponse").msgclass ReportResponse::ReportError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicecontrol.v1.ReportResponse.ReportError").msgclass end end end end