public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { global::Google.Cloud.AppEngine.V1.UpdateServiceMethod subBuilder = new global::Google.Cloud.AppEngine.V1.UpdateServiceMethod(); if (methodCase_ == MethodOneofCase.UpdateService) { subBuilder.MergeFrom(UpdateService); } input.ReadMessage(subBuilder); UpdateService = subBuilder; break; } case 18: { global::Google.Cloud.AppEngine.V1.CreateVersionMethod subBuilder = new global::Google.Cloud.AppEngine.V1.CreateVersionMethod(); if (methodCase_ == MethodOneofCase.CreateVersion) { subBuilder.MergeFrom(CreateVersion); } input.ReadMessage(subBuilder); CreateVersion = subBuilder; break; } } } #endif }
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { global::Google.Cloud.AppEngine.V1.UpdateServiceMethod subBuilder = new global::Google.Cloud.AppEngine.V1.UpdateServiceMethod(); if (methodCase_ == MethodOneofCase.UpdateService) { subBuilder.MergeFrom(UpdateService); } input.ReadMessage(subBuilder); UpdateService = subBuilder; break; } case 18: { global::Google.Cloud.AppEngine.V1.CreateVersionMethod subBuilder = new global::Google.Cloud.AppEngine.V1.CreateVersionMethod(); if (methodCase_ == MethodOneofCase.CreateVersion) { subBuilder.MergeFrom(CreateVersion); } input.ReadMessage(subBuilder); CreateVersion = subBuilder; break; } } } }