Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit923e978

Browse files
chore(bazel): update protobuf to v3.21.7 (googleapis#783)
- [ ] Regenerate this pull request now.PiperOrigin-RevId: 477955264Source-Link:https://togithub.com/googleapis/googleapis/commit/a724450af76d0001f23602684c49cd6a4b3a5654Source-Link:https://togithub.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9
1 parent542e7dc commit923e978

File tree

17 files changed

+1544
-2417
lines changed

17 files changed

+1544
-2417
lines changed

‎java-bigqueryconnection/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-bigqueryconnection:2.5.4'
30+
implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.5.5'
3131
```
3232

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

3535
```Scala
36-
libraryDependencies+="com.google.cloud"%"google-cloud-bigqueryconnection"%"2.5.4"
36+
libraryDependencies+="com.google.cloud"%"google-cloud-bigqueryconnection"%"2.5.5"
3737
```
3838

3939
##Authentication

‎java-bigqueryconnection/proto-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/AwsAccessRole.java‎

Lines changed: 51 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -54,59 +54,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
5454
returnthis.unknownFields;
5555
}
5656

57-
privateAwsAccessRole(
58-
com.google.protobuf.CodedInputStreaminput,
59-
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
60-
throwscom.google.protobuf.InvalidProtocolBufferException {
61-
this();
62-
if (extensionRegistry ==null) {
63-
thrownewjava.lang.NullPointerException();
64-
}
65-
com.google.protobuf.UnknownFieldSet.BuilderunknownFields =
66-
com.google.protobuf.UnknownFieldSet.newBuilder();
67-
try {
68-
booleandone =false;
69-
while (!done) {
70-
inttag =input.readTag();
71-
switch (tag) {
72-
case0:
73-
done =true;
74-
break;
75-
case10:
76-
{
77-
java.lang.Strings =input.readStringRequireUtf8();
78-
79-
iamRoleId_ =s;
80-
break;
81-
}
82-
case18:
83-
{
84-
java.lang.Strings =input.readStringRequireUtf8();
85-
86-
identity_ =s;
87-
break;
88-
}
89-
default:
90-
{
91-
if (!parseUnknownField(input,unknownFields,extensionRegistry,tag)) {
92-
done =true;
93-
}
94-
break;
95-
}
96-
}
97-
}
98-
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
99-
throwe.setUnfinishedMessage(this);
100-
}catch (com.google.protobuf.UninitializedMessageExceptione) {
101-
throwe.asInvalidProtocolBufferException().setUnfinishedMessage(this);
102-
}catch (java.io.IOExceptione) {
103-
thrownewcom.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
104-
}finally {
105-
this.unknownFields =unknownFields.build();
106-
makeExtensionsImmutable();
107-
}
108-
}
109-
11057
publicstaticfinalcom.google.protobuf.Descriptors.DescriptorgetDescriptor() {
11158
returncom.google.cloud.bigquery.connection.v1.ConnectionOuterClass
11259
.internal_static_google_cloud_bigquery_connection_v1_AwsAccessRole_descriptor;
@@ -244,7 +191,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
244191
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) {
245192
com.google.protobuf.GeneratedMessageV3.writeString(output,2,identity_);
246193
}
247-
unknownFields.writeTo(output);
194+
getUnknownFields().writeTo(output);
248195
}
249196

250197
@java.lang.Override
@@ -259,7 +206,7 @@ public int getSerializedSize() {
259206
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identity_)) {
260207
size +=com.google.protobuf.GeneratedMessageV3.computeStringSize(2,identity_);
261208
}
262-
size +=unknownFields.getSerializedSize();
209+
size +=getUnknownFields().getSerializedSize();
263210
memoizedSize =size;
264211
returnsize;
265212
}
@@ -277,7 +224,7 @@ public boolean equals(final java.lang.Object obj) {
277224

278225
if (!getIamRoleId().equals(other.getIamRoleId()))returnfalse;
279226
if (!getIdentity().equals(other.getIdentity()))returnfalse;
280-
if (!unknownFields.equals(other.unknownFields))returnfalse;
227+
if (!getUnknownFields().equals(other.getUnknownFields()))returnfalse;
281228
returntrue;
282229
}
283230

@@ -292,7 +239,7 @@ public int hashCode() {
292239
hash = (53 *hash) +getIamRoleId().hashCode();
293240
hash = (37 *hash) +IDENTITY_FIELD_NUMBER;
294241
hash = (53 *hash) +getIdentity().hashCode();
295-
hash = (29 *hash) +unknownFields.hashCode();
242+
hash = (29 *hash) +getUnknownFields().hashCode();
296243
memoizedHashCode =hash;
297244
returnhash;
298245
}
@@ -423,17 +370,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
423370
}
424371

425372
// Construct using com.google.cloud.bigquery.connection.v1.AwsAccessRole.newBuilder()
426-
privateBuilder() {
427-
maybeForceBuilderInitialization();
428-
}
373+
privateBuilder() {}
429374

430375
privateBuilder(com.google.protobuf.GeneratedMessageV3.BuilderParentparent) {
431376
super(parent);
432-
maybeForceBuilderInitialization();
433-
}
434-
435-
privatevoidmaybeForceBuilderInitialization() {
436-
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
437377
}
438378

439379
@java.lang.Override
@@ -530,7 +470,7 @@ public Builder mergeFrom(com.google.cloud.bigquery.connection.v1.AwsAccessRole o
530470
identity_ =other.identity_;
531471
onChanged();
532472
}
533-
this.mergeUnknownFields(other.unknownFields);
473+
this.mergeUnknownFields(other.getUnknownFields());
534474
onChanged();
535475
returnthis;
536476
}
@@ -545,18 +485,43 @@ public Builder mergeFrom(
545485
com.google.protobuf.CodedInputStreaminput,
546486
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
547487
throwsjava.io.IOException {
548-
com.google.cloud.bigquery.connection.v1.AwsAccessRoleparsedMessage =null;
488+
if (extensionRegistry ==null) {
489+
thrownewjava.lang.NullPointerException();
490+
}
549491
try {
550-
parsedMessage =PARSER.parsePartialFrom(input,extensionRegistry);
492+
booleandone =false;
493+
while (!done) {
494+
inttag =input.readTag();
495+
switch (tag) {
496+
case0:
497+
done =true;
498+
break;
499+
case10:
500+
{
501+
iamRoleId_ =input.readStringRequireUtf8();
502+
503+
break;
504+
}// case 10
505+
case18:
506+
{
507+
identity_ =input.readStringRequireUtf8();
508+
509+
break;
510+
}// case 18
511+
default:
512+
{
513+
if (!super.parseUnknownField(input,extensionRegistry,tag)) {
514+
done =true;// was an endgroup tag
515+
}
516+
break;
517+
}// default:
518+
}// switch (tag)
519+
}// while (!done)
551520
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
552-
parsedMessage =
553-
(com.google.cloud.bigquery.connection.v1.AwsAccessRole)e.getUnfinishedMessage();
554521
throwe.unwrapIOException();
555522
}finally {
556-
if (parsedMessage !=null) {
557-
mergeFrom(parsedMessage);
558-
}
559-
}
523+
onChanged();
524+
}// finally
560525
returnthis;
561526
}
562527

@@ -814,7 +779,18 @@ public AwsAccessRole parsePartialFrom(
814779
com.google.protobuf.CodedInputStreaminput,
815780
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
816781
throwscom.google.protobuf.InvalidProtocolBufferException {
817-
returnnewAwsAccessRole(input,extensionRegistry);
782+
Builderbuilder =newBuilder();
783+
try {
784+
builder.mergeFrom(input,extensionRegistry);
785+
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
786+
throwe.setUnfinishedMessage(builder.buildPartial());
787+
}catch (com.google.protobuf.UninitializedMessageExceptione) {
788+
throwe.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
789+
}catch (java.io.IOExceptione) {
790+
thrownewcom.google.protobuf.InvalidProtocolBufferException(e)
791+
.setUnfinishedMessage(builder.buildPartial());
792+
}
793+
returnbuilder.buildPartial();
818794
}
819795
};
820796

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp