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

require 'google/protobuf'

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


descriptor_data = "\n+google/cloud/edgenetwork/v1/resources.proto\x12\x1bgoogle.cloud.edgenetwork.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x02\n\x04Zone\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Zone.LabelsEntryB\x02\x18\x01\x12\x17\n\x0blayout_name\x18\x05 \x01(\tB\x02\x18\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:Z\xea\x41W\n\x1f\x65\x64genetwork.googleapis.com/Zone\x12\x34projects/{project}/locations/{location}/zones/{zone}\"\x92\x03\n\x07Network\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x06labels\x18\x04 \x03(\x0b\x32\x30.google.cloud.edgenetwork.v1.Network.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x0b\n\x03mtu\x18\x06 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:p\xea\x41m\n\"edgenetwork.googleapis.com/Network\x12Gprojects/{project}/locations/{location}/zones/{zone}/networks/{network}\"\xce\x05\n\x06Subnet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Subnet.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x11\n\tipv4_cidr\x18\x07 \x03(\t\x12\x11\n\tipv6_cidr\x18\x08 \x03(\t\x12\x14\n\x07vlan_id\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x0c\x62onding_type\x18\x0b \x01(\x0e\x32/.google.cloud.edgenetwork.v1.Subnet.BondingTypeB\x03\xe0\x41\x01\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"G\n\x0b\x42ondingType\x12\x1c\n\x18\x42ONDING_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42ONDED\x10\x01\x12\x0e\n\nNON_BONDED\x10\x02:m\xea\x41j\n!edgenetwork.googleapis.com/Subnet\x12\x45projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}\"\x99\x05\n\x0cInterconnect\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.edgenetwork.v1.Interconnect.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x11interconnect_type\x18\x06 \x01(\x0e\x32:.google.cloud.edgenetwork.v1.Interconnect.InterconnectTypeB\x03\xe0\x41\x01\x12\x11\n\x04uuid\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x64\x65vice_cloud_resource_name\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0ephysical_ports\x18\t \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"D\n\x10InterconnectType\x12!\n\x1dINTERCONNECT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tDEDICATED\x10\x01:\x7f\xea\x41|\n\'edgenetwork.googleapis.com/Interconnect\x12Qprojects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}\"\xba\x05\n\x16InterconnectAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectAttachment.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x0cinterconnect\x18\x06 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'edgenetwork.googleapis.com/Interconnect\x12;\n\x07network\x18\x0b \x01(\tB*\xe0\x41\x01\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12\x14\n\x07vlan_id\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0b\n\x03mtu\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n1edgenetwork.googleapis.com/InterconnectAttachment\x12\x66projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}\"\xf0\x08\n\x06Router\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.edgenetwork.v1.Router.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12;\n\x07network\x18\x06 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12@\n\tinterface\x18\x07 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.Router.Interface\x12=\n\x08\x62gp_peer\x18\x08 \x03(\x0b\x32+.google.cloud.edgenetwork.v1.Router.BgpPeer\x12\x34\n\x03\x62gp\x18\t \x01(\x0b\x32\'.google.cloud.edgenetwork.v1.Router.Bgp\x12>\n\x05state\x18\n \x01(\x0e\x32*.google.cloud.edgenetwork.v1.ResourceStateB\x03\xe0\x41\x03\x12!\n\x14route_advertisements\x18\x0b \x03(\tB\x03\xe0\x41\x01\x1a\x9a\x01\n\tInterface\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tipv4_cidr\x18\x03 \x01(\t\x12\x11\n\tipv6_cidr\x18\x06 \x01(\t\x12&\n\x1elinked_interconnect_attachment\x18\x02 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x1d\n\x15loopback_ip_addresses\x18\x05 \x03(\t\x1a\xbe\x01\n\x07\x42gpPeer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tinterface\x18\x02 \x01(\t\x12\x1b\n\x13interface_ipv4_cidr\x18\x03 \x01(\t\x12\x1b\n\x13interface_ipv6_cidr\x18\x07 \x01(\t\x12\x16\n\x0epeer_ipv4_cidr\x18\x04 \x01(\t\x12\x16\n\x0epeer_ipv6_cidr\x18\x06 \x01(\t\x12\x10\n\x08peer_asn\x18\x05 \x01(\r\x12\x16\n\tlocal_asn\x18\x08 \x01(\rB\x03\xe0\x41\x03\x1a\x39\n\x03\x42gp\x12\x0b\n\x03\x61sn\x18\x01 \x01(\r\x12%\n\x1dkeepalive_interval_in_seconds\x18\x02 \x01(\r\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:m\xea\x41j\n!edgenetwork.googleapis.com/Router\x12\x45projects/{project}/locations/{location}/zones/{zone}/routers/{router}\";\n\x10LinkLayerAddress\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\"~\n\x0cSubnetStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bmac_address\x18\x02 \x01(\t\x12K\n\x14link_layer_addresses\x18\x03 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\"\xf1\x08\n\x17InterconnectDiagnostics\x12\x13\n\x0bmac_address\x18\x01 \x01(\t\x12K\n\x14link_layer_addresses\x18\x02 \x03(\x0b\x32-.google.cloud.edgenetwork.v1.LinkLayerAddress\x12N\n\x05links\x18\x03 \x03(\x0b\x32?.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus\x1a\xb0\x02\n\nLinkStatus\x12\x12\n\ncircuit_id\x18\x01 \x01(\t\x12X\n\x0blacp_status\x18\x02 \x01(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus\x12Z\n\rlldp_statuses\x18\x03 \x03(\x0b\x32\x43.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus\x12X\n\rpacket_counts\x18\x04 \x01(\x0b\x32\x41.google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts\x1a\xa7\x01\n\x0cPacketCounts\x12\x17\n\x0finbound_unicast\x18\x01 \x01(\x03\x12\x16\n\x0einbound_errors\x18\x02 \x01(\x03\x12\x18\n\x10inbound_discards\x18\x03 \x01(\x03\x12\x18\n\x10outbound_unicast\x18\x04 \x01(\x03\x12\x17\n\x0foutbound_errors\x18\x05 \x01(\x03\x12\x19\n\x11outbound_discards\x18\x06 \x01(\x03\x1a\x90\x02\n\x0eLinkLACPStatus\x12X\n\x05state\x18\x01 \x01(\x0e\x32I.google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State\x12\x18\n\x10google_system_id\x18\x02 \x01(\t\x12\x1a\n\x12neighbor_system_id\x18\x03 \x01(\t\x12\x14\n\x0c\x61ggregatable\x18\x04 \x01(\x08\x12\x12\n\ncollecting\x18\x05 \x01(\x08\x12\x14\n\x0c\x64istributing\x18\x06 \x01(\x08\".\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x44\x45TACHED\x10\x02\x1a\xb3\x01\n\x0eLinkLLDPStatus\x12\x18\n\x10peer_system_name\x18\x01 \x01(\t\x12\x1f\n\x17peer_system_description\x18\x02 \x01(\t\x12\x17\n\x0fpeer_chassis_id\x18\x03 \x01(\t\x12\x1c\n\x14peer_chassis_id_type\x18\x04 \x01(\t\x12\x14\n\x0cpeer_port_id\x18\x05 \x01(\t\x12\x19\n\x11peer_port_id_type\x18\x06 \x01(\t\"\xea\x04\n\x0cRouterStatus\x12\x38\n\x07network\x18\x01 \x01(\tB\'\xfa\x41$\n\"edgenetwork.googleapis.com/Network\x12P\n\x0f\x62gp_peer_status\x18\x02 \x03(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus\x1a\xd1\x02\n\rBgpPeerStatus\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x17\n\x0fpeer_ip_address\x18\x03 \x01(\t\x12Q\n\x06status\x18\x04 \x01(\x0e\x32\x41.google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus\x12\r\n\x05state\x18\x05 \x01(\t\x12\x0e\n\x06uptime\x18\x06 \x01(\t\x12\x16\n\x0euptime_seconds\x18\x07 \x01(\x03\x12O\n\x0eprefix_counter\x18\x08 \x01(\x0b\x32\x37.google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter\"*\n\tBgpStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02\x1az\n\rPrefixCounter\x12\x12\n\nadvertised\x18\x01 \x01(\x03\x12\x0e\n\x06\x64\x65nied\x18\x02 \x01(\x03\x12\x10\n\x08received\x18\x03 \x01(\x03\x12\x0c\n\x04sent\x18\x04 \x01(\x03\x12\x12\n\nsuppressed\x18\x05 \x01(\x03\x12\x11\n\twithdrawn\x18\x06 \x01(\x03*\x89\x01\n\rResourceState\x12\x11\n\rSTATE_UNKNOWN\x10\x00\x12\x11\n\rSTATE_PENDING\x10\x01\x12\x16\n\x12STATE_PROVISIONING\x10\x02\x12\x11\n\rSTATE_RUNNING\x10\x03\x12\x13\n\x0fSTATE_SUSPENDED\x10\x04\x12\x12\n\x0eSTATE_DELETING\x10\x05\x42\xd3\x01\n\x1f\x63om.google.cloud.edgenetwork.v1B\x0eResourcesProtoP\x01ZAcloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb\xaa\x02\x1bGoogle.Cloud.EdgeNetwork.V1\xca\x02\x1bGoogle\\Cloud\\EdgeNetwork\\V1\xea\x02\x1eGoogle::Cloud::EdgeNetwork::V1b\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 EdgeNetwork
      module V1
        Zone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Zone").msgclass
        Network = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Network").msgclass
        Subnet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Subnet").msgclass
        Subnet::BondingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Subnet.BondingType").enummodule
        Interconnect = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect").msgclass
        Interconnect::InterconnectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Interconnect.InterconnectType").enummodule
        InterconnectAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectAttachment").msgclass
        Router = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router").msgclass
        Router::Interface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.Interface").msgclass
        Router::BgpPeer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.BgpPeer").msgclass
        Router::Bgp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.Router.Bgp").msgclass
        LinkLayerAddress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.LinkLayerAddress").msgclass
        SubnetStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.SubnetStatus").msgclass
        InterconnectDiagnostics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics").msgclass
        InterconnectDiagnostics::LinkStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkStatus").msgclass
        InterconnectDiagnostics::PacketCounts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.PacketCounts").msgclass
        InterconnectDiagnostics::LinkLACPStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus").msgclass
        InterconnectDiagnostics::LinkLACPStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLACPStatus.State").enummodule
        InterconnectDiagnostics::LinkLLDPStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.InterconnectDiagnostics.LinkLLDPStatus").msgclass
        RouterStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus").msgclass
        RouterStatus::BgpPeerStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus").msgclass
        RouterStatus::BgpPeerStatus::BgpStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.BgpPeerStatus.BgpStatus").enummodule
        RouterStatus::PrefixCounter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.RouterStatus.PrefixCounter").msgclass
        ResourceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.edgenetwork.v1.ResourceState").enummodule
      end
    end
  end
end
