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
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Commit32275f1

Browse files
chore(bazel): update protobuf to v3.21.7 (#228)
- [ ] 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 parenta37aceb commit32275f1

File tree

139 files changed

+9551
-14489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+9551
-14489
lines changed

‎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-datastream:1.2.0'
30+
implementation 'com.google.cloud:google-cloud-datastream:1.2.1'
3131
```
3232

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

3535
```Scala
36-
libraryDependencies+="com.google.cloud"%"google-cloud-datastream"%"1.2.0"
36+
libraryDependencies+="com.google.cloud"%"google-cloud-datastream"%"1.2.1"
3737
```
3838

3939
##Authentication

‎proto-google-cloud-datastream-v1/src/main/java/com/google/cloud/datastream/v1/AvroFileFormat.java‎

Lines changed: 39 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -50,45 +50,6 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
5050
returnthis.unknownFields;
5151
}
5252

53-
privateAvroFileFormat(
54-
com.google.protobuf.CodedInputStreaminput,
55-
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
56-
throwscom.google.protobuf.InvalidProtocolBufferException {
57-
this();
58-
if (extensionRegistry ==null) {
59-
thrownewjava.lang.NullPointerException();
60-
}
61-
com.google.protobuf.UnknownFieldSet.BuilderunknownFields =
62-
com.google.protobuf.UnknownFieldSet.newBuilder();
63-
try {
64-
booleandone =false;
65-
while (!done) {
66-
inttag =input.readTag();
67-
switch (tag) {
68-
case0:
69-
done =true;
70-
break;
71-
default:
72-
{
73-
if (!parseUnknownField(input,unknownFields,extensionRegistry,tag)) {
74-
done =true;
75-
}
76-
break;
77-
}
78-
}
79-
}
80-
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
81-
throwe.setUnfinishedMessage(this);
82-
}catch (com.google.protobuf.UninitializedMessageExceptione) {
83-
throwe.asInvalidProtocolBufferException().setUnfinishedMessage(this);
84-
}catch (java.io.IOExceptione) {
85-
thrownewcom.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
86-
}finally {
87-
this.unknownFields =unknownFields.build();
88-
makeExtensionsImmutable();
89-
}
90-
}
91-
9253
publicstaticfinalcom.google.protobuf.Descriptors.DescriptorgetDescriptor() {
9354
returncom.google.cloud.datastream.v1.DatastreamResourcesProto
9455
.internal_static_google_cloud_datastream_v1_AvroFileFormat_descriptor;
@@ -118,7 +79,7 @@ public final boolean isInitialized() {
11879

11980
@java.lang.Override
12081
publicvoidwriteTo(com.google.protobuf.CodedOutputStreamoutput)throwsjava.io.IOException {
121-
unknownFields.writeTo(output);
82+
getUnknownFields().writeTo(output);
12283
}
12384

12485
@java.lang.Override
@@ -127,7 +88,7 @@ public int getSerializedSize() {
12788
if (size != -1)returnsize;
12889

12990
size =0;
130-
size +=unknownFields.getSerializedSize();
91+
size +=getUnknownFields().getSerializedSize();
13192
memoizedSize =size;
13293
returnsize;
13394
}
@@ -143,7 +104,7 @@ public boolean equals(final java.lang.Object obj) {
143104
com.google.cloud.datastream.v1.AvroFileFormatother =
144105
(com.google.cloud.datastream.v1.AvroFileFormat)obj;
145106

146-
if (!unknownFields.equals(other.unknownFields))returnfalse;
107+
if (!getUnknownFields().equals(other.getUnknownFields()))returnfalse;
147108
returntrue;
148109
}
149110

@@ -154,7 +115,7 @@ public int hashCode() {
154115
}
155116
inthash =41;
156117
hash = (19 *hash) +getDescriptor().hashCode();
157-
hash = (29 *hash) +unknownFields.hashCode();
118+
hash = (29 *hash) +getUnknownFields().hashCode();
158119
memoizedHashCode =hash;
159120
returnhash;
160121
}
@@ -283,17 +244,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
283244
}
284245

285246
// Construct using com.google.cloud.datastream.v1.AvroFileFormat.newBuilder()
286-
privateBuilder() {
287-
maybeForceBuilderInitialization();
288-
}
247+
privateBuilder() {}
289248

290249
privateBuilder(com.google.protobuf.GeneratedMessageV3.BuilderParentparent) {
291250
super(parent);
292-
maybeForceBuilderInitialization();
293-
}
294-
295-
privatevoidmaybeForceBuilderInitialization() {
296-
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
297251
}
298252

299253
@java.lang.Override
@@ -375,7 +329,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
375329

376330
publicBuildermergeFrom(com.google.cloud.datastream.v1.AvroFileFormatother) {
377331
if (other ==com.google.cloud.datastream.v1.AvroFileFormat.getDefaultInstance())returnthis;
378-
this.mergeUnknownFields(other.unknownFields);
332+
this.mergeUnknownFields(other.getUnknownFields());
379333
onChanged();
380334
returnthis;
381335
}
@@ -390,17 +344,31 @@ public Builder mergeFrom(
390344
com.google.protobuf.CodedInputStreaminput,
391345
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
392346
throwsjava.io.IOException {
393-
com.google.cloud.datastream.v1.AvroFileFormatparsedMessage =null;
347+
if (extensionRegistry ==null) {
348+
thrownewjava.lang.NullPointerException();
349+
}
394350
try {
395-
parsedMessage =PARSER.parsePartialFrom(input,extensionRegistry);
351+
booleandone =false;
352+
while (!done) {
353+
inttag =input.readTag();
354+
switch (tag) {
355+
case0:
356+
done =true;
357+
break;
358+
default:
359+
{
360+
if (!super.parseUnknownField(input,extensionRegistry,tag)) {
361+
done =true;// was an endgroup tag
362+
}
363+
break;
364+
}// default:
365+
}// switch (tag)
366+
}// while (!done)
396367
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
397-
parsedMessage = (com.google.cloud.datastream.v1.AvroFileFormat)e.getUnfinishedMessage();
398368
throwe.unwrapIOException();
399369
}finally {
400-
if (parsedMessage !=null) {
401-
mergeFrom(parsedMessage);
402-
}
403-
}
370+
onChanged();
371+
}// finally
404372
returnthis;
405373
}
406374

@@ -436,7 +404,18 @@ public AvroFileFormat parsePartialFrom(
436404
com.google.protobuf.CodedInputStreaminput,
437405
com.google.protobuf.ExtensionRegistryLiteextensionRegistry)
438406
throwscom.google.protobuf.InvalidProtocolBufferException {
439-
returnnewAvroFileFormat(input,extensionRegistry);
407+
Builderbuilder =newBuilder();
408+
try {
409+
builder.mergeFrom(input,extensionRegistry);
410+
}catch (com.google.protobuf.InvalidProtocolBufferExceptione) {
411+
throwe.setUnfinishedMessage(builder.buildPartial());
412+
}catch (com.google.protobuf.UninitializedMessageExceptione) {
413+
throwe.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
414+
}catch (java.io.IOExceptione) {
415+
thrownewcom.google.protobuf.InvalidProtocolBufferException(e)
416+
.setUnfinishedMessage(builder.buildPartial());
417+
}
418+
returnbuilder.buildPartial();
440419
}
441420
};
442421

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp