vaguerent/lib/vagrant/protobufs/proto/protostructure_pb.rb
Chris Roberts a7135c000b Apply license adjustments and fixes
Add configuration file for automated license modifications, remove
automated licese modifications from specific locations, and update the
license set in the gem specification.
2023-08-10 17:05:19 -07:00

43 lines
1.7 KiB
Ruby

# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protostructure.proto
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("protostructure.proto", :syntax => :proto3) do
add_message "protostructure.Struct" do
repeated :fields, :message, 1, "protostructure.Struct.Field"
end
add_message "protostructure.Struct.Field" do
optional :Name, :string, 1
optional :PkgPath, :string, 2
optional :Tag, :string, 3
optional :type, :message, 4, "protostructure.Type"
end
add_message "protostructure.Type" do
oneof :type do
optional :primitive, :message, 1, "protostructure.Primitive"
optional :container, :message, 2, "protostructure.Container"
optional :struct, :message, 3, "protostructure.Struct"
end
end
add_message "protostructure.Primitive" do
optional :kind, :uint32, 1
end
add_message "protostructure.Container" do
optional :kind, :uint32, 1
optional :elem, :message, 2, "protostructure.Type"
optional :key, :message, 3, "protostructure.Type"
optional :count, :int32, 4
end
end
end
module Protostructure
Struct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protostructure.Struct").msgclass
Struct::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protostructure.Struct.Field").msgclass
Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protostructure.Type").msgclass
Primitive = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protostructure.Primitive").msgclass
Container = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protostructure.Container").msgclass
end