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

Commit de5ea90

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 (#318)
- [x] Regenerate this pull request now. PiperOrigin-RevId: 403132955 Source-Link: googleapis/googleapis@d2977af Source-Link: https://github.com/googleapis/googleapis-gen/commit/99bb13c813c0e9c2682d03a8b3c3bcb382a909c9 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9
1 parent a042af5 commit de5ea90

17 files changed

Lines changed: 64 additions & 64 deletions

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-functions:2.2.0'
30+
implementation 'com.google.cloud:google-cloud-functions:2.2.1'
3131
```
3232

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

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.2.0"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.2.1"
3737
```
3838

3939
## Authentication

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CallFunctionRequest.java

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

236236
@java.lang.Override
237237
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
238-
if (!getNameBytes().isEmpty()) {
238+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
239239
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
240240
}
241-
if (!getDataBytes().isEmpty()) {
241+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) {
242242
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, data_);
243243
}
244244
unknownFields.writeTo(output);
@@ -250,10 +250,10 @@ public int getSerializedSize() {
250250
if (size != -1) return size;
251251

252252
size = 0;
253-
if (!getNameBytes().isEmpty()) {
253+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
254254
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
255255
}
256-
if (!getDataBytes().isEmpty()) {
256+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(data_)) {
257257
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, data_);
258258
}
259259
size += unknownFields.getSerializedSize();

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CallFunctionResponse.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,13 +292,13 @@ public final boolean isInitialized() {
292292

293293
@java.lang.Override
294294
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
295-
if (!getExecutionIdBytes().isEmpty()) {
295+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionId_)) {
296296
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, executionId_);
297297
}
298-
if (!getResultBytes().isEmpty()) {
298+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
299299
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, result_);
300300
}
301-
if (!getErrorBytes().isEmpty()) {
301+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) {
302302
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, error_);
303303
}
304304
unknownFields.writeTo(output);
@@ -310,13 +310,13 @@ public int getSerializedSize() {
310310
if (size != -1) return size;
311311

312312
size = 0;
313-
if (!getExecutionIdBytes().isEmpty()) {
313+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionId_)) {
314314
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, executionId_);
315315
}
316-
if (!getResultBytes().isEmpty()) {
316+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
317317
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, result_);
318318
}
319-
if (!getErrorBytes().isEmpty()) {
319+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(error_)) {
320320
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, error_);
321321
}
322322
size += unknownFields.getSerializedSize();

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,10 +2051,10 @@ public final boolean isInitialized() {
20512051

20522052
@java.lang.Override
20532053
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
2054-
if (!getNameBytes().isEmpty()) {
2054+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
20552055
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
20562056
}
2057-
if (!getDescriptionBytes().isEmpty()) {
2057+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
20582058
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
20592059
}
20602060
if (sourceCodeCase_ == 3) {
@@ -2074,7 +2074,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
20742074
.getNumber()) {
20752075
output.writeEnum(7, status_);
20762076
}
2077-
if (!getEntryPointBytes().isEmpty()) {
2077+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
20782078
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, entryPoint_);
20792079
}
20802080
if (timeout_ != null) {
@@ -2083,7 +2083,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
20832083
if (availableMemoryMb_ != 0) {
20842084
output.writeInt32(10, availableMemoryMb_);
20852085
}
2086-
if (!getServiceAccountEmailBytes().isEmpty()) {
2086+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) {
20872087
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, serviceAccountEmail_);
20882088
}
20892089
if (updateTime_ != null) {
@@ -2102,16 +2102,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
21022102
internalGetEnvironmentVariables(),
21032103
EnvironmentVariablesDefaultEntryHolder.defaultEntry,
21042104
17);
2105-
if (!getNetworkBytes().isEmpty()) {
2105+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
21062106
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, network_);
21072107
}
2108-
if (!getRuntimeBytes().isEmpty()) {
2108+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtime_)) {
21092109
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, runtime_);
21102110
}
21112111
if (maxInstances_ != 0) {
21122112
output.writeInt32(20, maxInstances_);
21132113
}
2114-
if (!getVpcConnectorBytes().isEmpty()) {
2114+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcConnector_)) {
21152115
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, vpcConnector_);
21162116
}
21172117
if (vpcConnectorEgressSettings_
@@ -2125,7 +2125,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
21252125
.getNumber()) {
21262126
output.writeEnum(24, ingressSettings_);
21272127
}
2128-
if (!getBuildIdBytes().isEmpty()) {
2128+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildId_)) {
21292129
com.google.protobuf.GeneratedMessageV3.writeString(output, 27, buildId_);
21302130
}
21312131
unknownFields.writeTo(output);
@@ -2137,10 +2137,10 @@ public int getSerializedSize() {
21372137
if (size != -1) return size;
21382138

21392139
size = 0;
2140-
if (!getNameBytes().isEmpty()) {
2140+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
21412141
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
21422142
}
2143-
if (!getDescriptionBytes().isEmpty()) {
2143+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
21442144
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
21452145
}
21462146
if (sourceCodeCase_ == 3) {
@@ -2166,7 +2166,7 @@ public int getSerializedSize() {
21662166
.getNumber()) {
21672167
size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, status_);
21682168
}
2169-
if (!getEntryPointBytes().isEmpty()) {
2169+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entryPoint_)) {
21702170
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, entryPoint_);
21712171
}
21722172
if (timeout_ != null) {
@@ -2175,7 +2175,7 @@ public int getSerializedSize() {
21752175
if (availableMemoryMb_ != 0) {
21762176
size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, availableMemoryMb_);
21772177
}
2178-
if (!getServiceAccountEmailBytes().isEmpty()) {
2178+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) {
21792179
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, serviceAccountEmail_);
21802180
}
21812181
if (updateTime_ != null) {
@@ -2207,16 +2207,16 @@ public int getSerializedSize() {
22072207
.build();
22082208
size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, environmentVariables__);
22092209
}
2210-
if (!getNetworkBytes().isEmpty()) {
2210+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
22112211
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, network_);
22122212
}
2213-
if (!getRuntimeBytes().isEmpty()) {
2213+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runtime_)) {
22142214
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, runtime_);
22152215
}
22162216
if (maxInstances_ != 0) {
22172217
size += com.google.protobuf.CodedOutputStream.computeInt32Size(20, maxInstances_);
22182218
}
2219-
if (!getVpcConnectorBytes().isEmpty()) {
2219+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vpcConnector_)) {
22202220
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, vpcConnector_);
22212221
}
22222222
if (vpcConnectorEgressSettings_
@@ -2231,7 +2231,7 @@ public int getSerializedSize() {
22312231
.getNumber()) {
22322232
size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, ingressSettings_);
22332233
}
2234-
if (!getBuildIdBytes().isEmpty()) {
2234+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildId_)) {
22352235
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, buildId_);
22362236
}
22372237
size += unknownFields.getSerializedSize();

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CreateFunctionRequest.java

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

251251
@java.lang.Override
252252
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
253-
if (!getLocationBytes().isEmpty()) {
253+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
254254
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_);
255255
}
256256
if (function_ != null) {
@@ -265,7 +265,7 @@ public int getSerializedSize() {
265265
if (size != -1) return size;
266266

267267
size = 0;
268-
if (!getLocationBytes().isEmpty()) {
268+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) {
269269
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, location_);
270270
}
271271
if (function_ != null) {

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/DeleteFunctionRequest.java

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

179179
@java.lang.Override
180180
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
181-
if (!getNameBytes().isEmpty()) {
181+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
182182
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
183183
}
184184
unknownFields.writeTo(output);
@@ -190,7 +190,7 @@ public int getSerializedSize() {
190190
if (size != -1) return size;
191191

192192
size = 0;
193-
if (!getNameBytes().isEmpty()) {
193+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
194194
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
195195
}
196196
size += unknownFields.getSerializedSize();

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/EventTrigger.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,13 @@ public final boolean isInitialized() {
409409

410410
@java.lang.Override
411411
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
412-
if (!getEventTypeBytes().isEmpty()) {
412+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventType_)) {
413413
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventType_);
414414
}
415-
if (!getResourceBytes().isEmpty()) {
415+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
416416
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resource_);
417417
}
418-
if (!getServiceBytes().isEmpty()) {
418+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
419419
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, service_);
420420
}
421421
if (failurePolicy_ != null) {
@@ -430,13 +430,13 @@ public int getSerializedSize() {
430430
if (size != -1) return size;
431431

432432
size = 0;
433-
if (!getEventTypeBytes().isEmpty()) {
433+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventType_)) {
434434
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventType_);
435435
}
436-
if (!getResourceBytes().isEmpty()) {
436+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
437437
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resource_);
438438
}
439-
if (!getServiceBytes().isEmpty()) {
439+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) {
440440
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, service_);
441441
}
442442
if (failurePolicy_ != null) {

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/GenerateDownloadUrlRequest.java

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

201201
@java.lang.Override
202202
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
203-
if (!getNameBytes().isEmpty()) {
203+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
204204
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
205205
}
206206
if (versionId_ != 0L) {
@@ -215,7 +215,7 @@ public int getSerializedSize() {
215215
if (size != -1) return size;
216216

217217
size = 0;
218-
if (!getNameBytes().isEmpty()) {
218+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
219219
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
220220
}
221221
if (versionId_ != 0L) {

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/GenerateDownloadUrlResponse.java

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

177177
@java.lang.Override
178178
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
179-
if (!getDownloadUrlBytes().isEmpty()) {
179+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(downloadUrl_)) {
180180
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, downloadUrl_);
181181
}
182182
unknownFields.writeTo(output);
@@ -188,7 +188,7 @@ public int getSerializedSize() {
188188
if (size != -1) return size;
189189

190190
size = 0;
191-
if (!getDownloadUrlBytes().isEmpty()) {
191+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(downloadUrl_)) {
192192
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, downloadUrl_);
193193
}
194194
size += unknownFields.getSerializedSize();

proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/GenerateUploadUrlRequest.java

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

177177
@java.lang.Override
178178
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
179-
if (!getParentBytes().isEmpty()) {
179+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
180180
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
181181
}
182182
unknownFields.writeTo(output);
@@ -188,7 +188,7 @@ public int getSerializedSize() {
188188
if (size != -1) return size;
189189

190190
size = 0;
191-
if (!getParentBytes().isEmpty()) {
191+
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
192192
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
193193
}
194194
size += unknownFields.getSerializedSize();

0 commit comments

Comments
 (0)