Update generated proto files

This commit is contained in:
Chris Roberts 2021-01-20 09:42:40 -08:00 committed by Paul Hinze
parent ae6639d301
commit 721648bc4f
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
4 changed files with 25 additions and 4 deletions

View File

@ -3,7 +3,7 @@
require 'google/protobuf'
require_relative './plugin_pb'
require 'plugin_pb'
require 'google/protobuf/any_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do

View File

@ -2,7 +2,7 @@
# Source: core.proto for package 'hashicorp.vagrant.sdk'
require 'grpc'
require_relative './core_pb'
require 'core_pb'
module Hashicorp
module Vagrant

View File

@ -6,7 +6,7 @@ require 'google/protobuf'
require 'google/protobuf/any_pb'
require 'google/protobuf/empty_pb'
require 'google/rpc/status_pb'
require_relative './protostructure_pb'
require 'protostructure_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("plugin.proto", :syntax => :proto3) do
add_message "hashicorp.vagrant.sdk.Args" do
@ -249,6 +249,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :template_data, :bytes, 3
optional :success, :bool, 4
end
add_message "hashicorp.vagrant.sdk.Command" do
end
add_message "hashicorp.vagrant.sdk.Command.HelpResp" do
optional :help, :string, 1
end
add_message "hashicorp.vagrant.sdk.Command.SynopsisResp" do
optional :synopsis, :string, 1
end
add_message "hashicorp.vagrant.sdk.Command.FlagsResp" do
optional :flags, :string, 1
end
add_message "hashicorp.vagrant.sdk.Communicator" do
end
add_message "hashicorp.vagrant.sdk.Communicator.MatchResp" do
@ -368,6 +379,10 @@ module Hashicorp
Provider::UsableResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.UsableResp").msgclass
Provider::InstalledResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.InstalledResp").msgclass
Provider::ActionResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Provider.ActionResp").msgclass
Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command").msgclass
Command::HelpResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.HelpResp").msgclass
Command::SynopsisResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.SynopsisResp").msgclass
Command::FlagsResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Command.FlagsResp").msgclass
Communicator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator").msgclass
Communicator::MatchResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator.MatchResp").msgclass
Communicator::InitResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hashicorp.vagrant.sdk.Communicator.InitResp").msgclass

View File

@ -2,7 +2,7 @@
# Source: plugin.proto for package 'hashicorp.vagrant.sdk'
require 'grpc'
require_relative './plugin_pb'
require 'plugin_pb'
module Hashicorp
module Vagrant
@ -141,6 +141,12 @@ module Hashicorp
rpc :ConfigStruct, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::StructResp
rpc :Configure, ::Hashicorp::Vagrant::Sdk::Config::ConfigureRequest, ::Google::Protobuf::Empty
rpc :Documentation, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::Config::Documentation
rpc :SynopsisSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Synopsis, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::SynopsisResp
rpc :HelpSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Help, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::HelpResp
rpc :FlagsSpec, ::Google::Protobuf::Empty, ::Hashicorp::Vagrant::Sdk::FuncSpec
rpc :Flags, ::Hashicorp::Vagrant::Sdk::FuncSpec::Args, ::Hashicorp::Vagrant::Sdk::Command::FlagsResp
end
Stub = Service.rpc_stub_class