Skip to content

Commit

Permalink
chore: Re-enable bigquery-storage-v1 generation, which also required …
Browse files Browse the repository at this point in the history
…updating protobuf from 3.15.3 to 3.18.1 for codegen (#1111)

PiperOrigin-RevId: 403132955

Source-Author: Google APIs <noreply@google.com>
Source-Date: Thu Oct 14 10:50:47 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: d2977af9e9f1fc0c9dc8368352daa032471f3c63
Source-Link: googleapis/googleapis@d2977af
  • Loading branch information
yoshi-automation committed Oct 25, 2021
1 parent 0f5b3cb commit b91d1bc
Show file tree
Hide file tree
Showing 20 changed files with 236 additions and 236 deletions.

Large diffs are not rendered by default.

Expand Up @@ -550,22 +550,22 @@ public final boolean isInitialized() {

@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, role_);
}
if (!getIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
if (!getEntityBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, entity_);
}
if (!getEntityIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, entityId_);
}
if (!getEmailBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, email_);
}
if (!getDomainBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, domain_);
}
if (projectTeam_ != null) {
Expand All @@ -580,22 +580,22 @@ public int getSerializedSize() {
if (size != -1) return size;

size = 0;
if (!getRoleBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(role_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, role_);
}
if (!getIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
if (!getEntityBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, entity_);
}
if (!getEntityIdBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, entityId_);
}
if (!getEmailBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(email_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, email_);
}
if (!getDomainBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, domain_);
}
if (projectTeam_ != null) {
Expand Down
Expand Up @@ -145,7 +145,7 @@ public com.google.protobuf.ByteString getContent() {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return Whether the crc32c field is set.
*/
Expand All @@ -160,7 +160,7 @@ public boolean hasCrc32C() {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return The crc32c.
*/
Expand Down Expand Up @@ -574,7 +574,7 @@ public Builder clearContent() {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return Whether the crc32c field is set.
*/
Expand All @@ -589,7 +589,7 @@ public boolean hasCrc32C() {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return The crc32c.
*/
Expand All @@ -604,7 +604,7 @@ public int getCrc32C() {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @param value The crc32c to set.
* @return This builder for chaining.
Expand All @@ -622,7 +622,7 @@ public Builder setCrc32C(int value) {
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return This builder for chaining.
*/
Expand Down
Expand Up @@ -43,7 +43,7 @@ public interface ChecksummedDataOrBuilder
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return Whether the crc32c field is set.
*/
Expand All @@ -55,7 +55,7 @@ public interface ChecksummedDataOrBuilder
* If set, the CRC32C digest of the content field.
* </pre>
*
* <code>fixed32 crc32c = 2;</code>
* <code>optional fixed32 crc32c = 2;</code>
*
* @return The crc32c.
*/
Expand Down
Expand Up @@ -224,7 +224,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getEncryptionAlgorithmBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionAlgorithm_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encryptionAlgorithm_);
}
if (!encryptionKeyBytes_.isEmpty()) {
Expand Down
Expand Up @@ -180,7 +180,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getUserProjectBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userProject_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userProject_);
}
size += unknownFields.getSerializedSize();
Expand Down
Expand Up @@ -607,7 +607,7 @@ public final boolean isInitialized() {

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

size = 0;
if (!getEncryptionAlgorithmBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionAlgorithm_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encryptionAlgorithm_);
}
if (!keySha256Bytes_.isEmpty()) {
Expand Down Expand Up @@ -2283,7 +2283,7 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @return Whether the eventBasedHold field is set.
*/
Expand All @@ -2307,7 +2307,7 @@ public boolean hasEventBasedHold() {
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @return The eventBasedHold.
*/
Expand Down Expand Up @@ -2479,10 +2479,10 @@ 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 (!getBucketBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucket_);
}
if (generation_ != 0L) {
Expand All @@ -2491,31 +2491,31 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (metageneration_ != 0L) {
output.writeInt64(4, metageneration_);
}
if (!getStorageClassBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageClass_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, storageClass_);
}
if (size_ != 0L) {
output.writeInt64(6, size_);
}
if (!getContentEncodingBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentEncoding_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, contentEncoding_);
}
if (!getContentDispositionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentDisposition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, contentDisposition_);
}
if (!getCacheControlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cacheControl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, cacheControl_);
}
for (int i = 0; i < acl_.size(); i++) {
output.writeMessage(10, acl_.get(i));
}
if (!getContentLanguageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentLanguage_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, contentLanguage_);
}
if (deleteTime_ != null) {
output.writeMessage(12, getDeleteTime());
}
if (!getContentTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, contentType_);
}
if (createTime_ != null) {
Expand All @@ -2530,7 +2530,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (updateTime_ != null) {
output.writeMessage(17, getUpdateTime());
}
if (!getKmsKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, kmsKey_);
}
if (updateStorageClassTime_ != null) {
Expand Down Expand Up @@ -2565,10 +2565,10 @@ 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 (!getBucketBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucket_);
}
if (generation_ != 0L) {
Expand All @@ -2577,31 +2577,31 @@ public int getSerializedSize() {
if (metageneration_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, metageneration_);
}
if (!getStorageClassBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageClass_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, storageClass_);
}
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, size_);
}
if (!getContentEncodingBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentEncoding_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, contentEncoding_);
}
if (!getContentDispositionBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentDisposition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, contentDisposition_);
}
if (!getCacheControlBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cacheControl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, cacheControl_);
}
for (int i = 0; i < acl_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, acl_.get(i));
}
if (!getContentLanguageBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentLanguage_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, contentLanguage_);
}
if (deleteTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDeleteTime());
}
if (!getContentTypeBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, contentType_);
}
if (createTime_ != null) {
Expand All @@ -2616,7 +2616,7 @@ public int getSerializedSize() {
if (updateTime_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getUpdateTime());
}
if (!getKmsKeyBytes().isEmpty()) {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, kmsKey_);
}
if (updateStorageClassTime_ != null) {
Expand Down Expand Up @@ -6623,7 +6623,7 @@ public Builder putAllMetadata(java.util.Map<java.lang.String, java.lang.String>
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @return Whether the eventBasedHold field is set.
*/
Expand All @@ -6647,7 +6647,7 @@ public boolean hasEventBasedHold() {
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @return The eventBasedHold.
*/
Expand All @@ -6671,7 +6671,7 @@ public boolean getEventBasedHold() {
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @param value The eventBasedHold to set.
* @return This builder for chaining.
Expand All @@ -6698,7 +6698,7 @@ public Builder setEventBasedHold(boolean value) {
* In a response, this field will always be set to true or false.
* </pre>
*
* <code>bool event_based_hold = 23;</code>
* <code>optional bool event_based_hold = 23;</code>
*
* @return This builder for chaining.
*/
Expand Down

0 comments on commit b91d1bc

Please sign in to comment.