Skip to content

Commit

Permalink
regenerate proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Sep 10, 2024
1 parent fff6cd9 commit f17da43
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 62 deletions.
24 changes: 0 additions & 24 deletions opentelemetry-stackdriver/src/proto/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/// Defines the HTTP configuration for an API service. It contains a list of
/// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
/// to one or more HTTP REST API methods.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Http {
/// A list of HTTP configuration rules that apply to individual API methods.
Expand Down Expand Up @@ -283,7 +282,6 @@ pub struct Http {
/// If an API needs to use a JSON array for request or response body, it can map
/// the request or response body to a repeated field. However, some gRPC
/// Transcoding implementations may not support this feature.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRule {
/// Selects a method to which this rule applies.
Expand Down Expand Up @@ -324,7 +322,6 @@ pub mod http_rule {
/// Determines the URL pattern is matched by this rules. This pattern can be
/// used with any of the {get|put|post|delete|patch} methods. A custom method
/// can be defined using the 'custom' field.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Pattern {
/// Maps to HTTP GET. Used for listing and getting information about
Expand Down Expand Up @@ -352,7 +349,6 @@ pub mod http_rule {
}
}
/// A custom pattern is used for defining custom HTTP verb.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomHttpPattern {
/// The name of this custom HTTP verb.
Expand Down Expand Up @@ -438,7 +434,6 @@ impl LaunchStage {
}
}
/// Required information for every language.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommonLanguageSettings {
/// Link to automatically generated reference documentation. Example:
Expand All @@ -451,7 +446,6 @@ pub struct CommonLanguageSettings {
pub destinations: ::prost::alloc::vec::Vec<i32>,
}
/// Details about how and where to publish client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClientLibrarySettings {
/// Version of the API to apply these settings to. This is the full protobuf
Expand Down Expand Up @@ -494,7 +488,6 @@ pub struct ClientLibrarySettings {
/// This message configures the settings for publishing [Google Cloud Client
/// libraries](<https://cloud.google.com/apis/docs/cloud-client-libraries>)
/// generated from the service config.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Publishing {
/// A list of API method settings, e.g. the behavior for methods that use the
Expand Down Expand Up @@ -543,7 +536,6 @@ pub struct Publishing {
pub rest_reference_documentation_uri: ::prost::alloc::string::String,
}
/// Settings for Java client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct JavaSettings {
/// The package name to use in Java. Clobbers the java_package option
Expand Down Expand Up @@ -581,23 +573,20 @@ pub struct JavaSettings {
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Settings for C++ client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CppSettings {
/// Some settings.
#[prost(message, optional, tag = "1")]
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Settings for Php client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PhpSettings {
/// Some settings.
#[prost(message, optional, tag = "1")]
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Settings for Python client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PythonSettings {
/// Some settings.
Expand All @@ -612,7 +601,6 @@ pub mod python_settings {
/// Experimental features to be included during client library generation.
/// These fields will be deprecated once the feature graduates and is enabled
/// by default.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ExperimentalFeatures {
/// Enables generation of asynchronous REST clients if `rest` transport is
Expand All @@ -624,15 +612,13 @@ pub mod python_settings {
}
}
/// Settings for Node client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NodeSettings {
/// Some settings.
#[prost(message, optional, tag = "1")]
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Settings for Dotnet client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DotnetSettings {
/// Some settings.
Expand Down Expand Up @@ -672,23 +658,20 @@ pub struct DotnetSettings {
pub handwritten_signatures: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Settings for Ruby client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RubySettings {
/// Some settings.
#[prost(message, optional, tag = "1")]
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Settings for Go client libraries.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GoSettings {
/// Some settings.
#[prost(message, optional, tag = "1")]
pub common: ::core::option::Option<CommonLanguageSettings>,
}
/// Describes the generator configuration for a method.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MethodSettings {
/// The fully qualified name of the method, for which the options below apply.
Expand Down Expand Up @@ -739,7 +722,6 @@ pub mod method_settings {
/// All default values below are from those used in the client library
/// generators (e.g.
/// [Java](<https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java>)).
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LongRunning {
/// Initial delay after which the first poll request will be made.
Expand Down Expand Up @@ -987,7 +969,6 @@ impl FieldBehavior {
/// pattern: "folders/{folder}/logs/{log}"
/// pattern: "organizations/{organization}/logs/{log}"
/// pattern: "billingAccounts/{billing_account}/logs/{log}"
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourceDescriptor {
/// The resource type. It must be in the format of
Expand Down Expand Up @@ -1148,7 +1129,6 @@ pub mod resource_descriptor {
}
/// Defines a proto annotation that describes a string field that refers to
/// an API resource.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResourceReference {
/// The resource type that the annotated field references.
Expand Down Expand Up @@ -1188,7 +1168,6 @@ pub struct ResourceReference {
pub child_type: ::prost::alloc::string::String,
}
/// A description of a label.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LabelDescriptor {
/// The label key.
Expand Down Expand Up @@ -1248,7 +1227,6 @@ pub mod label_descriptor {
/// provide a `list` method that returns the monitored resource descriptors used
/// by the API.
///
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MonitoredResourceDescriptor {
/// Optional. The resource name of the monitored resource descriptor:
Expand Down Expand Up @@ -1302,7 +1280,6 @@ pub struct MonitoredResourceDescriptor {
/// "labels": { "project_id": "my-project",
/// "instance_id": "12345678901234",
/// "zone": "us-central1-a" }}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MonitoredResource {
/// Required. The monitored resource type. This field must match
Expand All @@ -1327,7 +1304,6 @@ pub struct MonitoredResource {
/// instance. There is some other useful auxiliary metadata. Monitoring and
/// Logging use an ingestion pipeline to extract metadata for cloud resources of
/// all types, and store the metadata in this message.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MonitoredResourceMetadata {
/// Output only. Values for predefined system metadata labels.
Expand Down
17 changes: 0 additions & 17 deletions opentelemetry-stackdriver/src/proto/devtools/cloudtrace/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/// A trace can also contain multiple root spans, or none at all.
/// Spans do not need to be contiguous. There might be
/// gaps or overlaps between spans in a trace.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Span {
/// Required. The resource name of the span in the following format:
Expand Down Expand Up @@ -86,7 +85,6 @@ pub struct Span {
/// Nested message and enum types in `Span`.
pub mod span {
/// A set of attributes as key-value pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Attributes {
/// A set of attributes. Each attribute's key can be up to 128 bytes
Expand All @@ -106,7 +104,6 @@ pub mod span {
pub dropped_attributes_count: i32,
}
/// A time-stamped annotation or message event in the Span.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TimeEvent {
/// The timestamp indicating the time the event occurred.
Expand All @@ -120,7 +117,6 @@ pub mod span {
/// Nested message and enum types in `TimeEvent`.
pub mod time_event {
/// Text annotation with a set of attributes.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Annotation {
/// A user-supplied message describing the event. The maximum length for
Expand All @@ -133,7 +129,6 @@ pub mod span {
pub attributes: ::core::option::Option<super::Attributes>,
}
/// An event describing a message sent/received between Spans.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct MessageEvent {
/// Type of MessageEvent. Indicates whether the message was sent or
Expand Down Expand Up @@ -193,7 +188,6 @@ pub mod span {
}
/// A `TimeEvent` can contain either an `Annotation` object or a
/// `MessageEvent` object, but not both.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Value {
/// Text annotation with a set of attributes.
Expand All @@ -207,7 +201,6 @@ pub mod span {
/// A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation
/// on the span, consisting of either user-supplied key:value pairs, or
/// details of a message sent/received between Spans.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TimeEvents {
/// A collection of `TimeEvent`s.
Expand All @@ -226,7 +219,6 @@ pub mod span {
/// different trace. For example, this can be used in batching operations,
/// where a single batch handler processes multiple requests from different
/// traces or when the handler receives a request from a different project.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Link {
/// The `\[TRACE_ID\]` for a trace within a project.
Expand Down Expand Up @@ -284,7 +276,6 @@ pub mod span {
}
/// A collection of links, which are references from this span to a span
/// in the same or different trace.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Links {
/// A collection of links.
Expand Down Expand Up @@ -352,7 +343,6 @@ pub mod span {
}
}
/// The allowed types for `\[VALUE\]` in a `\[KEY\]:[VALUE]` attribute.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AttributeValue {
/// The type of the value.
Expand All @@ -362,7 +352,6 @@ pub struct AttributeValue {
/// Nested message and enum types in `AttributeValue`.
pub mod attribute_value {
/// The type of the value.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Value {
/// A string up to 256 bytes long.
Expand All @@ -377,7 +366,6 @@ pub mod attribute_value {
}
}
/// A call stack appearing in a trace.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StackTrace {
/// Stack frames in this stack trace. A maximum of 128 frames are allowed.
Expand All @@ -398,7 +386,6 @@ pub struct StackTrace {
/// Nested message and enum types in `StackTrace`.
pub mod stack_trace {
/// Represents a single stack frame in a stack trace.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StackFrame {
/// The fully-qualified name that uniquely identifies the function or
Expand Down Expand Up @@ -430,7 +417,6 @@ pub mod stack_trace {
pub source_version: ::core::option::Option<super::TruncatableString>,
}
/// A collection of stack frames, which can be truncated.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StackFrames {
/// Stack frames in this call stack.
Expand All @@ -444,7 +430,6 @@ pub mod stack_trace {
}
}
/// Binary module.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Module {
/// For example: main binary, kernel modules, and dynamic libraries
Expand All @@ -457,7 +442,6 @@ pub struct Module {
pub build_id: ::core::option::Option<TruncatableString>,
}
/// Represents a string that might be shortened to a specified length.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TruncatableString {
/// The shortened string. For example, if the original string is 500
Expand All @@ -475,7 +459,6 @@ pub struct TruncatableString {
pub truncated_byte_count: i32,
}
/// The request message for the `BatchWriteSpans` method.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BatchWriteSpansRequest {
/// Required. The name of the project where the spans belong. The format is
Expand Down
1 change: 0 additions & 1 deletion opentelemetry-stackdriver/src/proto/logging/type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/// A common proto for logging HTTP requests. Only contains semantics
/// defined by the HTTP specification. Product-specific logging
/// information MUST be defined in a separate message.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HttpRequest {
/// The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
Expand Down
Loading

0 comments on commit f17da43

Please sign in to comment.