public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Path = input.ReadString(); break; } case 18: { global::Envoy.Api.V2.Core.ApiConfigSource subBuilder = new global::Envoy.Api.V2.Core.ApiConfigSource(); if (configSourceSpecifierCase_ == ConfigSourceSpecifierOneofCase.ApiConfigSource) { subBuilder.MergeFrom(ApiConfigSource); } input.ReadMessage(subBuilder); ApiConfigSource = subBuilder; break; } case 26: { global::Envoy.Api.V2.Core.AggregatedConfigSource subBuilder = new global::Envoy.Api.V2.Core.AggregatedConfigSource(); if (configSourceSpecifierCase_ == ConfigSourceSpecifierOneofCase.Ads) { subBuilder.MergeFrom(Ads); } input.ReadMessage(subBuilder); Ads = subBuilder; break; } case 34: { if (initialFetchTimeout_ == null) { InitialFetchTimeout = new global::Google.Protobuf.WellKnownTypes.Duration(); } input.ReadMessage(InitialFetchTimeout); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Path = input.ReadString(); break; } case 18: { global::Envoy.Api.V2.Core.ApiConfigSource subBuilder = new global::Envoy.Api.V2.Core.ApiConfigSource(); if (configSourceSpecifierCase_ == ConfigSourceSpecifierOneofCase.ApiConfigSource) { subBuilder.MergeFrom(ApiConfigSource); } input.ReadMessage(subBuilder); ApiConfigSource = subBuilder; break; } case 26: { global::Envoy.Api.V2.Core.AggregatedConfigSource subBuilder = new global::Envoy.Api.V2.Core.AggregatedConfigSource(); if (configSourceSpecifierCase_ == ConfigSourceSpecifierOneofCase.Ads) { subBuilder.MergeFrom(Ads); } input.ReadMessage(subBuilder); Ads = subBuilder; break; } } } }