Skip to content

Commit 1076afc

Browse files
Regenerate vectortile client (googleapis#9536)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-08-20 04:04:05,111 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-vectortile nothing to commit, working tree clean 2021-08-20 04:04:05,492 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-08-20 04:04:06,006 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-08-20 04:04:06,008 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-08-20 04:04:07,515 synthtool [INFO] > Generating vectortile v1. INFO:synthtool:Generating vectortile v1. 2021-08-20 04:04:07,516 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-vectortile/v1.metadata.json 2021-08-20 04:04:08,059 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-vectortile/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-vectortile/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/e491fb23-1251-428e-be40-a5bcb9068faa/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
1 parent 76d1738 commit 1076afc

File tree

8 files changed

+46
-34
lines changed

8 files changed

+46
-34
lines changed

clients/google-api-services-vectortile/v1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-vectortile",
5-
"version": "v1-rev20210118-1.32.1"
5+
"version": "v1-rev20210817-1.32.1"
66
}
77
}

clients/google-api-services-vectortile/v1/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-vectortile</artifactId>
25-
<version>v1-rev20210118-1.32.1</version>
25+
<version>v1-rev20210817-1.32.1</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-vectortile:v1-rev20210118-1.32.1'
38+
compile 'com.google.apis:google-api-services-vectortile:v1-rev20210817-1.32.1'
3939
}
4040
```
4141

clients/google-api-services-vectortile/v1/1.31.0/com/google/api/services/vectortile/v1/SemanticTile.java

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,34 +1081,39 @@ public Get setMaxElevationResolutionCells(java.lang.Integer maxElevationResoluti
10811081
}
10821082

10831083
/**
1084-
* The minimum allowed resolution for the returned elevation heightmap. Possible values:
1085-
* between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported
1086-
* for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such
1087-
* that each edge is no shorter than this value. Non-uniformity is chosen to maximise the
1088-
* amount of preserved data. For example: Original resolution: 30px (width) * 10px (height)
1089-
* min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)
1084+
* api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining
1085+
* existing request parameter pattern. The minimum allowed resolution for the returned
1086+
* elevation heightmap. Possible values: between 0 and 1024 (and not more than
1087+
* max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized
1088+
* heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this
1089+
* value. Non-uniformity is chosen to maximise the amount of preserved data. For example:
1090+
* Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New
1091+
* resolution: 30px (width) * 30px (height)
10901092
*/
10911093
@com.google.api.client.util.Key
10921094
private java.lang.Integer minElevationResolutionCells;
10931095

1094-
/** The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and
1095-
1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward
1096-
compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no
1097-
shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For
1098-
example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New
1099-
resolution: 30px (width) * 30px (height)
1096+
/** api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining
1097+
existing request parameter pattern. The minimum allowed resolution for the returned elevation
1098+
heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells).
1099+
Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-
1100+
sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise
1101+
the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height)
1102+
min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)
11001103
*/
11011104
public java.lang.Integer getMinElevationResolutionCells() {
11021105
return minElevationResolutionCells;
11031106
}
11041107

11051108
/**
1106-
* The minimum allowed resolution for the returned elevation heightmap. Possible values:
1107-
* between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported
1108-
* for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such
1109-
* that each edge is no shorter than this value. Non-uniformity is chosen to maximise the
1110-
* amount of preserved data. For example: Original resolution: 30px (width) * 10px (height)
1111-
* min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)
1109+
* api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining
1110+
* existing request parameter pattern. The minimum allowed resolution for the returned
1111+
* elevation heightmap. Possible values: between 0 and 1024 (and not more than
1112+
* max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized
1113+
* heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this
1114+
* value. Non-uniformity is chosen to maximise the amount of preserved data. For example:
1115+
* Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New
1116+
* resolution: 30px (width) * 30px (height)
11121117
*/
11131118
public Get setMinElevationResolutionCells(java.lang.Integer minElevationResolutionCells) {
11141119
this.minElevationResolutionCells = minElevationResolutionCells;

clients/google-api-services-vectortile/v1/1.31.0/com/google/api/services/vectortile/v1/model/FirstDerivativeElevationGrid.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
* rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as
2727
* integers at some requested level of precision to take advantage of integer packing. The actual
2828
* altitude values a[] can be reconstructed using the scale and each row's first_altitude and
29-
* altitude_diff fields.
29+
* altitude_diff fields. More details in go/elevation-encoding-options-for-enduro under "Recommended
30+
* implementation".
3031
*
3132
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
3233
* transmitted over HTTP when working with the Semantic Tile API. For a detailed explanation see:

clients/google-api-services-vectortile/v1/1.31.0/com/google/api/services/vectortile/v1/model/TerrainTile.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public final class TerrainTile extends com.google.api.client.json.GenericJson {
3838

3939
/**
4040
* Terrain elevation data encoded as a FirstDerivativeElevationGrid.
41+
* cs/symbol:FirstDerivativeElevationGrid.
4142
* The value may be {@code null}.
4243
*/
4344
@com.google.api.client.util.Key
@@ -53,7 +54,8 @@ public final class TerrainTile extends com.google.api.client.json.GenericJson {
5354
private java.lang.String name;
5455

5556
/**
56-
* Terrain elevation data encoded as a SecondDerivativeElevationGrid. .
57+
* Terrain elevation data encoded as a SecondDerivativeElevationGrid.
58+
* cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details.
5759
* The value may be {@code null}.
5860
*/
5961
@com.google.api.client.util.Key
@@ -78,6 +80,7 @@ public TerrainTile setCoordinates(TileCoordinates coordinates) {
7880

7981
/**
8082
* Terrain elevation data encoded as a FirstDerivativeElevationGrid.
83+
* cs/symbol:FirstDerivativeElevationGrid.
8184
* @return value or {@code null} for none
8285
*/
8386
public FirstDerivativeElevationGrid getFirstDerivative() {
@@ -86,6 +89,7 @@ public FirstDerivativeElevationGrid getFirstDerivative() {
8689

8790
/**
8891
* Terrain elevation data encoded as a FirstDerivativeElevationGrid.
92+
* cs/symbol:FirstDerivativeElevationGrid.
8993
* @param firstDerivative firstDerivative or {@code null} for none
9094
*/
9195
public TerrainTile setFirstDerivative(FirstDerivativeElevationGrid firstDerivative) {
@@ -115,15 +119,17 @@ public TerrainTile setName(java.lang.String name) {
115119
}
116120

117121
/**
118-
* Terrain elevation data encoded as a SecondDerivativeElevationGrid. .
122+
* Terrain elevation data encoded as a SecondDerivativeElevationGrid.
123+
* cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details.
119124
* @return value or {@code null} for none
120125
*/
121126
public SecondDerivativeElevationGrid getSecondDerivative() {
122127
return secondDerivative;
123128
}
124129

125130
/**
126-
* Terrain elevation data encoded as a SecondDerivativeElevationGrid. .
131+
* Terrain elevation data encoded as a SecondDerivativeElevationGrid.
132+
* cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details.
127133
* @param secondDerivative secondDerivative or {@code null} for none
128134
*/
129135
public TerrainTile setSecondDerivative(SecondDerivativeElevationGrid secondDerivative) {

clients/google-api-services-vectortile/v1/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-vectortile</artifactId>
11-
<version>v1-rev20210118-1.32.1</version>
12-
<name>Semantic Tile API v1-rev20210118-1.32.1</name>
11+
<version>v1-rev20210817-1.32.1</version>
12+
<name>Semantic Tile API v1-rev20210817-1.32.1</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-vectortile/v1/1.31.0/resources/vectortile.v1.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
"type": "integer"
307307
},
308308
"minElevationResolutionCells": {
309-
"description": "The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)",
309+
"description": " api-linter: core::0131::request-unknown-fields=disabled aip.dev/not-precedent: Maintaining existing request parameter pattern. The minimum allowed resolution for the returned elevation heightmap. Possible values: between 0 and 1024 (and not more than max_elevation_resolution_cells). Zero is supported for backward compatibility. Under-sized heightmaps will be non-uniformly up-sampled such that each edge is no shorter than this value. Non-uniformity is chosen to maximise the amount of preserved data. For example: Original resolution: 30px (width) * 10px (height) min_elevation_resolution: 30 New resolution: 30px (width) * 30px (height)",
310310
"format": "int32",
311311
"location": "query",
312312
"type": "integer"
@@ -343,7 +343,7 @@
343343
}
344344
}
345345
},
346-
"revision": "20210118",
346+
"revision": "20210817",
347347
"rootUrl": "https://vectortile.googleapis.com/",
348348
"schemas": {
349349
"Area": {
@@ -593,7 +593,7 @@
593593
"type": "object"
594594
},
595595
"FirstDerivativeElevationGrid": {
596-
"description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as integers at some requested level of precision to take advantage of integer packing. The actual altitude values a[] can be reconstructed using the scale and each row's first_altitude and altitude_diff fields.",
596+
"description": "A packed representation of a 2D grid of uniformly spaced points containing elevation data. Each point within the grid represents the altitude in meters above average sea level at that location within the tile. Elevations provided are (generally) relative to the EGM96 geoid, however some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more than 2 meters. The grid is oriented north-west to south-east, as illustrated: rows[0].a[0] rows[0].a[m] +-----------------+ | | | N | | ^ | | | | | W <-----> E | | | | | v | | S | | | +-----------------+ rows[n].a[0] rows[n].a[m] Rather than storing the altitudes directly, we store the diffs between them as integers at some requested level of precision to take advantage of integer packing. The actual altitude values a[] can be reconstructed using the scale and each row's first_altitude and altitude_diff fields. More details in go/elevation-encoding-options-for-enduro under \"Recommended implementation\".",
597597
"id": "FirstDerivativeElevationGrid",
598598
"properties": {
599599
"altitudeMultiplier": {
@@ -795,15 +795,15 @@
795795
},
796796
"firstDerivative": {
797797
"$ref": "FirstDerivativeElevationGrid",
798-
"description": "Terrain elevation data encoded as a FirstDerivativeElevationGrid."
798+
"description": "Terrain elevation data encoded as a FirstDerivativeElevationGrid. cs/symbol:FirstDerivativeElevationGrid."
799799
},
800800
"name": {
801801
"description": "Resource name of the tile. The tile resource name is prefixed by its collection ID `terrain/` followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as `@,,z`. For example, `terrain/@1,2,3z`.",
802802
"type": "string"
803803
},
804804
"secondDerivative": {
805805
"$ref": "SecondDerivativeElevationGrid",
806-
"description": "Terrain elevation data encoded as a SecondDerivativeElevationGrid. ."
806+
"description": "Terrain elevation data encoded as a SecondDerivativeElevationGrid. cs/symbol:SecondDerivativeElevationGrid. See go/byte-encoded-terrain for more details."
807807
}
808808
},
809809
"type": "object"

clients/google-api-services-vectortile/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-vectortile</artifactId>
25-
<version>v1-rev20210118-1.32.1</version>
25+
<version>v1-rev20210817-1.32.1</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-vectortile:v1-rev20210118-1.32.1'
38+
compile 'com.google.apis:google-api-services-vectortile:v1-rev20210817-1.32.1'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)