Skip to content
This repository has been archived by the owner on Jul 17, 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 (#210)

- [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 21, 2021
1 parent 3265346 commit 1036c78
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 48 deletions.
Expand Up @@ -184,7 +184,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 @@ -196,7 +196,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 @@ -255,7 +255,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (execution_ != null) {
Expand Down
Expand Up @@ -663,10 +663,10 @@ public final boolean isInitialized() {

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

size = 0;
if (!getPayloadBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_);
}
if (!getContextBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_);
}
size += unknownFields.getSerializedSize();
Expand Down Expand Up @@ -1670,7 +1670,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_);
}
if (startTime_ != null) {
Expand All @@ -1683,16 +1683,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
!= com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) {
output.writeEnum(4, state_);
}
if (!getArgumentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_);
}
if (!getResultBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_);
}
if (error_ != null) {
output.writeMessage(7, getError());
}
if (!getWorkflowRevisionIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_);
}
unknownFields.writeTo(output);
Expand All @@ -1704,7 +1704,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_);
}
if (startTime_ != null) {
Expand All @@ -1717,16 +1717,16 @@ public int getSerializedSize() {
!= com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
}
if (!getArgumentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_);
}
if (!getResultBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_);
}
if (error_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError());
}
if (!getWorkflowRevisionIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -236,7 +236,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_);
}
if (view_
Expand All @@ -253,7 +253,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_);
}
if (view_
Expand Down
Expand Up @@ -324,13 +324,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
if (view_
Expand All @@ -347,13 +347,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
if (view_
Expand Down
Expand Up @@ -269,7 +269,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < executions_.size(); i++) {
output.writeMessage(1, executions_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
Expand All @@ -284,7 +284,7 @@ public int getSerializedSize() {
for (int i = 0; i < executions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -184,7 +184,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 @@ -196,7 +196,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 @@ -255,7 +255,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (execution_ != null) {
Expand Down
Expand Up @@ -663,10 +663,10 @@ public final boolean isInitialized() {

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

size = 0;
if (!getPayloadBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_);
}
if (!getContextBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_);
}
size += unknownFields.getSerializedSize();
Expand Down Expand Up @@ -1676,7 +1676,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_);
}
if (startTime_ != null) {
Expand All @@ -1690,16 +1690,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
.getNumber()) {
output.writeEnum(4, state_);
}
if (!getArgumentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_);
}
if (!getResultBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_);
}
if (error_ != null) {
output.writeMessage(7, getError());
}
if (!getWorkflowRevisionIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_);
}
unknownFields.writeTo(output);
Expand All @@ -1711,7 +1711,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_);
}
if (startTime_ != null) {
Expand All @@ -1725,16 +1725,16 @@ public int getSerializedSize() {
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_);
}
if (!getArgumentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_);
}
if (!getResultBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_);
}
if (error_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError());
}
if (!getWorkflowRevisionIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -236,7 +236,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_);
}
if (view_
Expand All @@ -253,7 +253,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_);
}
if (view_
Expand Down
Expand Up @@ -324,13 +324,13 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
}
if (view_
Expand All @@ -347,13 +347,13 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getParentBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
}
if (!getPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
}
if (view_
Expand Down
Expand Up @@ -271,7 +271,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < executions_.size(); i++) {
output.writeMessage(1, executions_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
Expand All @@ -286,7 +286,7 @@ public int getSerializedSize() {
for (int i = 0; i < executions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
Expand Down

0 comments on commit 1036c78

Please sign in to comment.