Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore(ruby): Re-enable bigquery-storage-v1 generation, which also req…
Browse files Browse the repository at this point in the history
…uired updating protobuf from 3.15.3 to 3.18.1 for codegen (#102)

* chore(ruby): Re-enable bigquery-storage-v1 generation, which also required updating protobuf from 3.15.3 to 3.18.1 for codegen

PiperOrigin-RevId: 403132955

Source-Link: googleapis/googleapis@d2977af

Source-Link: googleapis/googleapis-gen@99bb13c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 21, 2021
1 parent 8aa8f2d commit 7e98bd0
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-shell:2.1.2'
implementation 'com.google.cloud:google-cloud-shell:2.1.3'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.1.2"
libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.1.3"
```

## Authentication
Expand Down
Expand Up @@ -244,10 +244,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getEnvironmentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_);
}
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
unknownFields.writeTo(output);
Expand All @@ -259,10 +259,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getEnvironmentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_);
}
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -175,7 +175,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
unknownFields.writeTo(output);
Expand All @@ -187,7 +187,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -357,16 +357,16 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getAccessTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accessToken_);
}
if (expireTime_ != null) {
output.writeMessage(3, getExpireTime());
}
if (!getIdTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, idToken_);
}
unknownFields.writeTo(output);
Expand All @@ -378,16 +378,16 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getAccessTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accessToken_);
}
if (expireTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime());
}
if (!getIdTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, idToken_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -857,22 +857,22 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
if (!getDockerImageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dockerImage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dockerImage_);
}
if (state_ != com.google.cloud.shell.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
output.writeEnum(4, state_);
}
if (!getSshUsernameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshUsername_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sshUsername_);
}
if (!getSshHostBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshHost_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, sshHost_);
}
if (sshPort_ != 0) {
Expand All @@ -881,7 +881,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < publicKeys_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, publicKeys_.getRaw(i));
}
if (!getWebHostBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webHost_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, webHost_);
}
unknownFields.writeTo(output);
Expand All @@ -893,22 +893,22 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
if (!getDockerImageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dockerImage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dockerImage_);
}
if (state_ != com.google.cloud.shell.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
}
if (!getSshUsernameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshUsername_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sshUsername_);
}
if (!getSshHostBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshHost_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sshHost_);
}
if (sshPort_ != 0) {
Expand All @@ -922,7 +922,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getPublicKeysList().size();
}
if (!getWebHostBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webHost_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, webHost_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -181,7 +181,7 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
unknownFields.writeTo(output);
Expand All @@ -193,7 +193,7 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -234,10 +234,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getEnvironmentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_);
}
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
unknownFields.writeTo(output);
Expand All @@ -249,10 +249,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getEnvironmentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_);
}
if (!getKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -318,10 +318,10 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!getAccessTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accessToken_);
}
for (int i = 0; i < publicKeys_.size(); i++) {
Expand All @@ -336,10 +336,10 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!getAccessTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accessToken_);
}
{
Expand Down

0 comments on commit 7e98bd0

Please sign in to comment.