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: { StatPrefix = input.ReadString(); break; } case 18: { if (grpcService_ == null) { GrpcService = new global::Envoy.Api.V3Alpha.Core.GrpcService(); } input.ReadMessage(GrpcService); break; } case 24: { FailureModeAllow = input.ReadBool(); break; } } } }
public void MergeFrom(CommonGrpcAccessLogConfig other) { if (other == null) { return; } if (other.LogName.Length != 0) { LogName = other.LogName; } if (other.grpcService_ != null) { if (grpcService_ == null) { GrpcService = new global::Envoy.Api.V3Alpha.Core.GrpcService(); } GrpcService.MergeFrom(other.GrpcService); } if (other.bufferFlushInterval_ != null) { if (bufferFlushInterval_ == null) { BufferFlushInterval = new global::Google.Protobuf.WellKnownTypes.Duration(); } BufferFlushInterval.MergeFrom(other.BufferFlushInterval); } if (other.bufferSizeBytes_ != null) { if (bufferSizeBytes_ == null || other.BufferSizeBytes != 0) { BufferSizeBytes = other.BufferSizeBytes; } } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(RateLimitServiceConfig other) { if (other == null) { return; } if (other.grpcService_ != null) { if (grpcService_ == null) { GrpcService = new global::Envoy.Api.V3Alpha.Core.GrpcService(); } GrpcService.MergeFrom(other.GrpcService); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { LogName = input.ReadString(); break; } case 18: { if (grpcService_ == null) { GrpcService = new global::Envoy.Api.V3Alpha.Core.GrpcService(); } input.ReadMessage(GrpcService); break; } case 26: { if (bufferFlushInterval_ == null) { BufferFlushInterval = new global::Google.Protobuf.WellKnownTypes.Duration(); } input.ReadMessage(BufferFlushInterval); break; } case 34: { uint?value = _single_bufferSizeBytes_codec.Read(input); if (bufferSizeBytes_ == null || value != 0) { BufferSizeBytes = value; } break; } } } }
public void MergeFrom(ExtAuthz other) { if (other == null) { return; } if (other.StatPrefix.Length != 0) { StatPrefix = other.StatPrefix; } if (other.grpcService_ != null) { if (grpcService_ == null) { GrpcService = new global::Envoy.Api.V3Alpha.Core.GrpcService(); } GrpcService.MergeFrom(other.GrpcService); } if (other.FailureModeAllow != false) { FailureModeAllow = other.FailureModeAllow; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }