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

Commit 7e98bd0

Browse files
chore(ruby): Re-enable bigquery-storage-v1 generation, which also required 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: https://github.com/googleapis/googleapis-gen/commit/99bb13c813c0e9c2682d03a8b3c3bcb382a909c9 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>
1 parent 8aa8f2d commit 7e98bd0

8 files changed

Lines changed: 36 additions & 36 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
2727
If you are using Gradle without BOM, add this to your dependencies
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-shell:2.1.2'
30+
implementation 'com.google.cloud:google-cloud-shell:2.1.3'
3131
```
3232

3333
If you are using SBT, add this to your dependencies
3434

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.1.2"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.1.3"
3737
```
3838

3939
## Authentication

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/AddPublicKeyRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,10 @@ public final boolean isInitialized() {
244244

245245
@java.lang.Override
246246
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
247-
if (!getEnvironmentBytes().isEmpty()) {
247+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
248248
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_);
249249
}
250-
if (!getKeyBytes().isEmpty()) {
250+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
251251
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
252252
}
253253
unknownFields.writeTo(output);
@@ -259,10 +259,10 @@ public int getSerializedSize() {
259259
if (size != -1) return size;
260260

261261
size = 0;
262-
if (!getEnvironmentBytes().isEmpty()) {
262+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
263263
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_);
264264
}
265-
if (!getKeyBytes().isEmpty()) {
265+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
266266
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
267267
}
268268
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/AddPublicKeyResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public final boolean isInitialized() {
175175

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

189189
size = 0;
190-
if (!getKeyBytes().isEmpty()) {
190+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
191191
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
192192
}
193193
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/AuthorizeEnvironmentRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,16 +357,16 @@ public final boolean isInitialized() {
357357

358358
@java.lang.Override
359359
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
360-
if (!getNameBytes().isEmpty()) {
360+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
361361
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
362362
}
363-
if (!getAccessTokenBytes().isEmpty()) {
363+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
364364
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accessToken_);
365365
}
366366
if (expireTime_ != null) {
367367
output.writeMessage(3, getExpireTime());
368368
}
369-
if (!getIdTokenBytes().isEmpty()) {
369+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idToken_)) {
370370
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, idToken_);
371371
}
372372
unknownFields.writeTo(output);
@@ -378,16 +378,16 @@ public int getSerializedSize() {
378378
if (size != -1) return size;
379379

380380
size = 0;
381-
if (!getNameBytes().isEmpty()) {
381+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
382382
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
383383
}
384-
if (!getAccessTokenBytes().isEmpty()) {
384+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
385385
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accessToken_);
386386
}
387387
if (expireTime_ != null) {
388388
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime());
389389
}
390-
if (!getIdTokenBytes().isEmpty()) {
390+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(idToken_)) {
391391
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, idToken_);
392392
}
393393
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/Environment.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -857,22 +857,22 @@ public final boolean isInitialized() {
857857

858858
@java.lang.Override
859859
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
860-
if (!getNameBytes().isEmpty()) {
860+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
861861
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
862862
}
863-
if (!getIdBytes().isEmpty()) {
863+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
864864
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
865865
}
866-
if (!getDockerImageBytes().isEmpty()) {
866+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dockerImage_)) {
867867
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dockerImage_);
868868
}
869869
if (state_ != com.google.cloud.shell.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
870870
output.writeEnum(4, state_);
871871
}
872-
if (!getSshUsernameBytes().isEmpty()) {
872+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshUsername_)) {
873873
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sshUsername_);
874874
}
875-
if (!getSshHostBytes().isEmpty()) {
875+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshHost_)) {
876876
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, sshHost_);
877877
}
878878
if (sshPort_ != 0) {
@@ -881,7 +881,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
881881
for (int i = 0; i < publicKeys_.size(); i++) {
882882
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, publicKeys_.getRaw(i));
883883
}
884-
if (!getWebHostBytes().isEmpty()) {
884+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webHost_)) {
885885
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, webHost_);
886886
}
887887
unknownFields.writeTo(output);
@@ -893,22 +893,22 @@ public int getSerializedSize() {
893893
if (size != -1) return size;
894894

895895
size = 0;
896-
if (!getNameBytes().isEmpty()) {
896+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
897897
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
898898
}
899-
if (!getIdBytes().isEmpty()) {
899+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
900900
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
901901
}
902-
if (!getDockerImageBytes().isEmpty()) {
902+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dockerImage_)) {
903903
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dockerImage_);
904904
}
905905
if (state_ != com.google.cloud.shell.v1.Environment.State.STATE_UNSPECIFIED.getNumber()) {
906906
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
907907
}
908-
if (!getSshUsernameBytes().isEmpty()) {
908+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshUsername_)) {
909909
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sshUsername_);
910910
}
911-
if (!getSshHostBytes().isEmpty()) {
911+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sshHost_)) {
912912
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sshHost_);
913913
}
914914
if (sshPort_ != 0) {
@@ -922,7 +922,7 @@ public int getSerializedSize() {
922922
size += dataSize;
923923
size += 1 * getPublicKeysList().size();
924924
}
925-
if (!getWebHostBytes().isEmpty()) {
925+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webHost_)) {
926926
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, webHost_);
927927
}
928928
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/GetEnvironmentRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public final boolean isInitialized() {
181181

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

195195
size = 0;
196-
if (!getNameBytes().isEmpty()) {
196+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
197197
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
198198
}
199199
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/RemovePublicKeyRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ public final boolean isInitialized() {
234234

235235
@java.lang.Override
236236
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
237-
if (!getEnvironmentBytes().isEmpty()) {
237+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
238238
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_);
239239
}
240-
if (!getKeyBytes().isEmpty()) {
240+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
241241
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
242242
}
243243
unknownFields.writeTo(output);
@@ -249,10 +249,10 @@ public int getSerializedSize() {
249249
if (size != -1) return size;
250250

251251
size = 0;
252-
if (!getEnvironmentBytes().isEmpty()) {
252+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(environment_)) {
253253
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_);
254254
}
255-
if (!getKeyBytes().isEmpty()) {
255+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) {
256256
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
257257
}
258258
size += unknownFields.getSerializedSize();

proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/StartEnvironmentRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,10 @@ public final boolean isInitialized() {
318318

319319
@java.lang.Override
320320
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
321-
if (!getNameBytes().isEmpty()) {
321+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
322322
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
323323
}
324-
if (!getAccessTokenBytes().isEmpty()) {
324+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
325325
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accessToken_);
326326
}
327327
for (int i = 0; i < publicKeys_.size(); i++) {
@@ -336,10 +336,10 @@ public int getSerializedSize() {
336336
if (size != -1) return size;
337337

338338
size = 0;
339-
if (!getNameBytes().isEmpty()) {
339+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
340340
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
341341
}
342-
if (!getAccessTokenBytes().isEmpty()) {
342+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessToken_)) {
343343
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accessToken_);
344344
}
345345
{

0 commit comments

Comments
 (0)