45 lines
1.8 KiB
Ruby
45 lines
1.8 KiB
Ruby
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: proto/ruby_vagrant/ruby-server.proto
|
|
|
|
require 'google/protobuf'
|
|
|
|
require 'google/protobuf/empty_pb'
|
|
require 'google/protobuf/any_pb'
|
|
require 'plugin_pb'
|
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
add_file("proto/ruby_vagrant/ruby-server.proto", :syntax => :proto3) do
|
|
add_message "hashicorp.vagrant.GetPluginsResponse" do
|
|
repeated :plugins, :message, 1, "hashicorp.vagrant.Plugin"
|
|
end
|
|
add_message "hashicorp.vagrant.Plugin" do
|
|
optional :name, :string, 1
|
|
optional :type, :enum, 2, "hashicorp.vagrant.Plugin.Type"
|
|
end
|
|
add_enum "hashicorp.vagrant.Plugin.Type" do
|
|
value :COMMAND, 0
|
|
value :COMMUNICATOR, 1
|
|
value :GUEST, 2
|
|
value :HOST, 3
|
|
value :PROVIDER, 4
|
|
value :PROVISIONER, 5
|
|
value :SYNCED_FOLDER, 6
|
|
end
|
|
add_message "hashicorp.vagrant.ParseVagrantfileRequest" do
|
|
optional :path, :string, 1
|
|
end
|
|
add_message "hashicorp.vagrant.ParseVagrantfileResponse" do
|
|
optional :vagrantfile, :message, 1, "hashicorp.vagrant.sdk.Vagrantfile.Vagrantfile"
|
|
end
|
|
end
|
|
end
|
|
|
|
module Hashicorp
|
|
module Vagrant
|
|
GetPluginsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.GetPluginsResponse").msgclass
|
|
Plugin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Plugin").msgclass
|
|
Plugin::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.Plugin.Type").enummodule
|
|
ParseVagrantfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ParseVagrantfileRequest").msgclass
|
|
ParseVagrantfileResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.ParseVagrantfileResponse").msgclass
|
|
end
|
|
end
|