Skip to content

Commit 20b07f8

Browse files
Regenerate firestore client
1 parent ea68410 commit 20b07f8

8 files changed

Lines changed: 1489 additions & 46 deletions

File tree

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java

Lines changed: 1386 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java

Lines changed: 33 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC
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,6 +11,7 @@
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

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC
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,6 +11,7 @@
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

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC
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,6 +11,7 @@
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

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC
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,6 +11,7 @@
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

google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC
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,6 +11,7 @@
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

@@ -89,6 +90,46 @@ message DocumentTransform {
8990
// Sets the field to the given server value.
9091
ServerValue set_to_server_value = 2;
9192

93+
// Adds the given value to the field's current value.
94+
//
95+
// This must be an integer or a double value.
96+
// If the field is not an integer or double, or if the field does not yet
97+
// exist, the transformation will set the field to the given value.
98+
// If either of the given value or the current field value are doubles,
99+
// both values will be interpreted as doubles. Double arithmetic and
100+
// representation of double values follow IEEE 754 semantics.
101+
// If there is positive/negative integer overflow, the field is resolved
102+
// to the largest magnitude positive/negative integer.
103+
Value increment = 3;
104+
105+
// Sets the field to the maximum of its current value and the given value.
106+
//
107+
// This must be an integer or a double value.
108+
// If the field is not an integer or double, or if the field does not yet
109+
// exist, the transformation will set the field to the given value.
110+
// If a maximum operation is applied where the field and the input value
111+
// are of mixed types (that is - one is an integer and one is a double)
112+
// the field takes on the type of the larger operand. If the operands are
113+
// equivalent (e.g. 3 and 3.0), the field does not change.
114+
// 0, 0.0, and -0.0 are all zero. The maximum of a zero stored value and
115+
// zero input value is always the stored value.
116+
// The maximum of any numeric value x and NaN is NaN.
117+
Value maximum = 4;
118+
119+
// Sets the field to the minimum of its current value and the given value.
120+
//
121+
// This must be an integer or a double value.
122+
// If the field is not an integer or double, or if the field does not yet
123+
// exist, the transformation will set the field to the input value.
124+
// If a minimum operation is applied where the field and the input value
125+
// are of mixed types (that is - one is an integer and one is a double)
126+
// the field takes on the type of the smaller operand. If the operands are
127+
// equivalent (e.g. 3 and 3.0), the field does not change.
128+
// 0, 0.0, and -0.0 are all zero. The minimum of a zero stored value and
129+
// zero input value is always the stored value.
130+
// The minimum of any numeric value x and NaN is NaN.
131+
Value minimum = 5;
132+
92133
// Append the given elements in order if they are not already present in
93134
// the current field value.
94135
// If the field is not an array, or if the field does not yet exist, it is
Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
{
2+
"updateTime": "2019-01-16T08:42:18.702688Z",
23
"sources": [
34
{
4-
"git": {
5-
"name": "googleapis",
6-
"remote": "https://github.com/googleapis/googleapis.git",
7-
"sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f",
8-
"internalRef": "221837528"
5+
"generator": {
6+
"name": "artman",
7+
"version": "0.16.5",
8+
"dockerImage": "googleapis/artman@sha256:5a96c2c5c6f9570cc9556b63dc9ce1838777fd9166b5b64e43ad8e0ecee2fe2c"
99
}
1010
},
1111
{
1212
"git": {
13-
"name": "googleapis-private",
14-
"remote": "https://github.com/googleapis/googleapis-private.git",
15-
"sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641",
16-
"internalRef": "221340946"
13+
"name": "googleapis",
14+
"remote": "https://github.com/googleapis/googleapis.git",
15+
"sha": "7a81902f287a4ac2ac130994889c80f87f91d035",
16+
"internalRef": "229452079"
1717
}
18-
},
18+
}
19+
],
20+
"destinations": [
1921
{
20-
"generator": {
21-
"name": "artman",
22-
"version": "0.16.0",
23-
"dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b"
22+
"client": {
23+
"source": "googleapis",
24+
"apiName": "firestore",
25+
"apiVersion": "v1beta1",
26+
"language": "java",
27+
"generator": "gapic",
28+
"config": "google/firestore/artman_firestore.yaml"
2429
}
2530
}
2631
]
27-
}
32+
}

0 commit comments

Comments
 (0)