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


descriptor_data = "\n8google/cloud/networkconnectivity/v1/internal_range.proto\x12#google.cloud.networkconnectivity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/networkconnectivity/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\r\n\rInternalRange\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x12N\n\x06labels\x18\x04 \x03(\x0b\x32>.google.cloud.networkconnectivity.v1.InternalRange.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rip_cidr_range\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07network\x18\x07 \x01(\tB\x03\xe0\x41\x05\x12L\n\x05usage\x18\x08 \x01(\x0e\x32\x38.google.cloud.networkconnectivity.v1.InternalRange.UsageB\x03\xe0\x41\x01\x12P\n\x07peering\x18\t \x01(\x0e\x32:.google.cloud.networkconnectivity.v1.InternalRange.PeeringB\x03\xe0\x41\x01\x12\x1a\n\rprefix_length\x18\n \x01(\x05\x42\x03\xe0\x41\x01\x12\x1e\n\x11target_cidr_range\x18\x0b \x03(\tB\x03\xe0\x41\x01\x12\x12\n\x05users\x18\x0c \x03(\tB\x03\xe0\x41\x03\x12Q\n\x08overlaps\x18\r \x03(\x0e\x32:.google.cloud.networkconnectivity.v1.InternalRange.OverlapB\x03\xe0\x41\x01\x12T\n\tmigration\x18\x0e \x01(\x0b\x32<.google.cloud.networkconnectivity.v1.InternalRange.MigrationB\x03\xe0\x41\x01\x12\x16\n\timmutable\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x65\n\x12\x61llocation_options\x18\x10 \x01(\x0b\x32\x44.google.cloud.networkconnectivity.v1.InternalRange.AllocationOptionsB\x03\xe0\x41\x01\x12 \n\x13\x65xclude_cidr_ranges\x18\x11 \x03(\tB\x03\xe0\x41\x01\x1a\x35\n\tMigration\x12\x13\n\x06source\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x06target\x18\x02 \x01(\tB\x03\xe0\x41\x05\x1a\xad\x01\n\x11\x41llocationOptions\x12g\n\x13\x61llocation_strategy\x18\x01 \x01(\x0e\x32\x45.google.cloud.networkconnectivity.v1.InternalRange.AllocationStrategyB\x03\xe0\x41\x01\x12/\n\"first_available_ranges_lookup_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x05Usage\x12\x15\n\x11USAGE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46OR_VPC\x10\x01\x12\x13\n\x0f\x45XTERNAL_TO_VPC\x10\x02\x12\x11\n\rFOR_MIGRATION\x10\x03\"N\n\x07Peering\x12\x17\n\x13PEERING_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x46OR_SELF\x10\x01\x12\x0c\n\x08\x46OR_PEER\x10\x02\x12\x0e\n\nNOT_SHARED\x10\x03\"^\n\x07Overlap\x12\x17\n\x13OVERLAP_UNSPECIFIED\x10\x00\x12\x17\n\x13OVERLAP_ROUTE_RANGE\x10\x01\x12!\n\x1dOVERLAP_EXISTING_SUBNET_RANGE\x10\x02\"\x94\x01\n\x12\x41llocationStrategy\x12#\n\x1f\x41LLOCATION_STRATEGY_UNSPECIFIED\x10\x00\x12\n\n\x06RANDOM\x10\x01\x12\x13\n\x0f\x46IRST_AVAILABLE\x10\x02\x12\x1c\n\x18RANDOM_FIRST_N_AVAILABLE\x10\x03\x12\x1a\n\x16\x46IRST_SMALLEST_FITTING\x10\x04:~\xea\x41{\n0networkconnectivity.googleapis.com/InternalRange\x12Gprojects/{project}/locations/{location}/internalRanges/{internal_range}\"\x9f\x01\n\x19ListInternalRangesRequest\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\"\x97\x01\n\x1aListInternalRangesResponse\x12K\n\x0finternal_ranges\x18\x01 \x03(\x0b\x32\x32.google.cloud.networkconnectivity.v1.InternalRange\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"a\n\x17GetInternalRangeRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networkconnectivity.googleapis.com/InternalRange\"\xf0\x01\n\x1a\x43reateInternalRangeRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30networkconnectivity.googleapis.com/InternalRange\x12\x1e\n\x11internal_range_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12O\n\x0einternal_range\x18\x03 \x01(\x0b\x32\x32.google.cloud.networkconnectivity.v1.InternalRangeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xbc\x01\n\x1aUpdateInternalRangeRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12O\n\x0einternal_range\x18\x02 \x01(\x0b\x32\x32.google.cloud.networkconnectivity.v1.InternalRangeB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"}\n\x1a\x44\x65leteInternalRangeRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networkconnectivity.googleapis.com/InternalRange\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xa7\n\n\x14InternalRangeService\x12\xda\x01\n\x12ListInternalRanges\x12>.google.cloud.networkconnectivity.v1.ListInternalRangesRequest\x1a?.google.cloud.networkconnectivity.v1.ListInternalRangesResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/internalRanges\x12\xc7\x01\n\x10GetInternalRange\x12<.google.cloud.networkconnectivity.v1.GetInternalRangeRequest\x1a\x32.google.cloud.networkconnectivity.v1.InternalRange\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/internalRanges/*}\x12\x91\x02\n\x13\x43reateInternalRange\x12?.google.cloud.networkconnectivity.v1.CreateInternalRangeRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41\"\n\rInternalRange\x12\x11OperationMetadata\xda\x41\'parent,internal_range,internal_range_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/internalRanges:\x0einternal_range\x12\x93\x02\n\x13UpdateInternalRange\x12?.google.cloud.networkconnectivity.v1.UpdateInternalRangeRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41\"\n\rInternalRange\x12\x11OperationMetadata\xda\x41\x1ainternal_range,update_mask\x82\xd3\xe4\x93\x02S2A/v1/{internal_range.name=projects/*/locations/*/internalRanges/*}:\x0einternal_range\x12\xe5\x01\n\x13\x44\x65leteInternalRange\x12?.google.cloud.networkconnectivity.v1.DeleteInternalRangeRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/internalRanges/*}\x1aV\xca\x41\"networkconnectivity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n\'com.google.cloud.networkconnectivity.v1B\x12InternalRangeProtoP\x01ZYcloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb\xaa\x02#Google.Cloud.NetworkConnectivity.V1\xca\x02#Google\\Cloud\\NetworkConnectivity\\V1\xea\x02&Google::Cloud::NetworkConnectivity::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"],
    ["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 V1
        InternalRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange").msgclass
        InternalRange::Migration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.Migration").msgclass
        InternalRange::AllocationOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.AllocationOptions").msgclass
        InternalRange::Usage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.Usage").enummodule
        InternalRange::Peering = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.Peering").enummodule
        InternalRange::Overlap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.Overlap").enummodule
        InternalRange::AllocationStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.InternalRange.AllocationStrategy").enummodule
        ListInternalRangesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListInternalRangesRequest").msgclass
        ListInternalRangesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.ListInternalRangesResponse").msgclass
        GetInternalRangeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.GetInternalRangeRequest").msgclass
        CreateInternalRangeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.CreateInternalRangeRequest").msgclass
        UpdateInternalRangeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.UpdateInternalRangeRequest").msgclass
        DeleteInternalRangeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkconnectivity.v1.DeleteInternalRangeRequest").msgclass
      end
    end
  end
end
