# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/networkconnectivity/v1alpha1/hub.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/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n3google/cloud/networkconnectivity/v1alpha1/hub.proto\x12)google.cloud.networkconnectivity.v1alpha1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x04\n\x03Hub\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\x06labels\x18\x04 \x03(\x0b\x32:.google.cloud.networkconnectivity.v1alpha1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12@\n\x06spokes\x18\x06 \x03(\tB0\xe0\x41\x03\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x16\n\tunique_id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\t \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\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:[\xea\x41X\n&networkconnectivity.googleapis.com/Hub\x12.projects/{project}/locations/global/hubs/{hub}\"\x9c\x06\n\x05Spoke\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12L\n\x06labels\x18\x04 \x03(\x0b\x32<.google.cloud.networkconnectivity.v1alpha1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x38\n\x03hub\x18\x06 \x01(\tB+\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x41\n\x12linked_vpn_tunnels\x18\x0c \x03(\tB%\xfa\x41\"\n compute.googleapis.com/VpnTunnel\x12[\n\x1flinked_interconnect_attachments\x18\r \x03(\tB2\xfa\x41/\n-compute.googleapis.com/InterconnectAttachment\x12m\n!linked_router_appliance_instances\x18\x0e \x03(\x0b\x32\x42.google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x05state\x18\x0f \x01(\x0e\x32\x30.google.cloud.networkconnectivity.v1alpha1.StateB\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:e\xea\x41\x62\n(networkconnectivity.googleapis.com/Spoke\x12\x36projects/{project}/locations/{location}/spokes/{spoke}\"\x95\x01\n\x0fListHubsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"~\n\x10ListHubsResponse\x12<\n\x04hubs\x18\x01 \x03(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.Hub\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\rGetHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\"\xbd\x01\n\x10\x43reateHubRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x13\n\x06hub_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x03 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x10UpdateHubRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x03hub\x18\x02 \x01(\x0b\x32..google.cloud.networkconnectivity.v1alpha1.HubB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x10\x44\x65leteHubRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networkconnectivity.googleapis.com/Hub\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x11ListSpokesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x84\x01\n\x12ListSpokesResponse\x12@\n\x06spokes\x18\x01 \x03(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x0fGetSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\"\xc5\x01\n\x12\x43reateSpokeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x15\n\x08spoke_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x03 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa9\x01\n\x12UpdateSpokeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x44\n\x05spoke\x18\x02 \x01(\x0b\x32\x30.google.cloud.networkconnectivity.v1alpha1.SpokeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x12\x44\x65leteSpokeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(networkconnectivity.googleapis.com/Spoke\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x17RouterApplianceInstance\x12=\n\x0fvirtual_machine\x18\x01 \x01(\tB$\xfa\x41!\n\x1f\x63ompute.googleapis.com/Instance\x12\x12\n\nip_address\x18\x03 \x01(\t\x12\x1d\n\x11network_interface\x18\x02 \x01(\tB\x02\x18\x01*F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x32\xad\x11\n\nHubService\x12\xc9\x01\n\x08ListHubs\x12:.google.cloud.networkconnectivity.v1alpha1.ListHubsRequest\x1a;.google.cloud.networkconnectivity.v1alpha1.ListHubsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{parent=projects/*/locations/global}/hubs\x12\xb6\x01\n\x06GetHub\x12\x38.google.cloud.networkconnectivity.v1alpha1.GetHubRequest\x1a..google.cloud.networkconnectivity.v1alpha1.Hub\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xd8\x01\n\tCreateHub\x12;.google.cloud.networkconnectivity.v1alpha1.CreateHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x11parent,hub,hub_id\x82\xd3\xe4\x93\x02:\"3/v1alpha1/{parent=projects/*/locations/global}/hubs:\x03hub\x12\xda\x01\n\tUpdateHub\x12;.google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest\x1a\x1d.google.longrunning.Operation\"q\xca\x41\x18\n\x03Hub\x12\x11OperationMetadata\xda\x41\x0fhub,update_mask\x82\xd3\xe4\x93\x02>27/v1alpha1/{hub.name=projects/*/locations/global/hubs/*}:\x03hub\x12\xd8\x01\n\tDeleteHub\x12;.google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest\x1a\x1d.google.longrunning.Operation\"o\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1alpha1/{name=projects/*/locations/global/hubs/*}\x12\xcc\x01\n\nListSpokes\x12<.google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest\x1a=.google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{parent=projects/*/locations/*}/spokes\x12\xb9\x01\n\x08GetSpoke\x12:.google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest\x1a\x30.google.cloud.networkconnectivity.v1alpha1.Spoke\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1alpha1/{name=projects/*/locations/*/spokes/*}\x12\xe1\x01\n\x0b\x43reateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x15parent,spoke,spoke_id\x82\xd3\xe4\x93\x02\x39\"0/v1alpha1/{parent=projects/*/locations/*}/spokes:\x05spoke\x12\xe3\x01\n\x0bUpdateSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest\x1a\x1d.google.longrunning.Operation\"v\xca\x41\x1a\n\x05Spoke\x12\x11OperationMetadata\xda\x41\x11spoke,update_mask\x82\xd3\xe4\x93\x02?26/v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}:\x05spoke\x12\xd9\x01\n\x0b\x44\x65leteSpoke\x12=.google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1alpha1/{name=projects/*/locations/*/spokes/*}\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x04\n-com.google.cloud.networkconnectivity.v1alpha1B\x08HubProtoP\x01Z_cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb\xaa\x02)Google.Cloud.NetworkConnectivity.V1Alpha1\xca\x02)Google\\Cloud\\NetworkConnectivity\\V1alpha1\xea\x02,Google::Cloud::NetworkConnectivity::V1alpha1\xea\x41`\n compute.googleapis.com/VpnTunnel\x12<projects/{project}/regions/{region}/vpnTunnels/{resource_id}\xea\x41z\n-compute.googleapis.com/InterconnectAttachment\x12Iprojects/{project}/regions/{region}/interconnectAttachments/{resource_id}\xea\x41W\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}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"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.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 NetworkConnectivity
      module V1alpha1
        Hub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.Hub").msgclass
        Spoke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.Spoke").msgclass
        ListHubsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListHubsRequest").msgclass
        ListHubsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListHubsResponse").msgclass
        GetHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.GetHubRequest").msgclass
        CreateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.CreateHubRequest").msgclass
        UpdateHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.UpdateHubRequest").msgclass
        DeleteHubRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.DeleteHubRequest").msgclass
        ListSpokesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListSpokesRequest").msgclass
        ListSpokesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.ListSpokesResponse").msgclass
        GetSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.GetSpokeRequest").msgclass
        CreateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.CreateSpokeRequest").msgclass
        UpdateSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.UpdateSpokeRequest").msgclass
        DeleteSpokeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.DeleteSpokeRequest").msgclass
        RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance").msgclass
        State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1alpha1.State").enummodule
      end
    end
  end
end
