diff --git a/Gemfile b/Gemfile index be3f85aaf0d..fd9c80702c7 100644 --- a/Gemfile +++ b/Gemfile @@ -28,7 +28,6 @@ gem 'nokogiri', '>=1.10.5' gem 'oj' gem 'palm_civet' gem 'posix-spawn', '~> 0.3.15' -gem 'protobuf', '3.6.12' gem 'public_suffix' gem 'psych', '>= 4.0.4' gem 'rake' diff --git a/Gemfile.lock b/Gemfile.lock index 944370b7594..69b9ae11fd2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -307,7 +307,6 @@ GEM membrane (1.1.0) memoist (0.16.2) method_source (1.0.0) - middleware (0.1.0) mime-types (3.4.1) mime-types-data (~> 3.2015) mime-types-data (3.2021.1115) @@ -353,11 +352,6 @@ GEM pg (1.4.3) posix-spawn (0.3.15) prometheus-client (4.0.0) - protobuf (3.6.12) - activesupport (>= 3.2) - middleware - thor - thread_safe pry (0.14.1) coderay (~> 1.1) method_source (~> 1.0) @@ -521,7 +515,6 @@ GEM eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) thor (1.2.1) - thread_safe (0.3.6) tilt (2.0.11) timecop (0.9.5) timeliness (0.4.4) @@ -605,7 +598,6 @@ DEPENDENCIES pg posix-spawn (~> 0.3.15) prometheus-client - protobuf (= 3.6.12) pry-byebug psych (>= 4.0.4) public_suffix diff --git a/lib/diego/bbs/models/github.com/gogo/protobuf/gogoproto/gogo.pb.rb b/lib/diego/bbs/models/github.com/gogo/protobuf/gogoproto/gogo.pb.rb deleted file mode 100644 index 5947a01584d..00000000000 --- a/lib/diego/bbs/models/github.com/gogo/protobuf/gogoproto/gogo.pb.rb +++ /dev/null @@ -1,111 +0,0 @@ -# encoding: utf-8 - -## -# This file is auto-generated. DO NOT EDIT! -# -require 'protobuf/message' - - -## -# Imports -# -require 'google/protobuf/descriptor.pb' - -module Gogoproto - - ## - # Extended Message Fields - # - class ::Google::Protobuf::EnumOptions < ::Protobuf::Message - optional :bool, :goproto_enum_prefix, 62001, :extension => true - optional :bool, :goproto_enum_stringer, 62021, :extension => true - optional :bool, :enum_stringer, 62022, :extension => true - optional :string, :enum_customname, 62023, :extension => true - optional :bool, :enumdecl, 62024, :extension => true - end - - class ::Google::Protobuf::EnumValueOptions < ::Protobuf::Message - optional :string, :enumvalue_customname, 66001, :extension => true - end - - class ::Google::Protobuf::FileOptions < ::Protobuf::Message - optional :bool, :goproto_getters_all, 63001, :extension => true - optional :bool, :goproto_enum_prefix_all, 63002, :extension => true - optional :bool, :goproto_stringer_all, 63003, :extension => true - optional :bool, :verbose_equal_all, 63004, :extension => true - optional :bool, :face_all, 63005, :extension => true - optional :bool, :gostring_all, 63006, :extension => true - optional :bool, :populate_all, 63007, :extension => true - optional :bool, :stringer_all, 63008, :extension => true - optional :bool, :onlyone_all, 63009, :extension => true - optional :bool, :equal_all, 63013, :extension => true - optional :bool, :description_all, 63014, :extension => true - optional :bool, :testgen_all, 63015, :extension => true - optional :bool, :benchgen_all, 63016, :extension => true - optional :bool, :marshaler_all, 63017, :extension => true - optional :bool, :unmarshaler_all, 63018, :extension => true - optional :bool, :stable_marshaler_all, 63019, :extension => true - optional :bool, :sizer_all, 63020, :extension => true - optional :bool, :goproto_enum_stringer_all, 63021, :extension => true - optional :bool, :enum_stringer_all, 63022, :extension => true - optional :bool, :unsafe_marshaler_all, 63023, :extension => true - optional :bool, :unsafe_unmarshaler_all, 63024, :extension => true - optional :bool, :goproto_extensions_map_all, 63025, :extension => true - optional :bool, :goproto_unrecognized_all, 63026, :extension => true - optional :bool, :gogoproto_import, 63027, :extension => true - optional :bool, :protosizer_all, 63028, :extension => true - optional :bool, :compare_all, 63029, :extension => true - optional :bool, :typedecl_all, 63030, :extension => true - optional :bool, :enumdecl_all, 63031, :extension => true - optional :bool, :goproto_registration, 63032, :extension => true - optional :bool, :messagename_all, 63033, :extension => true - optional :bool, :goproto_sizecache_all, 63034, :extension => true - optional :bool, :goproto_unkeyed_all, 63035, :extension => true - end - - class ::Google::Protobuf::MessageOptions < ::Protobuf::Message - optional :bool, :goproto_getters, 64001, :extension => true - optional :bool, :goproto_stringer, 64003, :extension => true - optional :bool, :verbose_equal, 64004, :extension => true - optional :bool, :face, 64005, :extension => true - optional :bool, :gostring, 64006, :extension => true - optional :bool, :populate, 64007, :extension => true - optional :bool, :stringer, 67008, :extension => true - optional :bool, :onlyone, 64009, :extension => true - optional :bool, :equal, 64013, :extension => true - optional :bool, :description, 64014, :extension => true - optional :bool, :testgen, 64015, :extension => true - optional :bool, :benchgen, 64016, :extension => true - optional :bool, :marshaler, 64017, :extension => true - optional :bool, :unmarshaler, 64018, :extension => true - optional :bool, :stable_marshaler, 64019, :extension => true - optional :bool, :sizer, 64020, :extension => true - optional :bool, :unsafe_marshaler, 64023, :extension => true - optional :bool, :unsafe_unmarshaler, 64024, :extension => true - optional :bool, :goproto_extensions_map, 64025, :extension => true - optional :bool, :goproto_unrecognized, 64026, :extension => true - optional :bool, :protosizer, 64028, :extension => true - optional :bool, :compare, 64029, :extension => true - optional :bool, :typedecl, 64030, :extension => true - optional :bool, :messagename, 64033, :extension => true - optional :bool, :goproto_sizecache, 64034, :extension => true - optional :bool, :goproto_unkeyed, 64035, :extension => true - end - - class ::Google::Protobuf::FieldOptions < ::Protobuf::Message - optional :bool, :nullable, 65001, :extension => true - optional :bool, :embed, 65002, :extension => true - optional :string, :customtype, 65003, :extension => true - optional :string, :customname, 65004, :extension => true - optional :string, :jsontag, 65005, :extension => true - optional :string, :moretags, 65006, :extension => true - optional :string, :casttype, 65007, :extension => true - optional :string, :castkey, 65008, :extension => true - optional :string, :castvalue, 65009, :extension => true - optional :bool, :stdtime, 65010, :extension => true - optional :bool, :stdduration, 65011, :extension => true - optional :bool, :wktpointer, 65012, :extension => true - end - -end - diff --git a/lib/diego/bbs/models/google/protobuf/descriptor.pb.rb b/lib/diego/bbs/models/google/protobuf/descriptor.pb.rb deleted file mode 100644 index 62ab8311511..00000000000 --- a/lib/diego/bbs/models/google/protobuf/descriptor.pb.rb +++ /dev/null @@ -1,346 +0,0 @@ -# encoding: utf-8 - -## -# This file is auto-generated. DO NOT EDIT! -# -require 'protobuf/message' - -module Google - module Protobuf - - ## - # Message Classes - # - class FileDescriptorSet < ::Protobuf::Message; end - class FileDescriptorProto < ::Protobuf::Message; end - class DescriptorProto < ::Protobuf::Message - class ExtensionRange < ::Protobuf::Message; end - class ReservedRange < ::Protobuf::Message; end - - end - - class ExtensionRangeOptions < ::Protobuf::Message; end - class FieldDescriptorProto < ::Protobuf::Message - class Type < ::Protobuf::Enum - define :TYPE_DOUBLE, 1 - define :TYPE_FLOAT, 2 - define :TYPE_INT64, 3 - define :TYPE_UINT64, 4 - define :TYPE_INT32, 5 - define :TYPE_FIXED64, 6 - define :TYPE_FIXED32, 7 - define :TYPE_BOOL, 8 - define :TYPE_STRING, 9 - define :TYPE_GROUP, 10 - define :TYPE_MESSAGE, 11 - define :TYPE_BYTES, 12 - define :TYPE_UINT32, 13 - define :TYPE_ENUM, 14 - define :TYPE_SFIXED32, 15 - define :TYPE_SFIXED64, 16 - define :TYPE_SINT32, 17 - define :TYPE_SINT64, 18 - end - - class Label < ::Protobuf::Enum - define :LABEL_OPTIONAL, 1 - define :LABEL_REQUIRED, 2 - define :LABEL_REPEATED, 3 - end - - end - - class OneofDescriptorProto < ::Protobuf::Message; end - class EnumDescriptorProto < ::Protobuf::Message - class EnumReservedRange < ::Protobuf::Message; end - - end - - class EnumValueDescriptorProto < ::Protobuf::Message; end - class ServiceDescriptorProto < ::Protobuf::Message; end - class MethodDescriptorProto < ::Protobuf::Message; end - class FileOptions < ::Protobuf::Message - class OptimizeMode < ::Protobuf::Enum - define :SPEED, 1 - define :CODE_SIZE, 2 - define :LITE_RUNTIME, 3 - end - - end - - class MessageOptions < ::Protobuf::Message; end - class FieldOptions < ::Protobuf::Message - class CType < ::Protobuf::Enum - define :STRING, 0 - define :CORD, 1 - define :STRING_PIECE, 2 - end - - class JSType < ::Protobuf::Enum - define :JS_NORMAL, 0 - define :JS_STRING, 1 - define :JS_NUMBER, 2 - end - - end - - class OneofOptions < ::Protobuf::Message; end - class EnumOptions < ::Protobuf::Message; end - class EnumValueOptions < ::Protobuf::Message; end - class ServiceOptions < ::Protobuf::Message; end - class MethodOptions < ::Protobuf::Message - class IdempotencyLevel < ::Protobuf::Enum - define :IDEMPOTENCY_UNKNOWN, 0 - define :NO_SIDE_EFFECTS, 1 - define :IDEMPOTENT, 2 - end - - end - - class UninterpretedOption < ::Protobuf::Message - class NamePart < ::Protobuf::Message; end - - end - - class SourceCodeInfo < ::Protobuf::Message - class Location < ::Protobuf::Message; end - - end - - class GeneratedCodeInfo < ::Protobuf::Message - class Annotation < ::Protobuf::Message; end - - end - - - - ## - # Message Fields - # - class FileDescriptorSet - repeated ::Google::Protobuf::FileDescriptorProto, :file, 1 - end - - class FileDescriptorProto - optional :string, :name, 1 - optional :string, :package, 2 - repeated :string, :dependency, 3 - repeated :int32, :public_dependency, 10 - repeated :int32, :weak_dependency, 11 - repeated ::Google::Protobuf::DescriptorProto, :message_type, 4 - repeated ::Google::Protobuf::EnumDescriptorProto, :enum_type, 5 - repeated ::Google::Protobuf::ServiceDescriptorProto, :service, 6 - repeated ::Google::Protobuf::FieldDescriptorProto, :extension, 7 - optional ::Google::Protobuf::FileOptions, :options, 8 - optional ::Google::Protobuf::SourceCodeInfo, :source_code_info, 9 - optional :string, :syntax, 12 - end - - class DescriptorProto - class ExtensionRange - optional :int32, :start, 1 - optional :int32, :end, 2 - optional ::Google::Protobuf::ExtensionRangeOptions, :options, 3 - end - - class ReservedRange - optional :int32, :start, 1 - optional :int32, :end, 2 - end - - optional :string, :name, 1 - repeated ::Google::Protobuf::FieldDescriptorProto, :field, 2 - repeated ::Google::Protobuf::FieldDescriptorProto, :extension, 6 - repeated ::Google::Protobuf::DescriptorProto, :nested_type, 3 - repeated ::Google::Protobuf::EnumDescriptorProto, :enum_type, 4 - repeated ::Google::Protobuf::DescriptorProto::ExtensionRange, :extension_range, 5 - repeated ::Google::Protobuf::OneofDescriptorProto, :oneof_decl, 8 - optional ::Google::Protobuf::MessageOptions, :options, 7 - repeated ::Google::Protobuf::DescriptorProto::ReservedRange, :reserved_range, 9 - repeated :string, :reserved_name, 10 - end - - class ExtensionRangeOptions - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class FieldDescriptorProto - optional :string, :name, 1 - optional :int32, :number, 3 - optional ::Google::Protobuf::FieldDescriptorProto::Label, :label, 4 - optional ::Google::Protobuf::FieldDescriptorProto::Type, :type, 5 - optional :string, :type_name, 6 - optional :string, :extendee, 2 - optional :string, :default_value, 7 - optional :int32, :oneof_index, 9 - optional :string, :json_name, 10 - optional ::Google::Protobuf::FieldOptions, :options, 8 - end - - class OneofDescriptorProto - optional :string, :name, 1 - optional ::Google::Protobuf::OneofOptions, :options, 2 - end - - class EnumDescriptorProto - class EnumReservedRange - optional :int32, :start, 1 - optional :int32, :end, 2 - end - - optional :string, :name, 1 - repeated ::Google::Protobuf::EnumValueDescriptorProto, :value, 2 - optional ::Google::Protobuf::EnumOptions, :options, 3 - repeated ::Google::Protobuf::EnumDescriptorProto::EnumReservedRange, :reserved_range, 4 - repeated :string, :reserved_name, 5 - end - - class EnumValueDescriptorProto - optional :string, :name, 1 - optional :int32, :number, 2 - optional ::Google::Protobuf::EnumValueOptions, :options, 3 - end - - class ServiceDescriptorProto - optional :string, :name, 1 - repeated ::Google::Protobuf::MethodDescriptorProto, :method, 2 - optional ::Google::Protobuf::ServiceOptions, :options, 3 - end - - class MethodDescriptorProto - optional :string, :name, 1 - optional :string, :input_type, 2 - optional :string, :output_type, 3 - optional ::Google::Protobuf::MethodOptions, :options, 4 - optional :bool, :client_streaming, 5, :default => false - optional :bool, :server_streaming, 6, :default => false - end - - class FileOptions - optional :string, :java_package, 1 - optional :string, :java_outer_classname, 8 - optional :bool, :java_multiple_files, 10, :default => false - optional :bool, :java_generate_equals_and_hash, 20, :deprecated => true - optional :bool, :java_string_check_utf8, 27, :default => false - optional ::Google::Protobuf::FileOptions::OptimizeMode, :optimize_for, 9, :default => ::Google::Protobuf::FileOptions::OptimizeMode::SPEED - optional :string, :go_package, 11 - optional :bool, :cc_generic_services, 16, :default => false - optional :bool, :java_generic_services, 17, :default => false - optional :bool, :py_generic_services, 18, :default => false - optional :bool, :php_generic_services, 42, :default => false - optional :bool, :deprecated, 23, :default => false - optional :bool, :cc_enable_arenas, 31, :default => false - optional :string, :objc_class_prefix, 36 - optional :string, :csharp_namespace, 37 - optional :string, :swift_prefix, 39 - optional :string, :php_class_prefix, 40 - optional :string, :php_namespace, 41 - optional :string, :php_metadata_namespace, 44 - optional :string, :ruby_package, 45 - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class MessageOptions - optional :bool, :message_set_wire_format, 1, :default => false - optional :bool, :no_standard_descriptor_accessor, 2, :default => false - optional :bool, :deprecated, 3, :default => false - optional :bool, :map_entry, 7 - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class FieldOptions - optional ::Google::Protobuf::FieldOptions::CType, :ctype, 1, :default => ::Google::Protobuf::FieldOptions::CType::STRING - optional :bool, :packed, 2 - optional ::Google::Protobuf::FieldOptions::JSType, :jstype, 6, :default => ::Google::Protobuf::FieldOptions::JSType::JS_NORMAL - optional :bool, :lazy, 5, :default => false - optional :bool, :deprecated, 3, :default => false - optional :bool, :weak, 10, :default => false - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class OneofOptions - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class EnumOptions - optional :bool, :allow_alias, 2 - optional :bool, :deprecated, 3, :default => false - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class EnumValueOptions - optional :bool, :deprecated, 1, :default => false - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class ServiceOptions - optional :bool, :deprecated, 33, :default => false - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class MethodOptions - optional :bool, :deprecated, 33, :default => false - optional ::Google::Protobuf::MethodOptions::IdempotencyLevel, :idempotency_level, 34, :default => ::Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENCY_UNKNOWN - repeated ::Google::Protobuf::UninterpretedOption, :uninterpreted_option, 999 - # Extension Fields - extensions 1000...536870912 - end - - class UninterpretedOption - class NamePart - required :string, :name_part, 1 - required :bool, :is_extension, 2 - end - - repeated ::Google::Protobuf::UninterpretedOption::NamePart, :name, 2 - optional :string, :identifier_value, 3 - optional :uint64, :positive_int_value, 4 - optional :int64, :negative_int_value, 5 - optional :double, :double_value, 6 - optional :bytes, :string_value, 7 - optional :string, :aggregate_value, 8 - end - - class SourceCodeInfo - class Location - repeated :int32, :path, 1, :packed => true - repeated :int32, :span, 2, :packed => true - optional :string, :leading_comments, 3 - optional :string, :trailing_comments, 4 - repeated :string, :leading_detached_comments, 6 - end - - repeated ::Google::Protobuf::SourceCodeInfo::Location, :location, 1 - end - - class GeneratedCodeInfo - class Annotation - repeated :int32, :path, 1, :packed => true - optional :string, :source_file, 2 - optional :int32, :begin, 3 - optional :int32, :end, 4 - end - - repeated ::Google::Protobuf::GeneratedCodeInfo::Annotation, :annotation, 1 - end - - end - -end - diff --git a/lib/diego/bbs/models/lrp_convergence_request.pb.rb b/lib/diego/bbs/models/lrp_convergence_request.pb.rb deleted file mode 100644 index 698ace880cb..00000000000 --- a/lib/diego/bbs/models/lrp_convergence_request.pb.rb +++ /dev/null @@ -1,37 +0,0 @@ -# encoding: utf-8 - -## -# This file is auto-generated. DO NOT EDIT! -# -require 'protobuf/message' - - -## -# Imports -# -require 'github.com/gogo/protobuf/gogoproto/gogo.pb' -require 'error.pb' - -module Diego - module Bbs - module Models - - ## - # Message Classes - # - class ConvergeLRPsResponse < ::Protobuf::Message; end - - - ## - # Message Fields - # - class ConvergeLRPsResponse - optional ::Diego::Bbs::Models::Error, :error, 1 - end - - end - - end - -end -