# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/servicehealth/v1/event_resources.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n3google/cloud/servicehealth/v1/event_resources.proto\x12\x1dgoogle.cloud.servicehealth.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x0b\n\x05\x45vent\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12I\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32\x32.google.cloud.servicehealth.v1.Event.EventCategoryB\x03\xe0\x41\x03\x12U\n\x11\x64\x65tailed_category\x18\x15 \x01(\x0e\x32\x35.google.cloud.servicehealth.v1.Event.DetailedCategoryB\x03\xe0\x41\x03\x12>\n\x05state\x18\x05 \x01(\x0e\x32*.google.cloud.servicehealth.v1.Event.StateB\x03\xe0\x41\x03\x12O\n\x0e\x64\x65tailed_state\x18\x13 \x01(\x0e\x32\x32.google.cloud.servicehealth.v1.Event.DetailedStateB\x03\xe0\x41\x03\x12\x41\n\revent_impacts\x18\x14 \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventImpact\x12\x46\n\trelevance\x18\x08 \x01(\x0e\x32..google.cloud.servicehealth.v1.Event.RelevanceB\x03\xe0\x41\x03\x12@\n\x07updates\x18\t \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventUpdateB\x03\xe0\x41\x03\x12\x19\n\x0cparent_event\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10next_update_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"=\n\rEventCategory\x12\x1e\n\x1a\x45VENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INCIDENT\x10\x02\"d\n\x10\x44\x65tailedCategory\x12!\n\x1d\x44\x45TAILED_CATEGORY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONFIRMED_INCIDENT\x10\x01\x12\x15\n\x11\x45MERGING_INCIDENT\x10\x02\"6\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"\x8b\x01\n\rDetailedState\x12\x1e\n\x1a\x44\x45TAILED_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45MERGING\x10\x01\x12\r\n\tCONFIRMED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\n\n\x06MERGED\x10\x04\x12\x0f\n\x0b\x41UTO_CLOSED\x10\t\x12\x12\n\x0e\x46\x41LSE_POSITIVE\x10\n\"w\n\tRelevance\x12\x19\n\x15RELEVANCE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x10\n\x0cNOT_IMPACTED\x10\x06\x12\x15\n\x11PARTIALLY_RELATED\x10\x07\x12\x0b\n\x07RELATED\x10\x08\x12\x0c\n\x08IMPACTED\x10\t:n\xea\x41k\n\"servicehealth.googleapis.com/Event\x12\x36projects/{project}/locations/{location}/events/{event}*\x06\x65vents2\x05\x65vent\"\xcf\n\n\x11OrganizationEvent\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12U\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32>.google.cloud.servicehealth.v1.OrganizationEvent.EventCategoryB\x03\xe0\x41\x03\x12\x61\n\x11\x64\x65tailed_category\x18\x11 \x01(\x0e\x32\x41.google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategoryB\x03\xe0\x41\x03\x12J\n\x05state\x18\x05 \x01(\x0e\x32\x36.google.cloud.servicehealth.v1.OrganizationEvent.StateB\x03\xe0\x41\x03\x12[\n\x0e\x64\x65tailed_state\x18\x10 \x01(\x0e\x32>.google.cloud.servicehealth.v1.OrganizationEvent.DetailedStateB\x03\xe0\x41\x03\x12\x46\n\revent_impacts\x18\x0f \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventImpactB\x03\xe0\x41\x03\x12@\n\x07updates\x18\x08 \x03(\x0b\x32*.google.cloud.servicehealth.v1.EventUpdateB\x03\xe0\x41\x03\x12\x19\n\x0cparent_event\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x39\n\x10next_update_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"=\n\rEventCategory\x12\x1e\n\x1a\x45VENT_CATEGORY_UNSPECIFIED\x10\x00\x12\x0c\n\x08INCIDENT\x10\x02\"d\n\x10\x44\x65tailedCategory\x12!\n\x1d\x44\x45TAILED_CATEGORY_UNSPECIFIED\x10\x00\x12\x16\n\x12\x43ONFIRMED_INCIDENT\x10\x01\x12\x15\n\x11\x45MERGING_INCIDENT\x10\x02\"6\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x43LOSED\x10\x02\"\x8b\x01\n\rDetailedState\x12\x1e\n\x1a\x44\x45TAILED_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45MERGING\x10\x01\x12\r\n\tCONFIRMED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\n\n\x06MERGED\x10\x04\x12\x0f\n\x0b\x41UTO_CLOSED\x10\t\x12\x12\n\x0e\x46\x41LSE_POSITIVE\x10\n:\xa9\x01\xea\x41\xa5\x01\n.servicehealth.googleapis.com/OrganizationEvent\x12Lorganizations/{organization}/locations/{location}/organizationEvents/{event}*\x12organizationEvents2\x11organizationEvent\"\xa0\x01\n\x0b\x45ventUpdate\x12\x34\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x12\n\x05title\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07symptom\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nworkaround\x18\x05 \x01(\tB\x03\xe0\x41\x03\"!\n\x08Location\x12\x15\n\rlocation_name\x18\x01 \x01(\t\"+\n\x07Product\x12\x14\n\x0cproduct_name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\"\x81\x01\n\x0b\x45ventImpact\x12\x37\n\x07product\x18\x01 \x01(\x0b\x32&.google.cloud.servicehealth.v1.Product\x12\x39\n\x08location\x18\x02 \x01(\x0b\x32\'.google.cloud.servicehealth.v1.Location\"\x94\x03\n\x12OrganizationImpact\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12:\n\x06\x65vents\x18\x02 \x03(\tB*\xe0\x41\x03\xfa\x41$\n\"servicehealth.googleapis.com/Event\x12\x38\n\x05\x61sset\x18\x03 \x01(\x0b\x32$.google.cloud.servicehealth.v1.AssetB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\xbb\x01\xea\x41\xb7\x01\n/servicehealth.googleapis.com/OrganizationImpact\x12[organizations/{organization}/locations/{location}/organizationImpacts/{organization_impact}*\x13organizationImpacts2\x12organizationImpact\"9\n\x05\x41sset\x12\x17\n\nasset_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nasset_type\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xd2\x01\n\x11ListEventsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"servicehealth.googleapis.com/Event\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12;\n\x04view\x18\x06 \x01(\x0e\x32(.google.cloud.servicehealth.v1.EventViewB\x03\xe0\x41\x01\"\x87\x01\n\x12ListEventsResponse\x12\x39\n\x06\x65vents\x18\x01 \x03(\x0b\x32$.google.cloud.servicehealth.v1.EventB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x03\"K\n\x0fGetEventRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"servicehealth.googleapis.com/Event\"\xf6\x01\n\x1dListOrganizationEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.servicehealth.googleapis.com/OrganizationEvent\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12G\n\x04view\x18\x06 \x01(\x0e\x32\x34.google.cloud.servicehealth.v1.OrganizationEventViewB\x03\xe0\x41\x01\"\xac\x01\n\x1eListOrganizationEventsResponse\x12R\n\x13organization_events\x18\x01 \x03(\x0b\x32\x30.google.cloud.servicehealth.v1.OrganizationEventB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x03\"c\n\x1bGetOrganizationEventRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.servicehealth.googleapis.com/OrganizationEvent\"\xaf\x01\n\x1eListOrganizationImpactsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\x12/servicehealth.googleapis.com/OrganizationImpact\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xaf\x01\n\x1fListOrganizationImpactsResponse\x12T\n\x14organization_impacts\x18\x01 \x03(\x0b\x32\x31.google.cloud.servicehealth.v1.OrganizationImpactB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x03\"e\n\x1cGetOrganizationImpactRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/servicehealth.googleapis.com/OrganizationImpact*R\n\tEventView\x12\x1a\n\x16\x45VENT_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45VENT_VIEW_BASIC\x10\x01\x12\x13\n\x0f\x45VENT_VIEW_FULL\x10\x02*\x85\x01\n\x15OrganizationEventView\x12\'\n#ORGANIZATION_EVENT_VIEW_UNSPECIFIED\x10\x00\x12!\n\x1dORGANIZATION_EVENT_VIEW_BASIC\x10\x01\x12 \n\x1cORGANIZATION_EVENT_VIEW_FULL\x10\x02\x42\xcf\x02\n!com.google.cloud.servicehealth.v1B\x13\x45ventResourcesProtoP\x01ZGcloud.google.com/go/servicehealth/apiv1/servicehealthpb;servicehealthpb\xaa\x02\x1dGoogle.Cloud.ServiceHealth.V1\xca\x02\x1dGoogle\\Cloud\\ServiceHealth\\V1\xea\x02 Google::Cloud::ServiceHealth::V1\xea\x41\x66\n1servicehealth.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module ServiceHealth
      module V1
        Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event").msgclass
        Event::EventCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.EventCategory").enummodule
        Event::DetailedCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.DetailedCategory").enummodule
        Event::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.State").enummodule
        Event::DetailedState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.DetailedState").enummodule
        Event::Relevance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Event.Relevance").enummodule
        OrganizationEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent").msgclass
        OrganizationEvent::EventCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.EventCategory").enummodule
        OrganizationEvent::DetailedCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.DetailedCategory").enummodule
        OrganizationEvent::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.State").enummodule
        OrganizationEvent::DetailedState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEvent.DetailedState").enummodule
        EventUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventUpdate").msgclass
        Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Location").msgclass
        Product = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Product").msgclass
        EventImpact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventImpact").msgclass
        OrganizationImpact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationImpact").msgclass
        Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.Asset").msgclass
        ListEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListEventsRequest").msgclass
        ListEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListEventsResponse").msgclass
        GetEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetEventRequest").msgclass
        ListOrganizationEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationEventsRequest").msgclass
        ListOrganizationEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationEventsResponse").msgclass
        GetOrganizationEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetOrganizationEventRequest").msgclass
        ListOrganizationImpactsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationImpactsRequest").msgclass
        ListOrganizationImpactsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.ListOrganizationImpactsResponse").msgclass
        GetOrganizationImpactRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.GetOrganizationImpactRequest").msgclass
        EventView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.EventView").enummodule
        OrganizationEventView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicehealth.v1.OrganizationEventView").enummodule
      end
    end
  end
end
