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

require 'google/protobuf'

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


descriptor_data = "\n3google/cloud/networkservices/v1/extensibility.proto\x12\x1fgoogle.cloud.networkservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfa\x0b\n\nWasmPlugin\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12L\n\x06labels\x18\x05 \x03(\x0b\x32\x37.google.cloud.networkservices.v1.WasmPlugin.LabelsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0fmain_version_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12N\n\nlog_config\x18\t \x01(\x0b\x32\x35.google.cloud.networkservices.v1.WasmPlugin.LogConfigB\x03\xe0\x41\x01\x12P\n\x08versions\x18\n \x03(\x0b\x32\x39.google.cloud.networkservices.v1.WasmPlugin.VersionsEntryB\x03\xe0\x41\x01\x12H\n\x07used_by\x18\x0b \x03(\x0b\x32\x32.google.cloud.networkservices.v1.WasmPlugin.UsedByB\x03\xe0\x41\x03\x1a\xcb\x03\n\x0eVersionDetails\x12\x1c\n\x12plugin_config_data\x18\t \x01(\x0cH\x00\x12\x1b\n\x11plugin_config_uri\x18\n \x01(\tH\x00\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12[\n\x06labels\x18\x04 \x03(\x0b\x32\x46.google.cloud.networkservices.v1.WasmPlugin.VersionDetails.LabelsEntryB\x03\xe0\x41\x01\x12\x16\n\timage_uri\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cimage_digest\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12!\n\x14plugin_config_digest\x18\x0b \x01(\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\x42\x16\n\x14plugin_config_source\x1a\x80\x02\n\tLogConfig\x12\x13\n\x06\x65nable\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bsample_rate\x18\x02 \x01(\x02\x42\x03\xe0\x41\x07\x12Z\n\rmin_log_level\x18\x03 \x01(\x0e\x32>.google.cloud.networkservices.v1.WasmPlugin.LogConfig.LogLevelB\x03\xe0\x41\x07\"h\n\x08LogLevel\x12\x19\n\x15LOG_LEVEL_UNSPECIFIED\x10\x00\x12\t\n\x05TRACE\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\x08\n\x04WARN\x10\x04\x12\t\n\x05\x45RROR\x10\x05\x12\x0c\n\x08\x43RITICAL\x10\x06\x1a\x1b\n\x06UsedBy\x12\x11\n\x04name\x18\x01 \x01(\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\x1ak\n\rVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12I\n\x05value\x18\x02 \x01(\x0b\x32:.google.cloud.networkservices.v1.WasmPlugin.VersionDetails:\x02\x38\x01:q\xea\x41n\n)networkservices.googleapis.com/WasmPlugin\x12\x41projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}\"\xf4\x04\n\x11WasmPluginVersion\x12\x1c\n\x12plugin_config_data\x18\x0c \x01(\x0cH\x00\x12\x1b\n\x11plugin_config_uri\x18\r \x01(\tH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12S\n\x06labels\x18\x06 \x03(\x0b\x32>.google.cloud.networkservices.v1.WasmPluginVersion.LabelsEntryB\x03\xe0\x41\x01\x12\x16\n\timage_uri\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cimage_digest\x18\t \x01(\tB\x03\xe0\x41\x03\x12!\n\x14plugin_config_digest\x18\x0e \x01(\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:\x98\x01\xea\x41\x94\x01\n0networkservices.googleapis.com/WasmPluginVersion\x12`projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}B\x16\n\x14plugin_config_source\"\x82\x01\n\x16ListWasmPluginsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)networkservices.googleapis.com/WasmPlugin\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8a\x01\n\x17ListWasmPluginsResponse\x12\x41\n\x0cwasm_plugins\x18\x01 \x03(\x0b\x32+.google.cloud.networkservices.v1.WasmPlugin\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x96\x01\n\x14GetWasmPluginRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)networkservices.googleapis.com/WasmPlugin\x12=\n\x04view\x18\x02 \x01(\x0e\x32/.google.cloud.networkservices.v1.WasmPluginView\"\xc0\x01\n\x17\x43reateWasmPluginRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)networkservices.googleapis.com/WasmPlugin\x12\x1b\n\x0ewasm_plugin_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x45\n\x0bwasm_plugin\x18\x03 \x01(\x0b\x32+.google.cloud.networkservices.v1.WasmPluginB\x03\xe0\x41\x02\"\x96\x01\n\x17UpdateWasmPluginRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x45\n\x0bwasm_plugin\x18\x02 \x01(\x0b\x32+.google.cloud.networkservices.v1.WasmPluginB\x03\xe0\x41\x02\"Z\n\x17\x44\x65leteWasmPluginRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)networkservices.googleapis.com/WasmPlugin\"\x90\x01\n\x1dListWasmPluginVersionsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30networkservices.googleapis.com/WasmPluginVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xa0\x01\n\x1eListWasmPluginVersionsResponse\x12P\n\x14wasm_plugin_versions\x18\x01 \x03(\x0b\x32\x32.google.cloud.networkservices.v1.WasmPluginVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"e\n\x1bGetWasmPluginVersionRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networkservices.googleapis.com/WasmPluginVersion\"\xe5\x01\n\x1e\x43reateWasmPluginVersionRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30networkservices.googleapis.com/WasmPluginVersion\x12#\n\x16wasm_plugin_version_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13wasm_plugin_version\x18\x03 \x01(\x0b\x32\x32.google.cloud.networkservices.v1.WasmPluginVersionB\x03\xe0\x41\x02\"h\n\x1e\x44\x65leteWasmPluginVersionRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networkservices.googleapis.com/WasmPluginVersion*i\n\x0eWasmPluginView\x12 \n\x1cWASM_PLUGIN_VIEW_UNSPECIFIED\x10\x00\x12\x1a\n\x16WASM_PLUGIN_VIEW_BASIC\x10\x01\x12\x19\n\x15WASM_PLUGIN_VIEW_FULL\x10\x02\x42\xf3\x01\n#com.google.cloud.networkservices.v1B\x12\x45xtensibilityProtoP\x01ZMcloud.google.com/go/networkservices/apiv1/networkservicespb;networkservicespb\xaa\x02\x1fGoogle.Cloud.NetworkServices.V1\xca\x02\x1fGoogle\\Cloud\\NetworkServices\\V1\xea\x02\"Google::Cloud::NetworkServices::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 NetworkServices
      module V1
        WasmPlugin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPlugin").msgclass
        WasmPlugin::VersionDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPlugin.VersionDetails").msgclass
        WasmPlugin::LogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPlugin.LogConfig").msgclass
        WasmPlugin::LogConfig::LogLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPlugin.LogConfig.LogLevel").enummodule
        WasmPlugin::UsedBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPlugin.UsedBy").msgclass
        WasmPluginVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPluginVersion").msgclass
        ListWasmPluginsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListWasmPluginsRequest").msgclass
        ListWasmPluginsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListWasmPluginsResponse").msgclass
        GetWasmPluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.GetWasmPluginRequest").msgclass
        CreateWasmPluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.CreateWasmPluginRequest").msgclass
        UpdateWasmPluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.UpdateWasmPluginRequest").msgclass
        DeleteWasmPluginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.DeleteWasmPluginRequest").msgclass
        ListWasmPluginVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListWasmPluginVersionsRequest").msgclass
        ListWasmPluginVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.ListWasmPluginVersionsResponse").msgclass
        GetWasmPluginVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.GetWasmPluginVersionRequest").msgclass
        CreateWasmPluginVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.CreateWasmPluginVersionRequest").msgclass
        DeleteWasmPluginVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.DeleteWasmPluginVersionRequest").msgclass
        WasmPluginView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networkservices.v1.WasmPluginView").enummodule
      end
    end
  end
end
