Skip to content

Commit

Permalink
Google APIs updated at 2022-12-30 (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub Actions <>
  • Loading branch information
github-actions[bot] authored Dec 31, 2022
1 parent 518b85f commit c4214d5
Show file tree
Hide file tree
Showing 3 changed files with 1,254 additions and 1 deletion.
21 changes: 20 additions & 1 deletion gcloud-sdk/genproto/google.api.expr.conformance.v1alpha1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,25 @@ pub struct EvalResponse {
#[prost(message, repeated, tag = "2")]
pub issues: ::prost::alloc::vec::Vec<super::super::super::super::rpc::Status>,
}
/// A specific position in source.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SourcePosition {
/// The source location name (e.g. file name).
#[prost(string, tag = "1")]
pub location: ::prost::alloc::string::String,
/// The UTF-8 code unit offset.
#[prost(int32, tag = "2")]
pub offset: i32,
/// The 1-based index of the starting line in the source text
/// where the issue occurs, or 0 if unknown.
#[prost(int32, tag = "3")]
pub line: i32,
/// The 0-based index of the starting position within the line of source text
/// where the issue occurs. Only meaningful if line is nonzero.
#[prost(int32, tag = "4")]
pub column: i32,
}
/// Warnings or errors in service execution are represented by
/// \[google.rpc.Status][google.rpc.Status\] messages, with the following message
/// in the details field.
Expand All @@ -116,7 +135,7 @@ pub struct IssueDetails {
pub severity: i32,
/// Position in the source, if known.
#[prost(message, optional, tag = "2")]
pub position: ::core::option::Option<super::super::v1alpha1::SourcePosition>,
pub position: ::core::option::Option<SourcePosition>,
/// Expression ID from \[Expr][\], 0 if unknown.
#[prost(int64, tag = "3")]
pub id: i64,
Expand Down
Loading

0 comments on commit c4214d5

Please sign in to comment.