Skip to content

Commit

Permalink
regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Oct 2, 2023
1 parent 35c51b2 commit 6663ee5
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 58 deletions.
54 changes: 27 additions & 27 deletions protobuf/src/descriptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

/// The protocol compiler can output a FileDescriptorSet containing the .proto
/// files it parses.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FileDescriptorSet)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FileDescriptorSet {
// message fields
// @@protoc_insertion_point(field:google.protobuf.FileDescriptorSet.file)
Expand Down Expand Up @@ -152,8 +152,8 @@ impl crate::reflect::ProtobufValue for FileDescriptorSet {
}

/// Describes a complete .proto file.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FileDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FileDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.FileDescriptorProto.name)
Expand Down Expand Up @@ -634,8 +634,8 @@ impl crate::reflect::ProtobufValue for FileDescriptorProto {
}

/// Describes a message type.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.DescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct DescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.DescriptorProto.name)
Expand Down Expand Up @@ -1006,8 +1006,8 @@ impl crate::reflect::ProtobufValue for DescriptorProto {

/// Nested message and enums of message `DescriptorProto`
pub mod descriptor_proto {
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.DescriptorProto.ExtensionRange)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtensionRange {
// message fields
// @@protoc_insertion_point(field:google.protobuf.DescriptorProto.ExtensionRange.start)
Expand Down Expand Up @@ -1211,8 +1211,8 @@ pub mod descriptor_proto {
/// Range of reserved tag numbers. Reserved tag numbers may not be used by
/// fields or extension ranges in the same message. Reserved ranges may
/// not overlap.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.DescriptorProto.ReservedRange)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ReservedRange {
// message fields
// @@protoc_insertion_point(field:google.protobuf.DescriptorProto.ReservedRange.start)
Expand Down Expand Up @@ -1390,8 +1390,8 @@ pub mod descriptor_proto {
}
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.ExtensionRangeOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ExtensionRangeOptions {
// message fields
/// The parser stores options it doesn't recognize here. See above.
Expand Down Expand Up @@ -1520,8 +1520,8 @@ impl crate::reflect::ProtobufValue for ExtensionRangeOptions {
}

/// Describes a field within a message.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FieldDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FieldDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.FieldDescriptorProto.name)
Expand Down Expand Up @@ -2388,8 +2388,8 @@ pub mod field_descriptor_proto {
}

/// Describes a oneof.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.OneofDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct OneofDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.OneofDescriptorProto.name)
Expand Down Expand Up @@ -2571,8 +2571,8 @@ impl crate::reflect::ProtobufValue for OneofDescriptorProto {
}

/// Describes an enum type.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.EnumDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct EnumDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.EnumDescriptorProto.name)
Expand Down Expand Up @@ -2832,8 +2832,8 @@ pub mod enum_descriptor_proto {
/// Note that this is distinct from DescriptorProto.ReservedRange in that it
/// is inclusive such that it can appropriately represent the entire int32
/// domain.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.EnumDescriptorProto.EnumReservedRange)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct EnumReservedRange {
// message fields
// @@protoc_insertion_point(field:google.protobuf.EnumDescriptorProto.EnumReservedRange.start)
Expand Down Expand Up @@ -3012,8 +3012,8 @@ pub mod enum_descriptor_proto {
}

/// Describes a value within an enum.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.EnumValueDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct EnumValueDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.EnumValueDescriptorProto.name)
Expand Down Expand Up @@ -3232,8 +3232,8 @@ impl crate::reflect::ProtobufValue for EnumValueDescriptorProto {
}

/// Describes a service.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.ServiceDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ServiceDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.ServiceDescriptorProto.name)
Expand Down Expand Up @@ -3439,8 +3439,8 @@ impl crate::reflect::ProtobufValue for ServiceDescriptorProto {
}

/// Describes a method of a service.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.MethodDescriptorProto)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct MethodDescriptorProto {
// message fields
// @@protoc_insertion_point(field:google.protobuf.MethodDescriptorProto.name)
Expand Down Expand Up @@ -3807,8 +3807,8 @@ impl crate::reflect::ProtobufValue for MethodDescriptorProto {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FileOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FileOptions {
// message fields
/// Sets the Java package where classes generated from this .proto will be
Expand Down Expand Up @@ -4987,8 +4987,8 @@ pub mod file_options {
}
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.MessageOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct MessageOptions {
// message fields
// @@protoc_insertion_point(field:google.protobuf.MessageOptions.message_set_wire_format)
Expand Down Expand Up @@ -5271,8 +5271,8 @@ impl crate::reflect::ProtobufValue for MessageOptions {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FieldOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FieldOptions {
// message fields
/// The ctype option instructs the C++ code generator to use a different
Expand Down Expand Up @@ -5818,8 +5818,8 @@ pub mod field_options {
}
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.OneofOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct OneofOptions {
// message fields
/// The parser stores options it doesn't recognize here. See above.
Expand Down Expand Up @@ -5947,8 +5947,8 @@ impl crate::reflect::ProtobufValue for OneofOptions {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.EnumOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct EnumOptions {
// message fields
/// Set this option to true to allow mapping different tag names to the same
Expand Down Expand Up @@ -6156,8 +6156,8 @@ impl crate::reflect::ProtobufValue for EnumOptions {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.EnumValueOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct EnumValueOptions {
// message fields
/// Is this enum value deprecated?
Expand Down Expand Up @@ -6326,8 +6326,8 @@ impl crate::reflect::ProtobufValue for EnumValueOptions {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.ServiceOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct ServiceOptions {
// message fields
/// Is this service deprecated?
Expand Down Expand Up @@ -6496,8 +6496,8 @@ impl crate::reflect::ProtobufValue for ServiceOptions {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.MethodOptions)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct MethodOptions {
// message fields
/// Is this method deprecated?
Expand Down Expand Up @@ -6785,8 +6785,8 @@ pub mod method_options {
/// options protos in descriptor objects (e.g. returned by Descriptor::options(),
/// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
/// in them.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.UninterpretedOption)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct UninterpretedOption {
// message fields
// @@protoc_insertion_point(field:google.protobuf.UninterpretedOption.name)
Expand Down Expand Up @@ -7195,8 +7195,8 @@ pub mod uninterpreted_option {
/// extension (denoted with parentheses in options specs in .proto files).
/// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
/// "foo.(bar.baz).qux".
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.UninterpretedOption.NamePart)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct NamePart {
// message fields
// @@protoc_insertion_point(field:google.protobuf.UninterpretedOption.NamePart.name_part)
Expand Down Expand Up @@ -7399,8 +7399,8 @@ pub mod uninterpreted_option {

/// Encapsulates information about the original source file from which a
/// FileDescriptorProto was generated.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.SourceCodeInfo)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct SourceCodeInfo {
// message fields
// @@protoc_insertion_point(field:google.protobuf.SourceCodeInfo.location)
Expand Down Expand Up @@ -7524,8 +7524,8 @@ impl crate::reflect::ProtobufValue for SourceCodeInfo {

/// Nested message and enums of message `SourceCodeInfo`
pub mod source_code_info {
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.SourceCodeInfo.Location)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Location {
// message fields
// @@protoc_insertion_point(field:google.protobuf.SourceCodeInfo.Location.path)
Expand Down Expand Up @@ -7797,8 +7797,8 @@ pub mod source_code_info {
/// Describes the relationship between generated code and its original source
/// file. A GeneratedCodeInfo message is associated with only one generated
/// source file, but may contain references to different source .proto files.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.GeneratedCodeInfo)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct GeneratedCodeInfo {
// message fields
/// An Annotation connects some span of text in generated code to an element
Expand Down Expand Up @@ -7924,8 +7924,8 @@ impl crate::reflect::ProtobufValue for GeneratedCodeInfo {

/// Nested message and enums of message `GeneratedCodeInfo`
pub mod generated_code_info {
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.GeneratedCodeInfo.Annotation)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Annotation {
// message fields
/// Identifies the element in the original source .proto file. This field
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/doctest_pb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! Generated file from `doctest_pb.proto`

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:MyMessage)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct MyMessage {
// special fields
// @@protoc_insertion_point(special_field:MyMessage.special_fields)
Expand Down
8 changes: 4 additions & 4 deletions protobuf/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//! Generated file from `google/protobuf/compiler/plugin.proto`

/// The version number of protocol compiler.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.compiler.Version)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Version {
// message fields
// @@protoc_insertion_point(field:google.protobuf.compiler.Version.major)
Expand Down Expand Up @@ -294,8 +294,8 @@ impl crate::reflect::ProtobufValue for Version {
}

/// An encoded CodeGeneratorRequest is written to the plugin's stdin.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.compiler.CodeGeneratorRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CodeGeneratorRequest {
// message fields
/// The .proto files that were explicitly listed on the command-line. The
Expand Down Expand Up @@ -538,8 +538,8 @@ impl crate::reflect::ProtobufValue for CodeGeneratorRequest {
}

/// The plugin writes an encoded CodeGeneratorResponse to stdout.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.compiler.CodeGeneratorResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CodeGeneratorResponse {
// message fields
/// Error message. If non-empty, code generation failed. The plugin process
Expand Down Expand Up @@ -765,8 +765,8 @@ impl crate::reflect::ProtobufValue for CodeGeneratorResponse {
/// Nested message and enums of message `CodeGeneratorResponse`
pub mod code_generator_response {
/// Represents a single generated file.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.compiler.CodeGeneratorResponse.File)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct File {
// message fields
/// The file name, relative to the output directory. The name must not
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/well_known_types/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! Generated file from `google/protobuf/any.proto`

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Any)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Any {
// message fields
/// A URL/resource name that uniquely identifies the type of the serialized
Expand Down
6 changes: 3 additions & 3 deletions protobuf/src/well_known_types/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
/// sometimes simply referred to as "APIs" in other contexts, such as the name of
/// this message itself. See https://cloud.google.com/apis/design/glossary for

Check warning on line 31 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux nightly (all features)

this URL is not a hyperlink

Check warning on line 31 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux stable (default features)

this URL is not a hyperlink

Check warning on line 31 in protobuf/src/well_known_types/api.rs

View workflow job for this annotation

GitHub Actions / linux beta (default features)

this URL is not a hyperlink
/// detailed terminology.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Api)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Api {
// message fields
/// The fully qualified name of this interface, including package name
Expand Down Expand Up @@ -294,8 +294,8 @@ impl crate::reflect::ProtobufValue for Api {
}

/// Method represents a method of an API interface.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Method)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Method {
// message fields
/// The simple name of this method.
Expand Down Expand Up @@ -532,8 +532,8 @@ impl crate::reflect::ProtobufValue for Method {
type RuntimeType = crate::reflect::rt::RuntimeTypeMessage<Self>;
}

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Mixin)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Mixin {
// message fields
/// The fully qualified name of the interface which is included.
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/well_known_types/duration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! Generated file from `google/protobuf/duration.proto`

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Duration)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Duration {
// message fields
/// Signed seconds of the span of time. Must be from -315,576,000,000
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/well_known_types/empty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! Generated file from `google/protobuf/empty.proto`

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.Empty)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct Empty {
// special fields
// @@protoc_insertion_point(special_field:google.protobuf.Empty.special_fields)
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/well_known_types/field_mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! Generated file from `google/protobuf/field_mask.proto`

#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.FieldMask)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct FieldMask {
// message fields
/// The set of field mask paths.
Expand Down
2 changes: 1 addition & 1 deletion protobuf/src/well_known_types/source_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

/// `SourceContext` represents information about the source of a
/// protobuf element, like the file in which it is defined.
#[derive(PartialEq,Clone,Default,Debug)]
// @@protoc_insertion_point(message:google.protobuf.SourceContext)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct SourceContext {
// message fields
/// The path-qualified name of the .proto file that contained the associated
Expand Down
Loading

0 comments on commit 6663ee5

Please sign in to comment.