@@ -238,46 +238,46 @@ private SingerInfo(
238238 done = true ;
239239 break ;
240240 case 8 :
241- {
242- bitField0_ |= 0x00000001 ;
243- singerId_ = input .readInt64 ();
244- break ;
245- }
241+ {
242+ bitField0_ |= 0x00000001 ;
243+ singerId_ = input .readInt64 ();
244+ break ;
245+ }
246246 case 18 :
247- {
248- com .google .protobuf .ByteString bs = input .readBytes ();
249- bitField0_ |= 0x00000002 ;
250- birthDate_ = bs ;
251- break ;
252- }
247+ {
248+ com .google .protobuf .ByteString bs = input .readBytes ();
249+ bitField0_ |= 0x00000002 ;
250+ birthDate_ = bs ;
251+ break ;
252+ }
253253 case 26 :
254- {
255- com .google .protobuf .ByteString bs = input .readBytes ();
256- bitField0_ |= 0x00000004 ;
257- nationality_ = bs ;
258- break ;
259- }
254+ {
255+ com .google .protobuf .ByteString bs = input .readBytes ();
256+ bitField0_ |= 0x00000004 ;
257+ nationality_ = bs ;
258+ break ;
259+ }
260260 case 32 :
261- {
262- int rawValue = input .readEnum ();
263- @ SuppressWarnings ("deprecation" )
264- com .example .spanner .SingerProto .Genre value =
265- com .example .spanner .SingerProto .Genre .valueOf (rawValue );
266- if (value == null ) {
267- unknownFields .mergeVarintField (4 , rawValue );
268- } else {
269- bitField0_ |= 0x00000008 ;
270- genre_ = rawValue ;
261+ {
262+ int rawValue = input .readEnum ();
263+ @ SuppressWarnings ("deprecation" )
264+ com .example .spanner .SingerProto .Genre value =
265+ com .example .spanner .SingerProto .Genre .valueOf (rawValue );
266+ if (value == null ) {
267+ unknownFields .mergeVarintField (4 , rawValue );
268+ } else {
269+ bitField0_ |= 0x00000008 ;
270+ genre_ = rawValue ;
271+ }
272+ break ;
271273 }
272- break ;
273- }
274274 default :
275- {
276- if (!parseUnknownField (input , unknownFields , extensionRegistry , tag )) {
277- done = true ;
275+ {
276+ if (!parseUnknownField (input , unknownFields , extensionRegistry , tag )) {
277+ done = true ;
278+ }
279+ break ;
278280 }
279- break ;
280- }
281281 }
282282 }
283283 } catch (com .google .protobuf .InvalidProtocolBufferException e ) {
@@ -297,7 +297,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
297297
298298 @ java .lang .Override
299299 protected com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
300- internalGetFieldAccessorTable () {
300+ internalGetFieldAccessorTable () {
301301 return com .example .spanner .SingerProto
302302 .internal_static_spanner_examples_music_SingerInfo_fieldAccessorTable
303303 .ensureFieldAccessorsInitialized (
@@ -558,8 +558,8 @@ public int hashCode() {
558558 return hash ;
559559 }
560560
561- public static com .example .spanner .SingerProto .SingerInfo parseFrom (
562- java . nio . ByteBuffer data ) throws com .google .protobuf .InvalidProtocolBufferException {
561+ public static com .example .spanner .SingerProto .SingerInfo parseFrom (java . nio . ByteBuffer data )
562+ throws com .google .protobuf .InvalidProtocolBufferException {
563563 return PARSER .parseFrom (data );
564564 }
565565
@@ -593,8 +593,8 @@ public static com.example.spanner.SingerProto.SingerInfo parseFrom(
593593 return PARSER .parseFrom (data , extensionRegistry );
594594 }
595595
596- public static com .example .spanner .SingerProto .SingerInfo parseFrom (
597- java . io . InputStream input ) throws java .io .IOException {
596+ public static com .example .spanner .SingerProto .SingerInfo parseFrom (java . io . InputStream input )
597+ throws java .io .IOException {
598598 return com .google .protobuf .GeneratedMessageV3 .parseWithIOException (PARSER , input );
599599 }
600600
@@ -667,7 +667,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
667667
668668 @ java .lang .Override
669669 protected com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable
670- internalGetFieldAccessorTable () {
670+ internalGetFieldAccessorTable () {
671671 return com .example .spanner .SingerProto
672672 .internal_static_spanner_examples_music_SingerInfo_fieldAccessorTable
673673 .ensureFieldAccessorsInitialized (
@@ -796,8 +796,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
796796 }
797797
798798 public Builder mergeFrom (com .example .spanner .SingerProto .SingerInfo other ) {
799- if (other == com .example .spanner .SingerProto .SingerInfo .getDefaultInstance ())
800- return this ;
799+ if (other == com .example .spanner .SingerProto .SingerInfo .getDefaultInstance ()) return this ;
801800 if (other .hasSingerId ()) {
802801 setSingerId (other .getSingerId ());
803802 }
@@ -833,8 +832,7 @@ public Builder mergeFrom(
833832 try {
834833 parsedMessage = PARSER .parsePartialFrom (input , extensionRegistry );
835834 } catch (com .google .protobuf .InvalidProtocolBufferException e ) {
836- parsedMessage =
837- (com .example .spanner .SingerProto .SingerInfo ) e .getUnfinishedMessage ();
835+ parsedMessage = (com .example .spanner .SingerProto .SingerInfo ) e .getUnfinishedMessage ();
838836 throw e .unwrapIOException ();
839837 } finally {
840838 if (parsedMessage != null ) {
@@ -1174,13 +1172,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
11741172
11751173 static {
11761174 java .lang .String [] descriptorData = {
1177- "\n \014 singer.proto\022 \026 spanner.examples.music\" v"
1178- + "\n \n SingerInfo\022 \021 \n \t singer_id\030 \001 \001 (\003 \022 \022 \n \n birth"
1179- + "_date\030 \002 \001 (\t \022 \023 \n \013 nationality\030 \003 \001 (\t \022 ,\n \005 genr"
1180- + "e\030 \004 \001 (\016 2\035 .spanner.examples.music.Genre*."
1181- + "\n \005 Genre\022 \007 \n \003 POP\020 \000 \022 \010 \n \004 JAZZ\020 \001 \022 \010 \n \004 FOLK\020 \002 \022 \010 \n \004 "
1182- + "ROCK\020 \003 B)\n \030 com.example.spannerB\013 Sing"
1183- + "erProtoP\000 "
1175+ "\n \014 singer.proto\022 \026 spanner.examples.music\" v"
1176+ + "\n \n SingerInfo\022 \021 \n \t singer_id\030 \001 \001 (\003 \022 \022 \n \n birth"
1177+ + "_date\030 \002 \001 (\t \022 \023 \n \013 nationality\030 \003 \001 (\t \022 ,\n \005 genr"
1178+ + "e\030 \004 \001 (\016 2\035 .spanner.examples.music.Genre*."
1179+ + "\n \005 Genre\022 \007 \n \003 POP\020 \000 \022 \010 \n \004 JAZZ\020 \001 \022 \010 \n \004 FOLK\020 \002 \022 \010 \n \004 "
1180+ + "ROCK\020 \003 B)\n \030 com.example.spannerB\013 Sing"
1181+ + "erProtoP\000 "
11841182 };
11851183 descriptor =
11861184 com .google .protobuf .Descriptors .FileDescriptor .internalBuildGeneratedFileFrom (
@@ -1191,7 +1189,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
11911189 new com .google .protobuf .GeneratedMessageV3 .FieldAccessorTable (
11921190 internal_static_spanner_examples_music_SingerInfo_descriptor ,
11931191 new java .lang .String [] {
1194- "SingerId" , "BirthDate" , "Nationality" , "Genre" ,
1192+ "SingerId" , "BirthDate" , "Nationality" , "Genre" ,
11951193 });
11961194 }
11971195
0 commit comments