Sha256: 0de2af8ca34023c7b4bf4f292e607e49bd9bdbd70aa7dc3847f2838ac035e71b
Contents?: true
Size: 1.78 KB
Versions: 6
Compression:
Stored size: 1.78 KB
Contents
# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1/osconfig_common.proto require 'google/protobuf' descriptor_data = "\n.google/cloud/osconfig/v1/osconfig_common.proto\x12\x18google.cloud.osconfig.v1\"<\n\x0e\x46ixedOrPercent\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x05H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x05H\x00\x42\x06\n\x04modeB\xb4\x01\n\x1c\x63om.google.cloud.osconfig.v1B\x06\x43ommonZ8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module OsConfig module V1 FixedOrPercent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.FixedOrPercent").msgclass end end end end
Version data entries
6 entries across 6 versions & 1 rubygems