Skip to content

Commit 26723e8

Browse files
author
Michael Lehenbauer
committed
Check in output of src/protos/update.sh script.
(and remove old v1beta1 directory.)
1 parent ab6c045 commit 26723e8

File tree

9 files changed

+335
-227
lines changed

9 files changed

+335
-227
lines changed

packages/firestore/src/protos/google/api/http.proto

Lines changed: 165 additions & 108 deletions
Large diffs are not rendered by default.

packages/firestore/src/protos/google/firestore/v1beta1/common.proto renamed to packages/firestore/src/protos/google/firestore/v1/common.proto

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google Inc.
1+
// Copyright 2018 Google LLC.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -11,30 +11,31 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
1415

1516
syntax = "proto3";
1617

17-
package google.firestore.v1beta1;
18+
package google.firestore.v1;
1819

1920
import "google/api/annotations.proto";
2021
import "google/protobuf/timestamp.proto";
2122

22-
option csharp_namespace = "Google.Cloud.Firestore.V1Beta1";
23-
option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore";
23+
option csharp_namespace = "Google.Cloud.Firestore.V1";
24+
option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore";
2425
option java_multiple_files = true;
2526
option java_outer_classname = "CommonProto";
26-
option java_package = "com.google.firestore.v1beta1";
27+
option java_package = "com.google.firestore.v1";
2728
option objc_class_prefix = "GCFS";
28-
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
29+
option php_namespace = "Google\\Cloud\\Firestore\\V1";
2930

3031

3132
// A set of field paths on a document.
3233
// Used to restrict a get or update operation on a document to a subset of its
3334
// fields.
3435
// This is different from standard field masks, as this is always scoped to a
35-
// [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value].
36+
// [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].
3637
message DocumentMask {
37-
// The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field
38+
// The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field
3839
// path syntax reference.
3940
repeated string field_paths = 1;
4041
}

packages/firestore/src/protos/google/firestore/v1beta1/document.proto renamed to packages/firestore/src/protos/google/firestore/v1/document.proto

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google Inc.
1+
// Copyright 2018 Google LLC.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -11,23 +11,24 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
1415

1516
syntax = "proto3";
1617

17-
package google.firestore.v1beta1;
18+
package google.firestore.v1;
1819

1920
import "google/api/annotations.proto";
2021
import "google/protobuf/struct.proto";
2122
import "google/protobuf/timestamp.proto";
2223
import "google/type/latlng.proto";
2324

24-
option csharp_namespace = "Google.Cloud.Firestore.V1Beta1";
25-
option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore";
25+
option csharp_namespace = "Google.Cloud.Firestore.V1";
26+
option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore";
2627
option java_multiple_files = true;
2728
option java_outer_classname = "DocumentProto";
28-
option java_package = "com.google.firestore.v1beta1";
29+
option java_package = "com.google.firestore.v1";
2930
option objc_class_prefix = "GCFS";
30-
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
31+
option php_namespace = "Google\\Cloud\\Firestore\\V1";
3132

3233

3334
// A Firestore document.
@@ -123,7 +124,8 @@ message Value {
123124

124125
// An array value.
125126
//
126-
// Cannot contain another array value.
127+
// Cannot directly contain another array value, though can contain an
128+
// map which contains another array.
127129
ArrayValue array_value = 9;
128130

129131
// A map value.

0 commit comments

Comments
 (0)