[go: up one dir, main page]

Skip to content

Commit

Permalink
fix!: remove types QueryMode, QueryPlan, ResultSetStats
Browse files Browse the repository at this point in the history
fix!: remove QueryMode field from RunQueryRequest
fix!: remove ResultSetStats field from RunQueryResponse
fix!: remove QueryMode field from RunAggregationQueryRequest
fix!: remove ResultSetStats field from RunAggregationQueryResponse

PiperOrigin-RevId: 601486523
  • Loading branch information
Google APIs authored and Copybara-Service committed Jan 25, 2024
1 parent 66d20de commit a8b027a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 102 deletions.
1 change: 0 additions & 1 deletion google/firestore/v1/BUILD.bazel
Expand Up @@ -27,7 +27,6 @@ proto_library(
"document.proto",
"firestore.proto",
"query.proto",
"query_profile.proto",
"write.proto",
],
deps = [
Expand Down
25 changes: 0 additions & 25 deletions google/firestore/v1/firestore.proto
Expand Up @@ -23,7 +23,6 @@ import "google/firestore/v1/aggregation_result.proto";
import "google/firestore/v1/common.proto";
import "google/firestore/v1/document.proto";
import "google/firestore/v1/query.proto";
import "google/firestore/v1/query_profile.proto";
import "google/firestore/v1/write.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
Expand Down Expand Up @@ -577,11 +576,6 @@ message RunQueryRequest {
// minute timestamp within the past 7 days.
google.protobuf.Timestamp read_time = 7;
}

// Optional. The mode in which the query request is processed. This field is
// optional, and when not provided, it defaults to `NORMAL` mode where no
// additional statistics will be returned with the query results.
QueryMode mode = 9 [(google.api.field_behavior) = OPTIONAL];
}

// The response for
Expand Down Expand Up @@ -618,13 +612,6 @@ message RunQueryResponse {
// documents will be returned.
bool done = 6;
}

// Query plan and execution statistics. Note that the returned stats are
// subject to change as Firestore evolves.
//
// This is only present when the request specifies a mode other than `NORMAL`
// and is sent only once with the last response in the stream.
ResultSetStats stats = 7;
}

// The request for
Expand Down Expand Up @@ -664,11 +651,6 @@ message RunAggregationQueryRequest {
// minute timestamp within the past 7 days.
google.protobuf.Timestamp read_time = 6;
}

// Optional. The mode in which the query request is processed. This field is
// optional, and when not provided, it defaults to `NORMAL` mode where no
// additional statistics will be returned with the query results.
QueryMode mode = 7 [(google.api.field_behavior) = OPTIONAL];
}

// The response for
Expand All @@ -694,13 +676,6 @@ message RunAggregationQueryResponse {
// `result` will be sent, and this represents the time at which the query
// was run.
google.protobuf.Timestamp read_time = 3;

// Query plan and execution statistics. Note that the returned stats are
// subject to change as Firestore evolves.
//
// This is only present when the request specifies a mode other than `NORMAL`
// and is sent only once with the last response in the stream.
ResultSetStats stats = 6;
}

// The request for
Expand Down
76 changes: 0 additions & 76 deletions google/firestore/v1/query_profile.proto

This file was deleted.

0 comments on commit a8b027a

Please sign in to comment.