# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/ids/v1/ids.proto

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/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/ids/v1/ids.proto", :syntax => :proto3) do
    add_message "google.cloud.ids.v1.Endpoint" do
      optional :name, :string, 1
      optional :create_time, :message, 2, "google.protobuf.Timestamp"
      optional :update_time, :message, 3, "google.protobuf.Timestamp"
      map :labels, :string, :string, 4
      optional :network, :string, 5
      optional :endpoint_forwarding_rule, :string, 6
      optional :endpoint_ip, :string, 7
      optional :description, :string, 8
      optional :severity, :enum, 9, "google.cloud.ids.v1.Endpoint.Severity"
      optional :state, :enum, 12, "google.cloud.ids.v1.Endpoint.State"
      optional :traffic_logs, :bool, 13
    end
    add_enum "google.cloud.ids.v1.Endpoint.Severity" do
      value :SEVERITY_UNSPECIFIED, 0
      value :INFORMATIONAL, 1
      value :LOW, 2
      value :MEDIUM, 3
      value :HIGH, 4
      value :CRITICAL, 5
    end
    add_enum "google.cloud.ids.v1.Endpoint.State" do
      value :STATE_UNSPECIFIED, 0
      value :CREATING, 1
      value :READY, 2
      value :DELETING, 3
    end
    add_message "google.cloud.ids.v1.ListEndpointsRequest" do
      optional :parent, :string, 1
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
      optional :filter, :string, 4
      optional :order_by, :string, 5
    end
    add_message "google.cloud.ids.v1.ListEndpointsResponse" do
      repeated :endpoints, :message, 1, "google.cloud.ids.v1.Endpoint"
      optional :next_page_token, :string, 2
      repeated :unreachable, :string, 3
    end
    add_message "google.cloud.ids.v1.GetEndpointRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.ids.v1.CreateEndpointRequest" do
      optional :parent, :string, 1
      optional :endpoint_id, :string, 2
      optional :endpoint, :message, 3, "google.cloud.ids.v1.Endpoint"
      optional :request_id, :string, 4
    end
    add_message "google.cloud.ids.v1.DeleteEndpointRequest" do
      optional :name, :string, 1
      optional :request_id, :string, 2
    end
    add_message "google.cloud.ids.v1.OperationMetadata" do
      optional :create_time, :message, 1, "google.protobuf.Timestamp"
      optional :end_time, :message, 2, "google.protobuf.Timestamp"
      optional :target, :string, 3
      optional :verb, :string, 4
      optional :status_message, :string, 5
      optional :requested_cancellation, :bool, 6
      optional :api_version, :string, 7
    end
  end
end

module Google
  module Cloud
    module IDS
      module V1
        Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.Endpoint").msgclass
        Endpoint::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.Endpoint.Severity").enummodule
        Endpoint::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.Endpoint.State").enummodule
        ListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.ListEndpointsRequest").msgclass
        ListEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.ListEndpointsResponse").msgclass
        GetEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.GetEndpointRequest").msgclass
        CreateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.CreateEndpointRequest").msgclass
        DeleteEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.DeleteEndpointRequest").msgclass
        OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.ids.v1.OperationMetadata").msgclass
      end
    end
  end
end
