Delete long-deprecated internal descriptor.proto gencode forwards.

These have been moved to subdirectories, and the deleted files were just aliases.  The public ones will be removed in a future breaking change.

PiperOrigin-RevId: 691136301
pull/19036/head
Mike Kruskal 3 months ago committed by Copybara-Service
parent f6cddd2cd7
commit cf9b7747da
  1. 12
      php/BUILD.bazel
  2. 16
      php/src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php
  3. 16
      php/src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php
  4. 16
      php/src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php
  5. 16
      php/src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php
  6. 16
      php/src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php
  7. 16
      php/src/Google/Protobuf/Internal/FieldOptions_CType.php
  8. 16
      php/src/Google/Protobuf/Internal/FieldOptions_JSType.php
  9. 16
      php/src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php
  10. 16
      php/src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php
  11. 16
      php/src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php
  12. 16
      php/src/Google/Protobuf/Internal/SourceCodeInfo_Location.php
  13. 16
      php/src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php

@ -27,19 +27,10 @@ _RUNTIME_SOURCES = [
"src/Google/Protobuf/Internal/CodedOutputStream.php",
"src/Google/Protobuf/Internal/Descriptor.php",
"src/Google/Protobuf/Internal/DescriptorPool.php",
"src/Google/Protobuf/Internal/EnumDescriptorProto_EnumReservedRange.php",
"src/Google/Protobuf/Internal/DescriptorProto_ExtensionRange.php",
"src/Google/Protobuf/Internal/DescriptorProto_ReservedRange.php",
"src/Google/Protobuf/Internal/EnumBuilderContext.php",
"src/Google/Protobuf/Internal/EnumDescriptor.php",
"src/Google/Protobuf/Internal/FieldDescriptor.php",
"src/Google/Protobuf/Internal/FieldDescriptorProto_Label.php",
"src/Google/Protobuf/Internal/FieldDescriptorProto_Type.php",
"src/Google/Protobuf/Internal/FieldOptions_CType.php",
"src/Google/Protobuf/Internal/FieldOptions_JSType.php",
"src/Google/Protobuf/Internal/FileDescriptor.php",
"src/Google/Protobuf/Internal/FileOptions_OptimizeMode.php",
"src/Google/Protobuf/Internal/GeneratedCodeInfo_Annotation.php",
"src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php",
"src/Google/Protobuf/Internal/GPBDecodeException.php",
"src/Google/Protobuf/Internal/GPBJsonWire.php",
@ -54,15 +45,12 @@ _RUNTIME_SOURCES = [
"src/Google/Protobuf/Internal/MapFieldIter.php",
"src/Google/Protobuf/Internal/Message.php",
"src/Google/Protobuf/Internal/MessageBuilderContext.php",
"src/Google/Protobuf/Internal/MethodOptions_IdempotencyLevel.php",
"src/Google/Protobuf/Internal/OneofDescriptor.php",
"src/Google/Protobuf/Internal/OneofField.php",
"src/Google/Protobuf/Internal/RawInputStream.php",
"src/Google/Protobuf/Internal/RepeatedField.php",
"src/Google/Protobuf/Internal/RepeatedFieldIter.php",
"src/Google/Protobuf/Internal/SourceCodeInfo_Location.php",
"src/Google/Protobuf/Internal/TimestampBase.php",
"src/Google/Protobuf/Internal/UninterpretedOption_NamePart.php",
"src/Google/Protobuf/OneofDescriptor.php",
]

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\DescriptorProto\ExtensionRange instead.
* @deprecated
*/
class DescriptorProto_ExtensionRange {}
}
class_exists(DescriptorProto\ExtensionRange::class);
@trigger_error('Google\Protobuf\Internal\DescriptorProto_ExtensionRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\DescriptorProto\ExtensionRange instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\DescriptorProto\ReservedRange instead.
* @deprecated
*/
class DescriptorProto_ReservedRange {}
}
class_exists(DescriptorProto\ReservedRange::class);
@trigger_error('Google\Protobuf\Internal\DescriptorProto_ReservedRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\DescriptorProto\ReservedRange instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead.
* @deprecated
*/
class EnumDescriptorProto_EnumReservedRange {}
}
class_exists(EnumDescriptorProto\EnumReservedRange::class);
@trigger_error('Google\Protobuf\Internal\EnumDescriptorProto_EnumReservedRange is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\FieldDescriptorProto\Label instead.
* @deprecated
*/
class FieldDescriptorProto_Label {}
}
class_exists(FieldDescriptorProto\Label::class);
@trigger_error('Google\Protobuf\Internal\FieldDescriptorProto_Label is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldDescriptorProto\Label instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\FieldDescriptorProto\Type instead.
* @deprecated
*/
class FieldDescriptorProto_Type {}
}
class_exists(FieldDescriptorProto\Type::class);
@trigger_error('Google\Protobuf\Internal\FieldDescriptorProto_Type is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldDescriptorProto\Type instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\CType instead.
* @deprecated
*/
class FieldOptions_CType {}
}
class_exists(FieldOptions\CType::class);
@trigger_error('Google\Protobuf\Internal\FieldOptions_CType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\CType instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\FieldOptions\JSType instead.
* @deprecated
*/
class FieldOptions_JSType {}
}
class_exists(FieldOptions\JSType::class);
@trigger_error('Google\Protobuf\Internal\FieldOptions_JSType is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FieldOptions\JSType instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\FileOptions\OptimizeMode instead.
* @deprecated
*/
class FileOptions_OptimizeMode {}
}
class_exists(FileOptions\OptimizeMode::class);
@trigger_error('Google\Protobuf\Internal\FileOptions_OptimizeMode is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\FileOptions\OptimizeMode instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\GeneratedCodeInfo\Annotation instead.
* @deprecated
*/
class GeneratedCodeInfo_Annotation {}
}
class_exists(GeneratedCodeInfo\Annotation::class);
@trigger_error('Google\Protobuf\Internal\GeneratedCodeInfo_Annotation is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\GeneratedCodeInfo\Annotation instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\MethodOptions\IdempotencyLevel instead.
* @deprecated
*/
class MethodOptions_IdempotencyLevel {}
}
class_exists(MethodOptions\IdempotencyLevel::class);
@trigger_error('Google\Protobuf\Internal\MethodOptions_IdempotencyLevel is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\MethodOptions\IdempotencyLevel instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead.
* @deprecated
*/
class SourceCodeInfo_Location {}
}
class_exists(SourceCodeInfo\Location::class);
@trigger_error('Google\Protobuf\Internal\SourceCodeInfo_Location is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\SourceCodeInfo\Location instead', E_USER_DEPRECATED);

@ -1,16 +0,0 @@
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/protobuf/descriptor.proto
namespace Google\Protobuf\Internal;
if (false) {
/**
* This class is deprecated. Use Google\Protobuf\Internal\UninterpretedOption\NamePart instead.
* @deprecated
*/
class UninterpretedOption_NamePart {}
}
class_exists(UninterpretedOption\NamePart::class);
@trigger_error('Google\Protobuf\Internal\UninterpretedOption_NamePart is deprecated and will be removed in the next major release. Use Google\Protobuf\Internal\UninterpretedOption\NamePart instead', E_USER_DEPRECATED);
Loading…
Cancel
Save