Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into migrate-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
yayi-google committed Feb 24, 2021
2 parents 7ef59f0 + 8e2ab01 commit e41cfba
Show file tree
Hide file tree
Showing 22 changed files with 235 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .github/readme/synth.metadata/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquerystorage.git",
"sha": "ca4f5bece97d981b4dba10b3c27ec1a01b4b111c"
"sha": "7e79458309350018aa5f43e3d02edfcca7649953"
}
},
{
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [1.11.0](https://www.github.com/googleapis/java-bigquerystorage/compare/v1.10.0...v1.11.0) (2021-02-24)


### Features

* Add max size check to StreamWriterV2 ([#873](https://www.github.com/googleapis/java-bigquerystorage/issues/873)) ([0261af4](https://www.github.com/googleapis/java-bigquerystorage/commit/0261af4e2dff5fd8515109c6336796815acb6c3c))
* Support building a BigQueryWriteClient within the StreamWriterV2 ([#876](https://www.github.com/googleapis/java-bigquerystorage/issues/876)) ([237c827](https://www.github.com/googleapis/java-bigquerystorage/commit/237c82711649672de1ce2e7382b909b74c0cd709))
* Support inflight control in StreamWriterV2 ([#875](https://www.github.com/googleapis/java-bigquerystorage/issues/875)) ([854c81e](https://www.github.com/googleapis/java-bigquerystorage/commit/854c81e20c3651295fd2dd5c9e87f48c67a9eeff))


### Documentation

* **samples:** add a new sample for parallel append ([#863](https://www.github.com/googleapis/java-bigquerystorage/issues/863)) ([ed1c265](https://www.github.com/googleapis/java-bigquerystorage/commit/ed1c26588ceb3e0d852fabefe8b3a89b8c74e6dd))


### Dependencies

* update dependency com.google.cloud:google-cloud-bigquery to v1.127.4 ([#869](https://www.github.com/googleapis/java-bigquerystorage/issues/869)) ([de747ec](https://www.github.com/googleapis/java-bigquerystorage/commit/de747ec971f28919438b14c9f77ec7a2fa3a5628))

## [1.10.0](https://www.github.com/googleapis/java-bigquerystorage/compare/v1.9.1...v1.10.0) (2021-02-23)


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@ If you are using Maven without BOM, add this to your dependencies:

If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
implementation platform('com.google.cloud:libraries-bom:16.4.0')
implementation platform('com.google.cloud:libraries-bom:17.0.0')
compile 'com.google.cloud:google-cloud-bigquerystorage'
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
compile 'com.google.cloud:google-cloud-bigquerystorage:1.10.0'
compile 'com.google.cloud:google-cloud-bigquerystorage:1.11.0'
```

If you are using SBT, add this to your dependencies
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "1.10.0"
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "1.11.0"
```

## Authentication
Expand Down
20 changes: 10 additions & 10 deletions google-cloud-bigquerystorage-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-bom</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<packaging>pom</packaging>
<parent>
<groupId>com.google.cloud</groupId>
Expand Down Expand Up @@ -63,48 +63,48 @@
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigquerystorage-v1alpha2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1alpha2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1alpha2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigquerystorage-v1beta1</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1beta1:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1beta1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigquerystorage-v1beta2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1beta2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1beta2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-bigquerystorage-v1</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-bigquerystorage-v1:current} -->
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1alpha2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1alpha2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1alpha2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1beta1</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta1:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1beta2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
4 changes: 2 additions & 2 deletions google-cloud-bigquerystorage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<packaging>jar</packaging>
<name>BigQuery Storage</name>
<url>https://github.com/googleapis/java-bigquerystorage</url>
<description>BigQuery Storage</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-parent</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</parent>
<properties>
<site.installationModule>google-cloud-bigquerystorage</site.installationModule>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.bigquery.storage.v1",
"libraryPackage": "com.google.cloud.bigquery.storage.v1",
"services": {
"BigQueryRead": {
"clients": {
"grpc": {
"libraryClient": "BaseBigQueryReadClient",
"rpcs": {
"CreateReadSession": {
"methods": ["createReadSession", "createReadSession", "createReadSession", "createReadSessionCallable"]
},
"ReadRows": {
"methods": ["readRowsCallable"]
},
"SplitReadStream": {
"methods": ["splitReadStream", "splitReadStreamCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.bigquery.storage.v1alpha2",
"libraryPackage": "com.google.cloud.bigquery.storage.v1alpha2",
"services": {
"BigQueryWrite": {
"clients": {
"grpc": {
"libraryClient": "BigQueryWriteClient",
"rpcs": {
"AppendRows": {
"methods": ["appendRowsCallable"]
},
"BatchCommitWriteStreams": {
"methods": ["batchCommitWriteStreams", "batchCommitWriteStreams", "batchCommitWriteStreams", "batchCommitWriteStreamsCallable"]
},
"CreateWriteStream": {
"methods": ["createWriteStream", "createWriteStream", "createWriteStream", "createWriteStreamCallable"]
},
"FinalizeWriteStream": {
"methods": ["finalizeWriteStream", "finalizeWriteStream", "finalizeWriteStream", "finalizeWriteStreamCallable"]
},
"FlushRows": {
"methods": ["flushRows", "flushRows", "flushRows", "flushRowsCallable"]
},
"GetWriteStream": {
"methods": ["getWriteStream", "getWriteStream", "getWriteStream", "getWriteStreamCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.bigquery.storage.v1beta1",
"libraryPackage": "com.google.cloud.bigquery.storage.v1beta1",
"services": {
"BigQueryStorage": {
"clients": {
"grpc": {
"libraryClient": "BaseBigQueryStorageClient",
"rpcs": {
"BatchCreateReadSessionStreams": {
"methods": ["batchCreateReadSessionStreams", "batchCreateReadSessionStreams", "batchCreateReadSessionStreamsCallable"]
},
"CreateReadSession": {
"methods": ["createReadSession", "createReadSession", "createReadSession", "createReadSessionCallable"]
},
"FinalizeStream": {
"methods": ["finalizeStream", "finalizeStream", "finalizeStreamCallable"]
},
"ReadRows": {
"methods": ["readRowsCallable"]
},
"SplitReadStream": {
"methods": ["splitReadStream", "splitReadStream", "splitReadStreamCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.bigquery.storage.v1beta2",
"libraryPackage": "com.google.cloud.bigquery.storage.v1beta2",
"services": {
"BigQueryRead": {
"clients": {
"grpc": {
"libraryClient": "BaseBigQueryReadClient",
"rpcs": {
"CreateReadSession": {
"methods": ["createReadSession", "createReadSession", "createReadSession", "createReadSessionCallable"]
},
"ReadRows": {
"methods": ["readRowsCallable"]
},
"SplitReadStream": {
"methods": ["splitReadStream", "splitReadStreamCallable"]
}
}
}
}
},
"BigQueryWrite": {
"clients": {
"grpc": {
"libraryClient": "BigQueryWriteClient",
"rpcs": {
"AppendRows": {
"methods": ["appendRowsCallable"]
},
"BatchCommitWriteStreams": {
"methods": ["batchCommitWriteStreams", "batchCommitWriteStreams", "batchCommitWriteStreamsCallable"]
},
"CreateWriteStream": {
"methods": ["createWriteStream", "createWriteStream", "createWriteStream", "createWriteStreamCallable"]
},
"FinalizeWriteStream": {
"methods": ["finalizeWriteStream", "finalizeWriteStream", "finalizeWriteStream", "finalizeWriteStreamCallable"]
},
"FlushRows": {
"methods": ["flushRows", "flushRows", "flushRows", "flushRowsCallable"]
},
"GetWriteStream": {
"methods": ["getWriteStream", "getWriteStream", "getWriteStream", "getWriteStreamCallable"]
}
}
}
}
}
}
}
4 changes: 2 additions & 2 deletions grpc-google-cloud-bigquerystorage-v1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1:current} -->
<name>grpc-google-cloud-bigquerystorage-v1</name>
<description>GRPC library for grpc-google-cloud-bigquerystorage-v1</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-parent</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions grpc-google-cloud-bigquerystorage-v1alpha2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1alpha2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1alpha2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1alpha2:current} -->
<name>grpc-google-cloud-bigquerystorage-v1alpha2</name>
<description>GRPC library for grpc-google-cloud-bigquerystorage-v1alpha2</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-parent</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions grpc-google-cloud-bigquerystorage-v1beta1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1beta1</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta1:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta1:current} -->
<name>grpc-google-cloud-bigquerystorage-v1beta1</name>
<description>GRPC library for grpc-google-cloud-bigquerystorage-v1beta1</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-parent</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions grpc-google-cloud-bigquerystorage-v1beta2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-bigquerystorage-v1beta2</artifactId>
<version>0.110.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta2:current} -->
<version>0.111.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-bigquerystorage-v1beta2:current} -->
<name>grpc-google-cloud-bigquerystorage-v1beta2</name>
<description>GRPC library for grpc-google-cloud-bigquerystorage-v1beta2</description>
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerystorage-parent</artifactId>
<version>1.10.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
<version>1.11.1-SNAPSHOT</version><!-- {x-version-update:google-cloud-bigquerystorage:current} -->
</parent>
<dependencies>
<dependency>
Expand Down
Loading

0 comments on commit e41cfba

Please sign in to comment.