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 (#591)

- [x] Regenerate this pull request now.

PiperOrigin-RevId: 403132955

Source-Link: googleapis/googleapis@d2977af

Source-Link: googleapis/googleapis-gen@99bb13c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTliYjEzYzgxM2MwZTljMjY4MmQwM2E4YjNjM2JjYjM4MmE5MDljOSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Oct 19, 2021
1 parent 78be91b commit 8d9df94
Show file tree
Hide file tree
Showing 142 changed files with 1,057 additions and 1,057 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-container'
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-container:2.2.0'
implementation 'com.google.cloud:google-cloud-container:2.2.1'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.2.0"
libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.2.1"
```

## Authentication
Expand Down
Expand Up @@ -202,7 +202,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (acceleratorCount_ != 0L) {
output.writeInt64(1, acceleratorCount_);
}
if (!getAcceleratorTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, acceleratorType_);
}
unknownFields.writeTo(output);
Expand All @@ -217,7 +217,7 @@ public int getSerializedSize() {
if (acceleratorCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, acceleratorCount_);
}
if (!getAcceleratorTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -203,7 +203,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (enabled_ != false) {
output.writeBool(1, enabled_);
}
if (!getSecurityGroupBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, securityGroup_);
}
unknownFields.writeTo(output);
Expand All @@ -218,7 +218,7 @@ public int getSerializedSize() {
if (enabled_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
}
if (!getSecurityGroupBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, securityGroup_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -238,10 +238,10 @@ public final boolean isInitialized() {

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

size = 0;
if (!getAutoUpgradeStartTimeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(autoUpgradeStartTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, autoUpgradeStartTime_);
}
if (!getDescriptionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -731,7 +731,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < oauthScopes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthScopes_.getRaw(i));
}
if (!getServiceAccountBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceAccount_);
}
if (upgradeSettings_ != null) {
Expand All @@ -740,22 +740,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (management_ != null) {
output.writeMessage(4, getManagement());
}
if (!getMinCpuPlatformBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, minCpuPlatform_);
}
if (diskSizeGb_ != 0) {
output.writeInt32(6, diskSizeGb_);
}
if (!getDiskTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, diskType_);
}
if (shieldedInstanceConfig_ != null) {
output.writeMessage(8, getShieldedInstanceConfig());
}
if (!getBootDiskKmsKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, bootDiskKmsKey_);
}
if (!getImageTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, imageType_);
}
unknownFields.writeTo(output);
Expand All @@ -775,7 +775,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getOauthScopesList().size();
}
if (!getServiceAccountBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_);
}
if (upgradeSettings_ != null) {
Expand All @@ -784,23 +784,23 @@ public int getSerializedSize() {
if (management_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getManagement());
}
if (!getMinCpuPlatformBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, minCpuPlatform_);
}
if (diskSizeGb_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, diskSizeGb_);
}
if (!getDiskTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, diskType_);
}
if (shieldedInstanceConfig_ != null) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(8, getShieldedInstanceConfig());
}
if (!getBootDiskKmsKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bootDiskKmsKey_);
}
if (!getImageTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, imageType_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -365,16 +365,16 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
}
if (!getZoneBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, zone_);
}
if (!getOperationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, operationId_);
}
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
unknownFields.writeTo(output);
Expand All @@ -386,16 +386,16 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
}
if (!getZoneBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_);
}
if (!getOperationIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, operationId_);
}
if (!getNameBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit 8d9df94

Please sign in to comment.