diff --git a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb index 521db7b74..d1a54341f 100644 --- a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_pb.rb @@ -848,9 +848,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do add_message "hashicorp.vagrant.sdk.Box.MachinesResponse" do repeated :machines, :message, 1, "hashicorp.vagrant.sdk.Args.Target.Machine" end - add_message "hashicorp.vagrant.sdk.Box.MetadataResponse" do - optional :metadata, :message, 1, "hashicorp.vagrant.sdk.Args.Hash" - end add_message "hashicorp.vagrant.sdk.Box.BoxMetadataResponse" do optional :metadata, :message, 1, "hashicorp.vagrant.sdk.Args.Hash" end @@ -892,6 +889,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do end add_message "hashicorp.vagrant.sdk.BoxMetadata" do end + add_message "hashicorp.vagrant.sdk.BoxMetadata.LoadMetadataRequest" do + optional :url, :string, 1 + end add_message "hashicorp.vagrant.sdk.BoxMetadata.BoxMetadataOpts" do optional :name, :string, 1 optional :url, :string, 2 @@ -1151,7 +1151,6 @@ module Hashicorp Box::HasUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.HasUpdateResponse").msgclass Box::InUseResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.InUseResponse").msgclass Box::MachinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.MachinesResponse").msgclass - Box::MetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.MetadataResponse").msgclass Box::BoxMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.BoxMetadataResponse").msgclass Box::MetadataUrlResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.MetadataUrlResponse").msgclass Box::NameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Box.NameResponse").msgclass @@ -1164,6 +1163,7 @@ module Hashicorp BoxCollection::CleanRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxCollection.CleanRequest").msgclass BoxCollection::FindRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxCollection.FindRequest").msgclass BoxMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxMetadata").msgclass + BoxMetadata::LoadMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxMetadata.LoadMetadataRequest").msgclass BoxMetadata::BoxMetadataOpts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxMetadata.BoxMetadataOpts").msgclass BoxMetadata::NameResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxMetadata.NameResponse").msgclass BoxMetadata::VersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.BoxMetadata.VersionRequest").msgclass diff --git a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb index 384c33ad8..1dfd8e404 100644 --- a/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb +++ b/lib/vagrant/protobufs/proto/vagrant_plugin_sdk/plugin_services_pb.rb @@ -550,7 +550,7 @@ module Hashicorp rpc :Machines, ::Hashicorp::Vagrant::Sdk::Args::TargetIndex, ::Hashicorp::Vagrant::Sdk::Box::MachinesResponse rpc :Repackage, ::Hashicorp::Vagrant::Sdk::Args::Path, ::Google::Protobuf::Empty rpc :Directory, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::Path - rpc :Metadata, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Box::MetadataResponse + rpc :Metadata, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Args::BoxMetadata rpc :BoxMetadata, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Box::BoxMetadataResponse rpc :MetadataURL, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Box::MetadataUrlResponse rpc :Name, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Box::NameResponse @@ -594,12 +594,11 @@ module Hashicorp self.service_name = 'hashicorp.vagrant.sdk.BoxMetadataService' rpc :Name, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::BoxMetadata::NameResponse + rpc :LoadMetadata, ::Hashicorp::Vagrant::Sdk::BoxMetadata::LoadMetadataRequest, ::Google::Protobuf::Empty rpc :Version, ::Hashicorp::Vagrant::Sdk::BoxMetadata::VersionRequest, ::Hashicorp::Vagrant::Sdk::BoxMetadata::VersionResponse rpc :ListVersions, ::Hashicorp::Vagrant::Sdk::BoxMetadata::BoxMetadataOpts, ::Hashicorp::Vagrant::Sdk::BoxMetadata::ListVersionsResponse rpc :Provider, ::Hashicorp::Vagrant::Sdk::BoxMetadata::ProviderRequest, ::Hashicorp::Vagrant::Sdk::BoxMetadata::ProviderResponse rpc :ListProviders, ::Hashicorp::Vagrant::Sdk::BoxMetadata::ListProvidersRequest, ::Hashicorp::Vagrant::Sdk::BoxMetadata::ListProvidersResponse - rpc :Matches, ::Hashicorp::Vagrant::Sdk::BoxMetadata::MatchesRequest, ::Hashicorp::Vagrant::Sdk::BoxMetadata::MatchesResponse - rpc :MatchesAny, ::Hashicorp::Vagrant::Sdk::BoxMetadata::MatchesAnyRequest, ::Hashicorp::Vagrant::Sdk::BoxMetadata::MatchesResponse end Stub = Service.rpc_stub_class