Skip to content

Commit

Permalink
chore: protobuf 3.18.1 (#555)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/6c36d33a-e118-40fa-be81-d54f579fe14f/targets

- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 403132955
Source-Link: googleapis/googleapis@d2977af
  • Loading branch information
yoshi-automation authored Oct 25, 2021
1 parent 238f73c commit 71da2ca
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(1, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
unknownFields.writeTo(output);
Expand All @@ -284,7 +284,7 @@ public int getSerializedSize() {
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ 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, 8, projectId_);
}
if (transactionOptions_ != null) {
Expand All @@ -253,7 +253,7 @@ 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(8, projectId_);
}
if (transactionOptions_ != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < mutations_.size(); i++) {
output.writeMessage(6, mutations_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
unknownFields.writeTo(output);
Expand All @@ -629,7 +629,7 @@ public int getSerializedSize() {
for (int i = 0; i < mutations_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, mutations_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getQueryStringBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryString_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryString_);
}
if (allowLiterals_ != false) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getKindBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_);
}
if (idTypeCase_ == 2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,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 @@ -186,7 +186,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
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(3, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
unknownFields.writeTo(output);
Expand All @@ -349,7 +349,7 @@ public int getSerializedSize() {
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ 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, 2, projectId_);
}
if (!getNamespaceIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespaceId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, namespaceId_);
}
unknownFields.writeTo(output);
Expand All @@ -261,10 +261,10 @@ 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(2, projectId_);
}
if (!getNamespaceIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namespaceId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, namespaceId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,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, 2, name_);
}
unknownFields.writeTo(output);
Expand All @@ -188,7 +188,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(2, name_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < keys_.size(); i++) {
output.writeMessage(1, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
if (!getDatabaseIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, databaseId_);
}
unknownFields.writeTo(output);
Expand All @@ -344,10 +344,10 @@ public int getSerializedSize() {
for (int i = 0; i < keys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
if (!getDatabaseIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!transaction_.isEmpty()) {
output.writeBytes(1, transaction_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
unknownFields.writeTo(output);
Expand All @@ -217,7 +217,7 @@ public int getSerializedSize() {
if (!transaction_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
size += unknownFields.getSerializedSize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (queryTypeCase_ == 7) {
output.writeMessage(7, (com.google.datastore.v1.GqlQuery) queryType_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_);
}
unknownFields.writeTo(output);
Expand Down Expand Up @@ -530,7 +530,7 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
7, (com.google.datastore.v1.GqlQuery) queryType_);
}
if (!getProjectIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
}
size += unknownFields.getSerializedSize();
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
"sha": "d2977af9e9f1fc0c9dc8368352daa032471f3c63",
"internalRef": "403132955"
}
},
{
Expand Down

0 comments on commit 71da2ca

Please sign in to comment.