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.V2.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 override int GetHashCode()
        {
            int hash = 1;

            if (LogName.Length != 0)
            {
                hash ^= LogName.GetHashCode();
            }
            if (grpcService_ != null)
            {
                hash ^= GrpcService.GetHashCode();
            }
            if (bufferFlushInterval_ != null)
            {
                hash ^= BufferFlushInterval.GetHashCode();
            }
            if (bufferSizeBytes_ != null)
            {
                hash ^= BufferSizeBytes.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }